/* YoYo Casino — component styles. Plain semantic root class names, no BEM
   double-dash, no compound modifiers: modifiers/states are separate boolean
   classes added alongside the base class (e.g. "tab is-active"). Inner
   elements lean on structural descendant selectors rather than their own
   classes, to keep markup minimal. */

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink-900);
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 700; line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
p { margin: 0 0 1em; color: var(--ink-500); }

.wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 0 20px; }

.hide-mobile { display: inline-flex; }

/* -- buttons / pills / chips ---------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.button.solid { background: var(--ink-900); color: #fff; }
.button.solid:hover { background: #333340; }
.button.ghost { background: transparent; color: var(--ink-900); border-color: var(--line-100); }
.button.ghost:hover { background: var(--bg-1); }

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-900);
}
.pill.lavender { background: var(--lavender-300); }
.pill.peach { background: var(--peach-300); }
.pill.yellow { background: var(--yellow-300); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid var(--line-100);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-900);
  background: var(--bg-0);
}

/* -- section shell --------------------------------------------------------- */

.offers, .games, .categories, .jackpots, .providers, .payments, .content, .faq, .reviews {
  padding: 44px 0;
  border-top: 1px solid var(--line-100);
}

.head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.head h2 { margin: 0; }
.more { font-size: 13px; font-weight: 600; color: var(--lavender-400); }

/* -- navbar ----------------------------------------------------------------- */

.navbar { position: relative; }

.navbar .strip.bar { padding: 8px 20px; }
.navbar .strip.bar.strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-1);
  font-size: 13px;
}
.navbar .eyebrow { color: var(--ink-500); }
.navbar .amount { color: var(--ink-900); }
.navbar .cta {
  background: var(--ink-900);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
}

.navbar header.main {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-0);
  border-bottom: 1px solid var(--line-100);
}
.navbar header.main.is-stuck { box-shadow: var(--shadow-flat); }

.navbar .row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
}

.navbar .brand { flex-shrink: 0; }

.navbar .links { display: flex; align-items: center; gap: 20px; flex: 1; }
.navbar .links a { font-size: 14px; font-weight: 500; color: var(--ink-900); }
.navbar .links a:hover { color: var(--lavender-400); }

.navbar .tools { display: flex; align-items: center; gap: 12px; }

.navbar .switch { position: relative; }
.navbar .switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-900);
}
.navbar .switch-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-0);
  border: 1px solid var(--line-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-flat);
  min-width: 140px;
  padding: 6px;
  display: none;
  z-index: 50;
}
.navbar .switch-menu.is-open { display: block; }
.navbar .switch-option {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.navbar .switch-option:hover { background: var(--bg-1); }
.navbar .switch-option.is-active { color: var(--lavender-400); font-weight: 700; }

.navbar .burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.navbar .burger span { width: 16px; height: 2px; background: var(--ink-900); }

.navbar .drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 280px;
  background: var(--bg-0);
  border-left: 1px solid var(--line-100);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 60;
  padding: 80px 24px 24px;
}
.navbar .drawer.is-open { transform: translateX(0); }
.navbar .drawer-links { display: flex; flex-direction: column; gap: 16px; }
.navbar .drawer-links a { font-size: 15px; font-weight: 500; }

.navbar .drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 34, 0.35);
  z-index: 55;
  display: none;
}
.navbar .drawer-mask.is-open { display: block; }

@media (max-width: 900px) {
  .navbar .links { display: none; }
  .navbar .hide-mobile { display: none; }
  .navbar .burger { display: inline-flex; }
}

/* -- hero --------------------------------------------------------------- */

.hero { padding: 24px 20px; }
.hero .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-100); }
.hero .track { display: flex; transition: transform 0.4s ease; }
.hero .slide {
  min-width: 100%;
  padding: 60px 48px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hero .title { margin: 0; font-size: 28px; }
.hero .figure { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink-900); }
.hero .fine { margin: 0 0 6px; font-size: 12px; color: var(--ink-500); max-width: 440px; }

.hero .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-100);
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero .arrow.prev { left: 16px; }
.hero .arrow.next { right: 16px; }

.hero .dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.hero .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-100); cursor: pointer; }
.hero .dot.is-active { background: var(--ink-900); }

/* -- offers --------------------------------------------------------------- */

.offers .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.offers .card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-lg);
  background: var(--bg-0);
}
.offers .card:hover { background: var(--bg-1); }
.offers .icon { color: var(--lavender-400); }
.offers .icon svg { width: 26px; height: 26px; }
.offers .label { font-weight: 700; font-size: 15px; }
.offers .figure { font-weight: 700; font-size: 18px; }
.offers .fine { font-size: 12px; color: var(--ink-500); }
.offers .tag { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--lavender-400); }

@media (max-width: 900px) { .offers .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offers .grid { grid-template-columns: 1fr; } }

/* -- games ------------------------------------------------------------------ */

.games .tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 20px; padding-bottom: 4px; }
.games .tab {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-100);
  background: var(--bg-0);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-500);
}
.games .tab.is-active { border-color: var(--ink-900); color: var(--ink-900); }

.games .ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 24px;
  overflow: hidden;
}
.games .live { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.games .live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger-500); }
.games .viewport { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent); }
.games .track { display: flex; gap: 28px; width: max-content; animation: ticker-scroll 28s linear infinite; }
.games .track:hover { animation-play-state: paused; }
.games .item { display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.games .game { color: var(--ink-500); }
.games .mult { color: var(--positive-500); font-weight: 700; }

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

.games .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.games .tile {
  position: relative;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-1);
  display: block;
}
.games .thumb { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; background: var(--bg-2); }
.games .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(28, 28, 34, 0.55);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.games .tile:hover .overlay { opacity: 1; }
.games .play { color: #fff; font-weight: 700; font-size: 13px; }
.games .rtp { color: #fff; font-size: 11px; }
.games .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.games .badge.new { background: var(--lavender-300); }
.games .badge.hot { background: var(--peach-300); }
.games .badge.jackpot { background: var(--yellow-300); }
.games .name {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) { .games .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .games .grid { grid-template-columns: repeat(2, 1fr); } }

/* -- categories -------------------------------------------------------------- */

.categories .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.categories .tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 10px;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
}
.categories .tile:hover { background: var(--bg-1); }
.categories .tile svg { width: 26px; height: 26px; color: var(--lavender-400); }

@media (max-width: 900px) { .categories .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .categories .grid { grid-template-columns: repeat(2, 1fr); } }

/* -- jackpots ---------------------------------------------------------------- */

.jackpots .note { font-size: 12px; color: var(--ink-500); }
.jackpots .intro { max-width: 640px; }
.jackpots .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: 22px; }
.jackpots .tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-lg);
  text-align: center;
}
.jackpots .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-500); }
.jackpots .figure { font-size: 24px; font-weight: 700; }
.jackpots .hint { font-size: 11px; color: var(--ink-500); }
.jackpots .tile.mini .figure { color: var(--lavender-400); }
.jackpots .tile.minor .figure { color: var(--peach-300); }
.jackpots .tile.major .figure { color: var(--warning-500); }
.jackpots .tile.grand .figure { color: var(--ink-900); }

@media (max-width: 900px) { .jackpots .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .jackpots .grid { grid-template-columns: 1fr; } }

/* -- providers ---------------------------------------------------------------- */

.providers .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.providers .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-md);
  padding: 12px;
}
.providers .tile img { max-height: 28px; opacity: 0.7; }
.providers .tile:hover img { opacity: 1; }

@media (max-width: 900px) { .providers .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .providers .grid { grid-template-columns: repeat(3, 1fr); } }

/* -- payments ---------------------------------------------------------------- */

.payments .chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* -- content (on-page SEO block) ---------------------------------------------- */

.content .box { position: relative; }
.content .body {
  max-width: 760px;
  color: var(--ink-500);
}
.content .body h1,
.content .body h2,
.content .body h3 { color: var(--ink-900); }
.content .body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.content .body th, .content .body td { border: 1px solid var(--line-100); padding: 8px 10px; text-align: left; }
.content .body th { background: var(--bg-1); }
.content .body img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-100); margin: 1.5em 0; }
.content .body a { color: var(--lavender-400); text-decoration: underline; }

.content .box.is-collapsible .body {
  max-height: 130px;
  overflow: hidden;
  position: relative;
}
.content .box.is-collapsible .body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg-0));
}
.content .box.is-collapsible.is-open .body { max-height: none; }
.content .box.is-collapsible.is-open .body::after { display: none; }

.content .toggle {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-900);
}
.content .toggle svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.content .box.is-open .toggle svg { transform: rotate(180deg); }

/* -- faq -------------------------------------------------------------------- */

.faq .list { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.faq .item { border: 1px solid var(--line-100); border-radius: var(--radius-md); overflow: hidden; }
.faq .toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-0);
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq .faq-q { margin: 0; font-size: 14px; font-weight: 600; }
.faq .chevron { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s ease; }
.faq .item.is-open .chevron { transform: rotate(180deg); }
.faq .faq-a { max-height: 0; overflow: hidden; padding: 0 16px; transition: max-height 0.2s ease; }
.faq .item.is-open .faq-a { max-height: 320px; padding: 0 16px 16px; }
.faq .faq-a p { margin: 0; font-size: 13px; }

/* -- reviews ------------------------------------------------------------------ */

.reviews .trust { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.reviews .label { font-size: 12px; color: var(--ink-500); }
.reviews .marks { display: flex; align-items: center; gap: 22px; color: var(--ink-500); }
.reviews .mark svg { height: 22px; width: auto; }
.reviews .mark:hover { color: var(--ink-900); }

.reviews .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.reviews .card {
  padding: 20px;
  border: 1px solid var(--line-100);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reviews .stars { display: flex; gap: 2px; color: var(--yellow-300); }
.reviews .stars svg { width: 15px; height: 15px; }
.reviews .quote { font-size: 13px; margin: 0; }
.reviews .author { margin: 0; font-size: 12px; font-weight: 700; color: var(--ink-900); }

@media (max-width: 900px) { .reviews .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reviews .grid { grid-template-columns: 1fr; } }

/* -- footer --------------------------------------------------------------- */

.footer { background: var(--bg-1); border-top: 1px solid var(--line-100); padding: 48px 0 24px; margin-top: 20px; }

.footer .cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); margin-bottom: 32px; }
.footer .col { display: flex; flex-direction: column; gap: 10px; }
.footer .title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-500); margin: 0 0 4px; }
.footer .col a { font-size: 13px; color: var(--ink-900); }
.footer .col a:hover { color: var(--lavender-400); }

.footer .trust { display: flex; flex-wrap: wrap; gap: 28px; padding: 22px 0; border-top: 1px solid var(--line-100); }
.footer .block { display: flex; flex-direction: column; gap: 8px; }
.footer .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-500); }
.footer .chips { display: flex; flex-wrap: wrap; gap: 8px; }

.footer .bottom { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-100); }
.footer .age { font-weight: 800; font-size: 13px; border: 1px solid var(--line-100); border-radius: var(--radius-sm); padding: 2px 8px; }
.footer .copy { margin: 0; font-size: 12px; }

.footer .legal { margin-top: 18px; }
.footer .legal p { font-size: 11px; color: var(--ink-500); margin: 0; }
.footer .legal a { color: var(--lavender-400); text-decoration: underline; }

.footer .disclaimer { margin-top: 12px; }
.footer .disclaimer p { font-size: 11px; font-weight: 700; color: var(--ink-900); margin: 0; }

@media (max-width: 900px) { .footer .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }

/* -- cookie notice ---------------------------------------------------------- */

.cookie-notice {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 420px;
  background: var(--bg-0);
  border: 1px solid var(--line-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-flat);
  padding: 16px;
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 70;
}
.cookie-notice.is-visible { display: flex; }
.cookie-notice p { margin: 0; font-size: 12px; flex: 1; }
.cookie-notice a { color: var(--lavender-400); text-decoration: underline; }

/* -- popup (welcome modal) ---------------------------------------------------- */

.popup { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; }
.popup[hidden] { display: none; }
.popup .mask { position: absolute; inset: 0; background: rgba(28, 28, 34, 0.45); }
.popup .card {
  position: relative;
  width: min(420px, calc(100% - 40px));
  background: var(--bg-0);
  border: 1px solid var(--line-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.popup .close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-100);
  background: var(--bg-0);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  z-index: 2;
}
.popup .media { aspect-ratio: 16 / 9; background: var(--bg-1); }
.popup .media img { width: 100%; height: 100%; object-fit: cover; }
.popup .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.popup .title { margin: 0; font-size: 18px; font-weight: 700; }
.popup .fine { font-size: 12px; margin: 0 0 6px; }

/* -- 404 --------------------------------------------------------------------- */

.notfound { padding: 90px 20px; text-align: center; }
.notfound .code { font-size: 64px; font-weight: 800; margin: 0; color: var(--line-100); }
