/* ============================================================
   POSSUM FEST - stylesheet (clean rewrite)

   Concept unchanged: the page walks from cream daytime down into
   deep night, with a teal / lime / magenta neon accent as the
   through-line. This rewrite fixes three things from the parked
   build:
     1. Hero title does ONE intentional thing (dark title, single
        restrained neon glow) - the dead attr(data-text) overlay and
        the competing color rules are gone.
     2. Headings are context-aware: solid dark on the light sections,
        neon-gradient on the night sections.
     3. Section seams are soft blended transition bands, not hard
        4-6px dividers, so the sunset arc reads as one descent.
============================================================ */

/* ============================================================
   PALETTE
============================================================ */

:root {
    /* Day-to-night arc (each section's base color, in order) */
    --c-cream:    #faf5eb;   /* hero */
    --c-blush:    #fdeef6;   /* about */
    --c-lavender: #f2e2fb;   /* schedule */
    --c-dusk:     #d7c4ec;   /* attractions */
    --c-twilight: #2a2540;   /* live (first dark) */
    --c-night-1:  #1f1c2b;   /* map */
    --c-night-2:  #17151f;   /* vendors */
    --c-night-3:  #100e17;   /* faq */
    --c-night-4:  #0a0910;   /* getting here */
    --c-footer:   #060509;

    --text-dark:  #211d30;
    --text-light: #f1f1ff;

    --neon-teal:    #39f3d0;
    --neon-lime:    #afff3e;
    --neon-magenta: #ff4ccd;
    --neon-accent:  linear-gradient(90deg, var(--neon-teal), var(--neon-lime), var(--neon-magenta));

    /* Accents that stay readable on WHITE / light cards */
    --ink-teal:    #0b7d6e;
    --ink-magenta: #b0208f;
}

/* ============================================================
   GLOBAL
============================================================ */

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--c-cream);
    color: var(--text-dark);
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
}

.section-lead {
    max-width: 720px;
    margin: -8px 0 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

a { color: var(--ink-teal); }

/* ============================================================
   SECTION BACKGROUNDS + SOFT SEAMS

   Each section carries the blend from the PREVIOUS stage at its
   top edge (a ~160px band) and holds its own color below. Two
   sections of the same color (the two .section-night blocks)
   collapse to a solid fill, so there is no false seam between them.
============================================================ */

.hero.section-day {
    background: var(--c-cream);
}

.section-sunset {
    background: linear-gradient(to bottom, var(--c-cream) 0px, var(--c-blush) 170px, var(--c-blush) 100%);
}

.section-sunset-deep {
    background: linear-gradient(to bottom, var(--c-blush) 0px, var(--c-lavender) 170px, var(--c-lavender) 100%);
}

.section-dusk {
    background: linear-gradient(to bottom, var(--c-lavender) 0px, var(--c-dusk) 170px, var(--c-dusk) 100%);
}

/* The sunset-into-night drop. Longer blend band, extra top padding
   so the heading lands in the settled dark, not mid-gradient. */
.section-night {
    background: linear-gradient(to bottom, var(--c-dusk) 0px, var(--c-twilight) 240px, var(--c-twilight) 100%);
    color: var(--text-light);
    padding-top: 130px;
}

/* The second .section-night (Map) sits below the first (Live), so its
   "previous" color is twilight, easing to night-1. */
.section-night + .section-night {
    background: linear-gradient(to bottom, var(--c-twilight) 0px, var(--c-night-1) 170px, var(--c-night-1) 100%);
    padding-top: 90px;
}

.section-night-deep {
    background: linear-gradient(to bottom, var(--c-night-1) 0px, var(--c-night-2) 170px, var(--c-night-2) 100%);
    color: var(--text-light);
}

.section-night-deeper {
    background: linear-gradient(to bottom, var(--c-night-2) 0px, var(--c-night-3) 170px, var(--c-night-3) 100%);
    color: var(--text-light);
}

.section-night-solid {
    background: linear-gradient(to bottom, var(--c-night-3) 0px, var(--c-night-4) 170px, var(--c-night-4) 100%);
    color: var(--text-light);
}

/* ============================================================
   HERO
============================================================ */

.hero {
    text-align: center;
    padding: 120px 26px 150px;
    position: relative;
}

.hero-logo {
    width: 300px;
    max-width: 40vw;
    height: auto;
    display: block;
    margin: 0 auto 28px;
    border-radius: 16px;
}

/* One intentional treatment: a dark title with a single restrained
   neon glow. No gradient fill, no data-text overlay. */
.hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-dark);
    text-shadow: 0 0 16px rgba(57, 243, 208, 0.35);
    margin: 0 0 10px;
}

.hero-tagline {
    font-size: 1.15rem;
    margin: 0 0 6px;
}

.hero-sublight {
    opacity: 0.8;
}

.hero-small-text {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.7rem;
    opacity: 0.6;
}

.hero-buttons {
    margin-top: 26px;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */

h1, h2, h3 {
    font-family: "Space Grotesk", sans-serif;
    margin-top: 0;
}

/* Default h2: solid dark tone, readable on the light sections. */
h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin: 0 0 26px;
    color: var(--text-dark);
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: var(--neon-accent);
    margin-top: 14px;
    border-radius: 4px;
}

/* Night sections: neon-gradient fill, readable on dark. */
.section-night h2,
.section-night-deep h2,
.section-night-deeper h2,
.section-night-solid h2 {
    background: var(--neon-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* ============================================================
   COUNTDOWN
============================================================ */

.count-box {
    display: inline-block;
    padding: 16px 26px;
    background: #ffffff;
    border-radius: 18px;
    margin: 30px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.12);
}

.count-label {
    opacity: 0.7;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#pf-countdown {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 4px;
}

/* ============================================================
   BUTTONS
============================================================ */

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    margin: 4px;
    display: inline-block;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

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

.btn.primary {
    background: var(--neon-accent);
    color: #111111;
    box-shadow: 0 6px 18px rgba(255, 76, 205, 0.25);
}

.btn.subtle {
    background: rgba(0, 0, 0, 0.06);
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

/* ============================================================
   CARDS + GRID
============================================================ */

.content-block {
    max-width: 720px;
    margin-bottom: 40px;
}

.card {
    background: #ffffff;
    padding: 28px 32px;
    border-radius: 20px;
    margin-top: 26px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.card-dark {
    background: #0f0e14;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-dark a {
    color: var(--neon-teal);
}

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

/* ============================================================
   SCHEDULE
============================================================ */

.schedule {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.day-block {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 5px solid transparent;
    border-image: var(--neon-accent) 1;
}

.day-head {
    margin-bottom: 6px;
}

.day-head h3 {
    margin-bottom: 2px;
}

.day-date {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--ink-magenta);
    font-weight: 500;
}

.day-note {
    font-style: italic;
    opacity: 0.75;
    margin: 8px 0 16px;
}

.day-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.day-list li {
    display: flex;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.day-list li:first-child {
    border-top: none;
}

.day-list .time {
    flex: 0 0 78px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--ink-teal);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================================
   LIVE TILE
============================================================ */

.live-tile {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.live-tile h3 {
    font-size: 2rem;
    background: var(--neon-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.live-badge {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0b0b0b;
    background: var(--neon-lime);
    padding: 4px 12px;
    border-radius: 40px;
    margin-bottom: 10px;
}

.live-tile .btn {
    margin-top: 8px;
}

/* ============================================================
   MAP
============================================================ */

.map-img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.caption {
    opacity: 0.75;
    text-align: center;
    margin-top: 14px;
}

.map-key ul {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 32px;
}

.map-key li {
    padding: 6px 0;
    break-inside: avoid;
}

/* ============================================================
   FOOTER
============================================================ */

.footer {
    background: linear-gradient(to bottom, var(--c-night-4) 0px, var(--c-footer) 120px, var(--c-footer) 100%);
    color: #e8e4ff;
    padding: 70px 24px 60px;
}

.footer-flex {
    display: flex;
    gap: 26px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-seal img {
    width: 85px;
    height: auto;
    display: block;
}

.footer-text {
    flex: 1;
    min-width: 260px;
}

.footer-text a {
    color: var(--neon-teal);
    font-weight: 700;
    text-decoration: underline;
}

.footer-text .small {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 14px;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 700px) {
    .footer-flex {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-seal img {
        margin-bottom: 20px;
    }

    .card,
    .day-block {
        padding: 22px 24px;
    }

    .hero-title {
        font-size: 2.7rem;
    }

    .hero-logo {
        width: 250px;
        max-width: 60vw;
    }

    .map-key ul {
        columns: 1;
    }
}
