/*
 * wgStyles.css
 * TNT | WarGames Simulation Suite — Shared Theme Styles
 * Created: 2026-07-24
 * Bootstrap 5.3.3 | Font Awesome 6.5
 * Theme: Cold War phosphor green terminal, danger red-orange
 *
 * Load order (all pages):
 *   1. bootstrap@5.3.3      2. font-awesome@6.5
 *   3. Google Fonts          4. tnt-base-styles.css
 *   5. wgStyles.css          6. style.css (terminal pages only)
 */

:root {
    --wg-green:      #00c840;
    --wg-green-dark: #008c2c;
    --wg-red:        #ff4500;
    --wg-amber:      #ffaa00;
    --wg-dark:       #000a00;
    --wg-card-bg:    #020f02;
}

/* ══════════════════════════════════════════
   SPARK BAR
══════════════════════════════════════════ */
.spark-bar {
    background: #000a00;
    border-bottom: 2px solid var(--wg-green);
    padding: 0.45rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
}

.spark-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.1rem;
}

.spark-links a {
    color: var(--wg-green);
    font-weight: 600;
    text-decoration: none;
    padding: 0 0.35rem;
}

.spark-links a:hover { color: #fff; text-decoration: underline; }

.spark-sep { color: rgba(0,200,64,0.35); }

.spark-meta {
    color: rgba(0,200,64,0.45);
    font-size: 0.78rem;
    font-style: italic;
}

/* ══════════════════════════════════════════
   HERO  (cover page)
   Path: styles/ → ../../images/  (app root → TNT root → images/)
══════════════════════════════════════════ */
#hero {
    min-height: 42vh;
    background:
        linear-gradient(135deg, rgba(0,8,0,0.90) 0%, rgba(0,20,6,0.70) 100%),
        url('../../images/war-games.jpg') center 40% / cover no-repeat;
    padding: 4rem 1rem 3rem;
    background-color: var(--wg-dark);
}

.hero-back {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tnt-amber);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.hero-back:hover { color: #fff; }
.hero-back i { margin-right: 4px; }

/* ══════════════════════════════════════════
   COVER SECTION  (warGamesIndex.html)
══════════════════════════════════════════ */
#coverSection {
    background: linear-gradient(180deg, #000a00 0%, #020f02 100%);
    padding: 3.5rem 1rem 5rem;
}

#coverSection .section-label { color: var(--wg-green) !important; }
#coverSection .section-title { color: #fff !important; }

/* ── Launch cards ── */
.wg-launch-card {
    background: #020d02;
    border: 1px solid rgba(0,200,64,0.22);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.85);
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.wg-launch-card:hover {
    border-color: var(--wg-green);
    box-shadow: 0 0 24px rgba(0,200,64,0.18);
    transform: translateY(-3px);
}

.wg-card-icon {
    display: block;
    font-size: 2.8rem;
    color: var(--wg-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 12px rgba(0,200,64,0.35);
}

.wg-card-icon.danger {
    color: var(--wg-red);
    text-shadow: 0 0 12px rgba(255,69,0,0.35);
}

.wg-launch-card h3 {
    font-family: 'Boogaloo', cursive;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.wg-launch-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ── Launch button ── */
.btn-wg-launch {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--wg-green);
    color: var(--wg-green);
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    padding: 0.45rem 1.6rem;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-wg-launch:hover {
    background: rgba(0,200,64,0.12);
    color: var(--wg-green);
    box-shadow: 0 0 14px rgba(0,200,64,0.3);
    text-decoration: none;
}

.btn-wg-launch.danger {
    border-color: var(--wg-red);
    color: var(--wg-red);
}

.btn-wg-launch.danger:hover {
    background: rgba(255,69,0,0.10);
    color: var(--wg-red);
    box-shadow: 0 0 14px rgba(255,69,0,0.28);
}

/* ── Callout box ── */
.wg-callout {
    background: #020d02;
    border: 1px solid rgba(0,200,64,0.18);
    border-left: 5px solid var(--wg-green);
    border-radius: 0 8px 8px 0;
    padding: 2rem 2.5rem;
    color: rgba(255,255,255,0.82);
}

.wg-callout h4 {
    font-family: 'Boogaloo', cursive;
    font-size: 1.5rem;
    color: var(--wg-green);
    margin-bottom: 1rem;
}

/* ══════════════════════════════════════════
   PAGE HEADER  (inner pages — no bg image)
══════════════════════════════════════════ */
#pageHeader {
    background:
        linear-gradient(135deg, rgba(0,8,0,0.94) 0%, rgba(0,16,4,0.88) 100%),
        url('../../images/war-games.jpg') center 40% / cover no-repeat;
    background-color: var(--wg-dark);
    padding: 2.5rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,200,64,0.2);
}

#pageHeader .hero-back { margin-bottom: 0.75rem; }

#pageHeader h1 {
    font-family: 'Boogaloo', cursive;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    text-shadow: 0 0 16px rgba(0,200,64,0.3), 0 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 0.5rem;
}

#pageHeader p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    margin: 0;
}

/* ══════════════════════════════════════════
   PAGE CONTENT  (inner pages)
══════════════════════════════════════════ */
#pageContent {
    background: #000a00;
    padding: 3rem 1rem 5rem;
}

/* ── Content card (about page) ── */
.wg-content-card {
    background: #060e06;
    border: 1px solid rgba(0,255,60,0.1);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
    max-width: 900px;
    margin: 0 auto;
    color: rgba(255,255,255,0.85);
}

.wg-content-card details summary {
    font-style: italic;
    cursor: pointer;
    font-weight: 600;
    color: var(--wg-green);
    font-family: 'Inter', sans-serif;
}

/* ── WOPR quote ── */
.wopr-quote {
    border-left: 4px solid var(--wg-green);
    padding: 0.6rem 1.2rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    color: var(--wg-green);
    background: rgba(0,200,64,0.06);
    border-radius: 0 6px 6px 0;
}

.wopr-quote footer {
    font-size: 0.8rem;
    color: rgba(0,200,64,0.55);
    background: transparent;
    padding: 0;
}

/* ══════════════════════════════════════════
   TERMINAL SECTION  (computerConsole.html)
   CRT monitor, instructions panel override to match TNT aesthetic
══════════════════════════════════════════ */
#terminalSection {
    background: #000;
    padding: 2rem 0 3rem;
}

/* ══════════════════════════════════════════
   FONT OVERRIDES — restore Inter/Boogaloo on TNT chrome
   style.css sets body { font-family: 'VT323', ... } on terminal pages.
   VT323 cascades to navbar links and footer, making them render
   visually smaller than on non-terminal pages.
   Explicit font-family here wins over the inherited body value.
══════════════════════════════════════════ */
#mainNav .nav-link {
    font-family: 'Inter', sans-serif !important;
}

footer {
    font-family: 'Inter', sans-serif !important;
}

footer .footer-text {
    font-family: 'Inter', sans-serif !important;
}
