:root {
  --bg: #080c11;
  --surface: #0e1622;
  --surface-2: #131c2a;
  --surface-3: #182433;
  --cyan: #00e5ff;
  --cyan-deep: #0091ea;
  --blue: #00b0ff;
  --gold: #ffb300;
  --amber: #ff9100;
  --purple: #7c4dff;
  --text: #cfd8dc;
  --text-dim: #90a4ae;
  --white: #f4f7fb;
  --ok: #22c55e;
  --danger: #ff5252;
  --border: rgba(0, 229, 255, 0.12);
  --border-strong: rgba(0, 229, 255, 0.4);
  --glass: rgba(14, 22, 34, 0.75);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 229, 255, 0.2);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 10px;
  --header-h: 72px;
  --sticky-h: 64px;
  --max: 1180px;
  --font: system-ui, -apple-system, Inter, Roboto, Montserrat, "Segoe UI", sans-serif;
  --display: Montserrat, system-ui, -apple-system, Inter, Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
.logo,
.btn,
.game-card__title,
.pulse__value {
  font-family: var(--display);
}

h1 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--white);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 {
    background: linear-gradient(180deg, #ffffff 20%, #9befff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--white);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 2000;
  background: var(--cyan);
  color: #041018;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(180deg, #00e5ff 0%, #0091ea 100%);
  color: #041018;
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: #041018;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(14, 22, 34, 0.55);
  border-color: var(--border-strong);
  color: var(--white);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.btn--gold {
  background: linear-gradient(180deg, #ffd54f 0%, #ff9100 100%);
  color: #1a1200;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  color: #1a1200;
  box-shadow: 0 0 20px rgba(255, 179, 0, 0.45);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--white);
}

.logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo__j {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #b9f6ca;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
  max-width: min(46vw, 220px);
  overflow: hidden;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse-dot 1.6s linear infinite;
}

@keyframes pulse-dot {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.nav {
  display: none;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--cyan);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.menu-toggle {
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--white);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: rgba(8, 12, 17, 0.96);
  border-bottom: 1px solid var(--border);
  z-index: 880;
  padding: 16px;
}

.drawer.is-open {
  display: block;
}

.drawer a {
  display: block;
  padding: 12px 8px;
  color: var(--white);
  font-weight: 700;
  min-height: 48px;
}

.drawer .btn {
  margin-top: 8px;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 28px 0 36px;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 12, 17, 0.96) 0%, rgba(8, 12, 17, 0.82) 42%, rgba(8, 12, 17, 0.28) 100%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  border: 1px solid var(--border-strong);
  background: rgba(0, 229, 255, 0.08);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.offer {
  font-size: clamp(1.2rem, 3.2vw, 1.85rem);
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 0.7rem;
  line-height: 1.25;
  text-shadow: 0 0 18px rgba(255, 179, 0, 0.25);
}

.lead {
  max-width: 42rem;
  color: var(--text);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.2rem;
}

.hero-actions .btn {
  width: 100%;
}

.pulse {
  background: linear-gradient(180deg, #101a27 0%, #0b121b 100%);
  border-block: 1px solid var(--border);
  padding: 14px 0;
}

.pulse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pulse-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.pulse-card__label {
  display: block;
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.pulse__value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.pulse-card--jackpot .pulse__value {
  color: var(--gold);
  font-size: 1.15rem;
}

.section {
  padding: 48px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head p {
  margin: 0;
  color: var(--text-dim);
  max-width: 40rem;
}

.lobby-tools {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.tab.is-active,
.tab[aria-selected="true"] {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
}

.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.search,
.select {
  min-height: 48px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--white);
  padding: 0 14px;
}

.games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

.game-card.is-hidden {
  display: none;
}

.game-card__link {
  display: block;
  height: 100%;
  color: inherit;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__badge,
.game-card__provider,
.game-card__title,
.game-card__overlay {
  position: absolute;
}

.game-card__badge {
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--gold);
  color: #1a1200;
}

.game-card__badge--new {
  background: var(--cyan);
  color: #041018;
}

.game-card__badge--live {
  background: var(--purple);
  color: #fff;
}

.game-card__provider {
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(8, 12, 17, 0.72);
  color: var(--white);
}

.game-card__title {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 10px 10px;
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(4, 10, 16, 0.92));
}

.game-card__overlay {
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(8, 12, 17, 0.55);
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.game-card__overlay .btn {
  min-width: 120px;
  pointer-events: none;
}

.lobby-more {
  margin-top: 18px;
  text-align: center;
}

.empty-games {
  display: none;
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: var(--text-dim);
}

.promos {
  display: grid;
  gap: 12px;
}

.promo-card {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 210px;
  color: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.promo-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.promo-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 12, 17, 0.94));
}

.promo-card__body h3 {
  margin-bottom: 4px;
}

.promo-card__body p {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.92rem;
}

.promo-card--cash {
  background: linear-gradient(145deg, #182433, #0e1622 55%, rgba(124, 77, 255, 0.25));
  padding: 20px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.split {
  display: grid;
  gap: 12px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.panel__body {
  padding: 18px;
}

.ranks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 16px;
}

.rank {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  background: var(--surface-2);
}

.rank span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
}

.app-grid {
  display: grid;
  gap: 16px;
}

.app-visuals {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  align-items: center;
}

.app-visuals img {
  width: 100%;
  border-radius: 14px;
}

.qr {
  width: 148px;
  height: 148px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.trust-item strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
}

.seo {
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 229, 255, 0.06), transparent 40%),
    var(--bg);
}

.seo h2 {
  margin-top: 1.6rem;
}

.seo p,
.seo li {
  max-width: 72ch;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

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

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--surface-2);
  color: var(--white);
  font-weight: 700;
}

td {
  background: var(--surface);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 16px;
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: var(--white);
}

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

.faq summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 1.3rem;
  flex-shrink: 0;
}

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

.faq details p {
  color: var(--text);
  padding-bottom: 12px;
}

.site-footer {
  background: #06090d;
  border-top: 1px solid var(--border);
  padding: 36px 0 calc(28px + var(--sticky-h) + env(safe-area-inset-bottom));
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-nav a {
  color: var(--text);
  font-weight: 600;
}

.pay-row,
.provider-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.disclaimer {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.sticky-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--sticky-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(8, 12, 17, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.sticky-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 700;
  min-height: 48px;
}

.sticky-bar svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sticky-bar a.is-cta {
  color: #041018;
}

.sticky-bar .cta-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #00e5ff, #0091ea);
  color: #041018;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.45);
  transform: translateY(-8px);
}

.page-hero {
  padding: 36px 0 20px;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 229, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #0e1622, var(--bg));
}

.promo-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  max-width: 460px;
}

.cards-5 {
  display: grid;
  gap: 12px;
}

.bonus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.bonus-card h3 {
  color: var(--cyan);
}

.mirror-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #b9f6ca;
  font-weight: 700;
  margin-bottom: 16px;
}

.steps {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 14px 14px 52px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

@media (hover: none) {
  .game-card__overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 50%, rgba(8, 12, 17, 0.62));
    justify-content: flex-end;
    padding-bottom: 46px;
  }

  .game-card__overlay .btn--ghost {
    display: none;
  }

  .game-card__overlay .btn {
    min-height: 40px;
    min-width: 96px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .game-card:hover .game-card__overlay,
  .game-card:focus-within .game-card__overlay {
    opacity: 1;
  }

  .promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(0, 229, 255, 0.18);
    transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 620px;
    padding: 48px 0 56px;
  }

  .hero__media img {
    object-position: right center;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
  }

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

  .filters {
    grid-template-columns: 1.4fr 1fr;
  }

  .games {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .promos,
  .split,
  .app-grid,
  .cards-5 {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .promo-input {
    flex-direction: row;
  }

  .sticky-bar {
    display: none;
  }

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

@media (min-width: 1024px) {
  .nav,
  .header-cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

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

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

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

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
