/* CSS Variables & Reset */
:root {
    --color-bg: #0f0f1a;
    --color-bg-secondary: #1a1a2e;
    --color-bg-card: #16162a;
    --color-ball: #ff6b6b;
    --color-platform: #4ecdc4;
    --color-platform-super: #45b7d1;
    --color-platform-sticky: #ffa07a;
    --color-goal: #7ed321;
    --color-spike: #ff4757;
    --color-fan: #feca57;
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-accent: #a855f7;
    --color-star: #fbbf24;
    --color-text: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-dim: rgba(255, 255, 255, 0.5);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animations */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-platform);
    bottom: 100px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    bottom: -100px;
    right: 20%;
    animation: float 18s ease-in-out infinite;
}

.floating-ball {
    position: absolute;
    border-radius: 50%;
    background: var(--color-ball);
    box-shadow: 0 0 30px var(--color-ball);
    opacity: 0.6;
}

.ball-1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 10%;
    animation: bounce-float 4s ease-in-out infinite;
}

.ball-2 {
    width: 15px;
    height: 15px;
    top: 60%;
    right: 15%;
    animation: bounce-float 5s ease-in-out infinite 1s;
}

.ball-3 {
    width: 12px;
    height: 12px;
    bottom: 30%;
    left: 25%;
    animation: bounce-float 3.5s ease-in-out infinite 0.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

@keyframes bounce-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-ball {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-ball), #ff4757);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    position: relative;
}

.logo-ball::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-cta {
    background: var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    color: var(--color-text) !important;
}

.nav-cta:hover {
    background: var(--color-primary-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px var(--spacing-md) var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary-light);
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.title-bounce {
    display: block;
    background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-puzzle {
    display: block;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.apple-icon {
    width: 24px;
    height: 24px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(135deg, #2a2a4a, #1a1a2e);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-card), 0 0 60px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.game-preview {
    width: 100%;
    height: 100%;
    position: relative;
    padding-top: 60px;
}

.preview-ball {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--color-ball);
    border-radius: 50%;
    top: 80px;
    left: 23%;
    /* Moved left */
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--color-ball);
    animation: preview-bounce 2s ease-in-out infinite;
}

.preview-ball::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.preview-platform {
    position: absolute;
    width: 80px;
    height: 16px;
    background: var(--color-platform);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.platform-1 {
    top: 230px;
    left: 30px;
    transform: rotate(23deg);
    /* Flipped rotation (was -15deg) */
}

.platform-2 {
    top: 340px;
    right: 30px;
    transform: rotate(-23deg);
    /* Flipped rotation (was 20deg) */
    background: #a855f7;
    /* Violet color */
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.preview-goal {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--color-goal);
    border-radius: 10px;
    bottom: 60px;
    left: 34%;
    transform: translateX(-50%);
    box-shadow: 0 0 30px rgba(126, 211, 33, 0.5);
}

@keyframes preview-bounce {

    0%,
    100% {
        top: 80px;
    }

    50% {
        top: 160px;
    }
}

/* Section Styles */
section {
    padding: var(--spacing-2xl) 0;
    position: relative;
    z-index: 1;
}

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

.section-badge {
    display: inline-block;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

/* Features Section */
.features {
    background: linear-gradient(180deg, transparent, var(--color-bg-secondary) 50%, transparent);
}

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

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.1));
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.feature-icon-normal {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
}

.feature-icon-super {
    background: linear-gradient(135deg, rgba(176, 69, 209, 0.2), rgba(183, 69, 209, 0.1));
}

.feature-icon-sticky {
    background: linear-gradient(135deg, rgba(255, 160, 122, 0.2), rgba(255, 160, 122, 0.1));
}

.feature-icon-rotation {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    color: var(--color-accent);
}

.feature-icon-rotation svg {
    width: 28px;
    height: 28px;
}

.feature-icon-hazards {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(255, 71, 87, 0.1));
    color: var(--color-spike);
}

.feature-icon-hazards svg {
    width: 28px;
    height: 28px;
}

.feature-icon-stars {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    color: var(--color-star);
}

.platform-icon {
    width: 40px;
    height: 10px;
    background: var(--color-platform);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--color-platform);
}

.platform-icon.super {
    background: #a855f7;
    box-shadow: 0 0 10px #a855f7;
}

.platform-icon.sticky {
    background: var(--color-platform-sticky);
    box-shadow: 0 0 10px var(--color-platform-sticky);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Gameplay Section */
.gameplay-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.gameplay-step {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.gameplay-step.reverse {
    direction: rtl;
}

.gameplay-step.reverse>* {
    direction: ltr;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.step-content p {
    color: var(--color-text-secondary);
}

.step-visual {
    height: 200px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.step-demo {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-place {
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.demo-platform-bank {
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    /* Dashed outline here */
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-platform-faded {
    width: 30px;
    height: 8px;
    background: var(--color-platform);
    border-radius: 4px;
    opacity: 0.3;
}

.dragging-platform {
    position: absolute;
    top: 16px;
    /* Adjusted down by 4px to align better visually */
    left: 50%;
    margin-left: -15px;
    /* Center horizontally (width 30/2) */
    width: 30px;
    height: 8px;
    background: var(--color-platform);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--color-platform);
    animation: drag-platform 2s ease-in-out infinite;
    z-index: 10;
}

.demo-board {
    width: 230px;
    height: 120px;
    background: rgba(255, 255, 255, 0.02);
    /* Border removed */
    border-radius: var(--radius-md);
    position: relative;
    /* Target center is approx top + 40 + gap + 40? 
       Actually let's just use translateY in animation relative to start */
}

@keyframes drag-platform {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    60% {
        transform: translateY(100px) scale(1.7);
        /* Move down to board (40 bank + 40 gap + 40 half board - offset)  */
        /* 16px start. Board starts at 40 (bank) + 40 (gap) = 80. Center of board is 80 + 40 = 120. 
           Difference 120 - 16 = 104px. Let's try 100px.
           Scale: 30px * 1.7 = 51px approx, close to demo-placed-platform size. */
    }

    70% {
        transform: translateY(100px) scale(1.7);
        opacity: 1;
    }

    100% {
        transform: translateY(100px) scale(1.7);
        opacity: 0;
    }
}

.demo-angle {
    position: relative;
}

.angle-platform {
    width: 60px;
    height: 14px;
    background: var(--color-platform);
    border-radius: 7px;
    animation: platform-rotate 3s ease-in-out infinite;
}

.angle-arc {
    position: absolute;
    width: 100px;
    height: 50px;
    border: 2px dashed var(--color-accent);
    border-bottom: none;
    border-radius: 50px 50px 0 0;
    top: -40px;
    opacity: 0.5;
}

@keyframes platform-rotate {

    0%,
    100% {
        transform: rotate(-20deg);
    }

    50% {
        transform: rotate(20deg);
    }
}

.demo-drop {
    flex-direction: column;
    gap: 80px;
    position: relative;
}

.drop-ball {
    width: 20px;
    height: 20px;
    background: var(--color-ball);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-ball);
    animation: drop-fall 2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    z-index: 2;
}

.drop-trail {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 80px;
    background: repeating-linear-gradient(to bottom, var(--color-ball) 0, var(--color-ball) 6px, transparent 6px, transparent 20px);
    opacity: 0;
    animation: trail-fade 2s ease-in-out infinite;
    z-index: 0;
}

.drop-goal {
    width: 40px;
    height: 40px;
    background: var(--color-goal);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(126, 211, 33, 0.5);
    z-index: 1;
}

@keyframes drop-fall {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    60% {
        transform: translateY(105px);
        opacity: 1;
    }

    /* Fall deep into goal */
    65% {
        transform: translateY(105px) scale(0.8);
        opacity: 0;
    }

    100% {
        transform: translateY(105px);
        opacity: 0;
    }
}

@keyframes trail-fade {

    0%,
    10% {
        opacity: 0;
        height: 0;
    }

    30% {
        opacity: 0.5;
        height: 80px;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Worlds Section */
.worlds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-lg);
}

.world-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.world-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.world-preview {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.world-1 .world-preview {
    background: linear-gradient(135deg, #1a1a2e, #2d1f3d);
}

.world-2 .world-preview {
    background: linear-gradient(135deg, #2d1f1f, #3d2a1f);
}

.world-3 .world-preview {
    background: linear-gradient(135deg, #1f2a3d, #1f3d3d);
}

.world-elements {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.we-ball {
    width: 30px;
    height: 30px;
    background: var(--color-ball);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-ball);
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: we-bounce 2s ease-in-out infinite;
}

.we-platform {
    width: 60px;
    height: 12px;
    background: var(--color-platform);
    border-radius: 6px;
    position: absolute;
    top: 150px;
    transform: rotate(34deg);
}

.we-goal {
    width: 35px;
    height: 35px;
    background: var(--color-goal);
    border-radius: 8px;
    position: absolute;
    bottom: 30px;
    right: 60px;
    box-shadow: 0 0 20px rgba(126, 211, 33, 0.4);
}

.we-spike {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--color-spike);
    position: absolute;
    bottom: 30px;
    right: 40px;
}

.we-fan {
    width: 30px;
    height: 30px;
    background: var(--color-fan);
    border-radius: 50%;
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.we-fan::after {
    content: '≋';
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
}

@keyframes we-bounce {

    0%,
    100% {
        top: 30px;
    }

    50% {
        top: 60px;
    }
}

.world-info {
    padding: var(--spacing-lg);
}

.world-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: var(--color-primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.world-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.world-info p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.world-colors {
    display: flex;
    gap: var(--spacing-xs);
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* Download Section */
.download {
    padding: var(--spacing-2xl) 0;
}

.download-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.download-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.app-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.app-icon-ball {
    width: 40px;
    height: 40px;
    background: var(--color-ball);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.app-icon-platform {
    width: 50px;
    height: 10px;
    background: var(--color-platform);
    border-radius: 5px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) rotate(-10deg);
}

.app-icon-goal {
    width: 20px;
    height: 20px;
    background: var(--color-goal);
    border-radius: 4px;
    position: absolute;
    bottom: 15px;
    right: 20px;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.download-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.btn-download {
    background: rgba(0, 0, 0, 0.3);
    color: var(--color-text);
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.btn-download:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}

.btn-download .apple-icon {
    width: 36px;
    height: 36px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.download-large {
    font-size: 1.25rem;
    font-weight: 600;
}

.download-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-ball {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.deco-ball-1 {
    width: 100px;
    height: 100px;
    top: -30px;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.deco-ball-2 {
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.deco-ball-3 {
    width: 40px;
    height: 40px;
    top: 40%;
    right: 5%;
    animation: float 7s ease-in-out infinite 1s;
}

.deco-platform {
    position: absolute;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.deco-platform-1 {
    width: 80px;
    bottom: 30%;
    left: 10%;
    transform: rotate(-20deg);
}

.deco-platform-2 {
    width: 60px;
    top: 20%;
    right: 15%;
    transform: rotate(15deg);
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.footer-logo .logo-ball {
    width: 24px;
    height: 24px;
}

.footer-logo .logo-ball::after {
    width: 7px;
    height: 7px;
    top: 4px;
    left: 6px;
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-2xl);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-dim);
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-text);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--color-text-dim);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin: 0 auto var(--spacing-xl);
    }

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

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

    .hero-visual {
        margin-top: var(--spacing-xl);
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .gameplay-step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gameplay-step.reverse {
        direction: ltr;
    }

    .step-number {
        margin: 0 auto;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}