/* CSS Variables - Cosmic Aurora Glassmorphism Theme */
:root {
    /* Primary Colors - Cosmic Aurora Theme */
    --primary-cyan: #00D4FF;
    --primary-cyan-dark: #0099CC;
    --primary-magenta: #FF6B9D;
    --primary-magenta-light: #FF8FB3;
    --primary-violet: #8B5CF6;
    --primary-violet-light: #A78BFA;
    --primary-emerald: #10B981;
    --primary-emerald-light: #34D399;
    --primary-amber: #F59E0B;
    --primary-amber-light: #FBBF24;
    --primary-rose: #EC4899;
    --primary-rose-light: #F472B6;
    --primary-indigo: #6366F1;
    --primary-indigo-light: #818CF8;
    --primary-lime: #84CC16;
    --primary-lime-light: #A3E635;
    --primary-coral: #FF7F50;
    --primary-coral-light: #FFA07A;
    --primary-teal: #14B8A6;
    --primary-teal-light: #2DD4BF;

    /* Secondary Colors */
    --secondary-orange: #FF8C00;
    --secondary-orange-light: #FFA500;
    --secondary-gold: #FFD700;
    --secondary-gold-light: #FFE55C;
    --secondary-coral: #FF7F50;
    --secondary-coral-light: #FFA07A;
    --secondary-lime: #32CD32;
    --secondary-lime-light: #90EE90;
    --secondary-teal: #20B2AA;
    --secondary-teal-light: #40E0D0;
    --secondary-purple: #9370DB;
    --secondary-purple-light: #BA55D3;
    --secondary-red: #EF4444;
    --secondary-red-light: #F87171;
    
    /* Background Gradients - Cosmic Aurora Theme */
    --bg-gradient: linear-gradient(135deg, #0F0F23 0%, #1A1A3A 25%, #2D1B69 50%, #4A148C 75%, #6A1B9A 100%);
    --bg-gradient-light: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(255, 107, 157, 0.10) 50%, rgba(139, 92, 246, 0.12) 100%);
    --bg-gradient-dark: linear-gradient(135deg, #0F0F23 0%, #1A1A3A 30%, #2D1B69 60%, #6A1B9A 100%);
    
    --bg-white: #FFFFFF;
    --bg-dark: #0F0F23;
    --bg-gray: #1A1A3A;
    --bg-light-gray: #2D1B69;
    
    /* Text Colors */
    --text-white: #FFFFFF;
    --text-dark: #0F0F23;
    --text-gray: #B0BEC5;
    --text-light-gray: #CFD8DC;
    --text-light: #F0F8FF;
    
    /* Glass Effects - Enhanced Cosmic */
    --glass-bg: rgba(0, 212, 255, 0.12);
    --glass-bg-light: rgba(0, 212, 255, 0.18);
    --glass-bg-heavy: rgba(0, 212, 255, 0.28);
    --glass-border: rgba(0, 212, 255, 0.35);
    --glass-border-light: rgba(255, 255, 255, 0.25);
    
    /* Shadows - Enhanced Cosmic */
    --shadow-light: 0 4px 12px -2px rgba(0, 0, 0, 0.6), 0 2px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 12px 24px -4px rgba(0, 0, 0, 0.7), 0 6px 12px -2px rgba(0, 0, 0, 0.5);
    --shadow-heavy: 0 24px 40px -6px rgba(0, 0, 0, 0.8), 0 12px 20px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.7);
    --shadow-glow-pink: 0 0 60px rgba(255, 107, 157, 0.7);
    --shadow-glow-blue: 0 0 60px rgba(139, 92, 246, 0.7);
    --shadow-glow-emerald: 0 0 60px rgba(16, 185, 129, 0.7);
    --shadow-glow-amber: 0 0 60px rgba(245, 158, 11, 0.7);
    --shadow-glow-rose: 0 0 60px rgba(236, 72, 153, 0.7);
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background: var(--bg-gradient);
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(60px);
    border-bottom: 3px solid var(--glass-border);
    color: var(--text-white);
    padding: 1.4rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-heavy), 0 0 80px rgba(0, 212, 255, 0.4);
    border-image: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta), var(--primary-violet), var(--primary-rose)) 1;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 280px;
    transition: transform var(--transition-fast);
}

.logo-image:hover {
    transform: scale(1.05);
}

.site-name {
    color: var(--text-white);
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
   
    transition: all var(--transition-fast);
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.site-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    transition: left 0.6s ease;
}

.site-name:hover {
    color: var(--primary-cyan);
    text-shadow: 
        0 0 15px var(--primary-cyan),
        0 0 25px var(--primary-cyan),
        0 0 35px var(--primary-cyan);
    transform: scale(1.05);
}

.site-name:hover::before {
    left: 100%;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    transition: color var(--transition-fast);
}

.nav a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

/* Main Content */
.main {
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    color: var(--text-white);
    padding: 12rem 0;
    background: 
        linear-gradient(135deg, rgba(0, 212, 255, 0.9) 0%, rgba(236, 72, 153, 0.6) 100%),
        url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;

    background-clip: text;
    animation: neonPulse 3s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    0% { 
        filter: hue-rotate(0deg) brightness(1);
        text-shadow: 
            0 0 20px rgba(0, 212, 255, 0.8),
            0 0 40px rgba(255, 107, 157, 0.6),
            0 4px 8px rgba(0, 0, 0, 0.6);
    }
    100% { 
        filter: hue-rotate(60deg) brightness(1.2);
        text-shadow: 
            0 0 30px rgba(0, 212, 255, 1),
            0 0 60px rgba(255, 107, 157, 0.8),
            0 6px 12px rgba(0, 0, 0, 0.8);
    }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.hero-auth {
    margin-top: 2rem;
    text-align: center;
}

.hero-auth .auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-auth .auth-link {
    padding: 0.75rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

.hero-auth .login-link {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    border: 1px solid var(--glass-border-light);
    box-shadow: var(--shadow-light);
}

.hero-auth .login-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-auth .signup-link {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-violet) 50%, var(--primary-rose) 100%);
    color: var(--text-white);
 
    box-shadow: var(--shadow-glow);
}

.hero-auth .signup-link:hover {
    background: linear-gradient(135deg, var(--primary-cyan-dark) 0%, var(--primary-violet-light) 50%, var(--primary-rose-light) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-rose);
}

.hero-auth .user-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-auth .user-greeting {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-auth .user-menu .auth-link {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    min-width: 120px;
}

.hero-auth .profile-link {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-auth .profile-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-auth .logout-link {
    background: rgba(255, 107, 107, 0.2);
    color: var(--text-white);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.hero-auth .logout-link:hover {
    background: rgba(255, 107, 107, 0.3);
}

/* Features Section */
.features-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
}

.features-section h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.text-content h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.step-number {
    background: var(--primary-cyan);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--primary-cyan);
}

.step-content h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.image-content {
    position: relative;
    height: 400px;
}

.casino-image {
    background: url('../images/bg2.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Games Section */
.games-section {
    background: var(--glass-bg-light);
    backdrop-filter: blur(50px);
    border: 3px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-heavy), 0 0 100px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 107, 157, 0.06) 20%, rgba(139, 92, 246, 0.08) 40%, rgba(16, 185, 129, 0.06) 60%, rgba(245, 158, 11, 0.07) 80%, rgba(236, 72, 153, 0.06) 100%);
    pointer-events: none;
}

.games-section h3 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: var(--text-white);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #00D4FF 0%, #FF6B9D 30%, #8B5CF6 60%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: neonGlow 4s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    0% { 
        filter: brightness(1) hue-rotate(0deg);
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    }
    100% { 
        filter: brightness(1.2) hue-rotate(20deg);
        text-shadow: 0 0 50px rgba(0, 212, 255, 0.8);
    }
}

/* Games Search */
.games-search-container {
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar {
    position: relative;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.search-input {
    width: 100%;
    padding: 1.2rem 3.5rem 1.2rem 1.8rem;
    border: 1px solid var(--glass-border-light);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-light);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-glow), var(--shadow-medium);
    color: var(--text-white);
}

.search-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.clear-search-btn:hover {
    background: rgba(255, 107, 107, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.search-results-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.no-results p {
    margin: 0;
    color: #000000;
}


.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 100%;
}

/* Responsive games grid */
@media (min-width: 600px) and (max-width: 899px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Limit to maximum 3 columns on larger screens */
@media (min-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.game-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(45px);
    border: 3px solid var(--glass-border-light);
    border-radius: 36px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-medium), 0 0 60px rgba(0, 212, 255, 0.2);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 107, 157, 0.06) 20%, rgba(139, 92, 246, 0.08) 40%, rgba(16, 185, 129, 0.06) 60%, rgba(245, 158, 11, 0.07) 80%, rgba(236, 72, 153, 0.06) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy), 0 0 80px rgba(0, 212, 255, 0.4);
    border-color: var(--primary-cyan);
}

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

.game-icon {
    width: 100%;
    height: 120px;
    margin: 0 auto 1rem;
    display: block;
    object-fit: cover;
}

.game-card h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.game-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.play-btn {
    background: linear-gradient(135deg, #00D4FF 0%, #FF6B9D 30%, #8B5CF6 60%, #EC4899 100%);
    color: var(--text-white);
    border: none;
    padding: 16px 36px;
    border-radius: 36px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-glow), 0 0 40px rgba(0, 212, 255, 0.5);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(20px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.play-btn:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-rose), 0 0 60px rgba(236, 72, 153, 0.6);
    color: var(--text-white);
    text-decoration: none;
    background: linear-gradient(135deg, #0099CC 0%, #FF8FB3 30%, #A78BFA 60%, #F472B6 100%);
    text-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--glass-bg-light);
    backdrop-filter: blur(50px);
    border: 3px solid var(--glass-border);
    border-radius: 40px;
    padding: 6rem 5rem;
    margin: 5rem 0;
    box-shadow: var(--shadow-heavy), 0 0 100px rgba(255, 107, 157, 0.3);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 107, 157, 0.06) 20%, rgba(139, 92, 246, 0.08) 40%, rgba(16, 185, 129, 0.06) 60%, rgba(245, 158, 11, 0.07) 80%, rgba(236, 72, 153, 0.06) 100%);
    pointer-events: none;
}

.testimonials-section h3 {
    color: var(--text-white);
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #00D4FF 0%, #FF6B9D 30%, #8B5CF6 60%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 157, 0.5);
    animation: neonGlow 4s ease-in-out infinite alternate;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(40px);
    border: 3px solid var(--glass-border-light);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: var(--shadow-medium), 0 0 50px rgba(255, 107, 157, 0.2);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 107, 157, 0.06) 20%, rgba(139, 92, 246, 0.08) 40%, rgba(16, 185, 129, 0.06) 60%, rgba(245, 158, 11, 0.07) 80%, rgba(236, 72, 153, 0.06) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-heavy), 0 0 70px rgba(255, 107, 157, 0.3);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-white);
    font-size: 1.2rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3.5rem;
    color: var(--primary-cyan);
    position: absolute;
    top: -25px;
    left: -25px;
    font-family: serif;
    opacity: 0.7;
}

.testimonial-content p::after {
    content: '"';
    font-size: 3.5rem;
    color: var(--primary-cyan);
    position: absolute;
    bottom: -45px;
    right: 0px;
    font-family: serif;
    opacity: 0.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-violet) 50%, var(--primary-rose) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 1.5rem;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 2;
}

.author-info h5 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 2;
}

.author-info span {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #00D4FF 0%, #FF6B9D 30%, #8B5CF6 60%, #EC4899 100%);
    padding: 4rem 0;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 100px rgba(0, 212, 255, 0.3);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #00D4FF, #8B5CF6);
    color: var(--text-white);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.7);
    text-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border: 3px solid var(--text-white);
    backdrop-filter: blur(15px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--text-white);
    transform: translateY(-3px);
    border-color: var(--primary-cyan);
    text-shadow: 0 0 15px rgba(255, 255, 255, 1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

/* Footer */
.footer {
    background: var(--bg-gradient-dark);
    backdrop-filter: blur(40px);
    border-top: 3px solid var(--glass-border-light);
    color: var(--text-white);
    padding: 5rem 0 3rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -15px 50px rgba(0, 212, 255, 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 107, 157, 0.06) 20%, rgba(139, 92, 246, 0.08) 40%, rgba(16, 185, 129, 0.06) 60%, rgba(245, 158, 11, 0.07) 80%, rgba(236, 72, 153, 0.06) 100%);
    pointer-events: none;
}

.disclaimer {
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    color: var(--text-white);
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-medium), 0 0 40px rgba(236, 72, 153, 0.4);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.footer-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-cyan);
    position: relative;
    z-index: 2;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.footer-section a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
    transform: translateX(4px);
}

/* Footer Icons with Links */
.footer-icons-with-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.footer-link-image {
    max-width: 200px;
    height: auto;
    max-height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--glass-border-light);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-light);
    position: relative;
    z-index: 2;
}

.footer-link-image:hover {
    opacity: 0.9;
    transform: scale(1.05) translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-cyan);
}

/* Footer Icons without Links */
.footer-icons-no-links {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-icons-image {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    filter: brightness(0) invert(1); /* Makes the image white */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-icons-image:hover {
    opacity: 1;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border-light);
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Page Styles */
.page-hero {
    text-align: center;
    color: var(--text-white);
    padding: 3rem 0;
}

.page-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Page Styles */
.about-content {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-heavy);
}

.about-content .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

.about-image {
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-magenta), var(--primary-violet), var(--primary-emerald), var(--primary-amber), var(--primary-rose));
    border-radius: 20px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
}

.team-section {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
}

.team-section h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 2rem;
    transition: transform var(--transition-fast);
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--primary-cyan);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.team-member span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stats-section {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
}

.stats-section h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 2rem;
    transition: transform var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-content {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-heavy);
}

.contact-content .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-section h3,
.contact-info-section h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-white);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-violet));
    color: var(--text-white);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-glow);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-pink);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.contact-details h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.contact-details p {
    color: var(--text-light);
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.contact-details span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.faq-section {
    margin-top: 2rem;
}

.faq-section h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h5 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Active Navigation */
.nav a.active {
    color: var(--primary-cyan);
    text-decoration: underline;
}

/* FAQ Section Main */
.faq-section-main {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
}

.faq-section-main h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.faq-item {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 2rem;
    transition: transform var(--transition-fast);
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Privacy and Terms Pages */
.privacy-content,
.terms-content {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-heavy);
}

.privacy-section,
.terms-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child,
.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section h3,
.terms-section h3 {
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.privacy-section p,
.terms-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-section ul,
.terms-section ul {
    color: var(--text-light);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li,
.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.privacy-footer,
.terms-footer {
    background: var(--glass-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.privacy-footer p,
.terms-footer p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.privacy-footer p:last-child,
.terms-footer p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    /* New sections responsive */
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .how-it-works .text-content {
        order: 2;
    }
    
    .how-it-works .image-content {
        order: 1;
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-main-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-icons-with-links {
        justify-content: center;
    }
    
    .footer-icons-no-links {
        flex-direction: column;
        align-items: center;
    }
    
    .icon-link,
    .icon-no-link {
        width: 100%;
        max-width: 300px;
    }
    
    /* Page responsive styles */
    .about-content .content-wrapper,
    .contact-content .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content .image-content {
        order: -1;
    }
    
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .games-section {
        padding: 1rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
}

/* Cookie Policy Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: 0 auto;
    background: var(--glass-bg-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-slow);
    font-family: 'Inter', sans-serif;
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    padding: 1.5rem;
}

.cookie-header h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-header h4::before {
    content: "🍪";
    font-size: 1.1rem;
}

.cookie-body {
    margin-bottom: 1.5rem;
}

.cookie-body p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.cookie-btn-primary {
    background: var(--bg-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-light);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-cyan);
}

.cookie-btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--text-white);
    transform: translateY(-1px);
}

.cookie-btn-link {
    background: transparent;
    color: var(--primary-cyan);
    border: none;
    text-decoration: underline;
    min-width: auto;
    padding: 0.4rem 0.8rem;
}

.cookie-btn-link:hover {
    color: var(--primary-cyan-dark);
    text-decoration: none;
}

/* Mobile Responsive for Cookie Popup */
@media (max-width: 768px) {
    .cookie-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .cookie-content {
        padding: 1.2rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-btn-link {
        order: -1;
        text-align: center;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-popup {
        bottom: 5px;
        left: 5px;
        right: 5px;
    }
    
    .cookie-content {
        padding: 1rem;
    }
    
    .cookie-header h4 {
        font-size: 1.1rem;
    }
    
    .cookie-body p {
        font-size: 0.85rem;
    }
}

/* Authentication Pages Styles */
.auth-hero {
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-content {
    max-width: 500px;
    margin: 0 auto;
    background: var(--glass-bg-light);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
}

.auth-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-dark) 100%);
    color: var(--text-white);
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.auth-header p {
    opacity: 0.9;
    color: #fff;
    font-size: 1rem;
}

.auth-form-container {
    padding: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--bg-white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input.error {
    border-color: var(--secondary-red);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.error-message {
    color: var(--secondary-red);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -0.5rem 0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-gray);
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.forgot-password:hover {
    color: var(--primary-cyan-dark);
    text-decoration: underline;
}

.auth-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.auth-btn.primary {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-violet) 50%, var(--primary-rose) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.auth-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, var(--primary-cyan-dark) 0%, var(--primary-violet-light) 50%, var(--primary-rose-light) 100%);
}

.auth-btn.primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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


.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e5e9;
}

.auth-footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.auth-footer a:hover {
    color: var(--primary-cyan-dark);
    text-decoration: underline;
}

/* Auth Messages */
.auth-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    animation: slideInRight 0.3s ease;
}

.message-content.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message-content.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message-icon {
    font-size: 1.2rem;
}

.message-content.success .message-icon::before {
    content: '✅';
}

.message-content.error .message-icon::before {
    content: '❌';
}

.message-text {
    flex: 1;
    font-weight: 500;
}

.message-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.message-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Responsive for Auth */
@media (max-width: 768px) {
    .auth-hero {
        padding: 1rem 0;
    }
    
    .auth-content {
        margin: 0 1rem;
    }
    
    .auth-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .auth-header h2 {
        font-size: 1.75rem;
    }
    
    .auth-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .auth-messages {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .auth-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-form-container {
        padding: 1.25rem;
    }
    
}

/* Authentication Navigation Styles */
.auth-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.auth-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.login-link {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: var(--text-white);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    font-weight: 600;
}

.login-link:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff9800 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.signup-link {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-violet) 50%, var(--primary-rose) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.signup-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-rose);
    background: linear-gradient(135deg, var(--primary-cyan-dark) 0%, var(--primary-violet-light) 50%, var(--primary-rose-light) 100%);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-greeting {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.user-menu .auth-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.profile-link {
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan);
}

.profile-link:hover {
    background: var(--primary-cyan);
    color: var(--text-white);
}

.logout-link {
    color: var(--secondary-red);
    border: 1px solid var(--secondary-red);
}

.logout-link:hover {
    background: var(--secondary-red);
    color: var(--text-white);
}

/* Mobile Responsive for Auth Nav */
@media (max-width: 768px) {
    .auth-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .auth-link {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1rem;
    }
    
    .user-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .user-greeting {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .user-menu .auth-link {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .auth-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Mobile Responsive for Hero Auth */
@media (max-width: 768px) {
    .hero-auth .auth-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-auth .auth-link {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-auth .user-menu {
        gap: 0.75rem;
    }
    
    .hero-auth .user-menu .auth-link {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-auth .auth-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-auth .user-menu .auth-link {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Leaderboard Styles */
.leaderboard-section {
    background: linear-gradient(135deg, #00D4FF 0%, #FF6B9D 30%, #8B5CF6 60%, #EC4899 100%);
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 150px rgba(0, 212, 255, 0.4);
}

.leaderboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.leaderboard-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.leaderboard-header h3 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.leaderboard-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.leaderboard-container {
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(50px);
    border: 3px solid var(--glass-border-light);
    border-radius: 36px;
    padding: 4rem;
    box-shadow: var(--shadow-heavy), 0 0 90px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.leaderboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 107, 157, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
}


.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.leaderboard-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-light);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.leaderboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.leaderboard-item:hover::before {
    transform: translateX(100%);
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.leaderboard-item.grand {
    border-left: 4px solid var(--primary-cyan);
    box-shadow: var(--shadow-glow);
}

.leaderboard-item.major {
    border-left: 4px solid var(--primary-violet);
    box-shadow: var(--shadow-glow-blue);
}

.leaderboard-item.minor {
    border-left: 4px solid var(--primary-magenta);
    box-shadow: var(--shadow-glow-pink);
}

.leaderboard-item.mini {
    border-left: 4px solid var(--primary-emerald);
    box-shadow: var(--shadow-glow-emerald);
}

.item-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}


.last-won {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.item-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.score-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
}

.score-number.score-updating {
    animation: scoreUpdate 0.3s ease;
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

.score-number.score-win {
    animation: scoreWin 1s ease;
    color: var(--primary-rose);
    text-shadow: 0 0 20px var(--primary-rose);
}

@keyframes scoreUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes scoreWin {
    0% { transform: scale(1); }
    25% { transform: scale(1.2) rotate(2deg); }
    50% { transform: scale(1.1) rotate(-2deg); }
    75% { transform: scale(1.15) rotate(1deg); }
    100% { transform: scale(1); }
}

/* Mobile Responsive for Leaderboard */
@media (max-width: 768px) {
    .leaderboard-section {
        padding: 2rem 0;
    }
    
    .leaderboard-header h3 {
        font-size: 2rem;
    }
    
    .leaderboard-container {
        padding: 1.5rem;
    }
    
    .leaderboard-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .item-score {
        align-items: flex-start;
        width: 100%;
    }
    
    .score-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .leaderboard-header h3 {
        font-size: 1.5rem;
    }
    
    .leaderboard-container {
        padding: 1rem;
    }
    
    .leaderboard-item {
        padding: 1rem;
    }
    
    .score-number {
        font-size: 1.2rem;
    }
}
