/* =========================================================================
   nasco.css — custom styles distilled from the original HTML files.
   Tailwind handles 95% of layout/spacing/typography. This file only
   covers what utility classes can't reasonably do: gradients tied to
   design tokens, branded animations, decorative effects.

   All colours read from CSS custom properties so SiteSettings -> DesignToken
   changes apply globally without recompiling.
   ======================================================================= */

[x-cloak] { display: none !important; }

/* ----------------------------------------------------------------------
   Surfaces (gradients used across navbar / hero / footer)
   ---------------------------------------------------------------------- */
.nav-surface,
.hero-bg,
.section-bg {
    background:
        radial-gradient(ellipse 90% 60% at 50% 110%, rgba(20, 35, 102, 0.9) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(30, 58, 138, 0.7) 0%, transparent 55%),
        linear-gradient(160deg,
            var(--c-bg-1, #050B26) 0%,
            var(--c-bg-2, #0A1647) 45%,
            #0E1B52 100%);
}

.footer-surface {
    background:
        linear-gradient(180deg, var(--c-bg-2, #0A1647) 0%, var(--c-bg-1, #050B26) 100%);
}

/* ----------------------------------------------------------------------
   nav-pill — the translucent rounded CTA used across navbar / hero / CTA blocks
   ---------------------------------------------------------------------- */
.nav-pill {
    background: var(--c-pill-bg, rgba(184, 220, 251, 0.18));
    border: 1.5px solid var(--c-pill-border, rgba(127, 200, 248, 0.55));
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav-pill:hover {
    background: rgba(184, 220, 251, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(127, 200, 248, 0.25);
}

/* ----------------------------------------------------------------------
   nav-link — underline animation on hover / active
   ---------------------------------------------------------------------- */
.nav-link {
    position: relative;
    transition: color 0.2s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--c-accent, #7FC8F8);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(.2, .7, .2, 1);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active        { color: var(--c-accent, #7FC8F8); }

/* ----------------------------------------------------------------------
   Brand title — patterned "NASCO" + outlined "29"
   ---------------------------------------------------------------------- */
.nasco-pattern {
    background-image:
        repeating-linear-gradient(45deg,
            var(--c-accent-soft, #B9DCFB) 0 2px,
            transparent 2px 6px);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
            color: transparent;
}
.nasco-outline {
    -webkit-text-stroke: 1.5px var(--c-accent-soft, #B9DCFB);
    color: transparent;
}

/* ----------------------------------------------------------------------
   info-pill (date + location chip used on hero / countdown)
   ---------------------------------------------------------------------- */
.info-pill {
    background: var(--c-pill-bg, rgba(184, 220, 251, 0.18));
    border: 1px solid var(--c-pill-border, rgba(127, 200, 248, 0.55));
    backdrop-filter: blur(10px);
}

/* ----------------------------------------------------------------------
   social-btn (footer)
   ---------------------------------------------------------------------- */
.social-btn {
    transition: all 0.3s cubic-bezier(.2, .7, .2, 1);
    background: rgba(255, 255, 255, 0.02);
}
.social-btn:hover {
    border-color: var(--c-accent, #7FC8F8);
    color: var(--c-accent, #7FC8F8);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(127, 200, 248, 0.25);
    background: rgba(127, 200, 248, 0.08);
}

/* ----------------------------------------------------------------------
   hr-fade
   ---------------------------------------------------------------------- */
.hr-fade {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 20%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.18) 80%,
        transparent 100%);
    border: 0;
}

/* ----------------------------------------------------------------------
   Animations
   ---------------------------------------------------------------------- */
@keyframes riseIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(127, 200, 248, 0.4)); }
    50%      { filter: drop-shadow(0 0 18px rgba(127, 200, 248, 0.75)); }
}
.anim-rise { opacity: 0; animation: riseIn 0.8s cubic-bezier(.2,.7,.2,1) forwards; }
.anim-fade { opacity: 0; animation: fadeIn 1s ease forwards; }
.anim-glow { animation: glowPulse 3.5s ease-in-out infinite; }
