
/* ─── CSS RESET & ROOT ──────────────────────────────── */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --dark:       #0a0e1a;
      --dark2:      #111525;
      --dark3:      #1a2035;
      --dark4:      #212840;
      --gold:       #c9a84c;
      --gold-light: #e8c97a;
      --gold-pale:  #f0dfa0;
      --crimson:    #8b0000;
      --crimson2:   #a80000;
      --silver:     #b0b8c8;
      --silver2:    #d0d8e8;
      --text:       #dde2ee;
      --muted:      #8090a8;
      --border:     rgba(201,168,76,0.18);
      --border2:    rgba(201,168,76,0.08);
      --glow-gold:  0 0 30px rgba(201,168,76,0.25);
      --glow-red:   0 0 30px rgba(139,0,0,0.35);
      --radius:     10px;
      --radius-lg:  18px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Lora', Georgia, serif;
      background: var(--dark);
      color: var(--text);
      line-height: 1.8;
      overflow-x: hidden;
    }

    /* ─── SCROLLBAR ─────────────────────────────────────── */
    ::-webkit-scrollbar { width: 7px; }
    ::-webkit-scrollbar-track { background: var(--dark); }
    ::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

    /* ─── REDUCED MOTION ────────────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    }

    /* ─── AMBIENT PARTICLES (hero) ──────────────────────── */
    @keyframes float-up {
      0%   { transform: translateY(0) rotate(0deg); opacity: 0.6; }
      100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
    }
    @keyframes shimmer {
      0%, 100% { opacity: 0.3; }
      50%       { opacity: 1; }
    }
    @keyframes sword-glow {
      0%, 100% { text-shadow: 0 0 8px var(--gold), 0 0 20px rgba(201,168,76,0.4); }
      50%       { text-shadow: 0 0 20px var(--gold), 0 0 50px rgba(201,168,76,0.7), 0 0 80px rgba(201,168,76,0.3); }
    }
    @keyframes fade-in-up {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes slide-in-left {
      from { opacity: 0; transform: translateX(-30px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes reveal-bar {
      from { width: 0; }
      to   { width: var(--bar-w); }
    }
    @keyframes pulse-border {
      0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
      50%       { box-shadow: 0 0 0 4px rgba(201,168,76,0.2); }
    }
    @keyframes spin-slow {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }
    @keyframes ember {
      0%   { opacity: 0; transform: translateY(0) scale(1); }
      40%  { opacity: 1; }
      100% { opacity: 0; transform: translateY(-60px) scale(0.3); }
    }
    @keyframes quote-fade {
      0%   { opacity: 0; transform: scale(0.95); }
      100% { opacity: 1; transform: scale(1); }
    }

    /* ─── UTILITY ───────────────────────────────────────── */
    .container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
    .gold-text  { color: var(--gold); }
    .sr-only    { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

    /* ─── STICKY NAV ────────────────────────────────────── */
    #site-nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      background: rgba(10,14,26,0.92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      padding: 0.8rem 0;
      transition: all 0.3s ease;
    }
    .nav-inner {
      max-width: 1280px; margin: 0 auto;
      padding: 0 clamp(1rem, 4vw, 2.5rem);
      display: flex; align-items: center; justify-content: space-between;
      gap: 1rem;
    }
    .nav-logo {
      font-family: 'Cinzel', serif;
      font-weight: 900; font-size: 1.1rem;
      color: var(--gold); letter-spacing: 2px;
      text-decoration: none; white-space: nowrap;
      animation: sword-glow 3s ease-in-out infinite;
    }
    .nav-links {
      display: flex; gap: 0.3rem; flex-wrap: wrap;
      list-style: none; align-items: center;
    }
    .nav-links a {
      color: var(--silver); font-size: 0.78rem;
      text-decoration: none; padding: 0.35rem 0.7rem;
      border-radius: 4px; letter-spacing: 0.5px;
      transition: all 0.2s; font-family: 'Cinzel', serif;
      white-space: nowrap;
    }
    .nav-links a:hover { color: var(--gold); background: var(--border2); }
    .nav-hamburger {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 4px;
    }
    .nav-hamburger span {
      display: block; width: 24px; height: 2px;
      background: var(--gold); border-radius: 2px; transition: 0.3s;
    }
    @media (max-width: 900px) {
      .nav-hamburger { display: flex; }
      .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: rgba(10,14,26,0.98); border-bottom: 1px solid var(--border);
        padding: 1rem; z-index: 999;
      }
      .nav-links.open { display: flex; }
      .nav-links a { width: 100%; padding: 0.7rem 1rem; font-size: 0.9rem; }
    }

    /* ─── DISCLAIMER BANNER ─────────────────────────────── */
    .disclaimer-banner {
      background: linear-gradient(90deg, rgba(139,0,0,0.15), rgba(201,168,76,0.1), rgba(139,0,0,0.15));
      border-bottom: 1px solid var(--border);
      padding: 0.6rem 1rem; text-align: center;
      font-size: 0.78rem; color: var(--muted);
      position: relative; z-index: 999;
    }
    .disclaimer-banner strong { color: var(--gold); }

    /* ─── AD SLOTS ──────────────────────────────────────── */
    /*
     * AD SLOT GUIDE
     * ─────────────────────────────────────────────────────
     * .ad-slot-leaderboard  → 728×90 or responsive leaderboard (header/footer)
     * .ad-slot-rectangle    → 300×250 medium rectangle (sidebar / inline)
     * .ad-slot-wide         → 970×90 or 100% wide banner (between sections)
     * .ad-slot-mobile       → 320×100 mobile banner (mobile only)
     *
     * HOW TO ACTIVATE:
     * 1. Replace the inner <!-- AD CODE HERE --> comment with your ad network code
     *    e.g. Google AdSense: <ins class="adsbygoogle" ...></ins>
     *         Ezoic / Media.net: their script tags
     * 2. Remove the .ad-placeholder styles to let the real ad render
     * 3. Never remove the outer .ad-slot-* wrapper — it maintains layout spacing
     * ─────────────────────────────────────────────────────
     */


    /* .ad-slot-leaderboard,
    .ad-slot-rectangle,
    .ad-slot-wide,
    .ad-slot-mobile {
      display: flex; align-items: center; justify-content: center;
      width: 100%; overflow: hidden;
    }
    .ad-slot-leaderboard { min-height: 90px; max-width: 728px; margin: 0 auto; }
    .ad-slot-rectangle   { min-height: 250px; max-width: 336px; margin: 0 auto; }
    .ad-slot-wide        { min-height: 270px; width: 100%;}
    .ad-slot-mobile      { min-height: 100px; display: none; }

    .ad-placeholder {
      width: 100%; height: 100%; min-height: inherit;
      border: 1px dashed rgba(201,168,76,0.25);
      border-radius: var(--radius);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 6px;
      background: rgba(201,168,76,0.03);
      color: var(--muted); font-size: 0.72rem; letter-spacing: 1px;
      text-transform: uppercase; font-family: 'Cinzel', serif;
      padding: 1.5rem; text-align: center;
    }
    .ad-placeholder .ad-label { font-size: 0.65rem; opacity: 0.5; }

    .ad-wrap {
      padding: 1.5rem 0;
      border-top: 1px solid var(--border2);
      border-bottom: 1px solid var(--border2);
      margin: 2rem 0;
      text-align: center;
    }

    @media (max-width: 768px) {
      .ad-slot-leaderboard { display: none; }
      .ad-slot-mobile { display: flex; }
    } */

    /* ─── HERO ──────────────────────────────────────────── */
    .hero {
      min-height: 100vh; padding: 7rem 2rem 4rem;
      display: flex; flex-direction: column;
      justify-content: center; align-items: center;
      text-align: center; position: relative; overflow: hidden;
      background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(139,0,0,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201,168,76,0.06) 0%, transparent 60%),
        var(--dark);
    }

    /* Ambient particle background */
    .hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
    .particle {
      position: absolute; border-radius: 50%;
      background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
      animation: float-up linear infinite;
    }

    /* Dragon scale SVG pattern overlay */
    .hero::before {
      content: '';
      position: absolute; inset: 0; pointer-events: none;
      background-image:
        repeating-linear-gradient(60deg, transparent 0, transparent 14px, rgba(201,168,76,0.03) 14px, rgba(201,168,76,0.03) 15px),
        repeating-linear-gradient(-60deg, transparent 0, transparent 14px, rgba(201,168,76,0.03) 14px, rgba(201,168,76,0.03) 15px);
    }

    .hero-inner { position: relative; z-index: 2; max-width: 900px; }

    .hero-eyebrow {
      display: inline-block;
      font-family: 'Cinzel', serif; font-size: 0.75rem;
      letter-spacing: 4px; text-transform: uppercase;
      color: var(--gold); border: 1px solid var(--border);
      padding: 0.4rem 1.2rem; border-radius: 50px;
      margin-bottom: 1.8rem;
      animation: fade-in-up 0.6s ease both;
    }

    .hero h1 {
      font-family: 'Cinzel Decorative', 'Cinzel', serif;
      font-weight: 900;
      font-size: clamp(2.4rem, 7vw, 5.5rem);
      line-height: 1.05; letter-spacing: 2px;
      background: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold) 40%, var(--crimson2) 80%, var(--gold) 100%);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 0.6rem;
      animation: fade-in-up 0.7s ease 0.1s both;
    }

    .hero-tagline {
      font-family: 'Cinzel', serif;
      font-size: clamp(0.85rem, 2vw, 1.2rem);
      color: var(--gold); letter-spacing: 4px;
      text-transform: uppercase; margin-bottom: 1.6rem;
      animation: fade-in-up 0.7s ease 0.2s both;
    }

    .hero-desc {
      font-size: clamp(0.95rem, 2vw, 1.1rem);
      color: var(--muted); max-width: 650px; margin: 0 auto 2.5rem;
      animation: fade-in-up 0.7s ease 0.3s both;
    }

    .hero-stats {
      display: flex; gap: 1.5rem; justify-content: center;
      flex-wrap: wrap; margin-bottom: 2.5rem;
      animation: fade-in-up 0.7s ease 0.4s both;
    }
    .hero-stat {
      text-align: center; min-width: 90px;
    }
    .hero-stat-val {
      font-family: 'Cinzel', serif; font-size: 2rem;
      font-weight: 900; color: var(--gold); line-height: 1;
      display: block;
    }
    .hero-stat-lbl { font-size: 0.72rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
    .hero-stat-div { width: 1px; background: var(--border); align-self: stretch; }

    .hero-buttons {
      display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
      animation: fade-in-up 0.7s ease 0.5s both;
    }
    .btn-primary, .btn-outline {
      display: inline-block; padding: 0.95rem 2.5rem;
      border-radius: 50px; font-family: 'Cinzel', serif;
      font-size: 0.85rem; letter-spacing: 1.5px;
      text-transform: uppercase; text-decoration: none;
      font-weight: 700; transition: all 0.3s ease; cursor: pointer;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      color: var(--dark); border: 2px solid transparent;
    }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: var(--glow-gold); }
    .btn-outline {
      background: transparent; color: var(--gold);
      border: 2px solid var(--gold);
    }
    .btn-outline:hover { background: rgba(201,168,76,0.1); transform: translateY(-3px); }

    /* ─── SCROLL INDICATOR ──────────────────────────────── */
    .scroll-indicator {
      position: absolute; bottom: 2rem; left: 50%;
      transform: translateX(-50%); z-index: 2;
      display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    }
    .scroll-indicator span { font-size: 0.65rem; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }
    .scroll-arrow {
      width: 22px; height: 22px; border-right: 2px solid var(--gold);
      border-bottom: 2px solid var(--gold); transform: rotate(45deg);
      animation: shimmer 1.5s ease-in-out infinite;
    }

    /* ─── SECTION BASE ──────────────────────────────────── */
    .section {
      padding: clamp(3.5rem, 8vw, 6rem) 2rem;
      border-bottom: 1px solid var(--border2);
    }
    .section-alt { background: var(--dark2); }

    .section-head { text-align: center; margin-bottom: 3.5rem; }
    .section-eyebrow {
      display: inline-block; font-family: 'Cinzel', serif;
      font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
      color: var(--gold); margin-bottom: 0.8rem; opacity: 0.7;
    }
    .section-title {
      font-family: 'Cinzel', serif; font-weight: 900;
      font-size: clamp(1.8rem, 5vw, 3rem);
      color: var(--gold-light); letter-spacing: 1px;
      position: relative; display: inline-block;
      padding-bottom: 1.2rem;
    }
    .section-title::after {
      content: ''; position: absolute;
      bottom: 0; left: 50%; transform: translateX(-50%);
      width: 80px; height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }
    .section-sub {
      color: var(--muted); font-size: 1rem;
      max-width: 560px; margin: 1rem auto 0;
    }

    /* ─── GRIDS ─────────────────────────────────────────── */
    .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 2rem; }
    .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 2rem; }
    .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.8rem; }
    .grid-5 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1.5rem; }

    /* ─── CARDS ─────────────────────────────────────────── */
    .card {
      background: linear-gradient(145deg, var(--dark2), var(--dark3));
      border: 1px solid var(--border); border-radius: var(--radius-lg);
      padding: 1.8rem; position: relative; overflow: hidden;
      transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    }
    .card::after {
      content: ''; position: absolute;
      inset: 0; border-radius: inherit;
      background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 60%);
      opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
    }
    .card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.45); box-shadow: var(--glow-gold); }
    .card:hover::after { opacity: 1; }

    .card-emoji {
      font-size: 2.8rem; margin-bottom: 1.2rem; display: block;
      filter: drop-shadow(0 0 8px rgba(201,168,76,0.4));
    }
    .card-title {
      font-family: 'Cinzel', serif; font-size: 1.15rem;
      color: var(--gold); margin-bottom: 0.6rem; font-weight: 700;
    }
    .card p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; }
    .card .fun-fact {
      margin-top: 1rem; padding: 0.75rem 1rem;
      background: rgba(201,168,76,0.06); border-left: 3px solid var(--gold);
      border-radius: 0 6px 6px 0; font-size: 0.82rem;
      color: var(--silver2); font-style: italic;
    }
    .card .fun-fact strong { color: var(--gold); font-style: normal; }

    .badge {
      display: inline-block;
      padding: 0.25rem 0.8rem; border-radius: 50px;
      font-size: 0.72rem; letter-spacing: 0.5px;
      font-family: 'Cinzel', serif; text-transform: uppercase;
      margin-top: 0.8rem;
    }
    .badge-gold { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
    .badge-red  { background: rgba(139,0,0,0.2);     color: #f08080;   border: 1px solid rgba(139,0,0,0.3); }
    .badge-blue { background: rgba(50,100,180,0.15);  color: #8ab4f8;   border: 1px solid rgba(50,100,180,0.3); }

    /* ─── CAST CARD ─────────────────────────────────────── */
    .cast-card { text-align: center; }
    .cast-avatar {
      width: 100px; height: 100px; border-radius: 50%;
      background: linear-gradient(135deg, var(--gold), var(--crimson));
      margin: 0 auto 1rem;
      display: flex; align-items: center; justify-content: center;
      font-size: 2.8rem; border: 3px solid rgba(201,168,76,0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .card:hover .cast-avatar { transform: scale(1.08); box-shadow: var(--glow-gold); }
    .cast-card .card-title { margin-bottom: 0.2rem; }
    .cast-role { color: var(--silver); font-size: 0.8rem; letter-spacing: 0.5px; margin-bottom: 0.4rem; }
    .cast-char { color: var(--gold-pale); font-style: italic; font-size: 0.88rem; }

    /* ─── SEASON CARD ───────────────────────────────────── */
    .season-item {
      background: linear-gradient(145deg, var(--dark2), var(--dark3));
      border: 1px solid var(--border); border-radius: var(--radius-lg);
      padding: 1.8rem; border-left: 4px solid var(--gold);
      transition: all 0.3s ease; position: relative; overflow: hidden;
    }
    .season-item:hover { transform: translateX(5px); box-shadow: -4px 0 30px rgba(201,168,76,0.15); border-left-color: var(--crimson); }
    .season-item::before {
      content: attr(data-num);
      position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
      font-family: 'Cinzel Decorative', serif; font-size: 4rem; font-weight: 900;
      color: rgba(201,168,76,0.05); line-height: 1; pointer-events: none;
    }
    .season-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
    .season-name { font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--gold); font-weight: 700; }
    .season-year-badge { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--dark); padding: 0.3rem 0.9rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700; font-family: 'Cinzel', serif; }
    .season-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin: 0.8rem 0; }
    .stat-item { display: flex; flex-direction: column; }
    .stat-lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
    .stat-val { font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--gold-light); font-weight: 700; }
    .season-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

    /* ─── INFO BOXES ────────────────────────────────────── */
    .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1.2rem; margin: 2.5rem 0; }
    .info-box {
      background: linear-gradient(135deg, rgba(201,168,76,0.07), rgba(139,0,0,0.07));
      border: 1px solid var(--border); border-radius: var(--radius);
      padding: 1.4rem; text-align: center;
      transition: all 0.3s ease;
      animation: pulse-border 4s ease-in-out infinite;
    }
    .info-box:hover { border-color: var(--gold); transform: translateY(-3px); }
    .info-box-val { font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 900; color: var(--gold); display: block; }
    .info-box-lbl { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }

    /* ─── HOUSE CARDS ───────────────────────────────────── */
    .house-card {
      border-radius: var(--radius-lg); padding: 2rem;
      position: relative; overflow: hidden;
      border: 2px solid transparent; transition: all 0.35s ease;
      cursor: default;
    }
    .house-card:hover { transform: translateY(-5px); }
    .house-sigil { font-size: 4rem; margin-bottom: 1rem; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); transition: transform 0.3s ease; }
    .house-card:hover .house-sigil { transform: scale(1.1) rotate(-3deg); }
    .house-name { font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 900; margin-bottom: 0.3rem; }
    .house-words { font-style: italic; font-size: 0.88rem; letter-spacing: 0.5px; margin-bottom: 0.8rem; opacity: 0.8; }
    .house-card p { font-size: 0.88rem; line-height: 1.75; opacity: 0.9; }
    .house-tag { font-size: 0.72rem; font-family: 'Cinzel', serif; letter-spacing: 1px; text-transform: uppercase; margin-top: 0.8rem; display: inline-block; }

    /* House color schemes */
    .house-stark    { background: linear-gradient(145deg, #1a1f2e, #252a3a); border-color: #8090a8; color: #c0ccde; }
    .house-stark .house-name { color: #c0ccde; }
    .house-lannister{ background: linear-gradient(145deg, #1f1a0a, #2e2510); border-color: #c9a84c; color: #e8d49a; }
    .house-lannister .house-name { color: var(--gold-light); }
    .house-targaryen{ background: linear-gradient(145deg, #1a0a0a, #2a1010); border-color: #8b0000; color: #f0b0b0; }
    .house-targaryen .house-name { color: #f08080; }
    .house-baratheon { background: linear-gradient(145deg, #0e0e1a, #181825); border-color: #c0c0c0; color: #d8d8e8; }
    .house-baratheon .house-name { color: #d0d0e0; }
    .house-tyrell   { background: linear-gradient(145deg, #0e1a0e, #152015); border-color: #4a8a4a; color: #a8d8a8; }
    .house-tyrell .house-name { color: #8aca8a; }
    .house-martell  { background: linear-gradient(145deg, #1a120a, #251a10); border-color: #d08040; color: #f0c890; }
    .house-martell .house-name { color: #e8a060; }

    /* ─── WEAPONS ───────────────────────────────────────── */
    .weapon-card { display: flex; gap: 1.4rem; align-items: flex-start; }
    .weapon-icon { font-size: 2.5rem; flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(201,168,76,0.4)); }
    .weapon-info .card-title { font-size: 1rem; }

    /* ─── LOCATIONS ─────────────────────────────────────── */
    .location-card { position: relative; }
    .location-map-hint {
      position: absolute; top: 1rem; right: 1rem;
      font-size: 0.68rem; color: var(--muted); letter-spacing: 1px;
      text-transform: uppercase; font-family: 'Cinzel', serif;
    }

    /* ─── QUOTES ────────────────────────────────────────── */
    .quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 2rem; }
    .quote-card {
      background: linear-gradient(145deg, var(--dark2), var(--dark3));
      border: 1px solid var(--border); border-radius: var(--radius-lg);
      padding: 2rem; position: relative;
      animation: quote-fade 0.5s ease both;
    }
    .quote-card::before {
      content: '\201C';
      position: absolute; top: 0.5rem; left: 1rem;
      font-size: 5rem; color: rgba(201,168,76,0.12);
      font-family: Georgia, serif; line-height: 1;
      pointer-events: none;
    }
    .quote-text {
      font-style: italic; font-size: 1rem; line-height: 1.8;
      color: var(--silver2); margin-bottom: 1.2rem; position: relative; z-index: 1;
    }
    .quote-attr { font-family: 'Cinzel', serif; font-size: 0.82rem; color: var(--gold); }
    .quote-char { color: var(--muted); font-size: 0.78rem; }

    /* ─── TRIVIA ────────────────────────────────────────── */
    .trivia-item {
      background: linear-gradient(145deg, var(--dark2), var(--dark3));
      border: 1px solid var(--border); border-radius: var(--radius);
      padding: 1.4rem 1.8rem;
      display: flex; gap: 1.2rem; align-items: flex-start;
      transition: all 0.3s ease;
    }
    .trivia-item:hover { border-color: rgba(201,168,76,0.4); transform: translateX(4px); }
    .trivia-num {
      font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 900;
      color: rgba(201,168,76,0.3); flex-shrink: 0; min-width: 2rem;
    }
    .trivia-text { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
    .trivia-text strong { color: var(--gold-light); }

    /* ─── RATINGS TABLE ─────────────────────────────────── */
    .ratings-row {
      background: linear-gradient(145deg, var(--dark2), var(--dark3));
      border: 1px solid var(--border); border-radius: var(--radius);
      padding: 1.4rem 1.8rem;
      display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
      transition: all 0.3s ease;
    }
    .ratings-row:hover { border-color: rgba(201,168,76,0.4); }
    .award-icon { font-size: 1.8rem; flex-shrink: 0; }
    .award-info { flex: 1; min-width: 160px; }
    .award-name { font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--gold); font-weight: 700; }
    .award-detail { font-size: 0.82rem; color: var(--muted); }
    .award-score {
      font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 900; color: var(--gold-light);
      min-width: 5rem; text-align: right;
    }
    .star-row { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
    .bar-wrap { flex: 2; min-width: 120px; }
    .bar-track { background: rgba(201,168,76,0.1); border-radius: 50px; height: 6px; overflow: hidden; }
    .bar-fill {
      height: 100%; border-radius: 50px;
      background: linear-gradient(90deg, var(--gold), var(--gold-light));
      --bar-w: 0%; width: var(--bar-w);
      transition: width 1.2s ease;
    }

    /* ─── PRODUCTION FACTS ──────────────────────────────── */
    .prod-fact {
      background: linear-gradient(145deg, var(--dark2), var(--dark3));
      border: 1px solid var(--border); border-radius: var(--radius-lg);
      padding: 2rem; text-align: center;
      transition: all 0.35s ease;
    }
    .prod-fact:hover { transform: translateY(-5px); border-color: rgba(201,168,76,0.4); box-shadow: var(--glow-gold); }
    .prod-fact .big-num {
      font-family: 'Cinzel', serif; font-size: 2.8rem; font-weight: 900;
      color: var(--gold); line-height: 1; display: block; margin-bottom: 0.4rem;
    }
    .prod-fact .fact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
    .prod-fact .fact-desc { font-size: 0.88rem; color: var(--silver); margin-top: 0.8rem; }

    /* ─── FOOTER CTA ────────────────────────────────────── */
    .footer-cta {
      padding: 4rem 2rem; text-align: center;
      background: linear-gradient(180deg, var(--dark) 0%, rgba(139,0,0,0.12) 50%, var(--dark) 100%);
      border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    }
    .footer-cta h2 { font-family: 'Cinzel', serif; font-size: clamp(1.5rem,4vw,2.2rem); color: var(--gold); margin-bottom: 1rem; }
    .footer-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 2rem; }
    .social-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .social-btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.85rem 2rem; border-radius: 50px;
      font-family: 'Cinzel', serif; font-size: 0.8rem;
      letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
      font-weight: 700; transition: all 0.3s ease;
      border: 2px solid var(--gold); color: var(--gold);
    }
    .social-btn:hover { background: rgba(201,168,76,0.1); transform: translateY(-3px); }

    /* ─── FOOTER ────────────────────────────────────────── */
    footer {
      background: var(--dark2); padding: 2.5rem 2rem;
      text-align: center; border-top: 1px solid var(--border2);
    }
    .footer-inner { max-width: 900px; margin: 0 auto; }
    .footer-logo { font-family: 'Cinzel', serif; font-size: 1.3rem; color: var(--gold); margin-bottom: 0.8rem; }
    .footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
    .footer-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
    .footer-links a:hover { color: var(--gold); }
    .footer-copy { color: var(--muted); font-size: 0.78rem; line-height: 1.9; }
    .footer-disclaimer {
      margin-top: 1rem; padding: 1rem; border-radius: var(--radius);
      background: rgba(139,0,0,0.08); border: 1px dashed rgba(139,0,0,0.25);
      font-size: 0.75rem; color: var(--muted); line-height: 1.7;
    }
    .footer-disclaimer strong { color: #f08080; }

    /* ─── BACK TO TOP ───────────────────────────────────── */
    #back-top {
      position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
      width: 44px; height: 44px; border-radius: 50%;
      background: linear-gradient(135deg, var(--gold), var(--gold-light));
      color: var(--dark); border: none; cursor: pointer;
      font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none; transition: all 0.3s ease;
      box-shadow: 0 4px 20px rgba(201,168,76,0.4);
    }
    #back-top.visible { opacity: 1; pointer-events: auto; }
    #back-top:hover { transform: translateY(-3px) scale(1.1); }

    /* ─── RESPONSIVE ────────────────────────────────────── */
    @media (max-width: 768px) {
      .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
      .season-stats { gap: 1rem; }
      .weapon-card { flex-direction: column; }
      .ratings-row { flex-direction: column; align-items: flex-start; }
      .award-score { text-align: left; }
    }
    @media (max-width: 480px) {
      .hero h1 { font-size: 2rem; }
      .hero-stat-val { font-size: 1.5rem; }
      .info-grid { grid-template-columns: repeat(2,1fr); }
      .footer-cta h2 { font-size: 1.3rem; }
    }

    /* ─── SCROLL REVEAL ─────────────────────────────────── */
    .reveal {
      opacity: 0; transform: translateY(28px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity 0.65s ease, transform 0.65s ease; }
    .reveal-left.visible { opacity: 1; transform: translateX(0); }

    /* ─── EMBER DECORATION ──────────────────────────────── */
    .ember-wrap { position: relative; display: inline-block; }
    .ember {
      position: absolute; width: 4px; height: 4px;
      background: var(--gold); border-radius: 50%;
      pointer-events: none;
      animation: ember 2.5s ease-out infinite;
    }

/*  */
/*  */

/*STATIC CUSTOM AD BELOW*/

.ad {
    background: #fff;
    border-radius: 16px;
    padding: 7px;
    /* width: 970px;
    max-width: 92%; */
    width: 100%;
    max-width: 970px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
    position: relative;
    margin: 10px auto;
}

.ad-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    border-radius: 10px;
    cursor: pointer;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .ad-image { height: 220px; }
}

@media (max-width: 768px) {
    .ad-image { height: 180px; }
}

@media (max-width: 480px) {
    .ad { padding: 10px; border-radius: 10px; }
    .ad-image { height: 130px; border-radius: 7px; }
}

/*STATIC CUSTOM AD ABOVE*/

/* POPUP AD BELOW */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    width: 600px;
    max-width: 92%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
    position: relative;
}

.popup iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 10px;
}

/* POPUP AD ABOVE */