/* ========================================
   FlippX Landing Page - ENHANCED VISUAL DESIGN WITH GLOWING HEADERS
   Modern Design with Blue → Purple → Teal Palette
   ======================================== */

/* ========================================
   PERFORMANCE-FIRST FOUNDATION
   ======================================== */
   * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    /* Remove ALL expensive properties */
    backdrop-filter: none !important;
    filter: none !important;
}

html {
    scroll-behavior: smooth;
    font-display: swap;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0a0a23 0%, #1a1a3a 25%, #2d1b69 50%, #1e3c72 75%, #2a5298 100%);
    background-attachment: fixed;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* NO expensive pseudo-elements or complex gradients */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   SLEEK MODERN HEADER - ENHANCED VISUALS
   ======================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(10, 10, 35, 0.95) 0%, rgba(26, 26, 58, 0.95) 50%, rgba(45, 27, 105, 0.95) 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(10, 10, 35, 0.98) 0%, rgba(26, 26, 58, 0.98) 50%, rgba(45, 27, 105, 0.98) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    color: #14b8a6;
    transform: translateY(-2px);
}

.logo:hover img {
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    /* REMOVED: complex hover effects */
}

.nav-links a:hover {
    color: #00d4ff;
}

.download-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #8b5cf6 100%);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.download-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #7c3aed 100%);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

/* ========================================
   ENHANCED HERO SECTION WITH GRADIENTS
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #0a0a23 0%, #1a1a3a 25%, #2d1b69 50%, #1e3c72 75%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1) 0%, transparent 50%, rgba(20, 184, 166, 0.1) 100%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 0.9rem !important;
    opacity: 0.7 !important;
    margin-bottom: 30px !important;
}

.app-stores {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease;
    /* REMOVED: backdrop-filter and complex effects */
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.store-badge {
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.store-badge:hover {
    opacity: 0.8;
    /* REMOVED: transform and filter effects */
}

/* ========================================
   ENHANCED PHONE MOCKUP WITH APP INTEGRATION
   ======================================== */
.hero-phone {
    position: relative;
    text-align: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1a1a3a 0%, #2d1b69 50%, #1e3c72 100%);
    border-radius: 35px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(20, 184, 166, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 27px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.9;
}

.app-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    position: relative;
    z-index: 3;
}

.balance-display {
    text-align: center;
    font-size: 0.9rem;
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    z-index: 3;
}

.game-preview {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.game-preview-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(20, 184, 166, 0.2) 100%);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.game-preview-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(20, 184, 166, 0.3) 100%);
    transform: translateY(-2px);
}

/* ========================================
   ENHANCED FLOATING COINS WITH GRADIENTS
   ======================================== */
.floating-coins {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #2c3e50;
    font-size: 0.8rem;
    opacity: 0.8;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.coin:nth-child(1) { 
    top: 15%; 
    left: 15%; 
    animation-delay: 0s;
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 100%);
    color: white;
}
.coin:nth-child(2) { 
    top: 25%; 
    right: 20%; 
    animation-delay: 1s;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
}
.coin:nth-child(3) { 
    top: 65%; 
    left: 25%; 
    animation-delay: 2s;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}
.coin:nth-child(4) { 
    top: 75%; 
    right: 15%; 
    animation-delay: 3s;
    background: linear-gradient(135deg, #9c27b0 0%, #e91e63 100%);
    color: white;
}
.coin:nth-child(5) { 
    top: 45%; 
    right: 10%; 
    animation-delay: 4s;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

/* ========================================
   SPECTACULAR GLOWING SECTION TITLES
   ======================================== */
.section-title {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 80px;
    background: linear-gradient(135deg, 
        #00f5ff 0%, 
        #00d4ff 15%, 
        #14b8a6 35%, 
        #10ecb3 50%, 
        #8b5cf6 65%, 
        #a855f7 85%, 
        #00f5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    position: relative;
    padding: 30px 0 40px 0;
    filter: brightness(1.2) contrast(1.1);
    
    /* Multiple text shadows for intense glow */
    text-shadow: 
        0 0 10px rgba(0, 245, 255, 0.6),
        0 0 20px rgba(0, 212, 255, 0.4),
        0 0 30px rgba(20, 184, 166, 0.2),
        0 0 40px rgba(139, 92, 246, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(0, 245, 255, 0.8),
            0 0 20px rgba(0, 212, 255, 0.6),
            0 0 30px rgba(20, 184, 166, 0.4),
            0 0 40px rgba(139, 92, 246, 0.3),
            0 4px 8px rgba(0, 0, 0, 0.3);
        filter: brightness(1.2) contrast(1.1);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(0, 245, 255, 1),
            0 0 25px rgba(0, 212, 255, 0.8),
            0 0 35px rgba(20, 184, 166, 0.6),
            0 0 45px rgba(139, 92, 246, 0.5),
            0 0 55px rgba(168, 85, 247, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.4);
        filter: brightness(1.4) contrast(1.2);
    }
}

/* Enhanced decorative line below title */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 6px;
    background: linear-gradient(135deg, 
        #00f5ff 0%, 
        #00d4ff 25%, 
        #14b8a6 50%, 
        #8b5cf6 75%, 
        #00f5ff 100%);
    border-radius: 3px;
    
    /* Intense glow effect */
    box-shadow: 
        0 0 10px rgba(0, 245, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(20, 184, 166, 0.4),
        0 4px 15px rgba(0, 212, 255, 0.5);
    
    /* Pulsing animation */
    animation: lineGlow 3s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes lineGlow {
    0% {
        box-shadow: 
            0 0 10px rgba(0, 245, 255, 0.8),
            0 0 20px rgba(0, 212, 255, 0.6),
            0 0 30px rgba(20, 184, 166, 0.4),
            0 4px 15px rgba(0, 212, 255, 0.5);
        filter: brightness(1.2);
    }
    100% {
        box-shadow: 
            0 0 15px rgba(0, 245, 255, 1),
            0 0 25px rgba(0, 212, 255, 0.8),
            0 0 35px rgba(20, 184, 166, 0.6),
            0 0 45px rgba(139, 92, 246, 0.4),
            0 4px 20px rgba(0, 212, 255, 0.7);
        filter: brightness(1.5);
    }
}

/* Enhanced decorative line above title */
.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: linear-gradient(135deg, 
        #a855f7 0%, 
        #8b5cf6 25%, 
        #00d4ff 50%, 
        #14b8a6 75%, 
        #a855f7 100%);
    border-radius: 4px;
    opacity: 0.9;
    
    /* Glow effect */
    box-shadow: 
        0 0 8px rgba(168, 85, 247, 0.8),
        0 0 16px rgba(139, 92, 246, 0.6),
        0 0 24px rgba(0, 212, 255, 0.4),
        0 2px 10px rgba(168, 85, 247, 0.5);
    
    /* Subtle animation with delay */
    animation: topLineGlow 3s ease-in-out infinite alternate;
    animation-delay: 0.5s;
    z-index: 0;
}

@keyframes topLineGlow {
    0% {
        box-shadow: 
            0 0 8px rgba(168, 85, 247, 0.8),
            0 0 16px rgba(139, 92, 246, 0.6),
            0 0 24px rgba(0, 212, 255, 0.4),
            0 2px 10px rgba(168, 85, 247, 0.5);
        opacity: 0.9;
    }
    100% {
        box-shadow: 
            0 0 12px rgba(168, 85, 247, 1),
            0 0 20px rgba(139, 92, 246, 0.8),
            0 0 28px rgba(0, 212, 255, 0.6),
            0 0 36px rgba(20, 184, 166, 0.4),
            0 2px 15px rgba(168, 85, 247, 0.7);
        opacity: 1;
    }
}

/* Enhance the ambient lighting effect around sections */
.games,
.features,
.loyalty,
.reviews {
    position: relative;
}

.games::before,
.features::before,
.loyalty::before,
.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse at center, 
        rgba(0, 245, 255, 0.1) 0%, 
        rgba(0, 212, 255, 0.05) 30%, 
        transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: ambientGlow 4s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    0% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Ensure content stays above the glow effects */
.games .container,
.features .container,
.loyalty .container,
.reviews .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   APP SHOWCASE SECTION - NEW
   ======================================== */
.app-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.6) 0%, rgba(30, 60, 114, 0.6) 100%);
}

.showcase-description {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.screenshot-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.4);
}

.screenshot-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.screenshot-card:hover .screenshot-img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.screenshot-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00d4ff;
}

.screenshot-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   ENHANCED GAME CARDS WITH MODERN DESIGN
   ======================================== */
.games {
    background: linear-gradient(135deg, rgba(10, 10, 35, 0.8) 0%, rgba(26, 26, 58, 0.8) 100%);
    padding: 80px 0;
    position: relative;
}

.features {
    background: linear-gradient(135deg, rgba(26, 26, 58, 0.8) 0%, rgba(45, 27, 105, 0.8) 100%);
    padding: 80px 0;
    position: relative;
}

.loyalty {
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.8) 0%, rgba(30, 60, 114, 0.8) 100%);
    padding: 80px 0;
    position: relative;
}

.reviews {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8) 0%, rgba(42, 82, 152, 0.8) 100%);
    padding: 80px 0;
    position: relative;
}

.games-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.game-card,
.feature-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.02) 100%);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.game-card::before,
.feature-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(20, 184, 166, 0.06) 50%,
        rgba(139, 92, 246, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 24px;
}

.game-card:hover,
.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 16px 48px rgba(0, 212, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

/* Enhanced Icons with Image Backgrounds */
.game-icon,
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #06b6d4 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    box-shadow: 
        0 12px 24px rgba(139, 92, 246, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.game-icon::before,
.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 20px;
}

.game-card:hover .game-icon,
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.3);
    animation: iconPulse 2s infinite;
}

/* ========================================
   SVG ICON STYLING FOR ENHANCED CARDS
   ======================================== */

.game-icon svg,
.feature-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.game-card:hover .game-icon svg,
.feature-card:hover .feature-icon svg {
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    transform: scale(1.1);
}

/* Specific icon color overrides for visual variety */
.borlette-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #06b6d4 100%) !important;
}

.roulette-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%) !important;
}

.dominoes-icon {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%) !important;
}

.lottery-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
}

/* Feature icon specific colors */
.currency-icon {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%) !important;
}

.social-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
}

.loyalty-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
}

.security-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.multiplatform-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.withdrawal-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* Icon animation on hover */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.1) rotate(5deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
}

.game-card h3,
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-align: center;
    letter-spacing: -0.5px;
}

.game-card:hover h3,
.feature-card:hover h3 {
    background: linear-gradient(135deg, #14b8a6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-card p,
.feature-card p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0;
}

/* ========================================
   ENHANCED LOYALTY TIER CARDS
   ======================================== */
.loyalty-description {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 25px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.loyalty-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.tier-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.04) 100%);
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.3),
        0 12px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 28px 28px 0 0;
}

.tier-card.silver {
    border-color: rgba(192, 192, 192, 0.4);
}

.tier-card.silver::before {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
}

.tier-card.gold {
    border-color: rgba(255, 215, 0, 0.4);
}

.tier-card.gold::before {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.tier-card.vip {
    border-color: rgba(139, 92, 246, 0.4);
    position: relative;
}

.tier-card.vip::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.tier-card.vip::after {
    content: '👑';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.7;
}

.tier-card:hover {
    transform: translateY(-15px) scale(1.03);
}

.tier-card.silver:hover {
    box-shadow: 
        0 36px 72px rgba(0, 0, 0, 0.4),
        0 20px 60px rgba(192, 192, 192, 0.3),
        0 0 0 1px rgba(192, 192, 192, 0.5);
}

.tier-card.gold:hover {
    box-shadow: 
        0 36px 72px rgba(0, 0, 0, 0.4),
        0 20px 60px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.5);
}

.tier-card.vip:hover {
    box-shadow: 
        0 36px 72px rgba(0, 0, 0, 0.4),
        0 20px 60px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.5);
}

.tier-name {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 35px;
    letter-spacing: 2px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.tier-name::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

.tier-card.silver .tier-name {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-card.silver .tier-name::after {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
}

.tier-card.gold .tier-name {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-card.gold .tier-name::after {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.tier-card.vip .tier-name {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-card.vip .tier-name::after {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.tier-benefits {
    list-style: none;
    text-align: left;
    padding: 0;
}

.tier-benefits li {
    padding: 12px 0;
    opacity: 0.95;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tier-benefits li:last-child {
    border-bottom: none;
}

.tier-benefits li:before {
    content: "✓";
    color: #14b8a6;
    margin-right: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.tier-card:hover .tier-benefits li {
    opacity: 1;
    color: rgba(255, 255, 255, 0.95);
}

/* ========================================
   SIMPLIFIED REVIEWS
   ======================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.review-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.review-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

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

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.reviewer {
    font-weight: 600;
    color: #00d4ff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ========================================
   ENHANCED CTA SECTION WITH GRADIENT
   ======================================== */
.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%, rgba(20, 184, 166, 0.05) 100%);
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.cta-description {
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 1rem !important;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ========================================
   ENHANCED FOOTER WITH GRADIENTS
   ======================================== */
.footer {
    padding: 60px 0 30px;
    background: linear-gradient(135deg, rgba(10, 10, 35, 0.95) 0%, rgba(26, 26, 58, 0.95) 50%, rgba(45, 27, 105, 0.95) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-section p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.contact-info {
    font-style: normal;
    margin-top: 15px;
}

.contact-info a {
    color: #00d4ff;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #14b8a6;
}

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

.footer-section ul li {
    padding: 6px 0;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ========================================
   ACCESSIBILITY - MINIMAL IMPACT
   ======================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 6px;
}

/* Focus states - minimal */
*:focus {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* ========================================
   MOBILE RESPONSIVE - PERFORMANCE FIRST
   ======================================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }

    .app-stores {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .games-grid,
    .features-grid,
    .app-screenshots {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .loyalty-tiers {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .game-card,
    .feature-card,
    .tier-card {
        padding: 30px 25px;
    }

    .section-title {
        margin-bottom: 60px;
        padding: 25px 0 35px 0;
        
        /* Reduce glow intensity on mobile for performance */
        text-shadow: 
            0 0 8px rgba(0, 245, 255, 0.6),
            0 0 16px rgba(0, 212, 255, 0.4),
            0 0 24px rgba(20, 184, 166, 0.3),
            0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .section-title::before {
        width: 50px;
        height: 6px;
    }

    .section-title::after {
        width: 100px;
        height: 4px;
        bottom: 8px;
    }

    /* Reduce ambient glow on mobile */
    .games::before,
    .features::before,
    .loyalty::before,
    .reviews::before {
        width: 200px;
        height: 150px;
        opacity: 0.2;
    }

    .loyalty-description {
        padding: 20px 25px;
        font-size: 1.1rem;
    }

    .game-icon svg,
    .feature-icon svg {
        width: 35px;
        height: 35px;
    }

    /* Disable expensive effects on mobile */
    .coin {
        animation: none;
        transform: none;
    }

    .floating-coins {
        display: none;
    }

    .game-card:hover,
    .feature-card:hover,
    .tier-card:hover,
    .review-card:hover,
    .screenshot-card:hover {
        transform: none;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .game-icon:hover,
    .feature-icon:hover {
        transform: none;
        animation: none;
    }

    .screenshot-card:hover .screenshot-img {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        width: 28px;
        height: 28px;
    }

    .app-screenshots {
        gap: 20px;
    }

    .screenshot-card {
        padding: 15px;
    }

    .game-card,
    .feature-card,
    .tier-card {
        padding: 25px 20px;
    }

    .game-icon,
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .game-icon svg,
    .feature-icon svg {
        width: 32px;
        height: 32px;
    }

    .tier-name {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .section-title {
        padding: 20px 0 30px 0;
        
        /* Further reduce effects on small screens */
        text-shadow: 
            0 0 6px rgba(0, 245, 255, 0.5),
            0 0 12px rgba(0, 212, 255, 0.3),
            0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .section-title::before {
        width: 40px;
        height: 4px;
    }

    .section-title::after {
        width: 80px;
        height: 3px;
        bottom: 6px;
    }
}

/* ========================================
   REDUCED MOTION - DISABLE EVERYTHING
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }

    .coin {
        animation: none !important;
    }

    .floating-coins {
        display: none;
    }

    .game-card:hover .game-icon,
    .feature-card:hover .feature-icon {
        animation: none !important;
    }

    .section-title,
    .section-title::before,
    .section-title::after,
    .games::before,
    .features::before,
    .loyalty::before,
    .reviews::before {
        animation: none !important;
    }
    
    /* Keep the glow but remove animation */
    .section-title {
        text-shadow: 
            0 0 10px rgba(0, 245, 255, 0.8),
            0 0 20px rgba(0, 212, 255, 0.6),
            0 0 30px rgba(20, 184, 166, 0.4),
            0 4px 8px rgba(0, 0, 0, 0.3);
    }
    
    .section-title::after {
        box-shadow: 
            0 0 10px rgba(0, 245, 255, 0.8),
            0 0 20px rgba(0, 212, 255, 0.6),
            0 4px 15px rgba(0, 212, 255, 0.5);
    }
    
    .section-title::before {
        box-shadow: 
            0 0 8px rgba(168, 85, 247, 0.8),
            0 0 16px rgba(139, 92, 246, 0.6),
            0 2px 10px rgba(168, 85, 247, 0.5);
    }
}

/* ========================================
   LEGAL PAGES STYLES - MODERN & READABLE
   ======================================== */
   .legal-content {
    margin: 0 auto;
    padding: 50px 40px;
    line-height: 1.8;
    color: #e2e8f0;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 25%, 
        rgba(51, 65, 85, 0.95) 50%, 
        rgba(30, 41, 59, 0.95) 75%, 
        rgba(15, 23, 42, 0.95) 100%);
    border-radius: 25px;
    margin-bottom: 40px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding-top: 100px;
    position: relative;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(20px);
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 25%, #8b5cf6 50%, #14b8a6 75%, #00d4ff 100%);
    border-radius: 25px 25px 0 0;
}

.legal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 212, 255, 0.03) 0%, 
        transparent 25%, 
        rgba(20, 184, 166, 0.03) 50%, 
        transparent 75%, 
        rgba(139, 92, 246, 0.03) 100%);
    pointer-events: none;
    border-radius: 25px;
}

.legal-content h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 50px 0 25px 0;
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 15px;
    z-index: 2;
}

.legal-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
}

.legal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 35px 0 18px 0;
    background: linear-gradient(135deg, #14b8a6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-left: 25px;
    z-index: 2;
}

.legal-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    background: linear-gradient(135deg, #14b8a6 0%, #8b5cf6 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.4);
}

.legal-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #a5f3fc;
    position: relative;
    z-index: 2;
}

.legal-content p {
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 400;
    color: #cbd5e1;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.legal-content ul, .legal-content ol {
    margin: 20px 0;
    padding-left: 35px;
    position: relative;
    z-index: 2;
}

.legal-content li {
    margin-bottom: 12px;
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.legal-content strong {
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.legal-content .highlight {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.15) 0%, 
        rgba(20, 184, 166, 0.15) 100%);
    padding: 30px;
    border-left: 5px solid #00d4ff;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.legal-content .highlight::before {
    content: '💡';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.5rem;
    opacity: 0.7;
}

.legal-content .highlight p {
    color: #f1f5f9;
    margin-bottom: 0;
    font-weight: 500;
}

.legal-content .important-notice {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.15) 0%, 
        rgba(220, 38, 38, 0.15) 100%);
    border: 2px solid rgba(239, 68, 68, 0.4);
    padding: 30px;
    border-radius: 15px;
    margin: 35px 0;
    box-shadow: 
        0 8px 25px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(239, 68, 68, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.legal-content .important-notice::before {
    content: '⚠️';
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.8rem;
}

.legal-content .important-notice h3 {
    background: linear-gradient(135deg, #fca5a5 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
    padding-left: 0;
}

.legal-content .important-notice h3::before {
    display: none;
}

.legal-content .important-notice p {
    color: #fecaca;
    font-weight: 500;
}

.underline {
    text-decoration: underline;
}

/* Table of contents style */
.toc {
    background: linear-gradient(135deg, 
        rgba(51, 65, 85, 0.8) 0%, 
        rgba(71, 85, 105, 0.8) 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 35px 0;
    border: 1px solid rgba(100, 116, 139, 0.4);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.toc h3 {
    margin-top: 0;
    background: linear-gradient(135deg, #00d4ff 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-left: 0;
}

.toc h3::before {
    display: none;
}

.toc ul {
    margin: 0;
    padding-left: 25px;
}

.toc a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.toc a:hover {
    color: #00d4ff;
}

/* Contact box style */
.contact-box {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.15) 0%, 
        rgba(22, 163, 74, 0.15) 100%);
    border: 2px solid rgba(34, 197, 94, 0.4);
    padding: 35px;
    border-radius: 15px;
    margin: 35px 0;
    text-align: center;
    box-shadow: 
        0 8px 25px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(34, 197, 94, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.contact-box::before {
    content: '📧';
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.8rem;
}

.contact-box h3 {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
    padding-left: 0;
}

.contact-box h3::before {
    display: none;
}

.contact-box p {
    color: #bbf7d0;
    font-weight: 500;
}

.contact-box a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 5px;
}

.contact-box a:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
    color: #14b8a6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* Enhanced readability for specific elements */
.legal-content address {
    font-style: normal;
    background: linear-gradient(135deg, 
        rgba(71, 85, 105, 0.6) 0%, 
        rgba(100, 116, 139, 0.6) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #14b8a6;
    margin: 25px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.legal-content address p {
    margin-bottom: 10px;
    color: #e2e8f0;
}

.legal-content address a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-content address a:hover {
    color: #14b8a6;
    text-decoration: underline;
}

/* Legal pages mobile responsiveness */
@media (max-width: 768px) {
    .legal-content {
        margin-top: 90px;
        padding: 40px 25px;
        border-radius: 20px;
    }

    .legal-content h1 {
        font-size: 2.4rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content h3 {
        font-size: 1.2rem;
        padding-left: 20px;
    }

    .legal-content ul, .legal-content ol {
        padding-left: 25px;
    }

    .legal-content .highlight,
    .legal-content .important-notice,
    .legal-content .contact-box {
        padding: 25px;
        margin: 25px 0;
    }

    .legal-content p,
    .legal-content li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-content {
        margin-top: 80px;
        padding: 30px 20px;
        border-radius: 15px;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
        padding-left: 15px;
    }

    .legal-content ul, .legal-content ol {
        padding-left: 20px;
    }

    .legal-content .highlight,
    .legal-content .important-notice,
    .legal-content .contact-box {
        padding: 20px;
    }

    .back-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.95rem;
    }
}

/* ========================================
   CRITICAL PERFORMANCE RULES - ENHANCED
   ======================================== */
* {
    /* Force hardware acceleration only where needed */
    transform: translateZ(0);
}

/* Contain layout shifts */
.hero,
.app-showcase,
.games,
.features,
.loyalty,
.reviews,
.cta,
.footer {
    contain: layout style paint;
}

/* Optimize repaints */
.game-card,
.feature-card,
.tier-card,
.review-card,
.screenshot-card {
    contain: layout paint;
}

/* Performance optimizations for images */
.screenshot-img,
.app-screenshot,
.store-badge img {
    will-change: auto;
    backface-visibility: hidden;
}