:root {
  color-scheme: dark;
  --bg: #07120f;
  --bg-soft: #0c1b17;
  --surface: #10231f;
  --surface-2: #142c26;
  --text: #edf7f2;
  --muted: #a6bbb2;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f3c969;
  --green: #28e0a2;
  --teal: #4bd4d4;
  --red: #ff7b7b;
  --ink: #07120f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 224, 162, 0.14), transparent 34rem),
    radial-gradient(circle at 92% 18rem, rgba(243, 201, 105, 0.08), transparent 30rem),
    linear-gradient(180deg, #07120f 0%, #081713 34rem, #06100d 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

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

p {
  margin: 0 0 1rem;
}

strong {
  font-weight: 800;
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--green);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 18, 15, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark,
.casino-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #06100d;
  font-weight: 900;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 10px 30px rgba(0, 0, 0, 0.22);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--gold));
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-mark {
  background: #07120f;
  padding: 3px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-menu {
  display: none;
  position: absolute;
  inset: 68px 16px auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a1714;
  box-shadow: var(--shadow);
}

.nav-menu.is-open {
  display: grid;
}

.nav-menu a {
  padding: 12px;
  color: var(--muted);
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span[aria-hidden="true"],
.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after {
  width: 18px;
  height: 2px;
  display: block;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle span[aria-hidden="true"]::before {
  transform: translateY(-6px);
}

.nav-toggle span[aria-hidden="true"]::after {
  transform: translateY(4px);
}

.nav-cta {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 34px;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 10vw, 5.85rem);
}

h2 {
  color: var(--text);
  font-size: clamp(1.9rem, 6vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  max-width: 720px;
  margin-top: 18px;
  color: #d6e4de;
  font-size: 1.08rem;
}

.byline {
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.author-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(40, 224, 162, 0.42);
  background: #07120f;
}

.author-avatar.large {
  width: 84px;
  height: 84px;
}

.author-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(40, 224, 162, 0.5);
  text-underline-offset: 3px;
}

.author-link:hover,
.author-link:focus-visible {
  color: var(--green);
}

.author-profile-card {
  align-items: center;
}

.byline p {
  margin: 0;
  color: #d6e4de;
  font-size: 0.9rem;
}

.byline p + p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:focus-visible,
.nav-toggle:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(40, 224, 162, 0.45);
  outline-offset: 3px;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(40, 224, 162, 0.18);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.casino-card,
.review,
.toc,
.info-grid > div,
.score-grid > div,
details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px;
  border: 1px solid rgba(40, 224, 162, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #06100d 0%, #0a1714 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
  color: var(--text);
}

.hero-panel .panel-topline,
.hero-panel .fine-print,
.hero-panel .winner-card p,
.hero-panel .metric-stack span {
  color: #a9bbb4;
}

.hero-panel .metric-stack div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
}

.hero-panel .metric-stack strong,
.hero-panel .winner-card h2 {
  color: #ffffff;
}

.panel-topline,
.review-header,
.casino-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.panel-topline {
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
}

.panel-topline strong {
  color: var(--gold);
}

.winner-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin: 18px 0;
}

.winner-card h2 {
  color: var(--text);
  font-size: 1.6rem;
}

.winner-card p {
  color: var(--muted);
}

.casino-logo {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  font-size: 1rem;
}

.logo-tile {
  width: 76px;
  height: 58px;
  padding: 8px;
  background: #07120f;
  border-color: rgba(255, 255, 255, 0.14);
}

.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tokyo {
  background: linear-gradient(135deg, #28e0a2, #f3c969);
}

.gold {
  background: linear-gradient(135deg, #f3c969, #ffffff);
}

.blue {
  background: linear-gradient(135deg, #4bd4d4, #95b8ff);
}

.purple {
  background: linear-gradient(135deg, #f18cff, #f3c969);
}

.green {
  background: linear-gradient(135deg, #b5ff7a, #28e0a2);
}

.metric-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.metric-stack div {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.metric-stack span,
.offer span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-stack strong {
  display: block;
  margin-top: 3px;
}

.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.trust-bar {
  color: var(--text);
}

.trust-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.trust-grid div {
  padding: 16px;
  background: #0b1a16;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 58px 0 24px;
  color: var(--text);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.comparison {
  display: grid;
  gap: 14px;
}

.casino-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #0d211c 0%, #091511 100%);
  color: var(--text);
  box-shadow: var(--shadow);
}

.casino-card.featured {
  border-color: rgba(40, 224, 162, 0.54);
}

.rank {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 34px;
  padding: 0 8px;
  border-radius: var(--radius);
  background: #07120f;
  color: #ffffff;
  font-weight: 900;
}

.casino-main p {
  margin: 3px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.rating {
  margin-top: 6px;
  color: #d7921a;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.offer {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.offer strong {
  display: block;
  margin-top: 4px;
}

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

.tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #d7e7e0;
  font-size: 0.82rem;
  font-weight: 800;
}

.content-layout {
  display: grid;
  gap: 24px;
  padding: 22px 0 72px;
  color: var(--text);
}

.toc {
  display: none;
}

.article {
  min-width: 0;
}

.article > section,
.review {
  scroll-margin-top: 92px;
}

.article > section {
  margin-bottom: 44px;
}

.article p,
.article li {
  color: #bfd0c9;
  font-size: 1.01rem;
}

.review {
  margin-bottom: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #0d211c 0%, #091511 100%);
  color: var(--text);
  box-shadow: var(--shadow);
}

.review-header {
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.review-media {
  flex: 1 0 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #07120f;
  aspect-ratio: 16 / 9;
}

.review-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-title {
  flex: 1 1 180px;
}

.review-header .button {
  width: 100%;
}

.verdict {
  padding: 14px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: rgba(40, 224, 162, 0.1);
  color: #dff6ee;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #0b1a16;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
  color: #c9d8d2;
}

th {
  background: #07120f;
  color: #ffffff;
  font-size: 0.82rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.info-grid,
.score-grid {
  display: grid;
  gap: 14px;
}

.info-grid > div,
.score-grid > div,
details {
  padding: 16px;
  background: linear-gradient(180deg, #0d211c 0%, #091511 100%);
  color: var(--text);
  box-shadow: var(--shadow);
}

.info-grid h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.score-grid strong {
  display: block;
  color: #118f68;
  font-size: 2rem;
}

.score-grid span {
  color: var(--muted);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #0b1a16;
}

.check-list li::before {
  position: absolute;
  left: 14px;
  top: 14px;
  content: "!";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffe8e8;
  color: #a32626;
  font-size: 0.75rem;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

details p {
  margin-top: 12px;
}

.mobile-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 18, 15, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-sticky span {
  font-size: 0.9rem;
}

.mobile-sticky .button {
  min-height: 40px;
  padding: 10px 14px;
}

.site-footer {
  padding: 44px 0 90px;
  background: #07120f;
  color: var(--text);
}

.footer-grid {
  display: grid;
  gap: 26px;
}

.footer-grid p {
  max-width: 560px;
  margin-top: 14px;
  color: var(--muted);
}

.footer-grid div:not(:first-child) {
  gap: 8px;
  align-content: start;
}

.footer-grid a,
.footer-grid span {
  color: var(--muted);
}

.footer-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.footer-badges img {
  display: block;
  width: auto;
  max-width: 150px;
  height: 34px;
  object-fit: contain;
  padding: 5px 8px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
}

.footer-badges img:first-child {
  height: 42px;
  padding: 2px;
}

@media (min-width: 700px) {
  .hero {
    padding: 72px 0 54px;
  }

  .hero-panel {
    padding: 22px;
  }

  .trust-grid,
  .comparison,
  .info-grid,
  .score-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-header .button {
    width: auto;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-menu a {
    padding: 10px 12px;
  }

  .nav-cta {
    display: inline-flex;
    padding: 10px 14px;
    border: 1px solid rgba(40, 224, 162, 0.38);
    border-radius: var(--radius);
    color: var(--green);
    font-weight: 900;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    align-items: center;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .casino-card {
    align-content: start;
  }

  .casino-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }

  .toc {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 7px;
    padding: 16px;
    background: #0b1a16;
    box-shadow: var(--shadow);
  }

  .toc strong {
    margin-bottom: 4px;
  }

  .toc a {
    padding: 8px 0;
    color: var(--muted);
    font-weight: 800;
  }

  .toc a:hover,
  .toc a:focus-visible {
    color: var(--text);
  }

  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .score-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .mobile-sticky {
    display: none;
  }

  .footer-badges {
    flex-wrap: nowrap;
    align-items: center;
  }

  .footer-badges img {
    max-width: 118px;
  }

  .site-footer {
    padding-bottom: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
