:root {
    --bg: #fff8dc;
    --surface: #ffffff;

    --yellow: #ffd84d;
    --orange: #ff9f1c;
    --sky: #9edcff;

    --text: #3b2d12;
    --muted: #7a6b50;

    --shadow:
        0 10px 30px rgba(0,0,0,.08);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        linear-gradient(
            180deg,
            #fff8dc 0%,
            #fff0b8 100%
        );

    color: var(--text);
    font-family: "IBM Plex Sans", sans-serif;
}

.duckycoin {
    overflow-x: hidden;
}

section {
    padding: 100px 10vw;
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.eyebrow {
    display: inline-block;
    background: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(4rem, 9vw, 8rem);
    margin: 0;
    line-height: .9;
}

.hero h2 {
    color: var(--orange);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 20px 0;
}

.hero-text {
    max-width: 600px;
    line-height: 1.8;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-duck img {
    width: 100%;
    animation: float 4s ease-in-out infinite;
}

/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    text-decoration: none;
    padding: 18px 34px;
    border-radius: 999px;
    font-weight: bold;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--yellow);
    color: black;
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 2px solid #eee;
}

/* GENERAL */

.section-label {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--orange);
}

h2 {
    font-size: clamp(2rem, 6vw, 5rem);
    margin: 0 0 20px;
}

.about p,
.cta p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
}

/* TOKENOMICS */

.token-grid,
.duck-grid,
.steps {
    display: grid;
    gap: 25px;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
}

.token-card,
.duck-card,
.step {
    background: white;
    border-radius: 30px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.token-card strong,
.step span {
    display: block;
    color: var(--orange);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.token-card span {
    font-size: 1.5rem;
    font-weight: bold;
}

.duck-card {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}

.step h3 {
    margin: 0 0 10px;
}

/* CTA */

.cta {
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
}

/* FLOATING DUCK */

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

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

/* MOBILE */

@media (max-width: 900px) {

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

    .hero-text {
        margin: auto;
    }

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

    .hero-duck {
        max-width: 350px;
        margin: auto;
    }
}