  :root {
    --paper: #F3EEE3;       /* asosiy fon — issiq qog'oz rangi, klişe oq/qora emas */
    --panel: #FFFFFF;       /* karta foni */
    --panel-2: #FBF7EE;     /* ikkinchi darajali panel */
    --recessed: #EAE3D2;    /* input/forma maydonlari uchun botiq fon */
    --line: #DDD2B8;        /* chegara chizig'i — issiq kulrang */
    --accent: #E1432B;      /* asosiy urg'u — chipta shtampi rangi (vermillion) */
    --accent-dim: #b8341f;
    --accent2: #0F6B57;     /* ikkinchi urg'u — "jonli"/muvaffaqiyat rangi (o'rmon-yashil) */
    --ink: #201B13;         /* asosiy matn rangi — deyarli qora, iliq ohang */
    --text: #201B13;
    --muted: #756B57;       /* ikkinchi darajali matn */
    --danger: #C6362A;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--paper);
    background-image:
      radial-gradient(circle at 1px 1px, rgba(32,27,19,0.06) 1px, transparent 0);
    background-size: 22px 22px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  .display {
    font-family: 'Big Shoulders Display', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.01em;
  }

  .mono {
    font-family: 'JetBrains Mono', monospace;
  }

  a { color: inherit; text-decoration: none; }

  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
  }

  /* ---------- NAV ---------- */
  nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(243,238,227,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }
  .logo {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .logo .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 1px; transform: rotate(45deg); }
  .nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; color: var(--muted); }
  .nav-links a:hover { color: var(--text); }
  .nav-cta {
    background: var(--accent);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 4px;
    letter-spacing: 0.02em;
  }
  .nav-mobile-hide { display: flex; }
  @media (max-width: 780px) {
    .nav-mobile-hide { display: none; }
  }

  /* ---------- HERO ---------- */
  .hero {
    position: relative;
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--line);
    background:
      radial-gradient(ellipse 800px 400px at 50% -10%, rgba(225,67,43,0.10), transparent);
  }
  .hero-top {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent2);
    border: 1px solid rgba(15,107,87,0.35);
    background: rgba(15,107,87,0.10);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
  }
  .eyebrow .pulse {
    width: 6px; height: 6px; background: var(--accent2); border-radius: 50%;
    animation: pulse 1.6s infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(15,107,87,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(15,107,87,0); }
  }
  .hero h1 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.95;
    letter-spacing: 0.005em;
    text-transform: uppercase;
  }
  .hero h1 .accent { color: var(--accent); }
  .hero p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
  }
  .hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn-primary {
    background: var(--accent);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 4px;
  }
  .btn-secondary {
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 4px;
  }
  .btn-secondary:hover { border-color: var(--muted); }

  /* ---------- BRACKET (signature element) ---------- */
  .bracket-stage {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 36px 20px;
    overflow-x: auto;
  }
  .bracket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px 28px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .bracket-title {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.04em;
  }
  .bracket-title span { color: var(--text); }
  .live-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(198,54,42,0.10);
    border: 1px solid rgba(198,54,42,0.4);
    color: var(--danger);
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    padding: 5px 10px; border-radius: 100px;
  }
  .live-tag .dot { width:6px; height:6px; background:#ff5459; border-radius:50%; animation: pulse 1.2s infinite; }

  .bracket {
    display: flex;
    gap: 46px;
    min-width: 720px;
    padding: 8px;
  }
  .round {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 18px;
    flex: 1;
    min-width: 168px;
  }
  .round-label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    text-align: center;
  }
  .match {
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
  }
  .match.is-live { border-color: rgba(198,54,42,0.5); box-shadow: 0 0 0 1px rgba(198,54,42,0.12); }
  .seed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  .seed:last-child { border-bottom: none; }
  .seed.winner { color: var(--text); font-weight: 700; }
  .seed.loser { color: var(--muted); }
  .seed .score { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
  .seed.winner .score { color: var(--accent); }
  .final-crown {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px;
    padding: 20px 10px;
  }
  .trophy { font-size: 34px; filter: drop-shadow(0 0 12px rgba(225,67,43,0.35)); }
  .champ-name {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 800;
    font-size: 19px;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
  }
  .champ-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

  /* ---------- STATS STRIP ---------- */
  .stats {
    border-bottom: 1px solid var(--line);
    background: var(--panel);
  }
  .stats .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat {
    padding: 32px 20px;
    text-align: center;
    border-left: 1px solid var(--line);
  }
  .stat:first-child { border-left: none; }
  .stat-num {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 800;
    font-size: 38px;
    color: var(--text);
  }
  .stat-num span { color: var(--accent); }
  .stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
  @media (max-width: 700px) {
    .stats .wrap { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: none; }
  }

  /* ---------- GAMES ---------- */
  section { padding: 88px 0; }
  .section-head { max-width: 560px; margin-bottom: 48px; }
  .section-kicker {
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent2); margin-bottom: 12px;
  }
  .section-head h2 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 800;
    font-size: clamp(30px, 4vw, 42px);
    text-transform: uppercase;
    line-height: 1.05;
  }
  .section-head p { color: var(--muted); margin-top: 14px; font-size: 15.5px; line-height: 1.6; }

  .games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  @media (max-width: 900px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }

  .game-card {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 22px 18px;
    transition: border-color 0.2s, transform 0.2s;
    cursor: default;
  }
  /* "Chipta" imzo elementi: yon tomonlarda dumaloq "teshik" — stub hissi beradi (ishonchli, oddiy CSS) */
  .game-card::before, .game-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 14px; height: 14px;
    background: var(--paper);
    border-radius: 50%;
    transform: translateY(-50%);
  }
  .game-card::before { left: -7px; border-right: 1px solid var(--line); }
  .game-card::after  { right: -7px; border-left: 1px solid var(--line); }
  .game-card:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
  .game-plat {
    font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 14px;
  }
  .game-name {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700; font-size: 21px; text-transform: uppercase; line-height: 1.1;
  }
  .game-count { font-size: 12px; color: var(--muted); margin-top: 10px; }
  .game-count b { color: var(--accent2); font-weight: 600; }

  /* ---------- HOW IT WORKS ---------- */
  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
  }
  @media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  .step {
    background: var(--paper);
    padding: 30px 24px;
  }
  .step-num {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 14px;
  }
  .step h3 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: 19px; text-transform: uppercase; font-weight: 700; margin-bottom: 8px;
  }
  .step p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

  /* ---------- CTA ---------- */
  .cta {
    background: linear-gradient(180deg, var(--panel), var(--paper));
    border-top: 1px solid var(--line);
    text-align: center;
    padding: 100px 0;
  }
  .cta h2 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 5vw, 54px);
    text-transform: uppercase;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.05;
  }
  .cta h2 .accent { color: var(--accent); }
  .cta p { color: var(--muted); margin: 18px auto 32px; max-width: 480px; }

  footer {
    border-top: 1px solid var(--line);
    padding: 32px 0;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  .note {
    background: rgba(15,107,87,0.08);
    border: 1px solid rgba(15,107,87,0.25);
    color: var(--accent2);
    font-size: 12.5px;
    padding: 10px 14px;
    border-radius: 6px;
  }
