/* ============================================================
   ZUMOSPIN TEMPLATE — css/app.css
   Full dark theme: bg #1B0E26 · yellow #FFF20B
   ============================================================ */

:root {
  --bg:           #1B0E26;
  --bg-dark:      #120A1C;
  --bg-card:      #2D1A40;
  --bg-card2:     #241535;
  --bg-input:     #3D2757;
  --yellow:       #FFF20B;
  --yellow-dark:  #D9CC00;
  --white:        #ffffff;
  --text:         #E8E0F0;
  --text-muted:   #9B8CB0;
  --border:       rgba(255,255,255,0.08);
  --border-y:     rgba(255,242,11,0.25);
  --blue-badge:   #7C6AF0;
  --win-green:    #00D68F;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 4px 20px rgba(0,0,0,0.4);
  --font:         'Inter', sans-serif;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo__zumo {
  background: var(--yellow);
  color: var(--bg);
  padding: 3px 7px;
  border-radius: 5px;
  margin-right: 1px;
}
.logo__spin { color: var(--white); }

/* Desktop nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.header-nav__link {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.header-nav__link:hover,
.header-nav__link.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* Auth buttons */
.header-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.btn-login {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  transition: border-color 0.15s, color 0.15s;
}
.btn-login:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-signup {
  background: var(--yellow);
  color: var(--bg);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background 0.15s, transform 0.15s;
}
.btn-signup:hover { background: var(--yellow-dark); transform: translateY(-1px); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BONUS SECTION ──────────────────────────────────────────── */
.bonus-section {
  background: var(--bg-dark);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-y);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.bonus-card:hover {
  box-shadow: 0 0 24px rgba(255,242,11,0.15);
  border-color: rgba(255,242,11,0.5);
}
.bonus-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}
.bonus-card__amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.bonus-card__amount strong {
  color: var(--yellow);
  font-size: 26px;
  font-weight: 900;
}
.bonus-card__sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.bonus-card__btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--bg);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 50px;
  text-align: center;
  transition: background 0.15s, transform 0.15s;
  margin-top: auto;
  align-self: flex-start;
}
.bonus-card__btn:hover { background: var(--yellow-dark); transform: translateY(-1px); }

/* ── SLOTS SECTION ──────────────────────────────────────────── */
.slots-section {
  padding: 36px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.slots-section--alt {
  background: var(--bg-dark);
}
.slots-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.slots-section__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}
.slots-section__viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 50px;
  transition: color 0.15s, border-color 0.15s;
}
.slots-section__viewall:hover { color: var(--yellow); border-color: var(--yellow); }

/* Slots grid: 6 per row */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.slot-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  display: block;
}
.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s, filter 0.25s;
}
.slot-card__play {
  position: absolute;
  inset: 0;
  background: rgba(27,14,38,0.85);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  border: 2px solid rgba(255,242,11,0.4);
  border-radius: var(--radius);
}
.slot-card:hover img       { transform: scale(1.06); filter: brightness(0.55); }
.slot-card:hover .slot-card__play { opacity: 1; }

/* ── ARTICLE SECTION ────────────────────────────────────────── */
.article-section {
  padding: 48px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.article-section__inner {
  max-width: 860px;
}
.article-section__inner h1 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.25;
}
.article-section__inner h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 12px;
}
.article-section__inner h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--yellow);
  margin: 24px 0 8px;
}
.article-section__inner p  { margin-bottom: 14px; color: var(--text); line-height: 1.75; }
.article-section__inner ul,
.article-section__inner ol { margin: 0 0 16px 20px; }
.article-section__inner li { margin-bottom: 6px; color: var(--text); }
.article-section__inner a  { color: var(--yellow); text-decoration: underline; }

/* Tables inside article */
.article-section__inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-section__inner table thead tr,
.article-section__inner table tr:first-child { background: var(--bg-card2); }
.article-section__inner table th {
  background: var(--bg-card2);
  color: var(--yellow);
  padding: 11px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border-y);
}
.article-section__inner table td {
  padding: 11px 16px;
  color: var(--text);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.article-section__inner table tbody tr:nth-child(even) td { background: var(--bg); }
.article-section__inner table tbody tr:hover td { background: var(--bg-input); }

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-card);
}
.data-table thead tr { background: var(--bg-card2); }
.data-table th {
  background: var(--bg-card2);
  color: var(--yellow);
  padding: 11px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-y);
}
.data-table tbody tr { background: var(--bg-card); }
.data-table tbody tr:nth-child(even) { background: var(--bg); }
.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  background: inherit;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td {
  background: var(--bg-input) !important;
  color: var(--white);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section {
  padding: 48px 0 64px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}
.faq-section__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-y); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.faq-question__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}
.faq-question__icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--yellow);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s;
}
.faq-question[aria-expanded="true"] .faq-question__icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  padding: 0 20px;
}
.faq-answer.is-open {
  max-height: 600px;
  padding: 0 20px 18px;
}
.faq-answer p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ── BETS TABLE SECTION ─────────────────────────────────────── */
.bets-section {
  padding: 36px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.bets-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.bets-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
}
.bets-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.bets-tab.is-active,
.bets-tab:hover {
  color: var(--white);
  border-bottom-color: var(--yellow);
}
.bets-switches {
  display: flex;
  gap: 8px;
}
.bets-switch {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.bets-switch.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg);
}
.bets-switch:hover:not(.is-active) { border-color: var(--yellow); color: var(--yellow); }

/* Table */
.bets-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.bets-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: var(--bg-card);
}
.bets-table thead th {
  background: var(--bg-card2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.bets-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.bets-table tbody tr:last-child { border-bottom: none; }
.bets-table tbody tr:hover { background: var(--bg-input); }
.bets-table td {
  padding: 11px 16px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.bets-table .td-game {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  max-width: 200px;
}
.bets-table .td-game__thumb {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--bg-input);
  object-fit: cover;
  flex-shrink: 0;
}
.td-game__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
  display: block;
}
.bets-table .td-time { color: var(--text-muted); font-size: 13px; }
.badge-bet {
  display: inline-block;
  background: var(--bg-input);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.badge-mult {
  display: inline-block;
  background: var(--blue-badge);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.td-payout {
  color: var(--win-green);
  font-weight: 700;
  font-size: 14px;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.45);
  padding: 52px 0 28px;
  border-top: 3px solid var(--yellow);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer__brand .logo { margin-bottom: 14px; }
.footer__desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.35); max-width: 230px; }
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer__warning { max-width: 640px; line-height: 1.6; }
.footer__copy    { white-space: nowrap; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .slots-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .burger       { display: flex; }
  .header-nav   {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 2px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    border-bottom: 1px solid var(--border);
  }
  .header-nav.is-open { display: flex; }
  .header-nav__link   { width: 100%; padding: 12px 14px; }
  .header-actions     { display: none; }
  .header__inner      { position: relative; }

  .bonus-grid   { grid-template-columns: 1fr; }
  .slots-grid   { grid-template-columns: repeat(3, 1fr); }
  .bets-header  { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .slots-grid    { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .bets-tabs     { overflow-x: auto; }
}
