:root {
      --bg: #090014;
      --bg-2: #180027;
      --panel: rgba(26, 5, 43, .82);
      --panel-strong: #1a052b;
      --line: rgba(255, 215, 106, .24);
      --line-soft: rgba(255, 255, 255, .12);
      --text: #fffaf0;
      --muted: #d9c9e8;
      --gold: #ffd24e;
      --gold-2: #ff9e2a;
      --purple: #8d1fd1;
      --purple-2: #4d0974;
      --red: #ff334f;
      --white: #ffffff;
      --shadow: 0 28px 80px rgba(0, 0, 0, .42);
      font-family: Arial, Helvetica, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background:
        radial-gradient(circle at 12% 10%, rgba(145, 36, 212, .32), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(255, 190, 56, .20), transparent 28%),
        linear-gradient(180deg, #120020 0%, #07000f 46%, #0e001b 100%);
      color: var(--text);
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: min(1120px, calc(100% - 40px));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 10;
      background: linear-gradient(90deg, #320050 0%, #7b16ca 52%, #420068 100%);
      border-bottom: 1px solid rgba(255, 255, 255, .10);
      box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
    }

    .topbar-inner {
      min-height: 74px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 180px;
    }

    .brand-mark {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background:
        linear-gradient(135deg, #ffd867 0%, #ff9e2a 38%, #8d1fd1 100%);
      color: #170020;
      font-weight: 950;
      letter-spacing: 0;
      box-shadow: 0 12px 32px rgba(255, 174, 40, .26);
    }

    .brand-text strong {
      display: block;
      font-size: 28px;
      line-height: 1;
      font-weight: 950;
      letter-spacing: 0;
    }

    .brand-text span {
      display: block;
      margin-top: 4px;
      color: var(--gold);
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 23px;
      font-size: 13px;
      font-weight: 900;
      text-transform: uppercase;
      color: #fff7cf;
      white-space: nowrap;
    }

    .nav a:first-child {
      color: var(--gold);
    }

    .top-action {
      flex: 0 0 auto;
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 24px;
      border-radius: 8px;
      background: linear-gradient(135deg, #ffd65c 0%, #ff9b22 100%);
      color: #1a001f;
      font-size: 13px;
      font-weight: 950;
      text-transform: uppercase;
      box-shadow: 0 16px 32px rgba(255, 172, 48, .22);
    }

    .hero {
      padding: 54px 0 28px;
      position: relative;
    }

    .hero-frame {
      min-height: 650px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 215, 106, .28);
      border-radius: 22px;
      background:
        linear-gradient(90deg, rgba(9, 0, 20, .95) 0%, rgba(9, 0, 20, .84) 43%, rgba(9, 0, 20, .14) 76%),
        url("/assets/king88-hero-concept.png") center / cover no-repeat;
      box-shadow: var(--shadow);
    }

    .hero-frame::after {
      content: "";
      position: absolute;
      inset: auto 36px 36px 36px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 210, 78, .8), transparent);
    }

    .hero-content {
      position: relative;
      z-index: 1;
      width: min(550px, 100%);
      padding: 62px 0 0 48px;
    }

    h1 {
      margin: 0;
      max-width: 530px;
      font-size: clamp(54px, 5.6vw, 78px);
      line-height: .92;
      font-weight: 950;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    h1 .gold {
      color: var(--gold);
      text-shadow: 0 8px 24px rgba(255, 178, 36, .22);
    }

    .hero-text {
      margin: 24px 0 0;
      max-width: 510px;
      color: #f1e7fb;
      font-size: 18px;
      line-height: 1.75;
      font-weight: 600;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 14px;
      margin-top: 24px;
    }

    .btn {
      min-height: 52px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 26px;
      border-radius: 9px;
      background: linear-gradient(135deg, #ff334f 0%, #ff9d28 100%);
      color: white;
      font-size: 14px;
      font-weight: 950;
      text-transform: uppercase;
      box-shadow: 0 18px 38px rgba(255, 62, 70, .28);
    }

    .btn.secondary {
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .22);
      box-shadow: none;
    }

    .hero-stats {
      position: absolute;
      z-index: 2;
      left: 48px;
      bottom: 30px;
      width: min(650px, calc(100% - 96px));
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      background: rgba(11, 0, 19, .84);
      border: 1px solid rgba(255, 255, 255, .14);
      box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
    }

    .hero-stat {
      min-height: 96px;
      padding: 18px 24px;
      border-right: 1px solid rgba(255, 255, 255, .12);
    }

    .hero-stat:last-child {
      border-right: 0;
    }

    .hero-stat strong {
      display: block;
      color: var(--gold);
      font-size: 36px;
      line-height: 1;
      font-weight: 950;
    }

    .hero-stat span {
      display: block;
      margin-top: 10px;
      color: #f0e5ff;
      font-size: 13px;
      line-height: 1.4;
      font-weight: 800;
    }

    .article-hero .hero-frame {
      min-height: 740px;
    }

    .article-hero h1 {
      max-width: 600px;
      font-size: clamp(52px, 5.2vw, 76px);
      line-height: .95;
    }

    .intro {
      padding: 44px 0 34px;
    }

    .section-title {
      display: flex;
      align-items: center;
      gap: 18px;
      margin: 0 0 26px;
      color: var(--gold);
      font-size: clamp(28px, 3vw, 40px);
      line-height: 1.12;
      font-weight: 950;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .section-title::before,
    .section-title::after {
      content: "";
      height: 1px;
      flex: 1;
      background: linear-gradient(90deg, transparent, rgba(255, 210, 78, .58));
    }

    .section-title::after {
      background: linear-gradient(90deg, rgba(255, 210, 78, .58), transparent);
    }

    .intro-copy {
      max-width: 980px;
      margin: 0 auto;
      color: #f2e8ff;
      font-size: 18px;
      line-height: 1.85;
      font-weight: 650;
      text-align: center;
    }

    .guide-link {
      max-width: 820px;
      margin: 28px auto 0;
      padding: 20px 26px;
      border-left: 4px solid var(--purple);
      background: linear-gradient(90deg, rgba(141, 31, 209, .24), rgba(255, 210, 78, .06));
      color: #fff4ce;
      font-size: 19px;
      font-weight: 950;
      font-style: italic;
    }

    .guide-link span {
      color: var(--gold);
    }

    .game-table {
      padding: 42px 0 54px;
    }

    .table-panel {
      overflow: hidden;
      border: 1px solid rgba(255, 210, 78, .34);
      border-radius: 18px;
      background:
        linear-gradient(135deg, rgba(83, 6, 121, .72), rgba(16, 0, 30, .92)),
        radial-gradient(circle at 85% 15%, rgba(255, 196, 64, .22), transparent 34%);
      box-shadow: var(--shadow);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      color: #fff7ef;
      font-size: 15px;
    }

    th,
    td {
      padding: 20px 22px;
      text-align: left;
      border-bottom: 1px solid rgba(255, 255, 255, .18);
      vertical-align: top;
    }

    th {
      color: #fff6c5;
      font-size: 13px;
      font-weight: 950;
      text-transform: uppercase;
      background: rgba(255, 255, 255, .08);
    }

    tr:last-child td {
      border-bottom: 0;
    }

    td:first-child {
      color: var(--gold);
      font-weight: 950;
      white-space: nowrap;
    }

    td:last-child {
      font-weight: 900;
      color: #fff0a7;
      white-space: nowrap;
    }

    .content-band {
      padding: 62px 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, .045), transparent);
      border-top: 1px solid rgba(255, 255, 255, .08);
      border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .band-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      align-items: stretch;
    }

    .story-panel {
      min-height: 420px;
      padding: 34px;
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 18px;
      background:
        linear-gradient(160deg, rgba(255, 210, 78, .12), transparent 34%),
        rgba(20, 0, 33, .76);
    }

    .story-panel h2,
    .list-panel h2 {
      margin: 0 0 20px;
      font-size: 34px;
      line-height: 1.12;
      font-weight: 950;
      letter-spacing: 0;
      color: var(--white);
    }

    .story-panel p {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.8;
      font-weight: 600;
    }

    .feature-list {
      display: grid;
      gap: 14px;
      margin-top: 26px;
    }

    .feature-row {
      display: grid;
      grid-template-columns: 60px 1fr;
      gap: 16px;
      align-items: center;
      padding: 18px;
      border: 1px solid rgba(255, 255, 255, .12);
      background: rgba(255, 255, 255, .055);
    }

    .feature-row strong {
      color: var(--gold);
      font-size: 28px;
      font-weight: 950;
    }

    .feature-row span {
      color: #f6ecff;
      font-size: 15px;
      line-height: 1.45;
      font-weight: 800;
    }

    .list-panel {
      padding: 34px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background:
        linear-gradient(160deg, rgba(141, 31, 209, .18), transparent 44%),
        rgba(13, 0, 24, .88);
    }

    .topic-list {
      display: grid;
      gap: 0;
      border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .topic-item {
      display: grid;
      grid-template-columns: 120px 1fr;
      gap: 24px;
      padding: 22px 0;
      border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .topic-item strong {
      color: var(--gold);
      font-size: 13px;
      font-weight: 950;
      text-transform: uppercase;
    }

    .topic-item span {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.6;
      font-weight: 650;
    }

    .news {
      padding: 62px 0 78px;
    }

    .news-head {
      display: grid;
      grid-template-columns: 1fr minmax(260px, 420px);
      gap: 36px;
      align-items: end;
      margin-bottom: 28px;
    }

    .news-head h2 {
      margin: 0;
      font-size: clamp(34px, 4vw, 56px);
      line-height: .98;
      font-weight: 950;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .news-head p {
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.7;
      font-weight: 650;
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .news-card {
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, .13);
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045));
      box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
    }

    .news-thumb {
      min-height: 128px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      padding: 18px;
      background:
        linear-gradient(135deg, rgba(255, 210, 78, .24), rgba(141, 31, 209, .38)),
        radial-gradient(circle at 80% 25%, rgba(255, 255, 255, .24), transparent 24%);
    }

    .date-box {
      color: #180020;
      background: var(--gold);
      min-width: 58px;
      min-height: 58px;
      display: grid;
      place-items: center;
      text-align: center;
      font-size: 14px;
      line-height: 1.1;
      font-weight: 950;
    }

    .news-thumb strong {
      color: rgba(255, 255, 255, .92);
      font-size: 42px;
      font-weight: 950;
    }

    .news-body {
      padding: 22px;
    }

    .news-body strong {
      display: block;
      color: var(--red);
      font-size: 12px;
      line-height: 1;
      font-weight: 950;
      text-transform: uppercase;
    }

    .news-body h3 {
      margin: 12px 0 10px;
      color: #fff8de;
      font-size: 21px;
      line-height: 1.24;
      font-weight: 950;
    }

    .news-body p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.65;
      font-weight: 600;
    }

    .read-more {
      display: inline-flex;
      margin-top: 18px;
      color: var(--gold);
      font-size: 13px;
      font-weight: 950;
      text-transform: uppercase;
    }

    .footer {
      padding: 38px 0 46px;
      background: #07000e;
      border-top: 1px solid rgba(255, 255, 255, .10);
      color: #d9c9e8;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr repeat(3, 1fr);
      gap: 30px;
    }

    .footer h3 {
      margin: 0 0 12px;
      color: #fff7d7;
      font-size: 16px;
      font-weight: 950;
      text-transform: uppercase;
    }

    .footer p,
    .footer a {
      margin: 0;
      display: block;
      color: #c8b6da;
      font-size: 14px;
      line-height: 1.8;
      font-weight: 600;
    }

    @media (max-width: 980px) {
      .topbar-inner {
        min-height: 68px;
      }

      .nav,
      .top-action {
        display: none;
      }

      .hero {
        padding-top: 28px;
      }

      .hero-frame {
        min-height: 860px;
        border-radius: 18px;
        background:
          linear-gradient(180deg, rgba(9, 0, 20, .90) 0%, rgba(9, 0, 20, .72) 54%, rgba(9, 0, 20, .25) 100%),
          url("/assets/king88-hero-concept.png") 67% center / cover no-repeat;
      }

      .hero-content {
        padding: 54px 24px 0;
      }

      h1 {
        font-size: clamp(46px, 15vw, 70px);
      }

      .hero-text {
        font-size: 16px;
      }

      .hero-actions .btn {
        width: 100%;
      }

      .hero-actions .btn.secondary {
        display: none;
      }

      .hero-stats {
        left: 24px;
        right: 24px;
        bottom: 24px;
        width: auto;
        grid-template-columns: 1fr;
      }

      .hero-stat {
        min-height: 88px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
      }

      .hero-stat:last-child {
        border-bottom: 0;
      }

      .article-hero .hero-frame {
        min-height: 940px;
      }

      .section-title {
        text-align: center;
      }

      .section-title::before,
      .section-title::after {
        display: none;
      }

      .band-grid,
      .news-head,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .news-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 680px) {
      .container {
        width: min(100% - 26px, 1120px);
      }

      .brand-mark {
        width: 46px;
        height: 46px;
        border-radius: 10px;
      }

      .brand-text strong {
        font-size: 24px;
      }

      .hero-frame {
        min-height: 880px;
      }

      .intro-copy,
      .guide-link {
        text-align: left;
        font-size: 16px;
      }

      .table-panel {
        overflow-x: auto;
      }

      table {
        min-width: 620px;
      }

      .story-panel,
      .list-panel {
        padding: 24px;
      }

      .topic-item {
        grid-template-columns: 1fr;
        gap: 8px;
      }
    }

.article-page {
  padding: 62px 0 78px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), transparent);
}

.article-layout-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.article-shell,
.article-side {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.article-shell {
  padding: 42px;
}

.article-shell h2,
.article-shell h1 {
  margin: 0;
  color: #fff8de;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
}

.article-meta {
  margin: 16px 0 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.article-body {
  color: #f3eaff;
  font-size: 17px;
  line-height: 1.85;
  font-weight: 600;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 20px;
}

.article-body h2,
.article-body h3 {
  margin: 34px 0 14px;
  color: var(--gold);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 950;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.article-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffd65c 0%, #ff9b22 100%);
  color: #19001f;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.article-side {
  padding: 26px;
  position: sticky;
  top: 96px;
}

.article-side h3 {
  margin: 0 0 18px;
  color: #fff8de;
  font-size: 24px;
  font-weight: 950;
}

.side-list {
  display: grid;
  gap: 12px;
}

.side-item {
  display: block;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
}

.side-item strong {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.side-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

@media (max-width: 980px) {
  .article-layout-page {
    grid-template-columns: 1fr;
  }

  .article-side {
    position: static;
  }
}

@media (max-width: 680px) {
  .article-shell,
  .article-side {
    padding: 24px;
  }

  .article-actions a {
    width: 100%;
  }
}
