
    :root {
      --ink: #07111f;
      --black: #02050a;
      --navy: #08172a;
      --red: #e71f2d;
      --red-dark: #9d101a;
      --gold: #f7bd48;
      --teal: #15d2a2;
      --paper: #f7f9fc;
      --white: #ffffff;
      --text: #0e1829;
      --muted: #647084;
      --line: rgba(7, 17, 31, 0.12);
      --dark-line: rgba(255, 255, 255, 0.12);
      --radius: 8px;
      --shadow: 0 18px 54px rgba(7, 17, 31, 0.14);
      font-family: "Inter", "Arial", sans-serif;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--text);
      overflow-x: hidden;
    }

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

    .wrap {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    .topbar {
      background: var(--black);
      color: #fff;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header-main {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 13px;
      min-width: 0;
    }

    .brand-mark {
      width: 56px;
      height: 46px;
      border-radius: 7px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, #102a4b 0%, #0d1422 42%, var(--red) 100%);
      border: 1px solid rgba(247, 189, 72, 0.55);
      box-shadow: 0 0 24px rgba(231, 31, 45, 0.24);
      font-size: 20px;
      font-weight: 1000;
      color: #fff;
    }

    .brand-title {
      display: grid;
      gap: 2px;
    }

    .brand-title strong {
      font-size: 31px;
      line-height: 1;
      font-weight: 1000;
      letter-spacing: 0;
    }

    .brand-title span {
      color: var(--gold);
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .auth {
      display: flex;
      gap: 12px;
      flex-shrink: 0;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 20px;
      border-radius: 6px;
      border: 1px solid transparent;
      font-size: 13px;
      font-weight: 950;
      text-transform: uppercase;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
      white-space: nowrap;
    }

    .btn.ghost {
      background: #0c1420;
      color: #fff;
      border-color: rgba(255, 255, 255, 0.14);
    }

    .btn.primary {
      background: linear-gradient(180deg, #ffd86a, #f8a925 48%, #d90f1e);
      color: #180508;
      border-color: rgba(247, 189, 72, 0.76);
    }

    .nav {
      background: linear-gradient(180deg, #ec2630, #bd121e);
      color: #fff;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .nav .wrap {
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 28px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .nav .wrap::-webkit-scrollbar { display: none; }

    .nav a {
      padding: 16px 0 13px;
      color: #fff;
      font-size: 13px;
      font-weight: 1000;
      text-transform: uppercase;
      white-space: nowrap;
      border-bottom: 3px solid transparent;
    }

    .nav a.active {
      color: #fff7cf;
      border-bottom-color: var(--gold);
    }

    .hero {
      background:
        linear-gradient(90deg, rgba(3, 7, 13, 0.94), rgba(3, 7, 13, 0.76) 38%, rgba(3, 7, 13, 0.12) 72%, rgba(3, 7, 13, 0.52)),
        url("/assets/ak88-hero.jpg") center right / cover no-repeat;
      color: #fff;
      border-bottom: 4px solid var(--red);
    }

    .hero .wrap {
      min-height: 520px;
      display: grid;
      grid-template-columns: minmax(0, 590px) 1fr;
      align-items: center;
    }

    .hero h1 {
      margin: 0;
      font-size: clamp(48px, 7vw, 84px);
      line-height: 0.94;
      font-weight: 1000;
      letter-spacing: 0;
      text-transform: uppercase;
    }

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

    .hero p {
      max-width: 570px;
      margin: 24px 0 28px;
      color: #e8eef8;
      font-size: 18px;
      line-height: 1.75;
      font-weight: 700;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-bottom: 26px;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      max-width: 560px;
    }

    .stat {
      min-height: 88px;
      padding: 16px 18px;
      border-radius: var(--radius);
      background: rgba(8, 23, 42, 0.82);
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .stat b {
      display: block;
      color: var(--gold);
      font-size: 29px;
      line-height: 1;
      margin-bottom: 8px;
    }

    .stat span {
      display: block;
      color: #fff;
      font-size: 12px;
      font-weight: 950;
      text-transform: uppercase;
    }

    .section {
      padding: 72px 0;
    }

    .article-band {
      background: #fff;
    }

    .content-shell {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 350px;
      gap: 28px;
      align-items: start;
    }

    .article-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 34px;
      box-shadow: var(--shadow);
    }

    .article-card h2,
    .section-title h2 {
      margin: 0;
      color: var(--ink);
      font-size: clamp(32px, 4.2vw, 52px);
      line-height: 1.06;
      letter-spacing: 0;
      font-weight: 1000;
    }

    .article-card h2 span,
    .section-title h2 span {
      color: var(--red);
    }

    .article-card h3 {
      color: var(--red);
      font-size: 25px;
      margin: 34px 0 12px;
      line-height: 1.16;
    }

    .article-card p {
      margin: 0 0 18px;
      color: #334052;
      font-size: 16px;
      line-height: 1.85;
      font-weight: 650;
    }

    .side-card {
      background: var(--navy);
      color: #fff;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: var(--shadow);
      position: sticky;
      top: 18px;
    }

    .side-card img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }

    .side-body {
      padding: 24px;
    }

    .side-body h3 {
      margin: 0 0 12px;
      font-size: 28px;
      line-height: 1.1;
      color: #fff;
    }

    .side-body p {
      margin: 0;
      color: #d6deea;
      line-height: 1.65;
      font-weight: 650;
    }

    .info-strip {
      margin-top: 24px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .info-box {
      background: #f3f6fb;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 18px;
    }

    .info-box b {
      display: block;
      color: var(--red);
      font-size: 22px;
      margin-bottom: 8px;
    }

    .info-box span {
      color: #415064;
      line-height: 1.55;
      font-size: 13px;
      font-weight: 700;
    }

    .category-band {
      background:
        radial-gradient(circle at 82% 10%, rgba(21, 210, 162, 0.12), transparent 26rem),
        linear-gradient(180deg, #061120, #03070d);
      color: #fff;
      border-top: 1px solid var(--dark-line);
      border-bottom: 1px solid var(--dark-line);
    }

    .split-note {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
      gap: 60px;
      align-items: end;
      margin-bottom: 28px;
    }

    .category-band .section-title h2 { color: #fff; }

    .section-title p {
      margin: 18px 0 0;
      max-width: 620px;
      color: #637086;
      line-height: 1.75;
      font-weight: 650;
    }

    .category-band .section-title p {
      color: #cbd5e5;
    }

    .note {
      border-left: 3px solid var(--red);
      padding-left: 18px;
      color: #d9e2ef;
      line-height: 1.7;
      font-weight: 700;
    }

    .game-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    .game-card {
      min-height: 190px;
      border-radius: var(--radius);
      padding: 24px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background:
        linear-gradient(140deg, rgba(231, 31, 45, 0.28), rgba(247, 189, 72, 0.08) 55%, rgba(21, 210, 162, 0.06)),
        #0b1828;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      overflow: hidden;
      position: relative;
    }

    .game-card::before {
      content: "";
      position: absolute;
      width: 116px;
      height: 116px;
      top: -30px;
      right: -24px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(247, 189, 72, 0.44), transparent 70%);
    }

    .game-card:nth-child(2) {
      background:
        linear-gradient(140deg, rgba(21, 210, 162, 0.20), rgba(231, 31, 45, 0.12) 52%, rgba(247, 189, 72, 0.08)),
        #081727;
    }

    .game-card:nth-child(3) {
      background:
        linear-gradient(140deg, rgba(247, 189, 72, 0.22), rgba(231, 31, 45, 0.15) 50%, rgba(255, 255, 255, 0.03)),
        #101018;
    }

    .game-card:nth-child(4) {
      background:
        linear-gradient(140deg, rgba(231, 31, 45, 0.22), rgba(21, 210, 162, 0.12) 52%, rgba(247, 189, 72, 0.07)),
        #0b1321;
    }

    .game-card h3 {
      margin: 0 0 10px;
      font-size: 24px;
      line-height: 1.08;
      position: relative;
      z-index: 1;
    }

    .game-card p {
      margin: 0;
      color: #dbe5f1;
      line-height: 1.55;
      font-weight: 650;
      font-size: 14px;
      position: relative;
      z-index: 1;
    }

    .process-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
      gap: 28px;
      align-items: stretch;
    }

    .media-frame {
      overflow: hidden;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: #0a1422;
      box-shadow: var(--shadow);
    }

    .media-frame img {
      display: block;
      width: 100%;
      height: 100%;
      min-height: 440px;
      object-fit: cover;
    }

    .steps {
      display: grid;
      gap: 14px;
      align-content: center;
      background: #fff;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      padding: 30px;
      box-shadow: var(--shadow);
    }

    .step {
      display: grid;
      grid-template-columns: 56px 1fr;
      gap: 16px;
      align-items: center;
      padding: 16px;
      background: #f4f7fb;
      border-radius: var(--radius);
      border: 1px solid var(--line);
    }

    .step b {
      width: 56px;
      height: 56px;
      border-radius: 7px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, var(--red), var(--red-dark));
      font-size: 22px;
      font-weight: 1000;
      box-shadow: 0 12px 26px rgba(231, 31, 45, 0.22);
    }

    .step strong {
      display: block;
      font-size: 18px;
      margin-bottom: 5px;
      color: var(--ink);
    }

    .step span {
      color: var(--muted);
      line-height: 1.45;
      font-weight: 650;
      font-size: 14px;
    }

    .news-section {
      background: #eef2f7;
    }

    .news-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
      gap: 24px;
      margin-top: 30px;
    }

    .featured-news {
      min-height: 380px;
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      box-shadow: var(--shadow);
      background: #07111f;
    }

    .featured-news img {
      display: block;
      width: 100%;
      height: 100%;
      min-height: 380px;
      object-fit: cover;
    }

    .featured-news::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 28%, rgba(2, 5, 10, 0.88));
    }

    .featured-copy {
      position: absolute;
      left: 28px;
      right: 28px;
      bottom: 26px;
      z-index: 2;
      color: #fff;
    }

    .featured-copy h3 {
      margin: 0 0 10px;
      font-size: 30px;
      line-height: 1.08;
      font-weight: 1000;
    }

    .featured-copy p {
      margin: 0;
      color: #dbe4f2;
      line-height: 1.55;
      font-weight: 700;
    }

    .news-list {
      display: grid;
      gap: 14px;
    }

    .news-item {
      display: grid;
      grid-template-columns: 108px 1fr;
      gap: 16px;
      align-items: center;
      background: #fff;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      padding: 13px;
      box-shadow: 0 14px 28px rgba(7, 17, 31, 0.07);
    }

    .thumb {
      height: 80px;
      border-radius: 6px;
      background:
        linear-gradient(135deg, rgba(231, 31, 45, 0.60), rgba(7, 17, 31, 0.60)),
        url("/assets/ak88-news.jpg") center / cover no-repeat;
      border: 1px solid rgba(231, 31, 45, 0.20);
    }

    .news-item:nth-child(2) .thumb {
      background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.30), rgba(21, 210, 162, 0.28)),
        url("/assets/ak88-panel.jpg") center / cover no-repeat;
    }

    .news-item h4 {
      margin: 0 0 7px;
      color: var(--ink);
      font-size: 17px;
      line-height: 1.25;
      font-weight: 1000;
    }

    .news-item p {
      margin: 0;
      color: var(--muted);
      line-height: 1.42;
      font-size: 13px;
      font-weight: 650;
    }

    footer {
      background: var(--black);
      color: #cbd5e1;
      padding: 38px 0;
      border-top: 4px solid var(--red);
      font-size: 13px;
      font-weight: 650;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
    }

    footer strong {
      display: block;
      color: #fff;
      font-size: 17px;
      margin-bottom: 6px;
    }

    @media (max-width: 940px) {
      .header-main {
        padding: 16px 0;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
      }

      .auth { width: 100%; }
      .auth .btn { flex: 1; padding: 0 12px; }
      .nav .wrap { justify-content: flex-start; }
      .hero .wrap {
        grid-template-columns: 1fr;
        min-height: 620px;
        align-items: end;
        padding: 82px 0 50px;
      }
      .hero h1 { font-size: clamp(43px, 14vw, 70px); }
      .hero p { font-size: 16px; }
      .content-shell,
      .hero-stats,
      .info-strip,
      .split-note,
      .game-grid,
      .process-grid,
      .news-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .side-card { position: static; }
      .section { padding: 56px 0; }
      .article-card,
      .steps { padding: 24px; }
      .media-frame img { min-height: 300px; }
    }

    @media (max-width: 540px) {
      .wrap { width: min(100% - 28px, 1180px); }
      .brand-title strong { font-size: 26px; }
      .brand-mark { width: 48px; height: 42px; }
      .hero-actions .btn { width: 100%; }
      .news-item { grid-template-columns: 1fr; }
      .thumb { height: 132px; }
      .featured-copy h3 { font-size: 24px; }
    }
  

@media (max-width: 540px) {
  .nav .wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
    padding: 7px 0 8px;
    overflow-x: visible;
  }

  .nav a {
    padding: 7px 0 5px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }
}

.article-shell {
  background: #f7f9fc;
  padding: 72px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

.article-detail,
.article-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-detail {
  padding: 36px;
}

.article-detail h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 1000;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.article-body {
  color: #334052;
  font-size: 17px;
  line-height: 1.82;
  font-weight: 650;
}

.article-body h2,
.article-body h3 {
  color: var(--red);
  line-height: 1.18;
  margin: 30px 0 12px;
}

.article-body a {
  color: var(--red);
  font-weight: 900;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.article-prevnext {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #334052;
  font-weight: 750;
}

.article-aside {
  overflow: hidden;
}

.article-aside img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-aside div {
  padding: 22px;
}

.article-aside h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.12;
}

.article-aside p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 650;
}

@media (max-width: 940px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-detail {
    padding: 24px;
  }
}
