:root {
    --gold: #C9A84C;
    --gold-light: #F0C96A;
    --gold-dim: #7A6030;
    --bg: #0A0B0D;
    --bg2: #111318;
    --bg3: #181C23;
    --bg4: #1E2330;
    --border: rgba(255,255,255,0.07);
    --border-gold: rgba(201,168,76,0.35);
    --text: #E8E9EC;
    --text-muted: #7A7F8E;
    --text-dim: #4A4F5C;
    --green: #3DBE7A;
    --red: #E05050;
    --blue: #4A9EF5;
  }

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

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10,11,13,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }

  .logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem; font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    display: flex; align-items: center; gap: 8px;
  }

  .logo-icon {
    width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
  }

  .logo span { color: var(--gold); }

  .nav-links {
    display: flex; gap: 2rem; list-style: none;
  }

  .nav-links a {
    font-size: 0.875rem; font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--text); }
  .nav-links a.active { color: var(--gold); }

  .nav-badge {
    background: var(--gold);
    color: #000;
    font-size: 0.65rem; font-weight: 700;
    padding: 2px 6px; border-radius: 4px;
    margin-left: 4px; vertical-align: middle;
  }

  /* HERO */
  .hero {
    position: relative;
    padding: 5rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse at center top, rgba(201,168,76,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,168,76,0.1);
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.78rem; font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 1.5rem;
  }

  .hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--green);
    animation: pulse 2s ease-in-out infinite;
  }

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

  .hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 700px;
    margin: 0 auto 1.25rem;
  }

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

  .hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
  }

  .hero-stats {
    display: flex; justify-content: center; gap: 3rem;
    margin-top: 3rem;
  }

  .hero-stat-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem; font-weight: 700;
    color: #fff;
    display: block;
  }

  .hero-stat-label {
    font-size: 0.78rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em;
    display: block; margin-top: 2px;
  }

  /* FILTER BAR */
  .filter-bar {
    padding: 1rem 2rem;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 1rem;
    flex-wrap: wrap;
  }

  .filter-label {
    font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-dim);
    font-weight: 500;
  }

  .filter-pills {
    display: flex; gap: 8px; flex-wrap: wrap; flex: 1;
  }

  .pill {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.82rem; font-weight: 500;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.18s;
  }

  .pill:hover { border-color: var(--gold-dim); color: var(--text); }
  .pill.active { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 600; }

  .search-box {
    display: flex; align-items: center;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 14px; gap: 8px;
    transition: border-color 0.2s;
  }

  .search-box:focus-within { border-color: var(--gold-dim); }

  .search-box svg { color: var(--text-dim); flex-shrink: 0; }

  .search-box input {
    background: none; border: none; outline: none;
    color: var(--text); font-family: 'Barlow', sans-serif;
    font-size: 0.875rem; width: 180px;
  }

  .search-box input::placeholder { color: var(--text-dim); }

  /* MAIN CONTENT */
  .main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
  }

  /* SECTION HEADER */
  .section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.25rem;
  }

  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem; font-weight: 700;
    color: #fff;
  }

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

  /* SITE CARDS */
  .sites-list { display: flex; flex-direction: column; gap: 12px; }

  .site-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 1rem;
    align-items: center;
    transition: all 0.22s;
    position: relative;
    overflow: hidden;
  }

  .site-card:hover {
    border-color: var(--border-gold);
    background: var(--bg3);
    transform: translateY(-1px);
  }

  .site-card.featured {
    border-color: rgba(201,168,76,0.4);
    background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, var(--bg2) 60%);
  }

  .featured-badge {
    position: absolute; top: 0; right: 0;
    background: var(--gold);
    color: #000;
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 0 14px 0 10px;
  }

  .rank-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem; font-weight: 800;
    color: var(--text-dim);
    text-align: center;
    line-height: 1;
  }

  .site-card.featured .rank-number { color: var(--gold); }

  .site-info { min-width: 0; }

  .site-name-row {
    display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
    flex-wrap: wrap;
  }

  .site-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem; font-weight: 700;
    color: #fff;
  }

  .site-tags {
    display: flex; gap: 5px; flex-wrap: wrap;
  }

  .tag {
    font-size: 0.68rem; font-weight: 600;
    padding: 3px 8px; border-radius: 5px;
    letter-spacing: 0.03em;
  }

  .tag-roulette { background: rgba(74,158,245,0.15); color: #4A9EF5; }
  .tag-crash { background: rgba(224,80,80,0.15); color: #E05050; }
  .tag-cases { background: rgba(138,86,224,0.15); color: #A56EFF; }
  .tag-jackpot { background: rgba(201,168,76,0.15); color: var(--gold); }
  .tag-betting { background: rgba(61,190,122,0.15); color: var(--green); }
  .tag-blackjack { background: rgba(240,201,106,0.12); color: #F0C96A; }

  .site-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0.75rem;
  }

  .site-meta {
    display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  }

  .meta-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.78rem; color: var(--text-muted);
  }

  .meta-icon {
    width: 14px; height: 14px; opacity: 0.6;
  }

  .stars {
    display: flex; gap: 1px;
  }

  .star { color: var(--gold); font-size: 12px; }
  .star.empty { color: var(--text-dim); }

  .rating-num {
    font-size: 0.8rem; font-weight: 600; color: var(--text);
    margin-left: 3px;
  }

  .license-badge {
    font-size: 0.7rem; font-weight: 600;
    padding: 2px 7px; border-radius: 4px;
  }

  .site-logo {
    width: 28px; height: 28px;
    border-radius: 7px;
    object-fit: contain;
    background: var(--bg4);
    border: 1px solid var(--border);
    flex-shrink: 0;
  }

  .site-logo-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem; font-weight: 900;
    color: #fff;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  }

  .license-yes { background: rgba(61,190,122,0.12); color: var(--green); }
  .license-no { background: rgba(120,120,120,0.12); color: var(--text-dim); }

  /* CTA SIDE */
  .site-cta {
    display: flex; flex-direction: column; gap: 10px;
    align-items: flex-end; min-width: 170px;
  }

  .bonus-box {
    background: var(--bg4);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: right;
    width: 100%;
  }

  .bonus-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); }
  .bonus-value { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--green); margin-top: 2px; }

  .code-box {
    display: flex; align-items: center;
    background: var(--bg4); border: 1px dashed var(--border);
    border-radius: 7px; overflow: hidden;
    width: 100%;
  }

  .code-label { font-size: 0.68rem; color: var(--text-dim); padding: 0 10px; flex: 1; }
  .code-val { font-family: monospace; font-size: 0.8rem; font-weight: 700; color: var(--gold); }
  .code-copy {
    padding: 7px 10px;
    background: var(--bg3); border-left: 1px solid var(--border);
    font-size: 0.7rem; color: var(--text-muted);
    cursor: pointer; border: none;
    font-family: 'Barlow', sans-serif;
    transition: background 0.2s;
  }
  .code-copy:hover { background: var(--bg4); color: var(--text); }

  .visit-btn {
    width: 100%;
    padding: 10px;
    background: var(--gold);
    color: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem; font-weight: 700;
    border: none; border-radius: 8px;
    cursor: pointer;
    transition: all 0.18s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    text-decoration: none;
  }

  .visit-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

  .visit-btn svg { width: 14px; height: 14px; }

  /* SIDEBAR */
  .sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

  .sidebar-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
  }

  .sidebar-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 1rem;
  }

  .quick-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem; color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
  }

  .quick-link:last-child { border-bottom: none; }
  .quick-link:hover { color: var(--gold); }

  .quick-arrow { color: var(--text-dim); font-size: 0.8rem; }

  .tip-item {
    display: flex; gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
  }

  .tip-item:last-child { border-bottom: none; }
  .tip-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem; font-weight: 800;
    color: var(--gold-dim); flex-shrink: 0;
    margin-top: 1px;
  }

  .tip-text { color: var(--text-muted); line-height: 1.5; }

  /* DISCLAIMER */
  .disclaimer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.7;
  }

  .disclaimer a { color: var(--text-muted); }

  /* FOOTER */
  footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-brand p {
    font-size: 0.85rem; color: var(--text-muted);
    line-height: 1.7; margin-top: 0.75rem;
    max-width: 240px;
  }

  .footer-col-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.07em;
    color: var(--text-muted); margin-bottom: 0.75rem;
  }

  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .footer-links a {
    font-size: 0.85rem; color: var(--text-dim);
    text-decoration: none; transition: color 0.18s;
  }
  .footer-links a:hover { color: var(--text); }

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

  .footer-bottom a { color: var(--text-dim); text-decoration: none; }
  .footer-bottom a:hover { color: var(--text); }

  /* Responsive */
  @media (max-width: 900px) {
    .main { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .site-card {
      grid-template-columns: 40px 1fr;
      grid-template-rows: auto auto;
    }
    .site-cta {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 8px;
      grid-column: 1 / -1;
      align-items: center;
      min-width: 0;
    }
    .site-cta .bonus-box { display: none; }
    .site-cta .code-box {
      flex: 1;
      min-width: 140px;
    }
    .site-cta .visit-btn {
      flex: 1;
      min-width: 120px;
      padding: 10px 12px;
    }
    .hero-stats { gap: 1.5rem; }
  }

  @media (max-width: 600px) {
    nav { padding: 0 1rem; }
    .nav-links { display: none; }
    .hero { padding: 3rem 1rem 2.5rem; }
    .hero h1 { font-size: 2rem; }
    .filter-bar { padding: 0.75rem 1rem; }
    .filter-pills { gap: 6px; }
    .pill { padding: 5px 10px; font-size: 0.75rem; }
    .search-box { display: none; }
    .main { padding: 1.25rem 0.75rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-card { padding: 1rem; gap: 0.75rem; }
    .site-desc { font-size: 0.82rem; }
    .site-meta { gap: 0.75rem; }
    .tag { font-size: 0.65rem; padding: 2px 6px; }
    .rank-number { font-size: 1.1rem; }
    .site-cta .code-box { min-width: 0; }
    .code-label { font-size: 0.62rem; }
    .code-val { font-size: 0.75rem; }
    .visit-btn { font-size: 0.8rem; }
    .hero-stats { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .hero-stat-val { font-size: 1.3rem; }
    .disclaimer { padding: 1rem; font-size: 0.72rem; }
  }