/* ============================================================
   WeltraumTicket.de — Global CSS
   Clean White Theme | Exo 2 + Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700;900&family=Inter:wght@400;500;600&display=swap');

/* ---- Variables ------------------------------------------- */
:root {
    --bg:         #ffffff;
    --surface:    #f8fafc;
    --card:       #ffffff;
    --card2:      #f1f5f9;
    --text:       #0f172a;
    --muted:      #64748b;
    --blue:       #0284c7;
    --blue-light: #e0f2fe;
    --blue-dim:   #bae6fd;
    --orange:     #ea580c;
    --moon-gold:  #d97706;
    --mars-red:   #dc2626;
    --green-live: #16a34a;
    --border:     #e2e8f0;
    --border2:    #cbd5e1;
    --font-head:  'Exo 2', sans-serif;
    --font-body:  'Inter', sans-serif;
    --radius:     8px;
    --radius-lg:  14px;
    --max:        1200px;
    --transition: .18s ease;
    --shadow:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg:  0 10px 32px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.04);
}

/* ---- Reset ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 22px; /* Platz für fixed ticker */
}
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: #0369a1; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ---- Layout --------------------------------------------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.page-wrap { position: relative; z-index: 1; }

/* ---- Navigation ----------------------------------------- */
#main-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 60px;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    transition: background .25s, border-color .25s, box-shadow .25s;
}
/* Homepage: transparent nav über dunklen Videos */
.page-home #main-nav {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}
.page-home #main-nav .nav-links a { color: rgba(255,255,255,.75); }
.page-home #main-nav .nav-links a:hover,
.page-home #main-nav .nav-links a.active { background: rgba(255,255,255,.15); color: #fff; }
.page-home #main-nav .nav-logo img { filter: brightness(0) invert(1); }
.page-home #main-nav .nav-search { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.75); }
.page-home #main-nav .nav-burger span { background: #fff; }
/* Nach dem Scrollen: solid */
.page-home #main-nav.scrolled { background: rgba(255,255,255,.97); border-bottom-color: var(--border); box-shadow: var(--shadow); }
.page-home #main-nav.scrolled .nav-links a { color: var(--muted); }
.page-home #main-nav.scrolled .nav-links a:hover,
.page-home #main-nav.scrolled .nav-links a.active { background: var(--blue-light); color: var(--blue); }
.page-home #main-nav.scrolled .nav-logo img { filter: none; }
.page-home #main-nav.scrolled .nav-search { background: var(--surface); border-color: var(--border); color: var(--muted); }
.page-home #main-nav.scrolled .nav-burger span { background: var(--text); }
.nav-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 24px;
    height: 60px; display: flex; align-items: center; gap: 0;
}
.nav-logo {
    display: flex; align-items: center;
    text-decoration: none; flex-shrink: 0; margin-right: 32px;
}
.nav-logo img { display: block; height: 28px; width: auto; }
.nav-links {
    display: flex; align-items: center; gap: 2px; flex: 1;
}
.nav-links a {
    color: var(--muted); font-size: .85rem; font-weight: 500;
    padding: 6px 10px; border-radius: 6px;
    transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    background: var(--blue-light); color: var(--blue);
}
.nav-search {
    margin-left: auto; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--surface);
    color: var(--muted); transition: all var(--transition);
    border: 1px solid var(--border);
}
.nav-search:hover { background: var(--blue-light); color: var(--blue); border-color: var(--blue-dim); }
.nav-burger {
    display: none; flex-direction: column; gap: 5px;
    width: 36px; height: 36px; align-items: center; justify-content: center;
    margin-left: auto;
}
.nav-burger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all var(--transition);
}
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; position: fixed;
        top: 60px; left: 0; right: 0; background: rgba(255,255,255,.98);
        padding: 16px; gap: 4px; border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .nav-burger { display: flex; }
    .nav-search { display: none; }
}

/* ---- Progress Bar --------------------------------------- */
#scroll-progress {
    position: fixed; top: 60px; left: 0; height: 2px; z-index: 999;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    width: 0%; transition: width .1s linear;
}

/* ---- Breadcrumbs --------------------------------------- */
.breadcrumb {
    font-size: .8rem; color: var(--muted); padding: 80px 0 0;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--border2); }

/* ---- Hero Section --------------------------------------- */
.hero {
    padding: 100px 0 72px; text-align: center;
    position: relative; overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* Video-Hintergrund in Hero-Sections */
.hero-vid {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
    pointer-events: none;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.65) 100%);
}
/* Hero-Content über Video */
.hero .container { position: relative; z-index: 2; }
/* Heller Text wenn Video/Bild-Hero */
.hero-dark .hero-tag { color: #fff; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.hero-dark h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-dark p { color: rgba(255,255,255,.82); }
.hero-dark .hero-tag.gold { color: #fbbf24; background: rgba(251,191,36,.15); border-color: rgba(251,191,36,.4); }
.hero-dark .hero-tag.red  { color: #f87171; background: rgba(248,113,113,.15); border-color: rgba(248,113,113,.4); }
.hero-tag {
    display: inline-block; font-size: .7rem; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--blue); padding: 4px 14px;
    border-radius: 20px; margin-bottom: 20px;
    background: var(--blue-light); border: 1px solid var(--blue-dim);
}
.hero-tag.gold { color: var(--moon-gold); border-color: #fde68a; background: #fffbeb; }
.hero-tag.red  { color: var(--mars-red);  border-color: #fecaca; background: #fef2f2; }
.hero h1 {
    font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900; line-height: 1.08; color: var(--text); margin-bottom: 18px;
    letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero h1 .gold { color: var(--moon-gold); }
.hero p {
    font-size: 1.05rem; color: var(--muted); max-width: 560px;
    margin: 0 auto 32px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Page Hero (Subpages — replaces dark gradient headers) */
.page-hero {
    padding: 96px 0 56px;
    background: #fff; border-bottom: 1px solid var(--border);
}
.page-hero-eyebrow {
    font-size: .7rem; font-weight: 700; letter-spacing: .15em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 12px; display: block;
}
.page-hero h1 {
    font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900; color: var(--text); margin-bottom: 12px;
    line-height: 1.1; letter-spacing: -.02em;
}
.page-hero-sub {
    font-size: 1rem; color: var(--muted); max-width: 600px;
    line-height: 1.7; margin-bottom: 24px;
}
.page-hero-meta {
    display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
    font-size: .82rem; color: var(--muted);
}

/* ---- Buttons ------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: var(--radius);
    font-weight: 600; font-size: .9rem; transition: all var(--transition);
}
.btn-primary {
    background: var(--blue); color: #fff;
    box-shadow: 0 1px 3px rgba(2,132,199,.3);
}
.btn-primary:hover { background: #0369a1; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(2,132,199,.3); }
.btn-secondary {
    background: var(--bg); color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.btn-secondary:hover { background: var(--surface); color: var(--text); border-color: var(--border2); }
.btn-moon { background: var(--moon-gold); color: #fff; }
.btn-moon:hover { background: #b45309; color: #fff; }

/* ---- Cards --------------------------------------------- */
.card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
    border-color: var(--blue-dim); transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 20px; }
.card-label {
    font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 8px; display: block;
}
.card-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card-desc { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ---- Grid ---------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* ---- Section ------------------------------------------- */
.section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800; color: var(--text); margin-bottom: 10px;
}
.section-header p { color: var(--muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.section-divider {
    width: 48px; height: 3px; margin: 0 auto 16px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    border-radius: 2px;
}

/* ---- Spec Table ---------------------------------------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.spec-table td:last-child { color: var(--text); font-weight: 500; }
.spec-table tr:last-child td { border-bottom: none; }

/* ---- Glossar Tooltip ----------------------------------- */
.tooltip-word {
    border-bottom: 1px dashed var(--blue); cursor: help;
    position: relative; color: var(--blue);
}
.tooltip-box {
    display: none; position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%); z-index: 500;
    background: var(--text); border-radius: var(--radius); padding: 10px 14px;
    font-size: .8rem; line-height: 1.5; color: #fff;
    width: 260px; text-align: left; pointer-events: none;
    box-shadow: var(--shadow-lg);
}
.tooltip-box a {
    display: inline-block; margin-top: 6px; font-size: .75rem;
    color: var(--blue-dim);
}
.tooltip-word:hover .tooltip-box { display: block; }

/* ---- Live Badge ---------------------------------------- */
.live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #dcfce7; border: 1px solid #bbf7d0;
    color: var(--green-live); font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    padding: 3px 10px; border-radius: 20px;
}
.live-badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--green-live);
    animation: pulse-live 1.4s ease-in-out infinite;
}
@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.8); }
}

/* ---- Countdown ----------------------------------------- */
.countdown-block {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; margin: 24px 0;
}
.countdown-unit {
    text-align: center; min-width: 70px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 10px;
    box-shadow: var(--shadow);
}
.countdown-num {
    display: block; font-family: var(--font-head); font-size: 2.2rem;
    font-weight: 900; color: var(--text); line-height: 1; letter-spacing: -.02em;
}
.countdown-label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

/* ---- Timeline ------------------------------------------ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
    content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, var(--blue), var(--border));
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
    content: ''; position: absolute; left: -24px; top: 6px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--blue); border: 2px solid var(--bg);
    box-shadow: 0 0 0 2px var(--blue-dim);
}
.timeline-item.done::before { background: var(--green-live); box-shadow: 0 0 0 2px #bbf7d0; }
.timeline-item.future::before { background: var(--border2); box-shadow: 0 0 0 2px var(--border); }
.timeline-year { font-size: .78rem; color: var(--muted); margin-bottom: 4px; }
.timeline-title { font-family: var(--font-head); font-weight: 700; color: var(--text); margin-bottom: 4px; }
.timeline-desc { font-size: .88rem; color: var(--muted); }

/* ---- Status Badges ------------------------------------- */
.status-badge {
    display: inline-block; font-size: .7rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 20px;
}
.status-active   { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.status-upcoming { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-dim); }
.status-past     { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
.status-paused   { background: #ffedd5; color: var(--orange); border: 1px solid #fed7aa; }

/* ---- Source Block (Quellen) ---------------------------- */
.sources-block {
    margin-top: 48px; padding: 20px 24px;
    background: var(--surface); border: 1px solid var(--border);
    border-left: 3px solid var(--blue); border-radius: var(--radius);
}
.sources-block h4 {
    font-family: var(--font-head); font-size: .85rem; font-weight: 700;
    color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
    margin-bottom: 12px;
}
.sources-block ul { display: flex; flex-direction: column; gap: 6px; }
.sources-block li { font-size: .85rem; }
.sources-block a { color: var(--blue); }
.sources-block a::after { content: ' ↗'; font-size: .75em; opacity: .6; }
.sources-lang { font-size: .72rem; color: var(--muted); margin-left: 4px; }

/* ---- Content Article ----------------------------------- */
.article-content { max-width: 780px; margin: 0 auto; }
.article-content h2 {
    font-family: var(--font-head); font-size: 1.5rem; font-weight: 800;
    color: var(--text); margin: 40px 0 14px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.article-content h3 {
    font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
    color: var(--blue); margin: 28px 0 10px;
}
.article-content p { margin-bottom: 18px; color: var(--text); }
.article-content ul, .article-content ol {
    margin: 0 0 18px 20px; color: var(--text);
}
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
    border-left: 3px solid var(--blue); padding: 12px 20px;
    background: var(--blue-light); border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0; color: var(--text); font-style: italic;
}
.article-content strong { color: var(--text); font-weight: 600; }
.article-content a { border-bottom: 1px solid var(--blue-dim); }
.article-content a:hover { border-color: var(--blue); }

/* ---- Video Embed --------------------------------------- */
.video-wrap {
    position: relative; padding-bottom: 56.25%;
    border-radius: var(--radius-lg); overflow: hidden;
    background: #000; margin: 24px 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.video-wrap iframe {
    position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.video-label {
    font-size: .78rem; color: var(--muted); margin-top: 8px; text-align: center;
}

/* ---- Live Ticker --------------------------------------- */
.ticker-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: #000;
    overflow: hidden; height: 22px; display: flex; align-items: center;
}
.ticker-label {
    flex-shrink: 0; background: var(--blue); color: #fff;
    font-size: .58rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; padding: 0 8px; height: 100%;
    display: flex; align-items: center;
}
.ticker-track {
    flex: 1; overflow: hidden; position: relative;
}
.ticker-inner {
    display: inline-flex; gap: 48px; white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
    font-size: .64rem; color: #fff;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-inner a { color: #fff; }
.ticker-inner a:hover { color: var(--blue); }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---- Related Cards Row --------------------------------- */
.related-row {
    display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
    scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.related-card {
    flex-shrink: 0; width: 200px; background: var(--card);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px; transition: all var(--transition);
    box-shadow: var(--shadow); color: var(--text);
}
.related-card:hover { border-color: var(--blue-dim); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--blue); }
.related-card-label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.related-card-name { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--text); }

/* ---- FAQ ----------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-question {
    font-family: var(--font-head); font-size: 1rem; font-weight: 700;
    color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; color: var(--blue); font-size: 1.4rem; flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding-top: 12px; color: var(--muted); font-size: .92rem; }
.faq-item.open .faq-answer { display: block; }

/* ---- Footer -------------------------------------------- */
#main-footer {
    background: var(--surface); border-top: 1px solid var(--border);
    padding: 56px 0 0; margin-top: 80px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 280px; }
.footer-logo {
    display: flex; align-items: center;
    margin-bottom: 14px;
}
.footer-logo img { height: 24px; width: auto; }
.footer-claim { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.footer-col h4 {
    font-family: var(--font-head); font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
    margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .88rem; color: var(--muted); }
.footer-col a:hover { color: var(--blue); }
#main-socket {
    padding: 16px 0; text-align: center;
    font-size: .78rem; color: var(--muted);
}
#main-socket a { color: var(--muted); }
#main-socket a:hover { color: var(--blue); }

/* ---- Mobile Responsive --------------------------------- */
@media (max-width: 768px) {
    .hero { padding: 72px 0 48px !important; }
    .pt-nav { padding-top: 72px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .section-header { margin-bottom: 28px; }
    .spec-table { display: block; }
    .spec-table tbody, .spec-table tr { display: block; }
    .spec-table tr { padding: 8px 0; border-bottom: 1px solid var(--border); }
    .spec-table tr:last-child { border-bottom: none; }
    .spec-table td { display: block; padding: 2px 0; border: none; width: 100% !important; }
    .spec-table td:first-child { font-size: .72rem; color: var(--muted); margin-bottom: 1px; }
    .spec-table td:last-child { font-size: .9rem; color: var(--text); }
    .article-content { font-size: .92rem; }
    .article-content h2 { font-size: 1.15rem; }
    .related-row { flex-direction: column; }
    .related-card { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .timeline-item { padding-left: 60px; }
    .breadcrumb { padding-top: 72px; font-size: .72rem; }
    .sources-block { padding: 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .btn { font-size: .82rem; padding: 9px 18px; }
    .nav-logo img { height: 22px; }
    .card { padding: 16px !important; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Video Sections (Startseite) ----------------------- */
.vs-block { border-bottom: 2px solid var(--border); }
.vs-player {
    position: relative; width: 100%; height: 100vh;
    min-height: 560px; overflow: hidden; background: #0a0a1a;
}
.vs-iframe {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: max(100%, 177.78vh); height: max(56.25vw, 100%);
    border: none; pointer-events: none;
}
.vs-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,.5) 60%, rgba(0,0,0,.8) 100%);
}
.vs-content {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 0 24px; gap: 18px;
}
.vs-tag {
    font-size: .65rem; font-weight: 700; letter-spacing: .22em;
    text-transform: uppercase; border: 1px solid;
    padding: 4px 14px; border-radius: 20px; display: inline-block;
}
.vs-headline {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    font-weight: 900; color: #fff; line-height: 1.05;
    letter-spacing: -.03em;
    text-shadow: 0 4px 32px rgba(0,0,0,.5); margin: 0;
}
.vs-sub {
    font-size: clamp(.9rem, 1.6vw, 1.1rem);
    color: rgba(255,255,255,.78); max-width: 580px;
    line-height: 1.6; margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.vs-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.vs-btn {
    padding: 12px 28px; border-radius: 8px;
    font-weight: 700; font-size: .88rem;
    text-decoration: none; transition: opacity .15s, transform .15s;
}
.vs-btn:hover { opacity: .88; transform: translateY(-1px); }
.vs-btn--white  { background: #fff; color: #0f172a; }
.vs-btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.vs-btn--outline:hover { border-color: #fff; }
.vs-strip { background: #fff; padding: 28px 0; border-top: 1px solid rgba(0,0,0,.06); }
.vs-strip-inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.vs-eyebrow {
    font-size: .65rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; margin-bottom: 5px;
}
.vs-title {
    font-family: var(--font-head); font-size: 1.25rem;
    font-weight: 800; color: var(--text); margin: 0 0 6px;
}
.vs-text { font-size: .86rem; color: var(--muted); max-width: 620px; line-height: 1.6; margin: 0; }
.vs-cta {
    flex-shrink: 0; padding: 11px 24px; border-radius: 8px;
    font-weight: 700; font-size: .86rem; color: #fff;
    text-decoration: none; white-space: nowrap; transition: opacity .15s;
}
.vs-cta:hover { opacity: .85; color: #fff; }
@media (max-width: 768px) {
    .vs-player { height: 100svh; min-height: 420px; }
    .vs-headline { font-size: 2.2rem; }
    .vs-sub { font-size: .88rem; }
    .vs-strip-inner { flex-direction: column; align-items: flex-start; }
    .vs-cta { width: 100%; text-align: center; }
}

/* ---- Search Overlay ------------------------------------ */
#searchOverlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(15,23,42,.6); backdrop-filter: blur(10px);
    align-items: flex-start; justify-content: center; padding-top: 120px;
}
#searchOverlay.open { display: flex; }
#searchInput {
    width: 100%; padding: 16px 20px;
    background: #fff; border: 1px solid var(--border2);
    border-radius: var(--radius-lg); color: var(--text);
    font-size: 1.1rem; outline: none; box-shadow: var(--shadow-lg);
    font-family: var(--font-body);
}
#searchInput:focus { border-color: var(--blue); }
.search-wrap { width: 100%; max-width: 600px; padding: 0 24px; }
#searchResults { max-height: 360px; overflow-y: auto; border-radius: var(--radius); }
.search-result-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--border);
    text-decoration: none; color: var(--text);
}
.search-result-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.search-result-item:last-child  { border-bottom: none; border-radius: 0 0 var(--radius) var(--radius); }
.search-result-item:only-child  { border-radius: var(--radius); }
.search-result-item:hover       { background: var(--surface); }
.sri-icon  { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.sri-body  { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sri-name  { font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sri-meta  { font-size: .75rem; color: var(--blue); }
.sri-snippet { font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* ---- Stats Bar ----------------------------------------- */
@media (max-width: 600px) {
    .stats-bar-grid { grid-template-columns: repeat(2,1fr) !important; }
}

/* ---- Utilities ----------------------------------------- */
.text-blue   { color: var(--blue); }
.text-gold   { color: var(--moon-gold); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.pt-nav { padding-top: 80px; }
