/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* ── SCANLINES ── */
#scanlines {
    pointer-events: none;
    position: fixed; inset: 0; z-index: 9999;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px,
        rgba(0,0,0,0.13) 2px, rgba(0,0,0,0.13) 4px
    );
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 5rem;
    position: relative;
    background:
        radial-gradient(ellipse 80% 55% at 50% 0%, rgba(32,208,160,0.12) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 15% 85%, rgba(96,96,255,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 88% 75%, rgba(204,96,255,0.07) 0%, transparent 50%),
        var(--bg);
    overflow-x: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(32,208,160,0.08) 1px, transparent 1px);
    background-size: 38px 38px;
}
.hero-logo-img {
    width: clamp(220px, 38vw, 420px);
    height: auto;
    border-radius: 50%;
    margin-bottom: 1.75rem;
    position: relative; z-index: 1;
    filter: drop-shadow(0 0 40px rgba(32,208,160,0.35)) drop-shadow(0 0 80px rgba(204,96,255,0.2));
    animation: floatLogo 5s ease-in-out infinite;
}
@keyframes floatLogo {
    0%,100% { transform: translateY(0px);   filter: drop-shadow(0 0 40px rgba(32,208,160,0.35)) drop-shadow(0 0 80px rgba(204,96,255,0.2)); }
    50%      { transform: translateY(-10px); filter: drop-shadow(0 0 60px rgba(32,208,160,0.5))  drop-shadow(0 0 100px rgba(204,96,255,0.3)); }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(32,208,160,0.08);
    border: 1px solid rgba(32,208,160,0.25);
    color: var(--green);
    padding: 0.35rem 1rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    position: relative; z-index: 1;
}
.hero-badge a,
.hero-badge a:link,
.hero-badge a:visited {
    color: var(--green);
    text-decoration: none;
}
.hero-badge a:hover,
.hero-badge a:focus {
    color: var(--green);
    text-shadow: 0 0 12px var(--green);
    cursor: pointer;
}
.hero .hero-heading {
    font-family: 'Creepster', cursive;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 1.05; color: #fff;
    text-shadow: 0 0 50px rgba(32,208,160,0.3);
    margin-bottom: 0.4rem;
    max-width: 920px;
    position: relative; z-index: 1;
}
.hero .hero-heading .c-green  { color: var(--green);   text-shadow: 0 0 28px var(--green); }
.hero .hero-heading .c-purple { color: var(--purple);  text-shadow: 0 0 28px var(--purple); }
.hero .hero-heading .c-amber  { color: var(--bigfoot); text-shadow: 0 0 28px var(--bigfoot); }
.hero .hero-heading .c-blue   { color: var(--ufo);     text-shadow: 0 0 28px var(--ufo); }
.hero-sub {
    font-family: 'Creepster', cursive;
    font-size: clamp(1.4rem, 3vw, 2.6rem);
    color: #aaa; margin-top: 0.4rem; margin-bottom: 0.6rem;
    letter-spacing: 1px; position: relative; z-index: 1;
}
.hero-tagline {
    font-size: 0.82rem; color: var(--muted);
    letter-spacing: 2px; font-style: italic;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    position: relative; z-index: 1;
}
.hero p {
    max-width: 600px; font-size: 1.02rem;
    color: var(--muted); line-height: 1.8; margin-bottom: 2.5rem;
    position: relative; z-index: 1;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }

/* ── HERO BUTTONS ── */
.btn-primary {
    background: var(--purple-dk); color: #fff;
    padding: 0.9rem 2.2rem; border-radius: 8px;
    text-decoration: none; font-weight: 700; font-size: 1rem;
    box-shadow: 0 0 28px rgba(204,96,255,0.4);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #b040e8; box-shadow: 0 0 48px rgba(204,96,255,0.65); transform: translateY(-2px); }
.btn-secondary {
    background: transparent; color: var(--text);
    padding: 0.9rem 2.2rem; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 1rem;
    border: 1px solid var(--border);
    transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }

/* ── MAP PREVIEW ── */
.map-preview {
    margin-top: 1rem;
    width: 100%; max-width: 920px;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 0 70px rgba(32,208,160,0.2), 0 0 40px rgba(204,96,255,0.1);
    position: relative; z-index: 1;
    font-size: 0; line-height: 0;
}
.map-filter-bar {
    background: rgba(6,15,10,0.97);
    border-bottom: 1px solid var(--border);
    padding: 0.55rem 1.25rem;
    display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
    font-size: 0.75rem; color: var(--muted);
    font-family: 'Courier New', monospace; letter-spacing: 1px;
}
.map-filter-bar select {
    background: var(--card); border: 1px solid var(--border);
    color: var(--text); font-size: 0.72rem;
    padding: 0.2rem 0.6rem; border-radius: 4px;
    font-family: 'Courier New', monospace;
}
.map-filter-bar button {
    background: var(--purple-dk); color: #fff;
    border: none; padding: 0.2rem 0.7rem;
    border-radius: 4px; font-size: 0.7rem; cursor: pointer;
    font-family: 'Courier New', monospace; letter-spacing: 1px;
}
.map-screenshot {
    display: block; width: 100%; height: 480px;
    object-fit: cover; object-position: center top;
    vertical-align: bottom; margin: 0; padding: 0;
}
.map-screenshot-caption {
    background: rgba(6,15,10,0.97);
    border-top: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.7rem; color: var(--muted);
    font-family: 'Courier New', monospace; letter-spacing: 1px;
}
.cap-dot { display: inline-flex; align-items: center; gap: 0.4rem; }
.cap-dot span { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* ── SECTION BASE ── */
section { padding: 5.5rem 1.5rem; }
.container { max-width: 1080px; margin: 0 auto; }
.section-label {
    font-size: 0.68rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--green); margin-bottom: 0.75rem;
    font-family: 'Courier New', monospace;
}
.section-title {
    font-family: 'Creepster', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff; letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(32,208,160,0.18);
    margin-bottom: 1rem; line-height: 1.15;
}
.section-sub { color: var(--muted); max-width: 560px; line-height: 1.8; font-size: 0.95rem; }

/* ── FEATURES ── */
.features { background: var(--surface); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 1.4rem; margin-top: 3rem;
}
.feature-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(32,208,160,0.4); transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: 0.85rem; display: block; }
.feature-card h3 { font-size: 1rem; color: #fff; margin-bottom: 0.45rem; font-weight: 600; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--bg); }
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.step { text-align: center; }
.step-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green-dim), var(--green));
    color: #060f0a; font-size: 1.2rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 22px rgba(32,208,160,0.35);
    font-family: 'Courier New', monospace;
}
.step h3 { font-size: 0.95rem; color: #fff; margin-bottom: 0.4rem; font-weight: 600; }
.step p  { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ── SIGHTING TYPES ── */
.types { background: var(--surface); }
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.2rem; margin-top: 2.5rem;
}
.type-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.6rem 1.4rem; text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}
.type-card:hover { transform: translateY(-4px); }
.type-card.bigfoot { border-top: 3px solid var(--bigfoot); }
.type-card.bigfoot:hover { border-color: var(--bigfoot); }
.type-card.ufo     { border-top: 3px solid var(--ufo); }
.type-card.ufo:hover     { border-color: var(--ufo); }
.type-card.ghost   { border-top: 3px solid var(--ghost); }
.type-card.ghost:hover   { border-color: var(--ghost); }
.type-card.cryptid { border-top: 3px solid var(--cryptid); }
.type-card.cryptid:hover { border-color: var(--cryptid); }
.type-dot { width: 15px; height: 15px; border-radius: 50%; margin: 0 auto 0.85rem; }
.type-card h3 { font-size: 0.9rem; color: #fff; letter-spacing: 1px; margin-bottom: 0.4rem; font-weight: 600; }
.type-card p  { font-size: 0.8rem; color: var(--muted); line-height: 1.65; }

/* ── SHOWS ── */
.shows { background: var(--bg); }
.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 1rem; margin-top: 2.5rem;
}
.show-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 10px; padding: 1.3rem; text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.show-card:hover { border-color: rgba(204,96,255,0.4); transform: translateY(-3px); }
.show-emoji { font-size: 1.9rem; margin-bottom: 0.5rem; display: block; }
.show-card h4 { font-size: 0.85rem; color: #fff; font-weight: 600; margin-bottom: 0.2rem; }
.show-card span { font-size: 0.72rem; color: var(--muted); }

/* ── CTA ── */
.cta-section {
    background:
        radial-gradient(ellipse 65% 55% at 50% 50%, rgba(32,208,160,0.1) 0%, transparent 65%),
        var(--bg);
    text-align: center;
}
.cta-section .section-sub { margin: 0 auto 2.5rem; }
.cta-input-group {
    display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
    max-width: 500px; margin: 0 auto;
}
.cta-input-group input {
    flex: 1; min-width: 210px;
    padding: 0.85rem 1.2rem;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text); font-size: 0.9rem;
    font-family: 'Courier New', monospace; letter-spacing: 1px;
    outline: none; transition: border-color 0.2s;
}
.cta-input-group input:focus { border-color: var(--green); }
.cta-input-group input::placeholder { color: var(--muted); }
.cta-note { font-size: 0.7rem; color: var(--muted); letter-spacing: 1px; margin-top: 1rem; font-family: 'Courier New', monospace; }

/* ── FOOTER ── */
footer {
    width: 100%; text-align: center; padding: 10px 0; font-size: 13px;
    color: #aaa; background: rgba(0,0,0,0.55);
    letter-spacing: 1px; border-top: 1px solid var(--border);
    font-family: 'Courier New', monospace;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    /* Avoid vertical clip from center + overflow; clear fixed nav (62px) + safe-area */
    .hero {
        justify-content: flex-start;
        padding-top: calc(62px + 1.25rem + env(safe-area-inset-top, 0px));
    }
    .hero .hero-heading { font-size: 2.4rem; }
    .hero-logo-img { width: 75vw; }
}

/* ── SCAREDY-CAT MODE ────────────────────────────────────────────────────── */
body.scaredy-cat-mode .hero,
body.scaredy-cat-mode .how-it-works,
body.scaredy-cat-mode .shows,
body.scaredy-cat-mode .cta-section  { background: #f0f0eb !important; }
body.scaredy-cat-mode .features,
body.scaredy-cat-mode .types        { background: #e8e8e3 !important; }

body.scaredy-cat-mode .hero::before { display: none !important; }
body.scaredy-cat-mode .hero .hero-heading      { color: #111 !important; text-shadow: none !important; }
body.scaredy-cat-mode .hero .hero-heading .c-green  { color: #1a7a5a !important; text-shadow: none !important; }
body.scaredy-cat-mode .hero .hero-heading .c-amber  { color: #a06010 !important; text-shadow: none !important; }
body.scaredy-cat-mode .hero .hero-heading .c-purple { color: #7a30a0 !important; text-shadow: none !important; }
body.scaredy-cat-mode .hero .hero-heading .c-blue   { color: #3a3aaa !important; text-shadow: none !important; }
body.scaredy-cat-mode .hero-sub     { color: #555 !important; }
body.scaredy-cat-mode .hero-tagline { color: #777 !important; }
body.scaredy-cat-mode .hero p       { color: #555 !important; }
body.scaredy-cat-mode .hero-badge   {
    color: #2a7a5a !important;
    background: rgba(26,122,90,0.06) !important;
    border-color: rgba(26,122,90,0.3) !important;
}
body.scaredy-cat-mode .hero-badge a { color: #2a7a5a !important; text-shadow: none !important; }
body.scaredy-cat-mode .hero-logo-img { filter: none !important; animation: none !important; }
body.scaredy-cat-mode .map-preview   { border-color: #ccc !important; box-shadow: none !important; }

body.scaredy-cat-mode .section-title { color: #111 !important; text-shadow: none !important; }
body.scaredy-cat-mode .section-label { color: #2a7a5a !important; }
body.scaredy-cat-mode .section-sub   { color: #555 !important; }

body.scaredy-cat-mode .feature-card  { background: #fff !important; border-color: #ddd !important; }
body.scaredy-cat-mode .feature-card h3 { color: #111 !important; }
body.scaredy-cat-mode .feature-card p  { color: #555 !important; }

body.scaredy-cat-mode .step h3   { color: #111 !important; }
body.scaredy-cat-mode .step p    { color: #555 !important; }
body.scaredy-cat-mode .step-num  { box-shadow: none !important; }

body.scaredy-cat-mode .type-card { background: #fff !important; border-color: #ddd !important; }
body.scaredy-cat-mode .type-card h3  { color: #111 !important; }
body.scaredy-cat-mode .type-card p   { color: #555 !important; }
body.scaredy-cat-mode .type-dot      { box-shadow: none !important; }

body.scaredy-cat-mode .show-card     { background: #fff !important; border-color: #ddd !important; }
body.scaredy-cat-mode .show-card h4  { color: #111 !important; }
body.scaredy-cat-mode .show-card span { color: #666 !important; }

body.scaredy-cat-mode .cta-input-group input {
    background: #fff !important; border-color: #ccc !important; color: #333 !important;
}
body.scaredy-cat-mode .cta-input-group input::placeholder { color: #999 !important; }
body.scaredy-cat-mode .cta-note { color: #777 !important; }
body.scaredy-cat-mode .btn-secondary { border-color: #aaa !important; color: #333 !important; }
body.scaredy-cat-mode footer {
    background: rgba(240,240,235,0.9) !important;
    border-top-color: #ddd !important; color: #777 !important;
}