:root {
  --bg: #070817;
  --bg2: #101335;
  --panel: rgba(255, 255, 255, .06);
  --panel2: rgba(255, 255, 255, .1);
  --text: #f6f7ff;
  --muted: #b8bdd8;
  --line: rgba(255, 255, 255, .14);
  --gold: #ffd36a;
  --orange: #ff8d4d;
  --pink: #ff4fa3;
  --cyan: #6ee7ff;
  --green: #61f2a7;
  --shadow: 0 24px 80px rgba(0, 0, 0, .36);
  --radius: 24px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 2%, rgba(255, 79, 163, .28), transparent 30rem),
    radial-gradient(circle at 14% 10%, rgba(110, 231, 255, .18), transparent 28rem),
    linear-gradient(180deg, #111542 0%, var(--bg) 34rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.narrow {
  max-width: 850px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: -999px;
  z-index: 1000;
  padding: 10px 14px;
  color: #000;
  background: #fff;
  border-radius: 12px;
}

.skip-link:focus {
  left: 8px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 23, .84);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 211, 106, .55);
  border-radius: 16px;
  color: #17090d;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 12px 34px rgba(255, 141, 77, .24);
}

.brand__text {
  font-size: 20px;
  letter-spacing: -.3px;
}

.brand__text span {
  color: var(--gold);
}

.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu a {
  padding: 9px 11px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
}

.menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #fff;
  border-radius: 9px;
}

.hero {
  padding: 58px 0 70px;
}

.hero__grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 32px;
}

.split--reverse {
  grid-template-columns: .85fr 1.15fr;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(36px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -2.4px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.3px;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 760px;
  color: #edf0ff;
  font-size: clamp(17px, 2.2vw, 22px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.btn--main {
  color: #190b12;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 16px 42px rgba(255, 141, 77, .25);
}

.btn--soft {
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .08);
}

.trust-row,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span,
.tags span {
  padding: 7px 10px;
  color: #f9f9ff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.hero-card,
.bonus-panel,
.article,
.final__box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  box-shadow: var(--shadow);
}

.hero-card b,
.bonus-panel b {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
}

.hero-card ul,
.bonus-panel ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #eef0ff;
}

.section {
  padding: 70px 0;
}

.section-head {
  max-width: 900px;
  margin-bottom: 26px;
}

.rating-list {
  display: grid;
  gap: 14px;
}

.casino-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 190px 96px 128px;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .18);
}

.casino-card--top {
  border-color: rgba(255, 211, 106, .46);
  background:
    radial-gradient(circle at 0 0, rgba(255, 211, 106, .18), transparent 24rem),
    rgba(255, 255, 255, .08);
}

.place {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #17090d;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  font-size: 22px;
  font-weight: 900;
}

.casino-main p {
  margin-bottom: 12px;
}

.casino-bonus {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(0, 0, 0, .18);
}

.casino-bonus span,
.casino-score span,
.casino-bonus small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.casino-bonus b {
  display: block;
  margin: 2px 0;
  color: #fff;
}

.casino-score {
  text-align: center;
}

.casino-score strong {
  display: block;
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}

.dark {
  background: rgba(0, 0, 0, .2);
  border-block: 1px solid rgba(255, 255, 255, .08);
}

.light {
  background: rgba(255, 255, 255, .035);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.criteria-grid article {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .07);
}

.criteria-grid b,
.criteria-grid span {
  display: block;
}

.criteria-grid b {
  margin-bottom: 8px;
  color: #fff;
  font-size: 19px;
}

.criteria-grid span {
  color: var(--muted);
}

.top30-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, .055);
  box-shadow: var(--shadow);
}

.table-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr 1fr 110px;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  color: #fff;
  background: rgba(255, 255, 255, .09);
  font-weight: 900;
}

.table-row span {
  color: var(--muted);
}

.table-row a {
  display: inline-flex;
  justify-content: center;
  padding: 8px 10px;
  color: #17090d;
  background: var(--gold);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.article {
  max-width: 980px;
}

.article p {
  font-size: 18px;
}

.faq details {
  margin: 10px 0;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
}

.faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 900;
}

.faq details p {
  margin: 10px 0 0;
}

.final__box {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 211, 106, .23), transparent 26rem),
    linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045));
}

.final__box p {
  max-width: 700px;
  margin-inline: auto;
}

.footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #050611;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr 1fr;
  gap: 28px;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  display: block;
  margin-top: 7px;
  text-decoration: none;
}

.brand--footer {
  margin-bottom: 12px;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 14, 38, .92);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .2s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .casino-card {
    grid-template-columns: 54px minmax(0, 1fr) 136px;
  }

  .casino-score {
    grid-column: 1 / 2;
  }

  .casino-card .btn {
    grid-column: 2 / -1;
    width: 100%;
  }

  .table-row {
    grid-template-columns: 58px 1fr 1fr 90px;
  }

  .table-row span:nth-child(3),
  .table-head span:nth-child(3) {
    display: none;
  }
}

@media (max-width: 820px) {
  .topbar__inner {
    min-height: 64px;
  }

  .menu-btn {
    display: block;
  }

  .menu {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 8, 23, .97);
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
  }

  .hero__grid,
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 48px 0;
  }

  h1 {
    letter-spacing: -1.4px;
  }

  h2 {
    letter-spacing: -.8px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 24px));
  }

  h1 {
    font-size: 34px;
  }

  .hero-card,
  .bonus-panel,
  .article,
  .final__box {
    padding: 20px;
    border-radius: 24px;
  }

  .casino-card {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    padding: 14px;
  }

  .place {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 18px;
  }

  .casino-bonus,
  .casino-score,
  .casino-card .btn {
    grid-column: 1 / -1;
  }

  .casino-score {
    text-align: left;
  }

  .table-row {
    grid-template-columns: 44px 1fr 90px;
    padding: 13px 12px;
    font-size: 14px;
  }

  .table-row span:nth-child(4),
  .table-head span:nth-child(4) {
    display: none;
  }

  .table-row a {
    padding-inline: 8px;
  }

  .brand__text {
    font-size: 18px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
