:root {
      --red: #e8192c;
      --red-dark: #b01020;
      --red-glow: rgba(232, 25, 44, 0.15);
      --black: #080808;
      --surface: #101010;
      --surface-2: #181818;
      --surface-3: #222222;
      --border: rgba(255,255,255,0.07);
      --text: #f0f0f0;
      --text-muted: #777;
      --text-dim: #444;
      --yellow: #f5c518;
      --font-display: 'Barlow Condensed', sans-serif;
      --font-body: 'Barlow', sans-serif;
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--black);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ─── SCROLLBAR ─── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--black); }
    ::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

    /* ─── HEADER ─── */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(8,8,8,0.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }

    .header-top {
      border-bottom: 1px solid var(--border);
      padding: 0.45rem 0;
    }

    .header-top-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1.5rem;
      display: flex;
      justify-content: flex-end;
      gap: 1.8rem;
      align-items: center;
    }

    .header-top-link {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-family: var(--font-display);
      font-weight: 600;
      transition: color 0.2s;
    }

    .header-top-link:hover { color: var(--red); }

    .header-main-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0.9rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
      flex-shrink: 0;
    }

    .brand-logo img {
      height: 42px;
      width: auto;
      object-fit: contain;
    }

    .brand-wordmark {
      font-family: var(--font-display);
      font-size: 1.6rem;
      font-weight: 900;
      color: white;
      letter-spacing: -0.01em;
      line-height: 1;
    }

    .brand-wordmark span { color: var(--red); }

    .desktop-nav {
      display: flex;
      gap: 0.2rem;
      list-style: none;
      align-items: center;
    }

    .desktop-nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.9rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 0.45rem 0.85rem;
      border-radius: 4px;
      transition: color 0.2s, background 0.2s;
    }

    .desktop-nav a:hover {
      color: white;
      background: var(--surface-3);
    }

    .mobile-toggle {
      display: none;
      background: none;
      border: 1px solid var(--border);
      color: var(--text);
      padding: 0.5rem 0.7rem;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1.2rem;
      transition: border-color 0.2s;
    }

    .mobile-toggle:hover { border-color: var(--red); color: var(--red); }

    .mobile-drawer {
      position: fixed;
      top: 0; right: -100%;
      width: 280px;
      height: 100vh;
      background: var(--surface);
      padding: 5rem 1.5rem 2rem;
      transition: right 0.3s ease;
      z-index: 1001;
      border-left: 1px solid var(--border);
    }

    .mobile-drawer.open { right: 0; }

    .mobile-nav { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

    .mobile-nav a {
      color: var(--text);
      text-decoration: none;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.2rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      display: block;
      padding: 0.7rem 1rem;
      border-radius: 6px;
      transition: background 0.2s, color 0.2s;
    }

    .mobile-nav a:hover { background: var(--surface-3); color: var(--red); }

    .backdrop {
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.7);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
    }

    .backdrop.active { opacity: 1; visibility: visible; }

    /* ─── HERO BANNER ─── */
    .page-hero {
      background: linear-gradient(135deg, #0e0e0e 0%, #140003 50%, #0e0e0e 100%);
      border-bottom: 1px solid var(--border);
      padding: 3rem 1.5rem 2.5rem;
      position: relative;
      overflow: hidden;
    }

    .page-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(232,25,44,0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .page-hero-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 2rem;
      position: relative;
    }

    .page-hero h1 {
      font-family: var(--font-display);
      font-size: clamp(3rem, 6vw, 5.5rem);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: -0.02em;
      line-height: 0.95;
      color: white;
    }

    .page-hero h1 span {
      display: block;
      color: var(--red);
      font-size: 0.45em;
      letter-spacing: 0.18em;
      font-weight: 800;
      margin-bottom: 0.4rem;
    }

    .hero-stats {
      display: flex;
      gap: 2rem;
      align-items: flex-end;
      flex-shrink: 0;
    }

    .hero-stat {
      text-align: right;
    }

    .hero-stat-num {
      font-family: var(--font-display);
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--red);
      line-height: 1;
    }

    .hero-stat-label {
      font-family: var(--font-display);
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
    }

    /* ─── FILTER BAR ─── */
    .filter-bar {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      padding: 0;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .filter-bar::-webkit-scrollbar { display: none; }

    .filter-bar-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1.5rem;
      display: flex;
      gap: 0;
      align-items: stretch;
    }

    .filter-btn {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.85rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-muted);
      background: none;
      border: none;
      border-bottom: 2px solid transparent;
      padding: 0.95rem 1.2rem;
      cursor: pointer;
      white-space: nowrap;
      transition: color 0.2s, border-color 0.2s;
    }

    .filter-btn:hover { color: white; }
    .filter-btn.active { color: white; border-bottom-color: var(--red); }

    /* ─── LAYOUT ─── */
    .page-layout {
      max-width: 1280px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 2.5rem;
      align-items: start;
    }

    /* ─── ARTICLE GRID ─── */
    .articles-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
    }

    /* Featured first card */
    .articles-grid .article-card:first-child {
      grid-column: 1 / -1;
    }

    .articles-grid .article-card:first-child .card-image-wrap {
      aspect-ratio: 21/9;
    }

    .articles-grid .article-card:first-child .card-body {
      padding: 1.6rem 1.8rem;
    }

    .articles-grid .article-card:first-child .card-title {
      font-size: 1.8rem;
    }

    .article-card {
      background: var(--surface);
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid var(--border);
      cursor: pointer;
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
      opacity: 0;
      transform: translateY(20px);
      animation: card-in 0.5s forwards;
      display: flex;
      flex-direction: column;
    }

    @keyframes card-in {
      to { opacity: 1; transform: translateY(0); }
    }

    .article-card:hover {
      transform: translateY(-5px);
      border-color: rgba(232, 25, 44, 0.3);
      box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(232, 25, 44, 0.1);
    }

    .card-image-wrap {
      position: relative;
      overflow: hidden;
      aspect-ratio: 16/9;
      flex-shrink: 0;
    }

    .card-image-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
      background: var(--surface-2);
    }

    .article-card:hover .card-image-wrap img {
      transform: scale(1.05);
    }

    .card-category {
      position: absolute;
      top: 0.75rem;
      left: 0.75rem;
      background: var(--red);
      color: white;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.2rem 0.65rem;
      border-radius: 3px;
    }

    .card-body {
      padding: 1.2rem 1.3rem;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      flex: 1;
    }

    .card-title {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 800;
      color: white;
      line-height: 1.25;
      letter-spacing: -0.01em;
      text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }

    .card-meta {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: var(--text-muted);
      font-size: 0.8rem;
      font-family: var(--font-display);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-top: auto;
    }

    .card-meta-dot {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--text-dim);
    }

    /* ─── SKELETON ─── */
    .skeleton-card {
      background: var(--surface);
      border-radius: 10px;
      border: 1px solid var(--border);
      overflow: hidden;
    }

    .skeleton-img {
      width: 100%;
      aspect-ratio: 16/9;
      background: var(--surface-2);
    }

    .skeleton-body { padding: 1.2rem; }

    .skeleton-line {
      height: 14px;
      background: var(--surface-2);
      border-radius: 4px;
      margin-bottom: 0.6rem;
      animation: skel-pulse 1.4s ease-in-out infinite;
    }

    .skeleton-line:nth-child(2) { width: 80%; animation-delay: 0.1s; }
    .skeleton-line:nth-child(3) { width: 50%; height: 10px; animation-delay: 0.2s; }

    @keyframes skel-pulse {
      0%, 100% { opacity: 0.4; }
      50% { opacity: 0.9; }
    }

    /* ─── END MARKER ─── */
    #horizon-watcher {
      grid-column: 1 / -1;
      text-align: center;
      padding: 4rem 1rem 2rem;
      color: var(--text-dim);
      font-family: var(--font-display);
      font-size: 0.85rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    #horizon-watcher::before {
      content: '';
      display: block;
      width: 40px;
      height: 2px;
      background: var(--red);
      margin: 0 auto 1rem;
    }

    /* ─── SIDEBAR ─── */
    .sidebar {
      position: sticky;
      top: 5rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .sidebar-widget {
      background: var(--surface);
      border-radius: 10px;
      border: 1px solid var(--border);
      overflow: hidden;
    }

    .widget-header {
      padding: 0.7rem 1.1rem;
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .widget-header-label {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text);
    }

    .widget-header-accent {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--red);
      flex-shrink: 0;
    }

    .widget-body { padding: 1rem; }

    .widget-post-image {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 0.75rem;
      background: var(--surface-2);
    }

    .widget-post-title {
      font-family: var(--font-display);
      font-size: 1.05rem;
      font-weight: 800;
      color: white;
      line-height: 1.3;
      margin-bottom: 0.6rem;
    }

    .widget-link {
      color: var(--red);
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      transition: gap 0.2s;
    }

    .widget-link:hover { gap: 0.6rem; }

    .ad-placeholder {
      background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
      color: var(--text-dim);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-family: var(--font-display);
      font-weight: 600;
      letter-spacing: 0.05em;
      text-align: center;
      padding: 2rem;
    }

    .ad-placeholder.tall { min-height: 250px; }
    .ad-placeholder.taller { min-height: 500px; }

    /* ─── MODAL ─── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.9);
      z-index: 9999;
      display: none;
      align-items: flex-start;
      overflow-y: auto;
      padding: 2rem 1rem;
    }

    .modal-overlay.open { display: flex; }

    .modal-box {
      background: var(--surface);
      max-width: 880px;
      width: 100%;
      margin: auto;
      border-radius: 12px;
      border: 1px solid var(--border);
      position: relative;
      overflow: hidden;
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--surface-3);
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, color 0.2s;
      z-index: 2;
    }

    .modal-close:hover { background: var(--red); color: white; border-color: var(--red); }

    .modal-inner { padding: 2.5rem; }

    .modal-title {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 900;
      color: white;
      line-height: 1.1;
      margin-bottom: 1rem;
      padding-right: 3rem;
    }

    .modal-actions {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-bottom: 1.2rem;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.6rem 1.4rem;
      background: var(--red);
      color: white;
      border: none;
      border-radius: 6px;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-primary:hover { background: var(--red-dark); }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.6rem 1.4rem;
      background: transparent;
      color: var(--text);
      border: 1px solid var(--border);
      border-radius: 6px;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
    }

    .btn-secondary:hover { border-color: white; background: var(--surface-3); }

    .modal-date {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
    }

    .modal-content { color: var(--text); font-size: 1rem; line-height: 1.75; }
    .modal-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; display: block; }
    .modal-content h1, .modal-content h2, .modal-content h3 {
      font-family: var(--font-display);
      font-weight: 800;
      margin: 1.5rem 0 0.75rem;
      color: white;
    }
    .modal-content p { margin-bottom: 1rem; }
    .modal-content a { color: var(--red); }

    .modal-loading {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6rem;
      color: var(--text-muted);
      font-family: var(--font-display);
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      gap: 0.75rem;
    }

    .modal-loading::before {
      content: '';
      width: 16px;
      height: 16px;
      border: 2px solid var(--surface-3);
      border-top-color: var(--red);
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    /* ─── SHARE MODAL ─── */
    .share-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.8);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 10001;
    }

    .share-overlay.open { display: flex; }

    .share-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      max-width: 400px;
      width: 90%;
      padding: 2rem;
      position: relative;
      text-align: center;
    }

    .share-box h3 {
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
    }

    .share-close {
      position: absolute;
      top: 1rem; right: 1rem;
      background: none; border: none;
      color: var(--text-muted);
      font-size: 1.5rem;
      cursor: pointer;
    }

    .share-close:hover { color: white; }

    .share-icons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .share-btn {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      border: none;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s, opacity 0.2s;
      text-decoration: none;
    }

    .share-btn:hover { transform: translateY(-3px) scale(1.1); }

    /* ─── FOOTER ─── */
    .site-footer {
      margin-top: 4rem;
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding: 3rem 1.5rem 2rem;
    }

    .footer-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 3rem;
      align-items: start;
    }

    .footer-logo img {
      height: 36px;
      width: auto;
      filter: brightness(0) invert(1);
      opacity: 0.7;
      margin-bottom: 0.6rem;
    }

    .footer-tagline {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .footer-nav {
      display: grid;
      grid-template-columns: repeat(4, auto);
      gap: 0.4rem 2.5rem;
    }

    .footer-nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      transition: color 0.2s;
    }

    .footer-nav a:hover { color: var(--red); }

    .footer-socials {
      display: flex;
      gap: 0.6rem;
    }

    .social-icon {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--surface-2);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      font-size: 0.9rem;
      text-decoration: none;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
    }

    .social-icon:hover { background: var(--red); border-color: var(--red); color: white; }

    .footer-bottom {
      max-width: 1280px;
      margin: 2rem auto 0;
      padding-top: 1.5rem;
      border-top: 1.5px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .footer-copy {
      font-size: 0.78rem;
      color: var(--text-muted);
      font-family: var(--font-display);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1100px) {
      .page-layout {
        grid-template-columns: 1fr;
      }
      .sidebar { display: none; }
    }

    @media (max-width: 900px) {
      .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
      .footer-nav { grid-column: 1 / -1; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    }

    @media (max-width: 700px) {
      .desktop-nav { display: none; }
      .mobile-toggle { display: block; }
      .hero-stats { display: none; }
      .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }

    @media (max-width: 480px) {
      .articles-grid .article-card:first-child { grid-column: 1; }
      .articles-grid .article-card:first-child .card-image-wrap { aspect-ratio: 16/9; }
      .articles-grid .article-card:first-child .card-title { font-size: 1.15rem; }
    }

    @media (max-width: 400px) {
      .header-top { display: none; }
    }