/* ==========================================================================
   GAMES PAGE STYLES
   Modern, performant, and accessible design for the games listing page
   ========================================================================== */

/* Base Variables & Reset
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #ff6b00;
    --color-primary-hover: #ff8c38;
    --color-secondary: #00a3ff;
    --color-dark: #0e0f16;
    --color-darker: #0a0b10;
    --color-light: #f8f9fa;
    --color-gray: #a1a1af;
    --color-gray-dark: #6c6c7a;
    --color-overlay: rgba(0, 0, 0, 0.7);
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    --font-secondary: 'Montserrat', var(--font-primary);
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    margin: 0;
}


.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #e0e0e0;
    margin: 0 auto 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #b8c2cc;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 1.5rem 0 0;
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .hero-section {
        padding: 4rem 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-stats {
        margin: 2.5rem 0;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 5rem 2rem;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2.5rem 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-light);
    background-color: var(--color-darker);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-gray);
}

/* Layout Components
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

/* Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 2rem 0 2.5rem;
    margin-top: 70px; /* Add space for fixed header */
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a1a 100%);
    overflow: hidden;
    color: var(--color-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 0, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(0, 163, 255, 0.15) 0%, transparent 30%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    box-sizing: border-box;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .hero-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 0.5rem 0 1rem 0;
    font-weight: 800;
    background: linear-gradient(90deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(90deg, #ff9a3d 0%, #ff6b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    max-width: 100%;
    position: relative;
    padding-left: 1rem;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    height: 2px;
    width: 20px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    border-radius: 1px;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(90deg, #ff9a3d 0%, #ff6b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #ff6b00 0%, #ff9a3d 100%);
    color: white;
    box-shadow: 0 10px 30px -5px rgba(255, 107, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -5px rgba(255, 107, 0, 0.5);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hero-showcase {
    position: relative;
    z-index: 1;
    transform: scale(0.95);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.slot-showcase {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.slot-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    aspect-ratio: 3/4;
    background: #1a1a2e;
}

.slot-card.featured {
    transform: translateY(-20px);
    grid-column: span 3;
    aspect-ratio: 16/9;
}

.slot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
}

.slot-card.featured:hover {
    transform: translateY(-25px);
}

.slot-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-accent);
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.slot-card:hover .slot-overlay {
    opacity: 1;
}

.slot-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin: 0;
}

.slot-rtp {
    font-size: 0.8rem;
    color: #4caf50;
    font-weight: 600;
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-play i {
    font-size: 0.8em;
}

.btn-play:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(0, 163, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.feature-text h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--color-text-light);
}

.feature-text p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.hero-scroll-indicator i {
    margin-top: 5px;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-showcase {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 1.5rem 0 2rem;
        margin-top: 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 0 calc(50% - 20px);
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
}

/* Games Grid Section
   ========================================================================== */
.games-section {
    background: var(--color-darker);
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-sm);
}

/* Specific selector to ensure white color is applied */
.games-container .section-title h2,
.games-container .section-title h2 a,
.games-container .section-title h2 span {
    color: #ffffff !important;
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    padding: 0;
    line-height: 1.2;
}

.section-title p {
    color: #ffffff; /* Make paragraph text white */
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: #ffffff; /* Changed to white */
    max-width: 48rem;
    margin: 0 auto;
    opacity: 0.9; /* Slightly transparent for hierarchy */
}

/* Games Grid Container */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0 0.5rem;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: center;
}

/* Game Item Styles */
.game-item {
    width: 100%;
    aspect-ratio: 1/1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
    overflow: hidden;
    background: linear-gradient(145deg, #1f1f1f, #1a1a1a);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: saturate(0.9);
    will-change: transform;
    padding: 0;
}

/* Hover Effects */
.game-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.game-item:hover::before {
    opacity: 1;
}

.game-item:hover img {
    filter: saturate(1.1) brightness(1.05);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive Breakpoints */

/* Small Tablets */
@media (min-width: 600px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 0 1rem;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 0 1.5rem;
    }
}

/* Desktops */
@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
        padding: 0 2rem;
    }
}

/* Large Desktops */
@media (min-width: 1440px) {
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
}

/* Game Reviews Section */
.game-reviews {
    padding: 4rem 0;
    background-color: var(--color-dark);
    color: var(--color-light);
}

.game-reviews .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.reviews-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-light);
    position: relative;
    padding-bottom: 1rem;
}

.reviews-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.review-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.game-review {
    background: rgba(40, 40, 40, 0.6);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-review:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(50, 50, 50, 0.7);
}

.game-review h3 {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.game-review p {
    color: var(--color-light);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-reviews {
        padding: 3rem 0;
    }
    
    .reviews-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .game-review {
        padding: 1.5rem;
    }
    
    .game-review h3 {
        font-size: 1.3rem;
    }
    
    .game-review p {
        font-size: 1rem;
    }
}

.game-title {
    font-size: var(--text-lg);
    color: white;
    margin-bottom: var(--spacing-xs);
}

.game-provider {
    font-size: var(--text-sm);
    color: var(--color-gray);
    font-weight: 500;
}

/* Responsive Design
   ========================================================================== */
@media (max-width: 1199px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image {
        margin: 0 auto;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
        margin: 0.5rem 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 0 auto 1.25rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-stats {
        margin: 1rem 0;
    }
    
    .hero-cta {
        margin-top: 1rem;
    }
    
    .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .feature-tag {
        width: 100%;
        justify-content: center;
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
        padding: 0 0.5rem;
    }
}