/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #0d1017;
  font-family: 'Sofia Sans', system-ui, sans-serif;
  color: #e9e4d8;
}
a { color: #f2b33d; text-decoration: none; }
a:hover { color: #f6c552; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; text-align: left; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
.gold { color: #f2b33d; }

.app { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ===== Header ===== */
.site-header {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 26px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: sticky; top: 0; z-index: 20;
  background: rgba(13,16,23,.92);
  backdrop-filter: blur(8px);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 24px; height: 24px; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 48%, #f3c56a 0 2px, #b97e2e 2px 4px, #e3a94f 4px 6px);
  box-shadow: inset 0 -1px 3px rgba(0,0,0,.4);
}
.logo-text { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .5px; }
.tabs { display: flex; gap: 4px; font-size: 13.5px; font-weight: 600; }
.tab { padding: 7px 12px; border-radius: 8px; color: rgba(233,228,216,.6); }
.tab.active { color: #e9e4d8; background: rgba(242,179,61,.16); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.balance-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 700;
}
.coin { width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(180deg,#f6c552,#c98a20); }
.balance-pill .currency { color: rgba(233,228,216,.55); font-weight: 500; }
.balance-pill:hover { border-color: rgba(242,179,61,.5); }

.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 9px; font-weight: 800; font-size: 13px; }
.btn-gold { background: linear-gradient(180deg,#f6c552,#e09b2d); color: #241703; padding: 9px 16px; }
.btn-gold:hover { filter: brightness(1.08); color: #241703; }
.btn-outline-gold { border: 1px solid rgba(242,179,61,.55); color: #f2b33d; padding: 8px 16px; }
.btn-outline-gold:hover { background: rgba(242,179,61,.12); color: #f2b33d; }

/* ===== Toast ===== */
.toast {
  position: fixed; top: 70px; left: 50%; transform: translateX(-50%);
  background: #1c2230; border: 1px solid rgba(242,179,61,.4);
  color: #e9e4d8; font-size: 13.5px; font-weight: 600;
  padding: 11px 20px; border-radius: 10px; z-index: 40;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

/* ===== Home / hero ===== */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px;
  padding: 56px 40px 40px; max-width: 1160px; margin: 0 auto;
  background: radial-gradient(90% 70% at 70% 0%, rgba(242,179,61,.10), transparent 60%);
}
.hero-left { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.license {
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 2px; font-weight: 700;
  color: #f2b33d; text-transform: uppercase;
}
.license::before { content: ""; width: 26px; height: 1px; background: #f2b33d; flex: none; }
.headline { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 44px; line-height: 1.12; letter-spacing: -.5px; }
.hero-copy { font-size: 16px; line-height: 1.65; color: rgba(233,228,216,.72); max-width: 420px; }
.hero-ctas { display: flex; gap: 12px; align-items: center; }
.cta-primary {
  background: linear-gradient(180deg,#f6c552,#e09b2d); color: #241703;
  font-weight: 800; font-size: 15px; padding: 14px 26px; border-radius: 11px;
  box-shadow: 0 6px 22px rgba(242,179,61,.3);
}
.cta-primary:hover { filter: brightness(1.08); }
.cta-secondary {
  border: 1px solid rgba(255,255,255,.18); color: rgba(233,228,216,.85);
  font-weight: 600; font-size: 14px; padding: 13px 20px; border-radius: 11px;
}
.cta-secondary:hover { border-color: rgba(255,255,255,.4); }
.fine-print { font-size: 11px; color: rgba(233,228,216,.4); }

.hero-right { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feature-card {
  background: linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px; padding: 20px 22px;
  display: flex; gap: 16px; align-items: center; width: 100%;
}
.feature-card:hover { border-color: rgba(242,179,61,.4); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px; background: #161b26;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.banitsa-sm {
  width: 32px; height: 32px; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 48%, #f3c56a 0 3px, #b97e2e 3px 5px, #e3a94f 5px 8px);
}
.feature-icon.shield { font-size: 20px; font-weight: 800; color: #f2b33d; }
.feature-icon.rank { font-family: 'PT Mono', monospace; font-weight: 700; color: #f2b33d; font-size: 17px; }
.feature-body { display: flex; flex-direction: column; gap: 2px; }
.feature-title { font-weight: 800; font-size: 15.5px; }
.feature-desc { font-size: 13px; color: rgba(233,228,216,.6); }
.feature-arrow { margin-left: auto; color: #f2b33d; font-weight: 800; }

/* ===== Slot ===== */
.slot-view { max-width: 640px; margin: 0 auto; padding: 44px 24px 40px; display: flex; flex-direction: column; gap: 16px; }
.slot-head { display: flex; align-items: center; justify-content: space-between; }
.slot-title { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .5px; }
.live-count { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(233,228,216,.6); }
.live-count::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5ec26a; }
.machine {
  background: linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px; padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.reels { display: flex; gap: 12px; justify-content: center; }
.reel {
  width: 120px; height: 120px; border-radius: 16px;
  background: #161b26; border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: inset 0 -12px 22px rgba(0,0,0,.45);
}
.reel-symbol {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 26px; color: #241703;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.3);
}
.reel-name { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: rgba(233,228,216,.5); }
.reel-symbol img { width: 88%; height: 88%; object-fit: contain; }

/* ===== Lev banknote fan ===== */
.lev-fan { display: flex; justify-content: center; padding: 8px 0 4px; }
.lev-fan img {
  width: 104px;
  filter: drop-shadow(0 7px 12px rgba(0,0,0,.55));
  transition: transform .15s;
}
.lev-fan img + img { margin-left: -34px; }
.lev-fan img:nth-child(odd) { transform: rotate(-4deg); }
.lev-fan img:nth-child(even) { transform: rotate(3deg) translateY(5px); }
.lev-fan img:hover { transform: translateY(-8px); position: relative; z-index: 1; }
.lev-fan.small { justify-content: flex-start; padding: 2px 0; }
.lev-fan.small img { width: 68px; }
.lev-fan.small img + img { margin-left: -22px; }

/* ===== ЛВ Classic ===== */
.classic-view { max-width: 1000px; margin: 0 auto; padding: 44px 24px 40px; display: flex; flex-direction: column; gap: 20px; }
.classic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.banknote-card {
  background: linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px; padding: 24px 22px 20px;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
  text-align: center; transition: transform .15s, border-color .15s;
}
.banknote-card:hover { transform: translateY(-4px) rotate(-.5deg); border-color: rgba(242,179,61,.4); }
.banknote-card img { width: 78%; max-width: 240px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.5)); }
.banknote-value { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 22px; color: #f2b33d; }
.banknote-value span { font-size: 12px; font-weight: 700; color: rgba(233,228,216,.55); letter-spacing: 1px; }
.banknote-person { font-weight: 700; font-size: 14.5px; }
.banknote-person span { font-family: 'PT Mono', monospace; font-size: 11.5px; color: rgba(233,228,216,.45); font-weight: 400; }
.banknote-note { font-size: 13.5px; line-height: 1.6; color: rgba(233,228,216,.7); }
.spin-result { text-align: center; font-size: 14px; min-height: 22px; font-weight: 600; color: rgba(233,228,216,.55); }
.spin-btn {
  background: linear-gradient(180deg,#f6c552,#e09b2d); color: #241703;
  font-weight: 800; font-size: 16px; padding: 15px; border-radius: 12px;
  text-align: center; width: 100%;
}
.spin-btn:hover { filter: brightness(1.08); }
.spin-btn:disabled { opacity: .55; cursor: default; }
.min-bet { text-align: center; font-size: 11px; color: rgba(233,228,216,.4); }
.paytable {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 16px 20px;
  font-size: 13px; line-height: 2; color: rgba(233,228,216,.7);
  font-family: 'PT Mono', monospace;
}
.paytable-title {
  font-weight: 700; color: #f2b33d; font-family: 'Sofia Sans', sans-serif;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: 11px; margin-bottom: 4px;
}

/* ===== Rewards ===== */
.rewards-view { max-width: 1000px; margin: 0 auto; padding: 44px 24px 40px; display: flex; flex-direction: column; gap: 20px; }
.view-title { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 26px; }
.view-sub { font-size: 14px; color: rgba(233,228,216,.6); margin-top: 6px; }
.link { color: #f2b33d; cursor: pointer; font-weight: 700; }
.link:hover { color: #f6c552; }
.rewards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.reward-card {
  border-radius: 18px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  opacity: var(--card-opacity);
}
.reward-card-top { display: flex; align-items: center; justify-content: space-between; }
.reward-rarity { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--card-accent); }
.reward-serial { font-family: 'PT Mono', monospace; font-size: 10.5px; color: rgba(233,228,216,.45); }
.reward-name { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 16.5px; line-height: 1.3; color: #e9e4d8; }
.reward-desc { font-size: 13.5px; line-height: 1.6; color: rgba(233,228,216,.7); flex: 1; }
.reward-status { font-size: 12px; font-weight: 700; color: var(--card-accent); }
.footnote { font-size: 11.5px; color: rgba(233,228,216,.4); }

/* ===== Leaderboard ===== */
.board-view { max-width: 760px; margin: 0 auto; padding: 44px 24px 40px; display: flex; flex-direction: column; gap: 20px; }
.debtors { display: flex; flex-direction: column; gap: 8px; }
.debtor {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; padding: 14px 20px;
}
.debtor-rank { font-family: 'PT Mono', monospace; font-weight: 700; font-size: 15px; color: #f2b33d; width: 34px; }
.debtor-info { flex: 1; }
.debtor-name { font-weight: 700; font-size: 15px; }
.debtor-note { font-size: 12.5px; color: rgba(233,228,216,.55); }
.debtor-debt { text-align: right; }
.debtor-amount { font-weight: 800; font-size: 16px; color: #e9e4d8; }
.debtor-unit { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(233,228,216,.45); }

/* ===== VIP ===== */
.vip-view {
  max-width: 620px; margin: 0 auto; padding: 52px 24px 46px;
  display: flex; flex-direction: column; gap: 22px;
  text-align: center; align-items: center;
}
.banitsa-lg {
  width: 64px; height: 64px; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 48%, #f3c56a 0 4px, #b97e2e 4px 7px, #e3a94f 7px 11px);
  box-shadow: 0 0 40px rgba(242,179,61,.3);
}
.vip-kicker { font-size: 10.5px; letter-spacing: 2.5px; font-weight: 700; color: #f2b33d; text-transform: uppercase; margin-bottom: 10px; }
.vip-title { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.2; }
.vip-copy { font-size: 15px; line-height: 1.7; color: rgba(233,228,216,.7); max-width: 440px; }
.vip-channels { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 400px; }
.channel { display: flex; align-items: center; gap: 14px; font-size: 15px; padding: 15px 22px; border-radius: 13px; text-align: left; }
.channel-primary { background: linear-gradient(180deg,#f6c552,#e09b2d); color: #241703; font-weight: 800; padding: 16px 22px; }
.channel-primary:hover { filter: brightness(1.08); color: #241703; }
.channel-ghost { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #e9e4d8; font-weight: 700; }
.channel-ghost:hover { border-color: rgba(242,179,61,.5); color: #e9e4d8; }
.channel .arrow { margin-left: auto; }
.channel-ghost .arrow { color: #f2b33d; }
.mono { font-family: 'PT Mono', monospace; font-size: 13px; }
.mono.gold { color: #f2b33d; }
.mono.green { color: #25d366; }

/* ===== Contact strip ===== */
.contact-strip {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 20px 26px;
  border-top: 1px solid rgba(242,179,61,.4);
  background: rgba(242,179,61,.1);
}
.contact-strip-label { font-weight: 800; font-size: 15.5px; color: #f2b33d; }
.strip-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2);
  color: #e9e4d8; font-weight: 700; font-size: 14px;
  padding: 11px 18px; border-radius: 10px;
}
.strip-btn:hover { border-color: rgba(242,179,61,.5); color: #e9e4d8; }
.strip-btn.gold { background: linear-gradient(180deg,#f6c552,#e09b2d); border: none; color: #241703; font-weight: 800; padding: 12px 18px; }
.strip-btn.gold:hover { filter: brightness(1.08); }
.contact-strip-note { margin-left: auto; font-size: 12.5px; color: rgba(233,228,216,.6); }

/* ===== Ticker ===== */
.ticker {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 26px;
  border-top: 1px solid rgba(224,67,60,.35);
  background: rgba(224,67,60,.07);
  font-size: 14.5px; color: rgba(233,228,216,.85);
}
.ticker-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #e0433c; flex: none;
  animation: ticker-pulse 1.6s ease-out infinite;
}
@keyframes ticker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,67,60,.55); }
  100% { box-shadow: 0 0 0 9px rgba(224,67,60,0); }
}
.ticker-label {
  font-weight: 800; font-size: 12px; letter-spacing: 1.5px;
  color: #fff; background: #e0433c;
  padding: 3px 10px; border-radius: 999px; flex: none;
}
.ticker-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }

/* ===== Jackpot modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(8,10,15,.82);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.modal {
  background: linear-gradient(180deg,#1c2230,#141926);
  border: 1px solid rgba(242,179,61,.5);
  border-radius: 24px; padding: 38px 40px; max-width: 460px;
  text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center;
  box-shadow: 0 0 80px rgba(242,179,61,.25);
}
.banitsa-xl {
  width: 88px; height: 88px; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 48%, #f3c56a 0 5px, #b97e2e 5px 9px, #e3a94f 9px 14px);
  box-shadow: 0 0 50px rgba(242,179,61,.5);
}
.modal-title { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 26px; color: #f2b33d; }
.modal-copy { font-size: 15.5px; line-height: 1.65; color: rgba(233,228,216,.85); }
.modal-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.modal-primary {
  display: block; background: linear-gradient(180deg,#f6c552,#e09b2d);
  color: #241703; font-weight: 800; font-size: 14.5px;
  padding: 14px; border-radius: 11px; text-align: center;
}
.modal-primary:hover { filter: brightness(1.08); color: #241703; }
.modal-row { display: flex; gap: 10px; }
.modal-secondary {
  flex: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: #e9e4d8; font-weight: 700; font-size: 13.5px;
  padding: 12px; border-radius: 11px; text-align: center;
}
.modal-secondary:hover { border-color: rgba(242,179,61,.5); color: #e9e4d8; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .site-header { flex-wrap: wrap; }
  .header-right { margin-left: 0; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding: 40px 24px 32px; }
  .headline { font-size: 36px; }
}
@media (max-width: 520px) {
  .reel { width: 96px; height: 108px; }
  .reel-symbol { width: 52px; height: 52px; font-size: 21px; }
  .headline { font-size: 31px; }
  .contact-strip-note { margin-left: 0; }
}
