/* =========================================
   256th — MAIN STYLES
   ========================================= */

:root {
    --primary: #ff6b4a;
    --primary-dark: #f05435;
    --primary-light: #ff8a70;
    --background: #fff8f0;
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.8);
    --text: #24212d;
    --muted: #766f7d;
    --border: #eadfd6;
    --success: #3d9b75;
    --gold: #e5a52b;
    --radius: 24px;
    --shadow: 0 20px 50px rgba(36, 33, 45, 0.08);
}

/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   PAGE
   ========================================= */

.page {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================================
   HEADER
   ========================================= */

.site-header {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;

    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--text);

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.theme-toggle {
    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.theme-toggle:hover {
    transform: rotate(10deg);
    border-color: var(--primary);
}

/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;

    width: min(1000px, calc(100% - 48px));
    margin: 0 auto;

    min-height: 720px;
    padding: 105px 0 100px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

/* =========================================
   DECORATIVE ELEMENTS
   ========================================= */

.hero-orbit,
.hero-spark {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.hero-orbit {
    width: 54px;
    height: 54px;

    border: 1px solid rgba(255, 107, 74, 0.22);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
}

.orbit-one {
    top: 145px;
    left: 8%;
    animation: floatOne 5s ease-in-out infinite;
}

.orbit-two {
    right: 7%;
    top: 275px;

    width: 44px;
    height: 44px;

    font-size: 18px;

    animation: floatTwo 6s ease-in-out infinite;
}

.hero-spark {
    color: var(--primary);
    opacity: 0.65;
}

.spark-one {
    top: 125px;
    right: 19%;
    font-size: 17px;
}

.spark-two {
    top: 335px;
    left: 17%;
    font-size: 11px;
}

.spark-three {
    top: 390px;
    right: 20%;
    font-size: 13px;
}

/* =========================================
   HERO LABEL
   ========================================= */

.hero-label,
.about-label {
    color: var(--primary);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-label {
    margin-bottom: 22px;
}

/* =========================================
   HERO TITLE
   ========================================= */

.hero h1 {
    max-width: 850px;

    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;

    font-size: clamp(46px, 7vw, 82px);
    font-weight: 900;

    line-height: 0.98;
    letter-spacing: -4px;

    color: var(--text);
}

.hero-description {
    max-width: 570px;

    margin-top: 27px;

    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

/* =========================================
   INPUT AREA
   ========================================= */

.input-area {
    width: min(680px, 100%);

    margin-top: 42px;

    display: flex;
    gap: 12px;
}

.input-shell {
    position: relative;
    flex: 1;
    min-width: 0;
}

.input-mark {
    position: absolute;

    left: 22px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--primary);
    font-size: 25px;
    font-weight: 700;

    pointer-events: none;
}

#textInput {
    width: 100%;
    height: 64px;

    padding: 0 22px 0 55px;

    border: 1px solid var(--border);
    border-radius: 18px;

    outline: none;

    background: var(--surface);
    color: var(--text);

    font-size: 16px;

    box-shadow:
        0 10px 30px rgba(36, 33, 45, 0.04);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#textInput::placeholder {
    color: #aaa2aa;
}

#textInput:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(255, 107, 74, 0.1),
        0 12px 35px rgba(36, 33, 45, 0.06);
}

/* =========================================
   BUTTON
   ========================================= */

#submitButton {
    height: 64px;

    padding: 0 23px;

    border: 0;
    border-radius: 18px;

    background: var(--primary);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;

    box-shadow:
        0 12px 25px rgba(255, 107, 74, 0.25);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#submitButton:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(255, 107, 74, 0.3);
}

#submitButton:active {
    transform: translateY(0);
}

#submitButton:disabled {
    cursor: wait;
    opacity: 0.75;
    transform: none;
}

.button-arrow {
    font-size: 20px;
    line-height: 1;
}

/* =========================================
   RESULT
   ========================================= */

.result {
    width: min(680px, 100%);
    margin-top: 24px;
}

.result-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    box-shadow: var(--shadow);

    animation:
        resultIn 0.45s ease both;
}

.result-number {
    color: var(--primary);

    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;

    font-size: 54px;
    font-weight: 900;

    line-height: 1;
    letter-spacing: -2px;
}

.result-title {
    margin-top: 12px;

    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;

    font-size: 25px;
    font-weight: 900;
}

.result-text {
    margin-top: 7px;

    color: var(--muted);
    font-size: 15px;
}

.result-discovery {
    margin-top: 16px;

    padding: 12px 16px;

    border-radius: 12px;

    background: var(--background);
    color: var(--text);

    font-weight: 700;

    word-break: break-word;
}

/* =========================================
   SHARE BUTTON
   ========================================= */

.share-button {
    margin-top: 18px;

    padding: 11px 18px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--surface);
    color: var(--text);

    font-size: 13px;
    font-weight: 800;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.share-button:hover {
    border-color: var(--primary);

    background: rgba(255, 107, 74, 0.06);

    transform: translateY(-1px);
}

/* =========================================
   SPECIAL RESULTS
   ========================================= */

.first-discovery {
    position: relative;

    border-color: rgba(61, 155, 117, 0.35);

    overflow: hidden;

    animation:
        firstResultIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) both,
        firstGlow 2s ease-in-out infinite alternate;
}

.first-discovery::before {
    content: "";

    position: absolute;

    inset: -100%;

    background:
        radial-gradient(
            circle at center,
            rgba(61, 155, 117, 0.13),
            transparent 55%
        );

    pointer-events: none;

    animation:
        firstShine 2s ease-out forwards;
}

.first-discovery .result-number,
.first-discovery .result-title,
.first-discovery .result-text,
.first-discovery .share-button {
    position: relative;
    z-index: 1;
}

.first-discovery .result-number {
    color: var(--success);

    font-size: clamp(60px, 10vw, 88px);

    animation:
        numberPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.first-discovery .result-title {
    font-size: clamp(25px, 4vw, 34px);

    animation:
        titleReveal 0.65s ease 0.25s both;
}

.first-discovery .result-text {
    animation:
        titleReveal 0.65s ease 0.35s both;
}

.first-discovery .share-button {
    animation:
        titleReveal 0.65s ease 0.45s both;
}

/* =========================================
   MEGA RESULT
   ========================================= */

.mega-result {
    position: relative;

    border-color: rgba(229, 165, 43, 0.55);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fffaf0 100%
        );

    overflow: hidden;

    animation:
        megaResultIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mega-result::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -140px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(229, 165, 43, 0.25),
            transparent 70%
        );

    pointer-events: none;
}

.mega-result .result-number,
.mega-result .result-title,
.mega-result .result-text,
.mega-result .share-button {
    position: relative;
    z-index: 1;
}

.mega-result .result-number {
    color: var(--gold);

    font-size: clamp(70px, 11vw, 105px);

    animation:
        megaNumberPop 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mega-result .result-title {
    font-size: clamp(26px, 4vw, 38px);

    animation:
        titleReveal 0.7s ease 0.15s both;
}

/* =========================================
   STATS
   ========================================= */

.stats {
    width: min(760px, 100%);

    margin-top: 65px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.stat {
    padding: 27px 25px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--surface);

    text-align: left;

    box-shadow:
        0 12px 35px rgba(36, 33, 45, 0.04);
}

.stat-icon {
    color: var(--primary);

    font-size: 20px;
    font-weight: 900;

    margin-bottom: 13px;
}

.stat-number {
    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;

    font-size: 34px;
    font-weight: 900;

    line-height: 1;
}

.stat-label {
    margin-top: 7px;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.stat-description {
    margin-top: 5px;

    color: var(--muted);
    font-size: 13px;
}

/* =========================================
   ABOUT
   ========================================= */

.about-section {
    width: min(1000px, calc(100% - 48px));

    margin: 0 auto;

    padding: 120px 0 100px;
}

.about-label {
    margin-bottom: 18px;
}

.about-section h2 {
    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;

    font-size: clamp(45px, 6vw, 70px);
    font-weight: 900;

    line-height: 0.98;
    letter-spacing: -3px;
}

.about-tagline {
    max-width: 600px;

    margin-top: 25px;

    color: var(--muted);
    font-size: 18px;
}

.about-card {
    position: relative;

    margin-top: 50px;

    padding: 55px;

    border: 1px solid var(--border);
    border-radius: 30px;

    background: var(--surface);

    box-shadow: var(--shadow);

    overflow: hidden;
}

.about-card p {
    position: relative;
    z-index: 1;

    max-width: 760px;

    margin-top: 22px;

    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.about-card p:first-of-type {
    margin-top: 0;
}

.about-number {
    position: absolute;

    right: -25px;
    top: -45px;

    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;

    font-size: 190px;
    font-weight: 900;

    line-height: 1;

    color: rgba(255, 107, 74, 0.055);

    pointer-events: none;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    width: min(1000px, calc(100% - 48px));

    margin: 0 auto;

    padding: 30px 0 40px;

    border-top: 1px solid var(--border);

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    color: var(--muted);
    font-size: 13px;
}

.footer-dot {
    color: var(--primary);
}

/* =========================================
   FIRST DISCOVERY SCREEN EFFECT
   ========================================= */

.first-celebration-flash {
    position: fixed;

    inset: 0;

    z-index: 9998;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.95),
            rgba(61, 155, 117, 0.2),
            transparent 70%
        );

    pointer-events: none;

    animation:
        firstFlash 0.9s ease-out forwards;
}

.first-celebration-burst {
    position: fixed;

    left: 50%;
    top: 50%;

    width: 20px;
    height: 20px;

    z-index: 10000;

    border-radius: 50%;

    pointer-events: none;

    box-shadow:
        0 -100px 0 2px currentColor,
        71px -71px 0 2px currentColor,
        100px 0 0 2px currentColor,
        71px 71px 0 2px currentColor,
        0 100px 0 2px currentColor,
        -71px 71px 0 2px currentColor,
        -100px 0 0 2px currentColor,
        -71px -71px 0 2px currentColor;

    animation:
        firstBurst 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =========================================
   256TH CELEBRATION
   ========================================= */

.celebration-flash {
    position: fixed;

    inset: 0;

    z-index: 9998;

    background: white;

    pointer-events: none;

    animation:
        flash 0.55s ease forwards;
}

.mega-celebration {
    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        radial-gradient(
            circle at center,
            rgba(229, 165, 43, 0.16),
            rgba(36, 33, 45, 0.93) 65%
        );

    backdrop-filter: blur(10px);

    animation:
        megaFade 0.35s ease both;
}

.mega-celebration::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(229, 165, 43, 0.18),
            transparent 38%
        );

    animation:
        megaPulse 1.4s ease-in-out infinite alternate;

    pointer-events: none;
}

.mega-celebration-content {
    position: relative;
    z-index: 1;

    width: min(620px, 100%);

    padding: 55px 35px;

    border-radius: 32px;

    background: var(--surface);

    text-align: center;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.25);

    animation:
        megaPop 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mega-number {
    color: var(--gold);

    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;

    font-size: clamp(80px, 15vw, 150px);
    font-weight: 900;

    line-height: 0.8;
    letter-spacing: -8px;
}

.mega-title {
    margin-top: 28px;

    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;

    font-size: clamp(30px, 6vw, 52px);
    font-weight: 900;

    line-height: 1;
}

.mega-subtitle {
    margin-top: 14px;

    color: var(--muted);
    font-size: 16px;
}

/* =========================================
   CONFETTI
   ========================================= */

.confetti-piece {
    position: fixed;

    top: -30px;

    z-index: 10001;

    width: 11px;
    height: 20px;

    pointer-events: none;

    border-radius: 3px;

    opacity: 0;

    animation:
        confettiFall linear forwards,
        confettiSpin 0.7s linear infinite;
}

/* Different shapes for richer confetti */

.confetti-piece:nth-child(3n) {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.confetti-piece:nth-child(4n) {
    width: 14px;
    height: 6px;
    border-radius: 2px;
}

.confetti-piece:nth-child(5n) {
    width: 8px;
    height: 16px;
    transform: rotate(45deg);
}

/* =========================================
   FIREWORKS
   ========================================= */

.firework {
    position: fixed;

    z-index: 10001;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    pointer-events: none;

    box-shadow:
        0 -65px 0 0 currentColor,
        46px -46px 0 0 currentColor,
        65px 0 0 0 currentColor,
        46px 46px 0 0 currentColor,
        0 65px 0 0 currentColor,
        -46px 46px 0 0 currentColor,
        -65px 0 0 0 currentColor,
        -46px -46px 0 0 currentColor,

        0 -35px 0 -1px currentColor,
        25px -25px 0 -1px currentColor,
        35px 0 0 -1px currentColor,
        25px 25px 0 -1px currentColor,
        0 35px 0 -1px currentColor,
        -25px 25px 0 -1px currentColor,
        -35px 0 0 -1px currentColor,
        -25px -25px 0 -1px currentColor;

    animation:
        fireworkBurst 1.1s ease-out forwards;
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes resultIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes firstResultIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.85);
    }

    65% {
        opacity: 1;
        transform: translateY(-5px) scale(1.025);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes firstGlow {
    from {
        box-shadow:
            0 15px 40px rgba(61, 155, 117, 0.08),
            0 0 0 rgba(61, 155, 117, 0);
    }

    to {
        box-shadow:
            0 20px 55px rgba(61, 155, 117, 0.16),
            0 0 35px rgba(61, 155, 117, 0.12);
    }
}

@keyframes firstShine {
    from {
        transform: translate(-50%, -40%) scale(0.4);
        opacity: 0;
    }

    35% {
        opacity: 1;
    }

    to {
        transform: translate(-50%, 40%) scale(1.4);
        opacity: 0;
    }
}

@keyframes numberPop {
    0% {
        opacity: 0;
        transform: scale(0.4) rotate(-8deg);
    }

    65% {
        opacity: 1;
        transform: scale(1.12) rotate(2deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

@keyframes megaNumberPop {
    0% {
        opacity: 0;
        transform: scale(0.4) rotate(-8deg);
    }

    55% {
        opacity: 1;
        transform: scale(1.14) rotate(2deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes firstFlash {
    0% {
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes firstBurst {
    0% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 1;
    }

    65% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0;
    }
}

@keyframes floatOne {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

@keyframes floatTwo {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(10px) rotate(-6deg);
    }
}

@keyframes flash {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes megaFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes megaPop {
    from {
        opacity: 0;
        transform: scale(0.75) translateY(25px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes megaPulse {
    from {
        opacity: 0.35;
        transform: scale(0.9);
    }

    to {
        opacity: 0.8;
        transform: scale(1.12);
    }
}

@keyframes megaResultIn {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.9);
    }

    70% {
        opacity: 1;
        transform: translateY(-4px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes confettiFall {
    0% {
        transform:
            translate3d(0, -30px, 0)
            rotate(0deg);
        opacity: 1;
    }

    25% {
        transform:
            translate3d(20px, 25vh, 0)
            rotate(180deg);
    }

    50% {
        transform:
            translate3d(-25px, 50vh, 0)
            rotate(360deg);
    }

    75% {
        transform:
            translate3d(25px, 75vh, 0)
            rotate(540deg);
    }

    100% {
        transform:
            translate3d(-10px, 115vh, 0)
            rotate(720deg);
        opacity: 0;
    }
}

@keyframes confettiSpin {
    from {
        margin-left: -10px;
    }

    to {
        margin-left: 10px;
    }
}

@keyframes fireworkBurst {
    0% {
        transform: scale(0.05);
        opacity: 1;
    }

    45% {
        transform: scale(0.8);
        opacity: 1;
    }

    75% {
        transform: scale(1.15);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* =========================================
   DARK MODE
   ========================================= */

body.dark-mode {
    --background: #17151d;
    --surface: #24212d;
    --surface-soft: rgba(36, 33, 45, 0.8);
    --text: #fffaf5;
    --muted: #aaa3b0;
    --border: #3b3645;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

body.dark-mode #textInput {
    color: var(--text);
}

body.dark-mode .mega-result {
    background: var(--surface);
}

body.dark-mode .result-discovery {
    background: #1d1a24;
}

body.dark-mode .mega-celebration-content {
    background: var(--surface);
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .site-header {
        width: min(100% - 32px, 1180px);
        padding: 20px 0;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 12px;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .hero {
        width: calc(100% - 32px);

        padding-top: 75px;
        padding-bottom: 80px;

        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(43px, 13vw, 62px);
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-orbit,
    .hero-spark {
        display: none;
    }

    .input-area {
        flex-direction: column;
    }

    #submitButton {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .about-section {
        width: calc(100% - 32px);

        padding-top: 80px;
        padding-bottom: 70px;
    }

    .about-section h2 {
        font-size: clamp(43px, 13vw, 60px);
    }

    .about-card {
        padding: 30px 25px;
    }

    .about-number {
        font-size: 120px;

        right: -15px;
        top: -20px;
    }

    .site-footer {
        width: calc(100% - 32px);
    }

    .mega-celebration-content {
        padding: 45px 25px;
    }

    .first-discovery .result-number {
        font-size: 68px;
    }
}

@media (max-width: 420px) {

    .logo {
        font-size: 26px;
    }

    .nav a {
        display: none;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .result-card {
        padding: 25px 20px;
    }

    .result-number {
        font-size: 45px;
    }

    .first-discovery .result-number {
        font-size: 60px;
    }
}