/* ============================================
   RzFlix - Fun & Playful Theme
   ============================================ */

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

:root {
    --bg: #0a0a1a;
    --bg-elev: #12122a;
    --bg-card: #161638;
    --text: #f0f0ff;
    --muted: #a0a0cc;
    --brand: #ff6b6b;
    --brand-2: #feca57;
    --accent: #48dbfb;
    --neon-pink: #ff6b9d;
    --neon-purple: #c56cf0;
    --neon-green: #00d2d3;
    --neon-orange: #ff9f43;
    --neon-blue: #54a0ff;
    --border: rgba(255,255,255,.08);
    --shadow: 0 10px 40px rgba(0,0,0,.4);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --gradient-fun: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #c56cf0);
    --gradient-warm: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    --gradient-cool: linear-gradient(135deg, #48dbfb 0%, #c56cf0 100%);
    --gradient-fire: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    margin: 0;
    padding-top: 70px;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Confetti Container */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall 3s ease-in forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-emoji {
    font-size: 4rem;
    animation: loaderBounce 0.6s ease-in-out infinite alternate;
}

.loader-text {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--muted);
    margin-top: 1rem;
}

.loader-bar {
    width: 200px;
    height: 6px;
    background: var(--bg-elev);
    border-radius: 3px;
    margin: 1rem auto 0;
    overflow: hidden;
}

.loader-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-warm);
    border-radius: 3px;
    animation: loaderFill 1.5s ease-in-out forwards;
}

@keyframes loaderBounce {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.1); }
}

@keyframes loaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
    min-height: 70px;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-fun);
    background-size: 300% 100%;
    animation: gradientSlide 4s linear infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
    animation: logoFlicker 2s ease-in-out infinite;
}

@keyframes logoFlicker {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.nav-logo h2 {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.6rem;
    color: #ff6b6b;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius);
    transition: var(--transition);
    opacity: 0.8;
}

.nav-menu a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: var(--brand);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    color: #ff6b6b;
    background: var(--gradient-fun);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fun-subtitle {
    color: var(--muted);
    font-size: 0.6em;
    font-weight: 600;
}

.cursor-blink {
    color: var(--brand);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-fire);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.btn-download-main {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sparkle {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: sparkleSlide 3s ease-in-out infinite;
}

@keyframes sparkleSlide {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    min-width: 110px;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.2);
}

.stat-emoji {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.3rem;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    color: #ff6b6b;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.stat-label {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    max-width: 320px;
    width: 100%;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    75% { transform: translateY(10px) rotate(-1deg); }
}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.2), 0 0 80px rgba(197, 108, 240, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.phone-mockup:hover img {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(255, 107, 107, 0.3), 0 0 100px rgba(197, 108, 240, 0.15);
    border-color: var(--brand);
}

/* Floating Icons */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.play-icon {
    top: 15%;
    right: -15px;
    background: var(--gradient-fire);
    color: white;
    font-size: 1.2rem;
}

.hd-icon {
    top: 50%;
    left: -25px;
    background: var(--gradient-cool);
    color: white;
    font-size: 0.85rem;
}

.live-icon {
    bottom: 25%;
    right: -20px;
    background: var(--neon-green);
    color: var(--bg);
    font-size: 0.75rem;
}

.fire-icon {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 1.5rem;
}

.bounce-anim { animation: bounceFloat 2s ease-in-out infinite; }
.wiggle-anim { animation: wiggle 2s ease-in-out infinite 0.5s; }
.pulse-anim { animation: pulseIcon 2s ease-in-out infinite 1s; }
.spin-anim { animation: spinFloat 3s linear infinite; }

@keyframes bounceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes spinFloat {
    0% { transform: translateX(-50%) rotate(0deg) translateY(0); }
    25% { transform: translateX(-50%) rotate(90deg) translateY(-5px); }
    50% { transform: translateX(-50%) rotate(180deg) translateY(0); }
    75% { transform: translateX(-50%) rotate(270deg) translateY(5px); }
    100% { transform: translateX(-50%) rotate(360deg) translateY(0); }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: sectionEmojiBounce 2s ease-in-out infinite;
}

@keyframes sectionEmojiBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #ff6b6b;
    background: var(--gradient-fun);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   What's Inside Section
   ============================================ */
.whats-inside {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

/* Marquee */
.marquee-wrapper {
    overflow: hidden;
    margin-bottom: 3rem;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 1rem;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    transition: var(--transition);
}

.marquee-item:hover {
    background: rgba(255, 107, 107, 0.15);
    border-color: var(--brand);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Content Cards */
.content-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-fun);
    background-size: 300% 100%;
    animation: gradientSlide 4s linear infinite;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-card:hover::before {
    transform: scaleX(1);
}

.content-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.15);
}

.content-card-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.content-card:hover .content-card-emoji {
    transform: scale(1.2) rotate(10deg);
}

.content-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.content-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-card-tag {
    display: inline-block;
    background: rgba(255, 107, 107, 0.15);
    color: var(--brand);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(72, 219, 251, 0.3);
    box-shadow: 0 15px 40px rgba(72, 219, 251, 0.1);
}

.feature-icon-fun {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-fun {
    transform: scale(1.15) rotate(-5deg);
}

.feature-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.feature-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* Level Bars (game-style) */
.feature-level {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
}

.level-label {
    color: var(--muted);
    min-width: 70px;
}

.level-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: var(--gradient-fun);
    background-size: 300% 100%;
    animation: gradientSlide 3s linear infinite;
    border-radius: 4px;
    transition: width 1s ease;
}

.level-value {
    color: var(--brand-2);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 80px;
    text-align: right;
}

/* ============================================
   Mini Game Section
   ============================================ */
.game-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.game-wrapper {
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
}

.game-score { color: var(--brand-2); }
.game-timer { color: var(--accent); }
.game-high { color: var(--neon-pink); }

#game-canvas {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    display: block;
    margin: 0 auto;
    cursor: none;
    max-width: 100%;
    touch-action: none;
}

.game-controls {
    margin-top: 1.5rem;
}

.btn-game {
    background: var(--gradient-cool);
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-game:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(72, 219, 251, 0.4);
}

.game-hint {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.8rem;
}

/* ============================================
   Download Section
   ============================================ */
.download {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.download-content {
    display: flex;
    justify-content: center;
}

.download-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 650px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-fun);
    background-size: 300% 100%;
    animation: gradientSlide 3s linear infinite;
}

.download-header {
    text-align: center;
    margin-bottom: 2rem;
}

.download-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: rocketShake 1s ease-in-out infinite;
}

@keyframes rocketShake {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.download-header h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.download-header p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* App Info */
.download-app-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

.app-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-details h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.app-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--muted);
    flex-wrap: wrap;
}

/* Checklist */
.download-checklist {
    margin-bottom: 2rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: var(--text);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.check-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Download Buttons */
.download-buttons-big {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-mega-download {
    background: var(--gradient-fire);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4);
}

.btn-mega-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(255, 107, 107, 0.5);
}

.btn-mega-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-mega-inner i {
    font-size: 1.5rem;
}

.btn-mega-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-mega-sub {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.btn-alt-download {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-alt-download:hover {
    border-color: var(--accent);
    background: rgba(72, 219, 251, 0.08);
    transform: translateY(-2px);
}

.download-fun-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
}

.download-fun-note strong {
    color: var(--brand-2);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

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

.about-text p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--text);
}

.about-fun-facts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.fun-fact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.fun-fact:hover {
    border-color: var(--neon-purple);
    transform: translateX(5px);
}

.fun-fact-emoji {
    font-size: 1.5rem;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.about-stat {
    text-align: center;
    padding: 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-stat:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--brand);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.15);
}

.about-stat-emoji {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-stat h3 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff6b6b;
    margin-bottom: 0.3rem;
}

.about-stat p {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-elev);
    color: var(--text);
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--border);
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-section h4 {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-section p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

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

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

.footer-section ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--text);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-btn:hover {
    background: var(--gradient-fire);
    border-color: transparent;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-easter-egg {
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.footer-easter-egg:hover {
    transform: scale(1.5) rotate(20deg);
}

/* ============================================
   Scroll to Top
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-fire);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .content-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .nav-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        color: var(--text) !important;
        background: transparent !important;
        border: none !important;
        font-size: 1.5rem !important;
        cursor: pointer !important;
        z-index: 1001 !important;
    }

    .nav-menu.mobile-active {
        display: flex !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        flex-direction: column !important;
        background: var(--bg-elev) !important;
        padding: 1rem !important;
        box-shadow: var(--shadow) !important;
        border-top: 1px solid var(--border) !important;
        z-index: 1000 !important;
        gap: 0 !important;
    }

    .nav-menu.mobile-active a {
        display: block !important;
        padding: 1rem !important;
        border-bottom: 1px solid var(--border) !important;
        text-align: center !important;
        color: var(--text) !important;
        opacity: 1 !important;
        font-size: 1rem !important;
        border-radius: 0 !important;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .trust-badges {
        justify-content: center;
    }

    .phone-mockup {
        max-width: 260px;
    }

    .content-cards-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-card {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    #game-canvas {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat {
        width: 100%;
        max-width: 200px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .game-stats {
        font-size: 0.9rem;
        gap: 1rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .app-meta {
        flex-direction: column;
        gap: 0.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ============================================
   Utility & Global
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
}

p {
    color: var(--muted);
}

::selection {
    background: var(--brand);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}