:root {
  --color-accent: #1AFD6B;
  --color-accent-dark: #12c454;
  --color-bg: #000000;
  --color-surface: #32323D;
  --color-surface-alt: #393D50;
  --color-text: #F2F2F5;
  --color-text-muted: #A9A9B3;
  --color-border: #45454f;

  --container-w: 1240px;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.5;
  font-size: 16px;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 900px) {
  .container { padding-inline: 24px; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius_s, 8px);
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #06210f;
}

.btn-outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
}

@media (min-width: 900px) {
  .logo img { height: 48px; }
}

.main-nav {
  display: none;
}

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

.main-nav a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.header-actions .btn {
  padding: 6px 12px;
  font-size: 0.78rem;
}

@media (min-width: 900px) {
  .header-actions {
    gap: 8px;
  }

  .header-actions .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (min-width: 900px) {
  .main-nav {
    display: block;
    margin-left: 24px;
  }
}

.marquee {
  overflow: hidden;
}

.marquee-track {
  width: max-content;
  animation-name: marquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.hero {
  padding-block: 14px;
}

.hero-row {
  display: flex;
  gap: 10px;
  animation-duration: 60s;
}

.hero-card {
  position: relative;
  flex: 0 0 auto;
  width: 360px;
  height: 197px;
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface);
}

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

@media (min-width: 700px) {
  .hero-card { width: 440px; height: 240px; }
}

@media (min-width: 1100px) {
  .hero-card { width: 560px; height: 300px; }
}

.breadcrumbs {
  padding-block: 14px 0;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: var(--color-border);
}

.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs li[aria-current="page"] {
  color: var(--color-text);
}

.intro {
  padding-block: 28px 8px;
}

.intro h1 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 12px;
}

.intro p {
  color: var(--color-text-muted);
  margin: 0;
}

.byline-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.byline-footer .byline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px 8px 12px;
  border-left: 3px solid var(--color-accent);
  background: linear-gradient(90deg, var(--color-surface) 0%, rgba(26,253,107,0.05) 100%);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  max-width: 100%;
  flex-wrap: wrap;
}

.byline-footer .byline::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231AFD6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.85;
}

@media (max-width: 480px) {
  .byline-footer .byline {
    display: flex;
    font-size: 0.75rem;
    padding: 8px 12px;
    line-height: 1.5;
  }
}

@media (min-width: 900px) {
  .intro h1 { font-size: 2.1rem; }
}

.widget {
  padding-block: 20px;
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-text);
}

.widget-title .view-all {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  color: var(--color-accent);
  cursor: pointer;
  white-space: nowrap;
}

.game-card {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--color-surface-alt);
  cursor: pointer;
  aspect-ratio: 864 / 1152;
}

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

.tile-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 132px;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
}

.tile-row .game-card { scroll-snap-align: start; }

.tile-row--single {
  grid-template-rows: none;
}

.tile-grid-2rows {
  grid-template-rows: repeat(2, 1fr);
}

@media (min-width: 620px) {
  .tile-row { grid-auto-columns: 150px; }
}

@media (min-width: 1100px) {
  .tile-grid-2rows {
    grid-auto-flow: row;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
    overflow-x: visible;
  }

  .tile-row--single {
    grid-auto-flow: row;
    grid-template-columns: repeat(8, 1fr);
    overflow-x: visible;
  }
}

.slots-catalogue {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (min-width: 620px) {
  .slots-catalogue { grid-template-columns: repeat(5, 1fr); gap: 12px; }
}

@media (min-width: 1100px) {
  .slots-catalogue { grid-template-columns: repeat(8, 1fr); }
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 620px) {
  .promo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .promo-grid { grid-template-columns: repeat(6, 1fr); }
}

.promo-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.promo-card-media {
  aspect-ratio: 864 / 1152;
  overflow: hidden;
}

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

.promo-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.promo-card-title {
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0;
  text-transform: uppercase;
}

.promo-card-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
  flex-grow: 1;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 140px;
  gap: 10px;
}

.collection-card {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
}

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

.collection-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  background: rgba(0,0,0,0.55);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.collection-card--tall {
  grid-row: span 2;
  grid-column: span 2;
}

@media (min-width: 700px) {
  .collections-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
  }

  .collection-card--tall {
    grid-column: span 1;
  }
}

.wins-row {
  display: flex;
  gap: 10px;
  animation-duration: 46s;
}

.win-card {
  flex: 0 0 auto;
  width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 10px;
}

.win-card img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.win-card-info {
  min-width: 0;
}

.win-card-info p {
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-user {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.win-amount {
  font-size: 0.85rem;
  font-weight: 700;
}

.win-amount strong {
  color: var(--color-accent);
}

.win-game {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0 !important;
}

@media (min-width: 700px) {
  .win-card { width: 260px; }
}

.providers-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 36px;
  padding-block: 6px;
}

.providers-row img {
  height: 22px;
  width: auto;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.85;
}

.article {
  padding-block: 12px 40px;
}

.article h2 {
  font-size: 1.3rem;
  margin: 34px 0 12px;
  scroll-margin-top: 90px;
}

.article h3 {
  font-size: 1.05rem;
  margin: 20px 0 10px;
}

.article p {
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.article ul,
.article ol {
  color: var(--color-text-muted);
  padding-left: 20px;
  margin: 0 0 16px;
}

.article li { margin-bottom: 6px; }

.toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  margin: 20px 0 8px;
}

.toc p {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.toc ol {
  margin: 0;
  padding-left: 18px;
  columns: 1;
}

@media (min-width: 700px) {
  .toc ol { columns: 2; column-gap: 24px; }
}

.toc a {
  text-decoration: none;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.9rem;
}

thead th {
  background: var(--color-surface-alt);
  color: var(--color-text);
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  white-space: nowrap;
}

tbody td,
tbody th {
  padding: 10px 14px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-align: left;
  font-weight: 400;
}

tbody th[scope="row"] {
  background: var(--color-surface-alt);
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
  width: 1%;
}

tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }

tbody tr:nth-child(even) th[scope="row"] { background: var(--color-surface-alt); }

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

.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--color-accent);
  font-weight: 700;
}

.faq[open] summary::after { content: "\2212"; }

.faq p {
  margin: 0 0 14px;
  color: var(--color-text-muted);
}

.disclaimer-box {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 14px 16px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: 32px 24px;
  margin-top: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.footer-brand .logo img { height: 28px; margin-bottom: 12px; }

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  max-width: 46ch;
  margin: 0 0 12px;
}

.footer-nav-title {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

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

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

.footer-age-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer-age-badge strong {
  border: 2px solid var(--color-text-muted);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--color-text);
  flex-shrink: 0;
}

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  margin: 0;
}

@media (min-width: 700px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.page-placeholder {
  min-height: 30vh;
}

.byline {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  margin: 12px 0 28px;
}

.byline strong {
  color: var(--color-accent);
  font-weight: 700;
}

.article figure {
  margin: 4px 0 20px;
}

@media (min-width: 700px) {
  .article figure { max-width: 520px; }
}

.article figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
}

.article figcaption {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-top: 8px;
}
