:root {
  --ink: #10231f;
  --ink-soft: #435651;
  --night: #071d1b;
  --night-2: #0d2d28;
  --paper: #f3f0e7;
  --paper-2: #e9e5d9;
  --white: #ffffff;
  --line: rgba(16, 35, 31, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #0e8c75;
  --accent-dark: #096655;
  --accent-soft: #d7eee8;
  --warm: #d77a31;
  --warm-soft: #f4dfcb;
  --danger: #b63a30;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 50px rgba(7, 29, 27, 0.12);
  --shell: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f2b977;
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--white);
  color: var(--night);
  border-radius: 10px;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.risk-strip {
  background: var(--night);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.risk-strip__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.risk-strip strong {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 26px;
  padding-inline: 8px;
  color: var(--night);
  background: #f0bd76;
  border-radius: 999px;
  font-size: 0.8rem;
}

.risk-strip a {
  margin-left: auto;
  font-weight: 700;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 231, 0.96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header__row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  line-height: 1;
  flex: 0 0 auto;
}

.brand__mark {
  color: var(--accent);
  font-weight: 900;
  font-size: 1.62rem;
  letter-spacing: -0.08em;
}

.brand__word {
  color: var(--night);
  font-weight: 850;
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}

.brand small {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--accent-dark);
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--night);
  border-radius: 999px;
  color: var(--white);
  background: var(--night);
  font-weight: 800;
  text-decoration: none;
}

.mobile-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.mobile-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(280px, calc(100vw - 32px));
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
}

.mobile-menu nav a:hover {
  background: var(--paper);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 58px;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 10%, rgba(14, 140, 117, 0.34), transparent 28%),
    radial-gradient(circle at 94% 78%, rgba(215, 122, 49, 0.2), transparent 30%),
    linear-gradient(145deg, var(--night) 0%, #0a2622 55%, #102f29 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  right: -260px;
  top: -230px;
}

.hero::after {
  width: 280px;
  height: 280px;
  left: -160px;
  bottom: -160px;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  color: #87d8c7;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.6vw, 5rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.2vw, 3.25rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.14rem, 1.8vw, 1.38rem);
  letter-spacing: -0.025em;
}

p {
  margin-top: 0;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.button--primary {
  color: var(--white);
  background: var(--accent);
}

.button--primary:hover {
  background: #11a48a;
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.button--light {
  color: var(--night);
  background: var(--white);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__meta li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}

.hero__media {
  position: relative;
  margin: 0;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 20px -18px -18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
}

.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero__media figcaption {
  position: relative;
  z-index: 2;
  width: calc(100% - 40px);
  margin: -20px auto 0;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(7, 29, 27, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  font-size: 0.78rem;
  text-align: center;
}

.quick-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: -28px;
}

.quick-card {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(7, 29, 27, 0.08);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 140, 117, 0.42);
}

.quick-card span {
  margin-bottom: auto;
  color: var(--warm);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.quick-card strong {
  font-size: 1.05rem;
}

.quick-card small {
  margin-top: 4px;
  color: var(--ink-soft);
}

.article {
  overflow: hidden;
}

.section {
  padding: clamp(72px, 9vw, 126px) 0;
}

.section--intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(36px, 7vw, 90px);
}

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

.section-heading p {
  color: var(--ink-soft);
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: end;
}

.intro-copy {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section--tinted {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.game-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin-top: 42px;
}

.game-card {
  min-height: 268px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.game-card--wide {
  grid-row: span 2;
  min-height: 552px;
  justify-content: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 29, 27, 0.06), rgba(7, 29, 27, 0.96)),
    url("../images/kazino-hero.webp") center / cover no-repeat;
  border-color: transparent;
}

.game-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 14px;
  color: var(--white);
  background: var(--accent);
  font-weight: 900;
}

.game-card--wide .game-card__icon {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-card p {
  color: var(--ink-soft);
}

.game-card--wide p,
.game-card--wide li {
  color: rgba(255, 255, 255, 0.78);
}

.game-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.game-card a {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 850;
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

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

caption {
  padding: 18px 20px;
  color: var(--ink-soft);
  font-weight: 750;
  text-align: left;
}

th,
td {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--ink-soft);
  background: #faf9f5;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody th {
  color: var(--accent-dark);
}

.steps {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.feature-band {
  padding: 0 0 clamp(72px, 9vw, 120px);
}

.feature-band__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 520px;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
  border-radius: var(--radius-lg);
}

.feature-band__visual {
  min-height: 380px;
}

.feature-band__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band__copy {
  padding: clamp(38px, 6vw, 72px);
  align-self: center;
}

.feature-band__copy p:not(.kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.feature-list span {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px 10px 42px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.feature-list span::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: #84d9c7;
  font-weight: 900;
}

.finance-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 92px);
}

.finance-cards {
  display: grid;
  gap: 16px;
}

.finance-cards section {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.finance-cards section:first-child {
  border-left: 5px solid var(--accent);
}

.finance-cards section:last-child {
  border-left: 5px solid var(--warm);
}

.finance-cards ul,
.bonus-check ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.finance-cards li,
.bonus-check li {
  margin: 7px 0;
}

.section--dark {
  color: var(--white);
  background: var(--night-2);
}

.bonus-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.bonus-layout > div:first-child p:not(.kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.kicker--light {
  color: #87d8c7;
}

.bonus-check {
  padding: clamp(28px, 4vw, 42px);
  color: var(--ink);
  background: var(--warm-soft);
  border-radius: var(--radius-lg);
}

.bonus-check .button {
  margin-top: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.legal-card,
.affiliate-card {
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-lg);
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.affiliate-card {
  color: var(--white);
  background: var(--accent-dark);
}

.affiliate-card > span {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.affiliate-card p {
  color: rgba(255, 255, 255, 0.78);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.source-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.section--responsible {
  background: var(--warm-soft);
  border-block: 1px solid rgba(183, 98, 34, 0.18);
}

.responsible-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.limit-plan {
  padding: clamp(26px, 5vw, 44px);
  background: var(--white);
  border: 1px solid rgba(183, 98, 34, 0.2);
  border-radius: var(--radius-lg);
}

.limit-plan ol {
  margin: 18px 0 0;
  padding-left: 22px;
}

.limit-plan li {
  margin: 12px 0;
  padding-left: 5px;
}

.faq-list {
  max-width: 900px;
  margin-top: 36px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 44px 15px 0;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 1.25rem;
}

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

.faq details p {
  max-width: 760px;
  padding: 0 44px 24px 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: 64px 0 22px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--night);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: clamp(34px, 6vw, 74px);
}

.brand--footer .brand__word {
  color: var(--white);
}

.brand--footer small {
  color: rgba(255, 255, 255, 0.56);
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 520px;
}

.site-footer__grid > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__grid a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__bottom {
  min-height: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero__grid,
  .section--intro,
  .finance-grid,
  .bonus-layout,
  .responsible-grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    max-width: 820px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-card--wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 480px;
  }

  .feature-band__grid {
    grid-template-columns: 1fr;
  }

  .feature-band__visual {
    max-height: 420px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 78px;
  }

  .shell {
    width: min(var(--shell), calc(100% - 22px));
  }

  .risk-strip__inner {
    min-height: 52px;
    gap: 9px;
  }

  .risk-strip span {
    line-height: 1.25;
  }

  .risk-strip a {
    display: none;
  }

  .site-header__row {
    min-height: 68px;
  }

  .brand__mark {
    font-size: 1.42rem;
  }

  .brand__word {
    font-size: 1.2rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .hero {
    padding-top: 48px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__meta li {
    border-radius: 12px;
  }

  .hero__media::before {
    display: none;
  }

  .hero__media img {
    min-height: 255px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .hero__media figcaption {
    width: calc(100% - 20px);
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: -16px;
  }

  .quick-card {
    min-height: 130px;
    padding: 16px;
  }

  .quick-card small {
    font-size: 0.74rem;
  }

  .section {
    padding: 72px 0;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-card--wide {
    min-height: 430px;
  }

  .steps li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .steps li > span {
    width: 44px;
    height: 44px;
  }

  .feature-band {
    padding-bottom: 72px;
  }

  .feature-band__grid {
    border-radius: var(--radius-md);
  }

  .feature-band__visual {
    min-height: 250px;
  }

  .feature-band__copy {
    padding: 30px 22px;
  }

  .legal-card,
  .affiliate-card,
  .bonus-check,
  .limit-plan {
    border-radius: var(--radius-md);
  }

  .source-links {
    flex-direction: column;
  }

  .source-links a {
    justify-content: center;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid > div:first-child {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
