/* Game Page Specific Styles */

.game-section {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(98, 0, 234, 0.1), transparent 70%);
    z-index: 1;
}

.game-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.game-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(157, 70, 255, 0.3);
}

.game-header p {
    font-size: 1.2rem;
    color: var(--on-surface);
    max-width: 600px;
    margin: 0 auto;
}

.game-frame-container {
    position: relative;
    z-index: 2;
    margin-bottom: var(--spacing-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--surface);
    padding: 20px;
    border: 1px solid rgba(157, 70, 255, 0.2);
}

.game-frame-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 3;
}

#gameFrame {
    border-radius: var(--radius-md);
    background-color: #000;
    transition: all var(--transition-normal);
}

.game-info {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.game-description, .game-features {
    flex: 1;
    background: linear-gradient(135deg, var(--surface-light), var(--surface));
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.game-description h2, .game-features h2 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.game-features ul {
    list-style: none;
}

.game-features ul li {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.game-features ul li::before {
    content: '✦';
    color: var(--primary-light);
    position: absolute;
    left: 0;
    top: 0;
}

.more-games {
    position: relative;
    z-index: 2;
    margin-top: var(--spacing-xxl);
}

.more-games h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--primary-light);
}

.games-slider {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    padding: var(--spacing-md) 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--surface);
}

.games-slider::-webkit-scrollbar {
    height: 8px;
}

.games-slider::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 4px;
}

.games-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.game-slide {
    min-width: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-normal);
    position: relative;
    box-shadow: var(--shadow-md);
}

.game-slide:hover {
    transform: translateY(-10px);
}

.game-slide img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.game-slide span {
    display: block;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--surface-light), var(--surface));
    color: var(--on-background);
    font-weight: 500;
    text-align: center;
}

/* Media Queries for Game Page */
@media (max-width: 992px) {
    .game-info {
        flex-direction: column;
    }
    
    .game-description, .game-features {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .game-section {
        padding: 120px 0 60px;
    }
    
    .game-header h1 {
        font-size: 2.5rem;
    }
    
    .game-frame-container {
        height: 500px;
    }
    
    #gameFrame {
        height: 100% !important;
    }
}

@media (max-width: 480px) {
    .game-header h1 {
        font-size: 2rem;
    }
    
    .game-frame-container {
        height: 400px;
    }
    
    .game-slide {
        min-width: 200px;
    }
    
    .game-slide img {
        height: 120px;
    }
}