/* Dark theme tokens */
:root {
  --bg: #070d18;
  --bg-elev: #0c1526;
  --card: #121c31;
  --card-2: #18243b;
  --line: #2a3b5c;
  --text: #eef3fb;
  --muted: #a9b7d0;
  --blue: #2f80ff;
  --blue-2: #69a7ff;
  --red: #e10600;
  --red-2: #ff2a22;
  --focus: #8cbcff;
  --radius: 16px;
  --header: 74px;
  --font: "Manrope", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(47, 128, 255, 0.18), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { border: 0; height: auto; }

a { color: var(--blue-2); }

a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip:focus { top: 8px; }

.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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 14, 26, 0.94);
  border-bottom: 2px solid var(--blue);
  backdrop-filter: blur(12px);
}

.bar {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img { height: 42px; width: auto; max-width: 148px; object-fit: contain; }

.brand-word {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
  color: #fff;
}

.brand-word .w1 { color: var(--red); }

.brand-word .w2 { color: #fff; margin-left: 6px; }

.site-nav { margin-left: auto; }

.site-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(47, 128, 255, 0.2);
  color: #fff;
}

.head-cta {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.28);
}

.btn:hover { background: var(--red-2); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--blue);
  box-shadow: none;
}

.btn-ghost:hover { background: rgba(47, 128, 255, 0.18); color: #fff; }

.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }

/* Breadcrumbs */
.crumbs {
  width: min(1440px, calc(100% - 32px));
  margin: 14px auto 0;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--blue); }

.crumbs a { color: var(--blue-2); text-decoration: none; font-weight: 700; }

.crumbs [aria-current="page"] { color: #fff; }

/* Hero banner */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  margin: 16px auto 0;
  width: min(1440px, calc(100% - 32px));
  padding: 48px 20px;
  border-radius: 22px;
  overflow: hidden;
  background-color: #0a1b45;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 28, 0.28), rgba(5, 12, 28, 0.45));
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: 32px 28px;
  border-radius: 18px;
  background: rgba(7, 16, 36, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.hero-kicker {
  margin: 0 0 8px;
  color: var(--blue-2);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
}

/* Popular slots */
.slots {
  width: min(1440px, calc(100% - 32px));
  margin: 28px auto;
}

.slots h2,
.block h2,
.toc-title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.25;
}

.slots h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slots h2::before {
  content: "";
  width: 8px;
  height: 1.1em;
  border-radius: 99px;
  background: var(--blue);
}

.slots,
.slot-break,
.article,
.hero,
.toc,
.providers,
.crumbs {
  min-width: 0;
  max-width: 100%;
}

.slots-scroller,
.slot-break {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  gap: 14px;
  width: max-content;
}

.slots-grid a {
  display: block;
  line-height: 0;
  border-radius: 16px;
}

.slots-grid img,
.slot-break img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  border-radius: 16px;
}

/* Anchors */
.toc {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 22px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc ol { margin: 0; padding-left: 1.2rem; }

.toc a { text-decoration: none; font-weight: 650; }

/* Content blocks */
.article {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 40px;
}

.block {
  background: linear-gradient(180deg, rgba(24, 36, 59, 0.92), rgba(14, 22, 38, 0.92));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 8px;
  margin: 0 0 16px;
}

.block p,
.block li { color: #dbe4f5; }

.block h2 { color: #fff; }

.block h3 {
  margin: 1.2rem 0 0.4rem;
  color: var(--blue-2);
  font-size: 1.12rem;
}

.block ul,
.block ol { padding-left: 1.2rem; }

.block a { font-weight: 700; }

blockquote {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: rgba(225, 6, 0, 0.1);
  border-radius: 0 12px 12px 0;
}

/* FAQ block */
.faq {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(24, 36, 59, 0.92), rgba(14, 22, 38, 0.92));
}

.faq-list {
  display: block;
  margin: 4px 0 8px;
}

.faq-item {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 0 4px;
}

.faq-item h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.05rem;
}

.faq-a p:last-child { margin-bottom: 0; }

.block blockquote {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  background: rgba(225, 6, 0, 0.08);
  border-radius: 0 12px 12px 0;
}

.block blockquote p:last-child { margin-bottom: 0; }

/* Tables */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 12px 0 18px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #0d1728;
}

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

th {
  background: #16315f;
  color: #fff;
  font-weight: 800;
}

/* Conversion and ornaments */
.conv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin: 16px auto;
  padding: 18px;
  border-radius: 16px;
  background: rgba(47, 128, 255, 0.1);
  border: 1px dashed rgba(105, 167, 255, 0.55);
}

.conv p { margin: 0; font-weight: 700; }

.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px auto;
  color: var(--blue-2);
  font-size: 1.2rem;
}

.ornament span {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.text-visual {
  margin: 16px auto;
  text-align: center;
}

.text-visual img {
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
}

.providers {
  width: min(1440px, calc(100% - 32px));
  margin: 10px auto 28px;
}

.providers ul,
.pay-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.providers li,
.pay-logos li {
  background: #f4f7fb;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.providers img,
.pay-logos img {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

/* Footer */
.site-footer {
  margin-top: 20px;
  padding: 28px 0 36px;
  background: #060b14;
  border-top: 2px solid var(--blue);
}

.site-footer .inner {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.foot-label {
  text-align: center;
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 800;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  list-style: none;
  margin: 18px 0;
  padding: 0;
}

.foot-links a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.foot-links a:hover { color: var(--blue-2); }

.legal-note,
.copy {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 8px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

/* Mobile layout */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0c1526;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 14px;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul { flex-direction: column; }

  .head-cta .btn-ghost { display: none; }

  .hero { min-height: 420px; width: calc(100% - 20px); }

  .bar,
  .slots,
  .providers,
  .site-footer .inner,
  .crumbs { width: calc(100% - 20px); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .hero { min-height: 380px; padding: 24px 12px; }

  .hero-card { padding: 20px 14px; }

  .hero .btn,
  .conv .btn { width: 100%; }

  .block { padding: 16px 14px 6px; }

  .table-scroll { overflow: visible; }

  table { min-width: 0; }

  thead { display: none; }

  tr {
    display: block;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0e1728;
  }

  td {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
  }

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

  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--blue-2);
    font-size: 0.78rem;
    font-weight: 800;
  }

  .foot-links { flex-direction: column; align-items: center; }
}

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

/* Language menu */
.lang { position: relative; flex: 0 0 auto; }

.lang-btn {
  min-height: 46px;
  min-width: 54px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  min-width: 196px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #121c31;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.lang-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.lang-menu a:hover,
.lang-menu a[aria-current="true"] { background: rgba(255, 106, 0, 0.22); color: #fff; }

/* Fieryplay theme: black, red and orange */
.theme-fp {
  --bg: #0c0706;
  --bg-elev: #160c09;
  --card: #21110c;
  --card-2: #2a1610;
  --line: #5c301c;
  --text: #fff5ee;
  --muted: #e8c6b4;
  --blue: #ff6a00;
  --blue-2: #ffb020;
  --red: #e10600;
  --red-2: #ff5a1f;
  --focus: #ffb020;
  background:
    radial-gradient(1100px 480px at 82% -12%, rgba(255, 106, 0, 0.24), transparent 56%),
    var(--bg);
}

.theme-fp .site-header { background: rgba(12, 7, 6, 0.94); }

.theme-fp .hero { background-color: #1a0a06; }

.theme-fp .hero::before {
  background: linear-gradient(180deg, rgba(8, 3, 2, 0.22), rgba(8, 3, 2, 0.52));
}

.theme-fp .hero-card {
  background: rgba(12, 6, 4, 0.62);
  border-color: rgba(255, 122, 40, 0.4);
}

.theme-fp .btn {
  background: linear-gradient(180deg, #ff6a00, #e10600);
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.35);
}

.theme-fp .btn:hover { background: linear-gradient(180deg, #ff8a2a, #ff2a00); color: #fff; }

.theme-fp .btn-ghost { border-color: #ff6a00; }

.theme-fp .btn-ghost:hover { background: rgba(255, 106, 0, 0.18); }

.theme-fp table { background: #160c09; }

.theme-fp th { background: #6a240f; }

.theme-fp .block,
.theme-fp .faq {
  background: linear-gradient(180deg, rgba(42, 22, 16, 0.96), rgba(16, 8, 6, 0.96));
  border-color: #5c301c;
}

.theme-fp .block p,
.theme-fp .block li { color: #f3ddd2; }

.theme-fp .faq-item { border-top-color: rgba(255, 122, 40, 0.35); }

.theme-fp .conv {
  background: rgba(255, 106, 0, 0.1);
  border-color: rgba(255, 176, 32, 0.55);
}

.theme-fp .site-footer { background: #070403; }

.theme-fp .lang-menu,
.theme-fp .site-nav.is-open { background: #1a0d09; }

@media (max-width: 860px) {
  .bar { gap: 8px; }
  .lang-btn,
  .head-cta .btn { min-height: 42px; }
  .lang-menu { right: 0; left: auto; }
}
