:root {
  --surface: #ffffff;
  --ink: #17181a;
  --line: #dfe1e4;
  --line-strong: #cdd0d4;
  --footer: #101112;
  --footer-line: #2b2d31;
  --footer-muted: #9a9da4;
  --accent: #f04423;
  --accent-2: #ff861f;
  --accent-soft: #fff1e9;
  --shadow: 0 14px 42px rgba(25, 27, 30, 0.08);
  --radius: 14px;
  --content: 820px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: linear-gradient(180deg, #f7f7f5 0%, #f3f3f1 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 23, 26, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 36px), 1560px);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
}

.brand img {
  width: 154px;
}

.btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(240, 68, 35, 0.2);
  font-weight: 850;
}

.hero {
  position: relative;
  height: clamp(500px, 33.4101vw, 725px);
  min-height: 500px;
  overflow: hidden;
  isolation: isolate;
  background: #222427;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: -28px;
  z-index: 0;
  background: url("../images/hero.webp") right center / cover no-repeat;
  filter: blur(22px) brightness(0.82) saturate(0.92);
  transform: scale(1.035);
}

.hero::after {
  inset: 0;
  z-index: 1;
  background-image: url("../images/hero.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(25, 26, 29, 0.97) 0%,
    rgba(25, 26, 29, 0.9) 34%,
    rgba(25, 26, 29, 0.47) 57%,
    rgba(25, 26, 29, 0.08) 100%
  );
}

.hero-overlay::after {
  position: absolute;
  right: -24px;
  bottom: -38px;
  left: -24px;
  height: 108px;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(247, 247, 245, 0) 0%,
    rgba(247, 247, 245, 0.42) 42%,
    rgba(247, 247, 245, 0.92) 74%,
    #f7f7f5 100%
  );
  filter: blur(12px);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 36px), 1560px);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(650px, 52%);
  padding: 54px 0;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 3.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero p {
  max-width: 620px;
  margin: 17px 0 0;
  color: #e3e3e4;
  font-size: 14px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 19px 0;
}

.hero-badges span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 12px;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  outline: none;
}

.layout-shell {
  width: min(calc(100% - 36px), 1560px);
  margin: 34px auto 70px;
  display: grid;
  grid-template-columns: 220px minmax(0, var(--content)) 260px;
  justify-content: center;
  gap: 26px;
  align-items: start;
}

.toc,
.bonus-rail {
  position: sticky;
  top: 94px;
}

.toc-card,
.bonus-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.toc-card {
  padding: 13px;
}

.toc-title {
  margin: 2px 4px 9px;
  color: #75787e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 7px 9px;
  border-radius: 7px;
  color: #4d5056;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
}

.toc a:hover,
.toc a.is-active {
  background: var(--accent-soft);
  color: #c6381f;
}

.article {
  min-width: 0;
}

.content-section {
  margin: 0 0 16px;
  padding: 24px 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(25, 27, 30, 0.045);
}

.content-section h2 {
  margin: 0 0 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid #ececef;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.content-section h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 20px;
  margin-right: 10px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  vertical-align: -3px;
}

.content-section h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  line-height: 1.3;
}

.content-section p {
  margin: 10px 0;
  color: #404349;
}

.content-section ul,
.content-section ol {
  padding-left: 20px;
}

.content-section li {
  margin: 5px 0;
}

.content-section li::marker {
  color: var(--accent);
}

.section-media {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.section-media img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.promo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
  align-items: stretch;
}

.promo-copy {
  align-self: center;
}

.promo-copy p:first-child {
  margin-top: 0;
}

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

.promo-media {
  min-height: 240px;
  margin: 0;
}

.promo-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.table-wrap {
  width: 100%;
  margin: 16px 0;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #ffffff;
}

.content-section table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.content-section th,
.content-section td {
  padding: 11px 12px;
  border-right: 1px solid #ececef;
  border-bottom: 1px solid #e7e8ea;
  text-align: left;
  vertical-align: top;
}

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

.content-section th:last-child,
.content-section td:last-child {
  border-right: 0;
}

.content-section tr:first-child td,
.content-section th {
  background: #f2f3f4;
  color: #242629;
  font-weight: 850;
}

.content-section table p {
  margin: 0;
  color: inherit;
}

.content-section tbody tr:hover {
  background: #fff9f5;
}

.bonus-card {
  padding: 20px;
  border-top: 4px solid var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #fff7f2 100%);
}

.bonus-kicker {
  display: block;
  margin-bottom: 9px;
  color: #c93d22;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.bonus-card > strong {
  display: block;
  font-size: 27px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.bonus-spins {
  display: block;
  margin-top: 5px;
  color: #e15331;
  font-size: 16px;
  font-weight: 850;
}

.bonus-list {
  display: grid;
  gap: 6px;
  margin: 15px 0;
  color: #55585d;
  font-size: 12px;
}

.bonus-card .btn {
  width: 100%;
}

.bonus-card small {
  display: block;
  margin-top: 10px;
  color: #7b7d81;
  font-size: 10px;
  text-align: center;
}

.mobile-bonus-bar {
  display: none;
}

.faq-item {
  margin: 9px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}

.faq-item summary {
  position: relative;
  padding: 13px 42px 13px 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 10px;
  right: 14px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 14px 12px;
}

.faq-answer p {
  margin: 0;
}

.site-footer {
  background: var(--footer);
  color: #dadbdd;
}

.footer-inner {
  width: min(calc(100% - 36px), 1560px);
  margin: 0 auto;
  padding: 38px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(150px, 0.8fr));
  gap: 42px;
  align-items: start;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: 148px;
}

.footer-about p {
  max-width: 430px;
  margin: 14px 0 16px;
  color: var(--footer-muted);
  font-size: 11px;
  line-height: 1.7;
}

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

.footer-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid #3a3d42;
  border-radius: 8px;
  background: #17181a;
  color: #c8c9cd;
  font-size: 10px;
  font-weight: 750;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-heading {
  margin: 0 0 5px;
  color: #ff6b38;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  width: fit-content;
  color: #a7a9af;
  font-size: 11px;
  line-height: 1.55;
}

.footer-column a {
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #ffffff;
  transform: translateX(2px);
  outline: none;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--footer-line);
}

.footer-payments .footer-heading {
  min-width: 145px;
  margin: 0;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.payment-logo {
  display: block;
  width: auto;
  max-width: 110px;
  height: 28px;
  object-fit: contain;
}

.payment-logo--mastercard,
.payment-logo--bitcoin {
  height: 30px;
}

.payment-logo--visa {
  height: 22px;
}

.payment-logo--neteller {
  height: 18px;
}

.footer-notice {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 2px 0 24px;
  padding: 15px 18px;
  border: 1px solid rgba(240, 68, 35, 0.62);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240, 68, 35, 0.06), rgba(255, 134, 31, 0.025));
  color: #999ca2;
  font-size: 10.5px;
  line-height: 1.6;
}

.footer-notice strong {
  flex: 0 0 auto;
  color: #ff7a43;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--footer-line);
}

.footer-bottom p {
  margin: 0;
  color: #74777d;
  font-size: 9.5px;
}

.responsible {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.responsible img {
  width: auto;
  max-width: 92px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.28);
  opacity: 0.84;
}

.responsible img:first-child {
  max-width: 30px;
  filter: none;
}

@media (min-width: 1700px) {
  .layout-shell {
    grid-template-columns: 240px minmax(0, 900px) 280px;
    gap: 34px;
  }

  .hero-inner,
  .header-inner,
  .footer-inner {
    width: min(calc(100% - 64px), 1720px);
  }
}

@media (min-width: 2171px) {
  .hero::after {
    background-position: right top;
    background-size: auto 100%;
  }
}

@media (max-width: 1180px) {
  .layout-shell {
    grid-template-columns: minmax(0, 820px) 250px;
  }

  .toc {
    display: none;
  }

  .hero-copy {
    width: min(680px, 60%);
  }

  .footer-grid {
    grid-template-columns: 1.25fr repeat(3, 0.75fr);
    gap: 28px;
  }
}

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

  .header-inner {
    min-height: 62px;
  }

  .brand img {
    width: 137px;
  }

  .hero {
    height: clamp(690px, 168vw, 900px);
    min-height: 690px;
  }

  .hero::before {
    background-image: url("../images/hero-mobile.webp");
    background-position: center top;
  }

  .hero::after {
    background-image: url("../images/hero-mobile.webp");
    background-position: center top;
    background-size: 100% auto;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(31, 32, 35, 0.03) 0%,
      rgba(31, 32, 35, 0.08) 42%,
      rgba(31, 32, 35, 0.78) 62%,
      rgba(31, 32, 35, 0.96) 82%,
      rgba(31, 32, 35, 0.98) 100%
    );
  }

  .hero-inner {
    height: 100%;
    min-height: 0;
    align-items: flex-end;
  }

  .hero-copy {
    width: 100%;
    padding: 0 0 34px;
  }

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

  .layout-shell {
    display: block;
    width: min(calc(100% - 24px), 820px);
    margin-top: 20px;
  }

  .bonus-rail {
    display: none;
  }

  .mobile-bonus-bar {
    position: sticky;
    top: 62px;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    border-bottom: 1px solid #e3d1c7;
    background: rgba(255, 247, 242, 0.96);
    backdrop-filter: blur(12px);
  }

  .mobile-bonus-bar div {
    display: grid;
  }

  .mobile-bonus-bar strong {
    font-size: 11px;
  }

  .mobile-bonus-bar span {
    color: #71747a;
    font-size: 10px;
  }

  .mobile-bonus-bar a {
    padding: 7px 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #ffffff;
    font-size: 10px;
    font-weight: 850;
  }

  .content-section {
    padding: 20px;
  }

  .promo-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-payments {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .responsible {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .promo-layout {
    grid-template-columns: 1fr;
  }

  .promo-media {
    min-height: 0;
    aspect-ratio: 16 / 8.5;
  }

  .promo-media img {
    object-position: center 40%;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .hero-inner {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 13px;
  }

  .hero-badges {
    gap: 5px;
  }

  .hero-badges span {
    font-size: 10.5px;
  }

  .content-section {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .content-section h2 {
    font-size: 21px;
  }

  .content-section h3 {
    font-size: 16px;
  }

  .content-section table {
    min-width: 520px;
  }

  .footer-inner {
    width: calc(100% - 28px);
    padding-top: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-about {
    grid-column: auto;
  }

  .payment-list {
    gap: 12px 16px;
  }

  .footer-notice {
    display: block;
  }

  .footer-notice strong {
    display: block;
    margin-bottom: 4px;
  }

  .responsible {
    gap: 9px;
  }

  .responsible img {
    max-width: 78px;
    height: 25px;
  }
}

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

  .btn,
  .footer-column a {
    transition: none;
  }
}
