*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; min-height: 100vh; }
 
    /* ── HEADER ── */
    header {
      background: var(--surface);
      border-bottom: 2px solid var(--accent);
      position: sticky; top: 0; z-index: 100;
      height: 60px;
    }
    .header-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 1.5rem;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .header-logo {
      display: flex; align-items: center; gap: .5rem;
      text-decoration: none; flex-shrink: 0;
    }
    .header-logo-icon {
      width: 32px; height: 32px;
      background: #d61f2f; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem;
    }
    .header-logo span {
      font-family: var(--font-display);
      font-size: 1.5rem; color: var(--text); letter-spacing: .05em;
    }
 
    /* Desktop nav */
    .nav-desktop { display: flex; gap: 1.4rem; }
    .nav-desktop a {
      color: var(--muted); text-decoration: none;
      font-size: .8rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: .08em;
      transition: color .2s;
    }
    .nav-desktop a:hover { color: #d61f2f; }
 
    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer;
      padding: 4px;
    }
    .hamburger span {
      display: block; width: 22px; height: 2px;
      background: var(--text); border-radius: 2px;
      transition: all .3s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 
    /* Mobile nav drawer */
    .nav-mobile {
      display: none;
      position: absolute; top: 60px; left: 0; right: 0;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      flex-direction: column;
      z-index: 99;
    }
    .nav-mobile.open { display: flex; }
    .nav-mobile a {
      color: var(--muted); text-decoration: none;
      font-size: .9rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: .08em;
      padding: .9rem 1.5rem;
      border-bottom: 1px solid var(--border);
      transition: color .2s, background .2s;
    }
    .nav-mobile a:hover { color: var(--accent); background: rgba(232,255,0,.04); }
 
    /* ── API STATUS BAR ── */
    .api-bar {
      background: var(--surface); border-bottom: 1px solid var(--border);
      padding: .45rem 1.5rem; font-size: .75rem; color: var(--muted);
      display: flex; align-items: center; gap: .7rem;
    }
    .api-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
    .api-bar.loaded .api-dot { background: #00e676; box-shadow: 0 0 6px #00e676; }
    .api-bar.error  .api-dot { background: var(--accent2); }
 
    /* ── HERO ── */
    .hero {
      text-align: center;
      padding: 6rem 1.5rem 2.5rem;
      background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(232,255,0,.08), transparent);
      border-bottom: 1px solid var(--border);
    }
    article img {
  max-width: 100%;
  height: auto;
  display: block;
}
  
    h1 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 7vw, 4rem);
      letter-spacing: .04em; line-height: 1;
      color: var(--text); margin-bottom: .7rem;
    }
    h1 span { color: var(--accent); }
    .hero-sub { color: var(--muted); font-size: 1rem; max-width: 480px; margin: 0 auto; }
 
    /* ── LIVE BUTTONS ── */
    .live-section {
      padding: 2rem 1.5rem;
      max-width: var(--max-w); margin: 0 auto;
    }
    h2 {
      font-family: var(--font-display); font-size: 1.8rem;
      letter-spacing: .06em; color: var(--text);
      margin-bottom: 1.2rem;
      display: flex; align-items: center; gap: .6rem;
    }
    h2 .dot {
      width: 10px; height: 10px; background: #45ff66;
      border-radius: 50%; display: inline-block;
      animation: pulse 1.4s ease-in-out infinite;
    }
    @keyframes pulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(255,69,69,.6); }
      50%      { box-shadow: 0 0 0 7px rgba(255,69,69,0); }
    }
 
    /* Button grid — equal width on all screens */
    .btn-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: .8rem;
    }
    .btn-live {
      background: linear-gradient(135deg, #2a0010, #3f0000);
      border: 1.5px solid var(--accent);
      color: var(--accent);
      font-family: var(--font-display); font-size: 1rem; letter-spacing: .08em;
      padding: .7rem .5rem;
      border-radius: 8px; cursor: pointer;
      transition: background .2s, border-color .2s, color .2s;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: .35rem; text-decoration: none; width: 100%;
    }
    .btn-live:hover { background: linear-gradient(135deg, #253800, #3a5500); border-color: #ccee00; color: #ccee00; }
    .btn-emoji { font-size: 1.4rem; line-height: 1; }
    .btn-label { font-size: .75rem; letter-spacing: .1em; white-space: nowrap; }
    .badge-green {
      background: #1e5c00; color: #7dff00;
      font-family: var(--font-body); font-size: .55rem; font-weight: 700;
      letter-spacing: .1em; padding: .1rem .4rem; border-radius: 3px;
      text-transform: uppercase;
    }
 
    /* ── CONTENT WRAP (no sidebar) ── */
    .content-wrap {
      max-width: var(--max-w); margin: 0 auto;
      padding: 1.5rem;
    }
 
    /* ── ARTICLE ── */
    article {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 12px; padding: 1.8rem;
      margin-bottom: 1.5rem;
    }
    article h2 { font-size: 1.5rem; margin-bottom: 1rem; }
    article h3 {
      font-family: var(--font-display); font-size: 1.25rem;
      letter-spacing: .05em; color: var(--accent);
      margin: 1.5rem 0 .5rem;
    }
    article p { color: #bac4d8; margin-bottom: 1rem; font-size: .96rem; }
    article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
    article a:hover { opacity: .8; }
    article ul { padding-left: 1.3rem; margin-bottom: 1rem; }
    article ol { padding-left: 1.3rem; margin-bottom: 1rem; }
    article ul li { color: #bac4d8; margin-bottom: .35rem; font-size: .94rem; }
    article ol li { color: #bac4d8; margin-bottom: .35rem; font-size: .94rem; }
    article ul li::marker { color: var(--accent); }
    blockquote {
      border-left: 3px solid var(--accent);
      background: rgba(232,255,0,.04);
      padding: .9rem 1.3rem; margin: 1.3rem 0;
      border-radius: 0 8px 8px 0;
      font-style: italic; color: var(--muted); font-size: .94rem;
    }
    blockquote cite { display: block; margin-top: .4rem; font-size: .8rem; font-style: normal; color: var(--accent); font-weight: 600; }
    .article-img-wrap { text-align: center; margin: 1.4rem 0; }
    .article-img-wrap img { max-width: 100%; border-radius: 8px; display: inline-block; border: 1px solid var(--border); }
    .img-caption { font-size: .78rem; color: var(--muted); margin-top: .4rem; }
    
    /* ── FIXTURES SECTION ── */
    .fixtures-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 12px; padding: 1.8rem;
    }
    .fixtures-card h2 { font-size: 1.5rem; margin-bottom: 1rem; }
 
    /* Sport filter tabs */
    .tab-bar { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
    .tab-btn {
      background: var(--bg); border: 1px solid var(--border);
      color: var(--muted); font-family: var(--font-body);
      font-size: .75rem; font-weight: 700; letter-spacing: .07em;
      text-transform: uppercase; padding: .35rem .85rem;
      border-radius: 20px; cursor: pointer; transition: all .2s;
    }
    .tab-btn:hover, .tab-btn.active {
      background: var(--accent); color: #0a0c10; border-color: var(--accent);
    }
 
    /* Table — horizontally scrollable on mobile */
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0; }
    table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 520px; }
    thead tr { background: rgba(232,255,0,.07); border-bottom: 2px solid var(--accent); }
    thead th {
      text-align: left; padding: .65rem .9rem;
      font-family: var(--font-display); font-size: .9rem;
      letter-spacing: .06em; color: var(--accent); white-space: nowrap;
    }
    tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
    tbody tr:hover { background: rgba(255,255,255,.03); }
    tbody td { padding: .6rem .9rem; color: #bac4d8; vertical-align: middle; }
    .team-cell { display: flex; align-items: center; gap: .45rem; }
    .team-logo { width: 20px; height: 20px; object-fit: contain; border-radius: 3px; flex-shrink: 0; }
    .score-cell { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent); letter-spacing: .06em; white-space: nowrap; }
    .score-cell.ft { color: var(--muted); }
    .status-live { background: rgba(255,69,69,.15); color: var(--accent2); font-size: .7rem; font-weight: 700; padding: .18rem .45rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
    .status-soon { background: rgba(232,255,0,.1); color: var(--accent); font-size: .7rem; font-weight: 700; padding: .18rem .45rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
    .status-ft   { background: rgba(107,122,150,.12); color: var(--muted); font-size: .7rem; font-weight: 700; padding: .18rem .45rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
 
    /* Skeleton */
    .skeleton { background: linear-gradient(90deg, var(--card) 25%, var(--border) 50%, var(--card) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 4px; height: 14px; display: block; }
    @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
 
    .updated-at { font-size: .72rem; color: var(--muted); text-align: right; margin-top: .8rem; }
 
    /* ── FOOTER ── */
    footer {
      background: var(--surface); border-top: 1px solid var(--border);
      padding: 1.8rem 1.5rem; text-align: center;
      color: var(--muted); font-size: .8rem; margin-top: 2rem;
    }
    footer a { color: var(--accent); text-decoration: none; }
    footer a:hover { text-decoration: underline; }
    .footer-links { margin-top: .5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
 
    /* ── RESPONSIVE ── */
    @media (max-width: 700px) {
      /* Header */
      .nav-desktop { display: none; }
      .hamburger { display: flex; }

      /* Buttons: 2 columns on mobile */
      .btn-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      /* Last button (5th) spans full width so it's centered */
      .btn-grid .btn-live:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - .4rem);
        margin: 0 auto;
      }
 
      /* Article padding smaller */
      article, .fixtures-card { padding: 1.2rem; }
 
      /* Content padding */
      .content-wrap, .live-section { padding: 1rem; }
    }
 
    @media (min-width: 701px) and (max-width: 900px) {
      /* Buttons: 3-2 layout on tablet */
      .btn-grid { grid-template-columns: repeat(3, 1fr); }
    }