:root {
    --color-bg: #fff8f0;
    --color-primary: #ff8c42;
    --color-secondary: #ffd93d;
    --color-accent: #6bcb77;
    --color-pink: #ff6b9d;
    --color-purple: #9b5de5;
    --color-blue: #00bbf9;
    --color-text: #4a3b32;
    --color-text-light: #7d6b5d;
    --shadow-soft: 0 8px 24px rgba(255, 140, 66, 0.18);
    --shadow-card: 0 12px 32px rgba(74, 59, 50, 0.12);
    --radius: 24px;
    --radius-small: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

.floating-foods {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.food {
    position: absolute;
    font-size: 2rem;
    opacity: 0.12;
    animation: floatUp linear infinite;
    filter: grayscale(0.2);
}

@keyframes floatUp {
    0% {
        transform: translateY(110vh) rotate(0deg);
    }
    100% {
        transform: translateY(-20vh) rotate(360deg);
    }
}

.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4f3 50%, #e8f7ff 100%);
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
}

.mascot {
    font-size: 8rem;
    line-height: 1;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

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

.title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(3rem, 10vw, 6rem);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.title-munch {
    color: var(--color-primary);
    text-shadow: 4px 4px 0 var(--color-secondary);
}

.title-madness {
    color: var(--color-pink);
    text-shadow: 4px 4px 0 var(--color-secondary);
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    font-weight: 700;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-pink));
    color: white;
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 107, 157, 0.35);
}

.download-btn.large {
    font-size: 1.4rem;
    padding: 1.25rem 2.5rem;
}

.btn-icon {
    font-size: 1.4em;
}

.section {
    position: relative;
    z-index: 1;
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.how-to-play {
    background: white;
}

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

.step-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #fff9e6, #fff0f5);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translateY(-6px);
}

.step-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
    color: var(--color-primary);
}

.step-card p {
    margin: 0;
    color: var(--color-text-light);
    font-weight: 700;
}

.features {
    background: linear-gradient(180deg, #fff8f0 0%, #f0fff7 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 16px 40px rgba(74, 59, 50, 0.15);
    border-color: var(--color-secondary);
}

.feature-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
    color: var(--color-purple);
}

.feature-card p {
    margin: 0;
    color: var(--color-text-light);
    font-weight: 700;
}

.leaderboard-highlight {
    background: linear-gradient(135deg, #fff5e6, #ffe8f0);
}

.highlight-box {
    background: white;
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 4px dashed var(--color-secondary);
}

.highlight-emoji {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

.highlight-box h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    margin: 0 0 1rem;
    color: var(--color-primary);
}

.highlight-box p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 700;
}

.screenshots {
    background: white;
}

.screenshot-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.phone-frame {
    width: 220px;
    height: 440px;
    background: #2a2a2a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-card);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff9e6, #ffe4f3);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.screen-emoji {
    font-size: 4rem;
}

.screen-caption {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: var(--color-text);
}

.download-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-pink));
    color: white;
    text-align: center;
}

.download-section .section-title {
    color: white;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.download-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 700;
    opacity: 0.95;
}

.download-section .download-btn {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.footer p {
    margin: 0.25rem 0;
    font-weight: 700;
}

.footer-links {
    margin: 0.75rem 0;
}

.footer-links a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 900;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .hero {
        min-height: auto;
        padding: 4rem 1rem;
    }

    .phone-frame {
        width: 180px;
        height: 360px;
    }

    .screen-emoji {
        font-size: 3rem;
    }
}
