:root {
    --green-900: #0f2e24;
    --green-700: #1d513f;
    --green-500: #3f8e73;
    --gold-500: #c8a554;
    --gold-300: #f0ddaa;
    --paper: #f8f5ed;
    --ink: #10261f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(0.8rem, 2.5vw, 1.25rem);
    background:
        radial-gradient(circle at 20% 15%, rgba(240, 221, 170, 0.28), transparent 40%),
        radial-gradient(circle at 80% 85%, rgba(63, 142, 115, 0.25), transparent 45%),
        linear-gradient(145deg, var(--green-900), #081a14 60%);
    color: var(--paper);
    font-family: "Manrope", sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.2;
}

.construction-card {
    position: relative;
    width: min(680px, 100%);
    background: linear-gradient(140deg,
            rgba(15, 46, 36, 0.94),
            rgba(13, 38, 31, 0.88) 65%,
            rgba(200, 165, 84, 0.16));
    border: 1px solid rgba(240, 221, 170, 0.28);
    border-radius: 22px;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    animation: card-enter 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.construction-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(240, 221, 170, 0.25);
    border-radius: 15px;
    pointer-events: none;
}

.eyebrow {
    margin: 0;
    font-family: "Manrope", serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--gold-300);
}

h1 {
    margin: 0.2rem 0 0;
    display: inline-block;
    font-family: "Qwitcher Grypen", "Schoolbell", "Cinzel", serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    font-size: clamp(2.2rem, 6vw, 4rem);
    background: linear-gradient(135deg,
            rgba(247, 255, 251, 0.92) 0%,
            rgba(208, 236, 221, 0.86) 26%,
            rgba(110, 165, 134, 0.8) 54%,
            rgba(43, 94, 68, 0.88) 76%,
            rgba(230, 247, 238, 0.92) 100%);
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 2px 5px rgba(7, 24, 17, 0.42),
        0 8px 18px rgba(5, 16, 12, 0.28),
        0 0 10px rgba(31, 76, 51, 0.12);
    /* statischer, leichter Rechtsversatz */
    transform: translateX(6px);
    position: relative;
    z-index: 2;
}

.subtitle {
    margin: 1rem 0 1.4rem;
    max-width: 48ch;
    color: #d7e8df;
    line-height: 1.6;
}

.meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.meta div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(240, 221, 170, 0.2);
}

.meta-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(215, 232, 223, 0.8);
}

.meta-value {
    color: var(--gold-300);
    font-weight: 700;
}

.countdown {
    margin: 0.4rem 0 1.2rem;
    color: #e8f3ed;
    font-size: 0.95rem;
}

.notify-btn {
    display: inline-block;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    background: linear-gradient(180deg, #f4e8c6, var(--gold-500));
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 20px rgba(200, 165, 84, 0.3);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

/* Roadrunner trail: two visible copies of the text behind the original */
/* Roadrunner trail: two visible copies of the text behind the original (static, no animation) */
h1::before,
h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
    color: #173826;
    /* darker forest green for trail */
    opacity: 0.86;
    transform-origin: left center;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

h1::before {
    transform: translateX(-2px) translateY(0);
    opacity: 0.9;
}

h1::after {
    transform: translateX(-10px) translateY(0);
    opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
    h1 {
        transition: none;
    }

    h1:hover,
    h1:focus-visible {
        transform: none;
        text-shadow: 0 2px 6px rgba(7, 24, 17, 0.48);
    }
}

.notify-btn:focus-visible {
    outline: 2px solid var(--gold-300);
    outline-offset: 3px;
}

@keyframes card-enter {
    from {
        transform: translateY(18px) scale(0.98);
        opacity: 0;
    }

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

@media (max-width: 900px) {
    .construction-card {
        width: min(760px, 100%);
        padding: clamp(1.2rem, 2.6vw, 2rem);
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }
}

@media (max-width: 700px) {
    body {
        place-items: start center;
    }

    .construction-card {
        margin-top: clamp(0.7rem, 4vw, 1.2rem);
        border-radius: 18px;
    }

    .construction-card::before {
        inset: 8px;
    }

    .subtitle {
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .countdown {
        font-size: 0.9rem;
        line-height: 1.45;
    }
}

@media (max-width: 560px) {
    .meta {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .construction-card {
        padding: 1.05rem;
        border-radius: 16px;
    }

    h1 {
        font-size: clamp(1.85rem, 10vw, 2.45rem);
        line-height: 1.03;
    }

    .eyebrow {
        font-size: 0.72rem;
    }
}

@media (max-width: 380px) {
    body {
        padding: 0.55rem;
    }

    .construction-card {
        padding: 0.9rem;
    }

    .construction-card::before {
        inset: 6px;
    }
}