/* Game Page Styles */
.game-page {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.game-header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.game-info h3 {
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.game-info ul {
    list-style: none;
    padding: 0;
}

.game-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.game-info li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #8b5cf6;
}

/* Slot Machine Styles */
.slot-machine {
    background: linear-gradient(45deg, #2a2a2a, #1a1a1a);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid #8b5cf6;
}

.slot-machine.reno-theme {
    border-color: #f39c12;
    background: linear-gradient(45deg, #2a1a0a, #1a1a0a);
}

.reels {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.reel {
    width: 80px;
    height: 80px;
    background: #000;
    border: 2px solid #8b5cf6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.reno-theme .reel {
    border-color: #f39c12;
}

.reel.spinning {
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Poker Table Styles */
.poker-table {
    background: linear-gradient(45deg, #0f4c3a, #1a5c4a);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid #8b5cf6;
}

.dealer-section, .player-section {
    margin: 1rem 0;
}

.cards {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.card {
    width: 60px;
    height: 84px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #000;
    font-weight: bold;
}

.card.red {
    color: #d32f2f;
}

.card.hidden {
    background: #8b5cf6;
    color: #fff;
}

#gameMessage {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #8b5cf6;
    text-align: center;
}

/* Wheel Game Styles */
.wheel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid #8b5cf6;
    position: relative;
    overflow: hidden;
    transition: transform 3s cubic-bezier(0.23, 1, 0.32, 1);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #8b5cf6;
    border-radius: 50%;
    z-index: 10;
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid #fff;
}

.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

#wheelMessage {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #8b5cf6;
    text-align: center;
}

/* Adventure Game Styles */
.adventure-screen {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid #8b5cf6;
    min-height: 300px;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ecf0f1;
}

.choices {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.choice-btn {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.choice-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Gem Game Styles */
.gem-board {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    max-width: 400px;
    margin: 2rem auto;
    padding: 1rem;
    background: linear-gradient(45deg, #2c3e50, #8b5cf6);
    border-radius: 12px;
    border: 2px solid #8b5cf6;
}

.gem {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gem:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.gem.selected {
    background: rgba(139, 92, 246, 0.5);
    border-color: #8b5cf6;
    transform: scale(1.1);
}

.gem.matched {
    animation: gemPop 0.5s ease-out;
}

@keyframes gemPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(0); }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .game-header h1 {
        font-size: 2rem;
    }
    
    .game-container {
        margin: 0 1rem;
        padding: 1rem;
    }
    
    .wheel {
        width: 250px;
        height: 250px;
    }
    
    .gem-board {
        max-width: 300px;
    }
    
    .gem {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}