:root {
    --bg: #0a0a0f;
    --bg2: #0f0f18;
    --bg3: #13131e;
    --card: #16161f;
    --card2: #1a1a26;
    --border: rgba(255,255,255,0.06);
    --red: #ff4655;
    --red2: #c8303c;
    --teal: #00d4aa;
    --gold: #f5a623;
    --blue: #4a9eff;
    --text: #e8e8f0;
    --muted: #7a7a9a;
    --dim: #3a3a5a;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* NOISE OVERLAY */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
  }

  /* HEADER */
  header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex; align-items: center;
  }

  .header-inner {
    max-width: 1400px; margin: 0 auto;
    width: 100%; padding: 0 24px;
    display: flex; align-items: center; gap: 32px;
  }

  .logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
  }

  .logo-mark {
    width: 36px; height: 36px;
    background: var(--red);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 700; font-size: 14px; color: #fff;
    flex-shrink: 0;
  }

  .logo-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700; font-size: 22px;
    letter-spacing: 0.05em; color: #fff;
  }
  .logo-text span { color: var(--red); }

  nav { display: flex; gap: 4px; align-items: center; flex: 1; }

  nav button {
    background: none; border: none; cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600; font-size: 13px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); padding: 8px 14px;
    border-radius: 4px; transition: all 0.2s;
    position: relative;
  }

  nav button:hover { color: var(--text); background: rgba(255,255,255,0.04); }
  nav button.active { color: #fff; }
  nav button.active::after {
    content: '';
    position: absolute; bottom: 2px; left: 14px; right: 14px;
    height: 2px; background: var(--red);
    border-radius: 2px;
  }

  .header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

  .tag-live {
    background: var(--red); color: #fff;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11px;
    letter-spacing: 0.1em; padding: 3px 10px; border-radius: 3px;
    animation: pulse 2s infinite;
  }

  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.7} }

  .hamburger {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
    margin-left: auto;
  }
  .hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

  /* MOBILE NAV */
  .mobile-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,15,0.98); backdrop-filter: blur(20px);
    z-index: 999; flex-direction: column; gap: 4px; padding: 20px;
    transform: translateX(-100%); transition: transform 0.3s;
  }
  .mobile-nav.open { transform: translateX(0); }

  .mobile-nav button {
    background: none; border: none; cursor: pointer;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 18px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); padding: 14px 16px; text-align: left;
    border-bottom: 1px solid var(--border); transition: color 0.2s;
  }
  .mobile-nav button:hover, .mobile-nav button.active { color: var(--red); }

  /* PAGES */
  .page { display: none; padding-top: 64px; min-height: 100vh; }
  .page.active { display: block; }

  /* HERO */
  .hero {
    position: relative; overflow: hidden;
    height: 520px; display: flex; align-items: flex-end;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a12 50%, #0a0a0f 100%);
  }

  .hero-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,70,85,0.12) 0%, transparent 70%),
      radial-gradient(ellipse 60% 80% at 20% 60%, rgba(0,212,170,0.06) 0%, transparent 70%);
  }

  .hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,70,85,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,70,85,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hero-accent {
    position: absolute; top: 0; right: 0; bottom: 0; width: 45%;
    background: linear-gradient(135deg, transparent, rgba(255,70,85,0.05));
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  }

  .hero-content {
    position: relative; z-index: 2;
    max-width: 1400px; margin: 0 auto; width: 100%;
    padding: 0 24px 60px;
  }

  .hero-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 12px;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--red);
    margin-bottom: 16px;
  }
  .hero-kicker::before { content: ''; display: block; width: 24px; height: 2px; background: var(--red); }

  .hero h1 {
    font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05; letter-spacing: -0.01em; color: #fff;
    max-width: 700px; margin-bottom: 20px;
    text-shadow: 0 0 80px rgba(255,70,85,0.2);
  }

  .hero h1 em { color: var(--red); font-style: normal; }

  .hero-meta {
    display: flex; align-items: center; gap: 20px;
    font-size: 13px; color: var(--muted); margin-bottom: 28px;
  }
  .hero-meta strong { color: var(--text); }

  .hero-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--red); color: #fff;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 12px 28px; border-radius: 4px; border: none; cursor: pointer;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  }
  .hero-cta:hover { background: var(--red2); transform: translateY(-1px); }

  /* SECTIONS */
  .section { max-width: 1400px; margin: 0 auto; padding: 60px 24px; }
  .section-sm { max-width: 1400px; margin: 0 auto; padding: 40px 24px; }

  .section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 32px;
  }

  .section-title {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 20px;
    letter-spacing: 0.05em; text-transform: uppercase; color: #fff;
  }
  .section-title::before {
    content: ''; display: block; width: 4px; height: 22px;
    background: var(--red); border-radius: 2px;
  }

  .see-all {
    font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 12px;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--red); background: none; border: 1px solid rgba(255,70,85,0.3);
    padding: 6px 16px; border-radius: 4px; cursor: pointer; transition: all 0.2s;
  }
  .see-all:hover { background: rgba(255,70,85,0.1); }

  /* NEWS GRID */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .news-card {
    background: var(--card); border-radius: 8px;
    overflow: hidden; border: 1px solid var(--border);
    transition: all 0.3s; cursor: pointer;
    position: relative;
  }
  .news-card:hover { border-color: rgba(255,70,85,0.3); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

  .news-card-img { height: 180px; position: relative; overflow: hidden; }
  .news-card-img-inner { width: 100%; height: 100%; transition: transform 0.4s; }
  .news-card:hover .news-card-img-inner { transform: scale(1.05); }

  .card-img-1 { background: linear-gradient(135deg, #1a0505 0%, #3d0a12 50%, #1a0505 100%); }
  .card-img-2 { background: linear-gradient(135deg, #050f1a 0%, #0a2d3d 50%, #050f1a 100%); }
  .card-img-3 { background: linear-gradient(135deg, #0a1a05 0%, #1a3d0a 50%, #0a1a05 100%); }
  .card-img-4 { background: linear-gradient(135deg, #1a1205 0%, #3d2e0a 50%, #1a1205 100%); }
  .card-img-5 { background: linear-gradient(135deg, #0f051a 0%, #2d0a3d 50%, #0f051a 100%); }
  .card-img-6 { background: linear-gradient(135deg, #1a0a05 0%, #3d1a0a 50%, #1a0a05 100%); }

  .card-img-decoration {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .card-img-decoration svg { opacity: 0.15; }

  .card-badge {
    position: absolute; top: 12px; left: 12px;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 10px;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 3px;
    background: var(--red); color: #fff;
    z-index: 2;
  }
  .card-badge.teal { background: var(--teal); color: #000; }
  .card-badge.gold { background: var(--gold); color: #000; }
  .card-badge.blue { background: var(--blue); color: #fff; }

  .news-card-body { padding: 18px; }
  .news-card-body h3 {
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 17px;
    line-height: 1.3; color: #fff; margin-bottom: 10px; transition: color 0.2s;
  }
  .news-card:hover .news-card-body h3 { color: var(--red); }
  .news-card-body p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }

  .card-meta {
    display: flex; align-items: center; gap: 12px;
    font-size: 12px; color: var(--dim); font-family: 'Barlow', sans-serif;
  }
  .card-meta span { display: flex; align-items: center; gap: 4px; }

  /* FEATURED ARTICLE */
  .featured {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; background: var(--card); border-radius: 12px;
    overflow: hidden; border: 1px solid var(--border); margin-bottom: 60px;
  }

  .featured-img {
    background: linear-gradient(135deg, #120516 0%, #2d0a3d 60%, #0a0520 100%);
    position: relative; min-height: 360px;
    display: flex; align-items: center; justify-content: center;
  }
  .featured-img-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--card)); }
  .featured-img-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 40% 50%, rgba(255,70,85,0.2) 0%, transparent 70%); }

  .featured-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
  .featured-body .hero-kicker { margin-bottom: 12px; }
  .featured-body h2 {
    font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 32px;
    line-height: 1.1; color: #fff; margin-bottom: 16px;
  }
  .featured-body p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }

  /* TICKER */
  .ticker-wrap {
    background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    overflow: hidden; padding: 10px 0;
  }
  .ticker { display: flex; gap: 60px; animation: ticker 30s linear infinite; white-space: nowrap; }
  .ticker-item {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 13px;
    color: var(--muted); letter-spacing: 0.05em; flex-shrink: 0;
  }
  .ticker-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
  .ticker-item strong { color: var(--text); }

  @keyframes ticker { 0%{transform: translateX(0)} 100%{transform: translateX(-50%)} }

  /* GUIDES PAGE */
  .guides-hero {
    background: linear-gradient(135deg, #0a0a0f, #0f1a0f);
    border-bottom: 1px solid var(--border);
    padding: 60px 24px; text-align: center; position: relative; overflow: hidden;
  }
  .guides-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,212,170,0.08) 0%, transparent 70%);
  }
  .guides-hero h1 {
    font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(32px, 5vw, 56px);
    color: #fff; position: relative; z-index: 2;
  }
  .guides-hero h1 span { color: var(--teal); }
  .guides-hero p { color: var(--muted); margin-top: 12px; font-size: 16px; position: relative; z-index: 2; }

  .guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

  .guide-card {
    background: var(--card); border-radius: 8px; border: 1px solid var(--border);
    padding: 24px; cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden;
  }
  .guide-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
  }
  .guide-card:hover { border-color: rgba(0,212,170,0.3); transform: translateY(-3px); }
  .guide-card:hover::before { transform: scaleX(1); }

  .guide-icon {
    width: 44px; height: 44px; border-radius: 8px;
    background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.2);
    display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px;
  }
  .guide-card h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 17px; color: #fff; margin-bottom: 8px; }
  .guide-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
  .guide-card .tag {
    font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 11px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--teal); background: rgba(0,212,170,0.08); padding: 3px 10px; border-radius: 3px; display: inline-block;
  }

  /* ESPORTS PAGE */
  .esports-hero {
    background: linear-gradient(135deg, #0a0a0f, #1a0a05);
    border-bottom: 1px solid var(--border);
    padding: 60px 24px; text-align: center; position: relative; overflow: hidden;
  }
  .esports-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(245,166,35,0.08) 0%, transparent 70%);
  }
  .esports-hero h1 {
    font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(32px, 5vw, 56px);
    color: #fff; position: relative; z-index: 2;
  }
  .esports-hero h1 span { color: var(--gold); }
  .esports-hero p { color: var(--muted); margin-top: 12px; font-size: 16px; position: relative; z-index: 2; }

  .standings-table { background: var(--card); border-radius: 8px; border: 1px solid var(--border); overflow: hidden; width: 100%; }
  .standings-table table { width: 100%; border-collapse: collapse; }
  .standings-table thead th {
    font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 11px;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
    padding: 14px 20px; text-align: left; background: var(--card2); border-bottom: 1px solid var(--border);
  }
  .standings-table tbody td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
  .standings-table tbody tr:last-child td { border-bottom: none; }
  .standings-table tbody tr:hover { background: rgba(255,255,255,0.02); }

  .rank-badge { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 16px; color: var(--muted); }
  .rank-badge.top { color: var(--gold); }

  .team-cell { display: flex; align-items: center; gap: 12px; }
  .team-icon {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 12px; font-family: 'Oswald', sans-serif; flex-shrink: 0;
  }

  .win { color: var(--teal); font-weight: 600; }
  .loss { color: var(--red); font-weight: 600; }

  .match-card {
    background: var(--card); border-radius: 8px; border: 1px solid var(--border);
    padding: 20px 24px; display: flex; align-items: center; gap: 20px; transition: all 0.2s;
  }
  .match-card:hover { border-color: rgba(245,166,35,0.3); }

  .team-vs { display: flex; align-items: center; gap: 16px; flex: 1; }
  .team-name-box { display: flex; align-items: center; gap: 10px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
  .vs-divider { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
  .score-box { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 22px; color: #fff; letter-spacing: 0.05em; }
  .match-meta { text-align: right; font-size: 12px; color: var(--muted); font-family: 'Barlow', sans-serif; }
  .match-meta strong { display: block; color: var(--gold); font-size: 13px; }

  /* TOOLS PAGE */
  .tools-hero {
    background: linear-gradient(135deg, #0a0a0f, #0a050f);
    border-bottom: 1px solid var(--border);
    padding: 60px 24px; text-align: center; position: relative; overflow: hidden;
  }
  .tools-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(74,158,255,0.08) 0%, transparent 70%);
  }
  .tools-hero h1 {
    font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(32px, 5vw, 56px);
    color: #fff; position: relative; z-index: 2;
  }
  .tools-hero h1 span { color: var(--blue); }
  .tools-hero p { color: var(--muted); margin-top: 12px; font-size: 16px; position: relative; z-index: 2; }

  .tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

  .tool-card { background: var(--card); border-radius: 12px; border: 1px solid var(--border); padding: 32px; position: relative; overflow: hidden; }
  .tool-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
  .tool-card.currency::before { background: linear-gradient(90deg, var(--gold), var(--red)); }
  .tool-card.fps::before { background: linear-gradient(90deg, var(--blue), var(--teal)); }

  .tool-title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 6px; display: flex; align-items: center; gap: 12px; }
  .tool-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

  /* Currency Converter */
  .converter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }

  .form-group { display: flex; flex-direction: column; gap: 8px; }
  .form-label { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

  .form-input, .form-select {
    background: var(--bg2); border: 1px solid var(--border);
    color: var(--text); font-family: 'Barlow', sans-serif; font-size: 15px;
    padding: 12px 16px; border-radius: 6px; outline: none; transition: border-color 0.2s; width: 100%; appearance: none;
  }
  .form-input:focus, .form-select:focus { border-color: rgba(74,158,255,0.5); }

  .select-wrap { position: relative; }
  .select-wrap::after { content: '▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: 14px; }

  .btn-primary { width: 100%; padding: 14px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; border: none; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
  .btn-blue { background: var(--blue); color: #fff; }
  .btn-blue:hover { background: #3a8eef; transform: translateY(-1px); }
  .btn-teal { background: var(--teal); color: #000; }
  .btn-teal:hover { background: #00c49a; transform: translateY(-1px); }

  .result-box {
    background: var(--bg2); border: 1px solid var(--border); border-radius: 8px;
    padding: 20px; margin-top: 16px; text-align: center;
    min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .result-amount { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 32px; color: var(--gold); }
  .result-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
  .result-rate { font-size: 12px; color: var(--dim); margin-top: 6px; }

  /* FPS Optimizer */
  .fps-sliders { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }

  .slider-group { display: flex; flex-direction: column; gap: 8px; }
  .slider-top { display: flex; justify-content: space-between; align-items: center; }
  .slider-label { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .slider-val { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; color: var(--blue); }

  input[type=range] { width: 100%; height: 4px; appearance: none; background: var(--dim); border-radius: 4px; outline: none; cursor: pointer; }
  input[type=range]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); cursor: pointer; box-shadow: 0 0 8px rgba(74,158,255,0.4); }

  .fps-result { background: var(--bg2); border-radius: 8px; border: 1px solid var(--border); padding: 24px; text-align: center; }
  .fps-number { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 64px; color: var(--teal); line-height: 1; }
  .fps-unit { font-family: 'Rajdhani', sans-serif; font-size: 16px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 12px; }
  .fps-grade { display: inline-block; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 16px; border-radius: 4px; }
  .fps-grade.S { background: rgba(0,212,170,0.15); color: var(--teal); border: 1px solid rgba(0,212,170,0.3); }
  .fps-grade.A { background: rgba(74,158,255,0.15); color: var(--blue); border: 1px solid rgba(74,158,255,0.3); }
  .fps-grade.B { background: rgba(245,166,35,0.15); color: var(--gold); border: 1px solid rgba(245,166,35,0.3); }
  .fps-grade.C { background: rgba(255,70,85,0.15); color: var(--red); border: 1px solid rgba(255,70,85,0.3); }

  .fps-tips { background: var(--bg2); border-radius: 8px; border: 1px solid var(--border); padding: 20px; margin-top: 16px; }
  .fps-tips-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .fps-tip { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text); margin-bottom: 8px; }
  .fps-tip::before { content: '▶'; color: var(--teal); font-size: 9px; margin-top: 5px; flex-shrink: 0; }

  /* AGENTS STRIP */
  .agents-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--dim) transparent; }
  .agent-pill {
    flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 16px 20px; background: var(--card); border-radius: 8px;
    border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; min-width: 88px;
  }
  .agent-pill:hover { border-color: rgba(255,70,85,0.4); background: var(--card2); }
  .agent-pill.selected { border-color: var(--red); background: rgba(255,70,85,0.08); }
  .agent-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
  .agent-pill-name { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
  .agent-pill.selected .agent-pill-name { color: var(--red); }

  /* FOOTER */
  footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 24px 24px; }
  .footer-inner { max-width: 1400px; margin: 0 auto; }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }

  .footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 260px; }
  .footer-col h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
  .footer-col a { display: block; color: var(--text); font-size: 14px; text-decoration: none; margin-bottom: 10px; cursor: pointer; transition: color 0.2s; }
  .footer-col a:hover { color: var(--red); }

  .footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--dim); }

  .divider { border: none; border-top: 1px solid var(--border); margin: 0; }

  /* RESPONSIVE */
  @media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .featured { grid-template-columns: 1fr; }
    .featured-img { min-height: 240px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 768px) {
    nav { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }
    .header-right .tag-live { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    .featured { grid-template-columns: 1fr; }
    .featured-body { padding: 28px 20px; }
    .hero { height: 420px; }
    .hero h1 { font-size: 32px; }
    .converter-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .standings-table table { font-size: 13px; }
    .standings-table thead th, .standings-table tbody td { padding: 10px 12px; }
  }

  @media (max-width: 480px) {
    .section { padding: 40px 16px; }
    .hero-content { padding: 0 16px 48px; }
    .hero h1 { font-size: 28px; }
  }

  /* ANIMATIONS */
  .fade-in { animation: fadeIn 0.5s ease both; }
  @keyframes fadeIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

  .page.active > * { animation: fadeIn 0.4s ease both; }

  .news-grid .news-card:nth-child(1) { animation-delay: 0.05s; }
  .news-grid .news-card:nth-child(2) { animation-delay: 0.1s; }
  .news-grid .news-card:nth-child(3) { animation-delay: 0.15s; }
  .news-grid .news-card:nth-child(4) { animation-delay: 0.2s; }
  .news-grid .news-card:nth-child(5) { animation-delay: 0.25s; }
  .news-grid .news-card:nth-child(6) { animation-delay: 0.3s; }
