:root {
  --au88-black: #0c0c0f;
  --au88-black-soft: #17181d;
  --au88-red: #e5252b;
  --au88-red-dark: #94080f;
  --au88-blue: #2f5f9f;
  --au88-gold: #f4c532;
  --au88-text: #131924;
  --au88-muted: #687386;
  --au88-line: #e8edf3;
  --au88-page: #f6f7f9;
  --au88-white: #fff;
  --au88-shadow: 0 16px 44px rgba(19, 25, 36, 0.09);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body.au88-body {
  margin: 0;
  min-width: 320px;
  color: var(--au88-text);
  background: var(--au88-page);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.au88-body a {
  color: inherit;
  text-decoration: none;
}

body.au88-body img {
  max-width: 100%;
  display: block;
}

.au88-page {
  min-height: 100vh;
  overflow: hidden;
}

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

.au88-top {
  background: var(--au88-black);
  color: var(--au88-white);
}

.au88-top .au88-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.au88-brand,
.au88-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.au88-brand strong,
.au88-footer-logo {
  font-size: 38px;
  color: var(--au88-gold);
  text-shadow: 0 3px 14px rgba(244, 197, 50, 0.18);
}

.au88-brand strong span:first-child,
.au88-footer-logo span:first-child {
  color: var(--au88-red);
}

.au88-brand small {
  display: none;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.au88-auth {
  display: flex;
  gap: 12px;
  align-items: center;
}

.au88-btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.au88-btn:hover {
  transform: translateY(-1px);
}

.au88-btn-red,
.au88-auth .au88-btn:first-child {
  background: var(--au88-red);
  color: var(--au88-white);
  box-shadow: 0 10px 22px rgba(229, 37, 43, 0.28);
}

.au88-auth .au88-btn:last-child {
  background: var(--au88-blue);
  color: var(--au88-white);
  box-shadow: 0 10px 22px rgba(47, 95, 159, 0.24);
}

.au88-btn-line {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--au88-white);
  background: rgba(0, 0, 0, 0.18);
}

.au88-btn-soft {
  color: var(--au88-red);
  background: #fff0f0;
}

.au88-nav {
  background: linear-gradient(180deg, #ee3035, #d9151b);
  color: var(--au88-white);
  box-shadow: 0 4px 18px rgba(130, 0, 8, 0.22);
}

.au88-nav-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  min-height: 50px;
  overflow-x: auto;
  scrollbar-width: none;
}

.au88-nav-scroll::-webkit-scrollbar {
  display: none;
}

.au88-nav a {
  position: relative;
  flex: 0 0 auto;
  color: var(--au88-white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.au88-nav a::after {
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--au88-white);
  content: "";
  opacity: 0;
}

.au88-nav a.is-active::after,
.au88-nav a:hover::after {
  opacity: 1;
}

.au88-hero {
  color: var(--au88-white);
  background:
    radial-gradient(circle at 68% 54%, rgba(229, 37, 43, 0.55), transparent 34%),
    radial-gradient(circle at 10% 75%, rgba(229, 37, 43, 0.25), transparent 30%),
    linear-gradient(100deg, #09090c 0%, #240006 38%, #8e060f 71%, #0e0e12 100%);
}

.au88-hero-grid {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 42px;
}

.au88-hero-copy {
  padding: 36px 0;
}

.au88-hero h1 {
  max-width: 565px;
  margin: 0;
  color: var(--au88-white);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

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

.au88-hero p {
  max-width: 515px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 700;
}

.au88-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.au88-hero-media {
  position: relative;
  align-self: end;
  min-height: 285px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.au88-hero-media img {
  width: min(100%, 560px);
  margin-bottom: 0;
  border-radius: 0;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.34));
}

.au88-intro {
  background: var(--au88-white);
  padding: 26px 0 28px;
  text-align: center;
  border-bottom: 1px solid var(--au88-line);
}

.au88-intro h2,
.au88-section-title h2,
.au88-block-title {
  margin: 0;
  color: var(--au88-text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.au88-intro h2::after,
.au88-section-title h2::after,
.au88-block-title::after {
  display: block;
  width: 68px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--au88-red), var(--au88-gold));
  content: "";
}

.au88-intro p {
  max-width: 830px;
  margin: 14px auto 0;
  color: #5f6978;
  font-size: 16px;
}

.au88-section {
  padding: 28px 0;
  background: var(--au88-white);
}

.au88-section + .au88-section {
  padding-top: 0;
}

.au88-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: start;
}

.au88-news,
.au88-sidebar-card,
.au88-feature-card,
.au88-lobby-card,
.au88-step,
.au88-article-card,
.au88-related {
  border: 1px solid var(--au88-line);
  border-radius: 8px;
  background: var(--au88-white);
  box-shadow: 0 12px 34px rgba(20, 27, 38, 0.04);
}

.au88-news {
  padding: 16px;
}

.au88-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 10px;
}

.au88-section-title h2 {
  text-align: left;
  font-size: 27px;
}

.au88-section-title h2::after {
  margin-left: 0;
}

.au88-section-title p {
  max-width: 380px;
  margin: 0;
  color: var(--au88-muted);
  font-size: 15px;
}

.au88-news-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--au88-line);
}

.au88-news-row:first-of-type {
  border-top: 0;
}

.au88-thumb {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px;
  overflow: hidden;
  border-radius: 6px;
  color: var(--au88-white);
  background:
    radial-gradient(circle at 78% 24%, rgba(244, 197, 50, 0.55), transparent 22%),
    linear-gradient(135deg, #6c030a, #170b0f 64%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.au88-thumb span {
  max-width: 135px;
  color: var(--au88-white);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.au88-thumb.withdraw {
  background:
    radial-gradient(circle at 82% 28%, rgba(92, 164, 255, 0.52), transparent 22%),
    linear-gradient(135deg, #082b51, #07121e 68%);
}

.au88-thumb.app {
  background:
    radial-gradient(circle at 78% 36%, rgba(229, 37, 43, 0.58), transparent 24%),
    linear-gradient(135deg, #181111, #7f070d 86%);
}

.au88-thumb.sport {
  background:
    radial-gradient(circle at 78% 35%, rgba(33, 167, 88, 0.48), transparent 24%),
    linear-gradient(135deg, #08381b, #07120b 76%);
}

.au88-thumb.casino {
  background:
    radial-gradient(circle at 78% 34%, rgba(244, 197, 50, 0.42), transparent 24%),
    linear-gradient(135deg, #2b0802, #10080b 80%);
}

.au88-news-body {
  min-width: 0;
}

.au88-tag {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  border-radius: 4px;
  padding: 0 9px;
  color: var(--au88-white);
  background: var(--au88-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.au88-tag.blue {
  background: var(--au88-blue);
}

.au88-tag.green {
  background: #12a458;
}

.au88-tag.orange {
  background: #ff7a12;
}

.au88-news-body h3 {
  margin: 8px 0 6px;
  color: var(--au88-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.au88-news-body p {
  margin: 0;
  color: #647083;
  font-size: 15px;
  line-height: 1.55;
}

.au88-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 9px;
  color: #8490a3;
  font-size: 13px;
}

.au88-readmore {
  display: inline-flex;
  margin-top: 10px;
  color: var(--au88-red);
  font-size: 13px;
  font-weight: 900;
}

.au88-sidebar {
  display: grid;
  gap: 14px;
}

.au88-sidebar-card,
.au88-related {
  padding: 20px;
}

.au88-sidebar-card h2,
.au88-related h2 {
  margin: 0 0 16px;
  color: var(--au88-text);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.2;
}

.au88-category-list {
  display: grid;
  gap: 9px;
}

.au88-category-list a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--au88-text);
  font-size: 14px;
  font-weight: 900;
}

.au88-category-icon,
.au88-hot-index {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--au88-white);
  background: var(--au88-red);
  font-size: 12px;
  font-weight: 900;
}

.au88-count {
  min-width: 28px;
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--au88-red);
  background: #fff0f0;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.au88-hot-list {
  display: grid;
  gap: 12px;
}

.au88-hot-list a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--au88-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.au88-more {
  padding-top: 12px;
  text-align: center;
}

.au88-feature-grid,
.au88-lobby-grid,
.au88-step-grid,
.au88-faq-grid {
  display: grid;
  gap: 14px;
}

.au88-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.au88-feature-card {
  min-height: 178px;
  padding: 24px 18px;
  text-align: center;
}

.au88-feature-icon,
.au88-step-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 3px solid currentColor;
  color: var(--au88-red);
  font-size: 24px;
  font-weight: 900;
}

.au88-feature-card:nth-child(2) .au88-feature-icon {
  color: #2676cb;
}

.au88-feature-card:nth-child(3) .au88-feature-icon {
  color: #ff891b;
}

.au88-feature-card:nth-child(4) .au88-feature-icon {
  color: #1da968;
}

.au88-feature-card h3,
.au88-lobby-card h3,
.au88-step h3 {
  margin: 0;
  color: var(--au88-text);
  font-size: 17px;
  font-weight: 900;
}

.au88-feature-card p,
.au88-step p {
  margin: 8px 0 0;
  color: #667184;
  font-size: 14px;
  line-height: 1.5;
}

.au88-lobby-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.au88-lobby-card {
  overflow: hidden;
  text-align: center;
}

.au88-lobby-art {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--au88-white);
  background: linear-gradient(135deg, #0b3360, #06101f);
}

.au88-lobby-art b {
  font-size: 38px;
  line-height: 1;
}

.au88-lobby-card:nth-child(2) .au88-lobby-art {
  background: linear-gradient(135deg, #351007, #0f0708);
}

.au88-lobby-card:nth-child(3) .au88-lobby-art {
  background: linear-gradient(135deg, #54130b, #151009);
}

.au88-lobby-card:nth-child(4) .au88-lobby-art {
  background: linear-gradient(135deg, #8a0610, #1c080a);
}

.au88-lobby-card:nth-child(5) .au88-lobby-art {
  background: linear-gradient(135deg, #0a98c7, #05395b);
}

.au88-lobby-card:nth-child(6) .au88-lobby-art {
  background: linear-gradient(135deg, #dfeef9, #87c9ee);
  color: #0b2b4f;
}

.au88-lobby-card h3 {
  padding: 11px 6px 13px;
  text-transform: uppercase;
}

.au88-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.au88-step {
  position: relative;
  min-height: 160px;
  padding: 26px 18px 20px;
  text-align: center;
}

.au88-step-number {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  border-radius: 50%;
  color: var(--au88-white);
  background: var(--au88-red);
  font-size: 13px;
  font-weight: 900;
}

.au88-step-icon {
  color: #2c3848;
  border: 0;
  background: #f1f4f8;
}

.au88-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.au88-faq details {
  border: 1px solid var(--au88-line);
  border-radius: 7px;
  background: var(--au88-white);
}

.au88-faq summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  cursor: pointer;
  color: var(--au88-text);
  font-size: 15px;
  font-weight: 900;
}

.au88-faq summary::-webkit-details-marker {
  display: none;
}

.au88-faq summary::after {
  color: var(--au88-muted);
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.au88-faq details[open] summary::after {
  content: "-";
}

.au88-faq p {
  margin: 0;
  padding: 0 16px 16px;
  color: #657185;
  font-size: 14px;
}

.au88-footer {
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #111216, #0b0c0f);
  padding: 34px 0 18px;
}

.au88-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 38px;
}

.au88-footer-logo {
  font-size: 34px;
}

.au88-footer p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.au88-footer h3 {
  margin: 0 0 12px;
  color: var(--au88-white);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.au88-footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.au88-copyright {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.au88-copyright strong {
  color: var(--au88-gold);
}

.au88-article-hero {
  color: var(--au88-white);
  background: linear-gradient(120deg, #100d0f, #63040b 54%, #150e11);
  padding: 72px 0;
}

.au88-article-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--au88-white);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.12;
}

.au88-article-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 700;
}

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

.au88-article-card {
  padding: 34px 42px;
}

.au88-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
  color: #718095;
  font-size: 14px;
}

.au88-article-body h2 {
  margin: 30px 0 12px;
  color: var(--au88-text);
  font-size: 29px;
  font-weight: 900;
  line-height: 1.28;
}

.au88-article-body h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.au88-article-body p {
  margin: 0 0 16px;
  color: #263244;
}

.au88-article-body ul,
.au88-article-body ol {
  margin: 0 0 18px 22px;
  padding: 0;
}

.au88-article-body li {
  margin: 8px 0;
}

.au88-article-body table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.au88-article-body th,
.au88-article-body td {
  padding: 12px 14px;
  border: 1px solid var(--au88-line);
  text-align: left;
  vertical-align: top;
}

.au88-article-body th {
  width: 26%;
  background: #fff5f5;
  color: var(--au88-red);
}

.au88-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.au88-pagination li,
.au88-pagination a,
.au88-pagination span {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--au88-line);
  padding: 0 12px;
  color: var(--au88-text);
  background: var(--au88-white);
  font-size: 14px;
  font-weight: 800;
}

.au88-related {
  margin-top: 18px;
}

.au88-related:first-child {
  margin-top: 0;
}

.au88-related a,
.au88-related-line {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--au88-line);
  color: var(--au88-text);
  font-size: 15px;
  font-weight: 900;
}

.au88-related a:last-child,
.au88-related-line:last-child {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .au88-hero-grid,
  .au88-content-grid,
  .au88-article-layout {
    grid-template-columns: 1fr;
  }

  .au88-feature-grid,
  .au88-step-grid,
  .au88-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .au88-lobby-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .au88-hero-grid {
    gap: 10px;
  }

  .au88-hero-media {
    min-height: auto;
    align-self: center;
  }
}

@media (max-width: 720px) {
  .au88-wrap {
    width: min(100% - 28px, 1180px);
  }

  .au88-top .au88-wrap {
    min-height: 188px;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 22px 0;
  }

  .au88-brand strong {
    font-size: 38px;
  }

  .au88-auth {
    width: 100%;
    flex-direction: column;
  }

  .au88-auth .au88-btn {
    width: 100%;
    min-height: 58px;
    font-size: 18px;
  }

  .au88-nav-scroll {
    justify-content: flex-start;
    gap: 30px;
    min-height: 62px;
    padding: 0 14px;
  }

  .au88-nav a {
    font-size: 14px;
  }

  .au88-hero-grid {
    min-height: auto;
    padding: 38px 0 0;
  }

  .au88-hero-copy {
    padding: 0;
  }

  .au88-hero h1 {
    font-size: 40px;
  }

  .au88-hero p {
    font-size: 18px;
  }

  .au88-hero-actions .au88-btn {
    width: 100%;
    min-height: 55px;
    font-size: 17px;
  }

  .au88-hero-media {
    margin-top: 20px;
  }

  .au88-intro {
    padding: 34px 0;
  }

  .au88-intro h2,
  .au88-block-title {
    font-size: 34px;
  }

  .au88-news {
    padding: 14px;
  }

  .au88-section-title {
    display: block;
  }

  .au88-section-title h2 {
    font-size: 28px;
  }

  .au88-section-title p {
    margin-top: 10px;
  }

  .au88-news-row {
    grid-template-columns: 1fr;
  }

  .au88-thumb {
    min-height: 150px;
  }

  .au88-feature-grid,
  .au88-step-grid,
  .au88-faq-grid,
  .au88-footer-grid {
    grid-template-columns: 1fr;
  }

  .au88-lobby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .au88-article-card {
    padding: 24px 18px;
  }

  .au88-article-hero {
    padding: 46px 0;
  }

  .au88-article-hero h1 {
    font-size: 34px;
  }

  .au88-article-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .au88-copyright {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .au88-hero h1 {
    font-size: 34px;
  }

  .au88-lobby-grid {
    grid-template-columns: 1fr;
  }
}

/* AU88 responsive article overflow fix */
@media (max-width: 760px) {
  .au88-page {
    overflow-x: hidden;
  }

  .au88-wrap,
  .au88-wrap.au88-article-layout {
    width: calc(100% - 28px);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .au88-article-layout,
  .au88-content-grid,
  .au88-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .au88-article-card,
  .au88-sidebar,
  .au88-sidebar-card,
  .au88-related {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .au88-article-body,
  .au88-article-body p,
  .au88-article-body li,
  .au88-article-body td {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 420px) {
  .au88-wrap,
  .au88-wrap.au88-article-layout {
    width: calc(100% - 24px);
  }

  .au88-article-card {
    padding: 22px 16px;
  }
}
