/* Shared styles for secondary pages */

.catalog-head { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 18px; }
.catalog-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
}
.catalog-head__count { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; }

.toolbar--catalog { align-items: stretch; gap: 14px; }
.toolbar--catalog .search { max-width: none; }
.selects { display: flex; gap: 10px; }
.selects select {
  height: 48px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #17222B;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ea0ae' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}

.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 18px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: #b9c8d4;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.chip:hover { border-color: #ffffff33; color: #fff; }
.chip.is-active { background: var(--lime); border-color: var(--lime); color: #10210B; }

.game-grid--catalog { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.game-grid--catalog .game-card { aspect-ratio: 189 / 237; }

.provider-block { margin-bottom: 26px; }
.provider-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.provider-block__head h2 { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.provider-block__head a { color: #a9b9c6; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; }
.provider-block__head a:hover { color: var(--lime); }
.load-more {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: #c3d2dc;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.load-more:hover { border-color: #ffffff40; color: #fff; }

.cat-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 190px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: radial-gradient(circle at 80% 30%, #29435B, #17222B 62%, #101C24);
}
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 8%; }
.cat-hero h1 { position: relative; z-index: 2; margin: 0; padding: 0 30px; font-family: "Anton", var(--font-display); font-size: 44px; font-weight: 400; letter-spacing: -.01em; text-transform: uppercase; text-shadow: 0 4px 18px #000a; }
.cat-hero h1 em { font-style: normal; color: var(--lime); }
.cat-hero p { position: absolute; left: 30px; bottom: 24px; z-index: 2; margin: 0; color: #D7E6F0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cover-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: linear-gradient(150deg, #1F3141, #17222B 60%, #29435B);
  color: #E8FFF2;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-align: center;
}

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 26px 0 8px; }
.pager button {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: transparent;
  color: #b9c8d4;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.pager button:hover:not(:disabled) { border-color: #ffffff40; color: #fff; }
.pager button[aria-current="page"] { background: var(--lime); border-color: var(--lime); color: #10210B; }
.pager button:disabled { opacity: .35; cursor: default; }
.pager span { color: var(--muted); font-size: 12px; padding: 0 6px; }

.empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

/* Page headings */
.page-head { margin: 4px 0 18px; }
.page-head h1 { margin: 0 0 6px; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.page-head p { margin: 0; color: var(--muted); font-size: 13px; }

.tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 6px;
  background: #FEFF4A1F;
  color: var(--lime);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.cta-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--lime);
  color: #10210B;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .03em;
}

/* Promotions */
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.promo-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
}
.promo-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #17222B; }
.promo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.promo-card__status {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--lime);
  color: #10210B;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .06em;
}
.promo-card h2 { margin: 14px 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.promo-card p { margin: 0 0 16px; color: #a9b9c6; font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.promo-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.promo-card__when { display: inline-flex; align-items: center; gap: 7px; max-width: 150px; color: #8ea0ae; font-size: 10.5px; line-height: 1.3; }
.promo-card__when svg { width: 14px; height: 14px; flex: none; color: var(--lime); }
.btn-soft {
  display: grid;
  place-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 9px;
  background: #9BFFBF;
  color: #0B2417;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.page-head--icon h1 { display: flex; align-items: center; gap: 10px; }
.page-head--icon h1 svg { width: 18px; height: 18px; color: #e8eef4; }

/* Cards / panels */
.panel { padding: 22px; border-radius: var(--radius); background: var(--surface); }
.panel + .panel { margin-top: 14px; }
.panel h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.stack { display: grid; gap: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row span { color: var(--muted); font-size: 12.5px; }
.row b { font-size: 13px; font-weight: 700; }

/* Footer */
.site-footer { max-width: 1480px; margin: 0 auto; padding: 28px 28px 40px; border-top: 1px solid var(--line); }
.site-footer__license { padding: 22px; margin-bottom: 22px; border-radius: 16px; background: var(--surface); }
.site-footer__license h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.site-footer__license p { margin: 0 0 10px; max-width: 900px; color: #a9b9c6; font-size: 11.5px; line-height: 1.6; }
.site-footer__updated { color: #7e909d !important; font-size: 10.5px !important; }
.site-footer__badges { display: flex; gap: 8px; margin-top: 14px; }
.site-footer__badges span { padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 6px; color: #b9c8d4; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.site-footer__cols { display: flex; gap: 80px; }
.site-footer__cols div { display: grid; align-content: start; gap: 7px; }
.site-footer__cols b { margin-bottom: 4px; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #b9c8d4; }
.site-footer__cols a { color: #7e909d; font-size: 11.5px; }
.site-footer__cols a:hover { color: var(--lime); }
.site-footer__note { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: #6f8290; font-size: 10.5px; }
.site-footer__note strong { color: var(--gold); }

@media (max-width: 1080px) {
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-head h1 { font-size: 21px; }
  .promo-grid { grid-template-columns: 1fr; gap: 12px; }
  .promo-card { padding: 12px; border-radius: 14px; }
  .promo-card h2 { font-size: 15px; }
  .site-footer { padding: 22px 14px calc(96px + env(safe-area-inset-bottom)); }
  .site-footer__cols { flex-direction: column; gap: 22px; }
  .panel { padding: 18px; }
}

/* VIP club */
.vip-stage { position: relative; overflow: hidden; padding: 0 0 26px; border-radius: 20px; background: var(--surface); text-align: center; }
.vip-stage__band { height: 150px; background: radial-gradient(circle at 50% 130%, #29435B 0%, #14212b 58%, #101C24 100%); }
.vip-stage__content { display: grid; justify-items: center; gap: 12px; margin-top: -64px; padding: 0 20px; }
.vip-avatar { position: relative; width: 128px; height: 128px; border-radius: 18px; overflow: hidden; border: 2px solid #ffffff26; box-shadow: 0 18px 40px #0008; }
.vip-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 12%; }
.vip-avatar__level {
  position: absolute; top: 0; left: 0; z-index: 2; padding: 4px 6px; border-radius: 0 0 8px 0;
  background: #101C24D9; color: #cfe0ea; font-size: 7.5px; font-weight: 800; letter-spacing: .06em; line-height: 1.2;
}
.vip-avatar__level b { display: block; font-size: 14px; color: #fff; }
.vip-stage h1 { margin: 6px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.vip-stage__progress { width: min(560px, 100%); height: 8px; background: #101C24; }
.vip-stage__hint { margin: 0; color: #b9c8d4; font-size: 12.5px; }
.vip-stage__hint b { color: var(--lime); }
.vip-stage__cta { height: 36px; font-size: 11px; }
.vip-stage__bonus { display: grid; justify-items: center; gap: 4px; margin: 22px 20px 0; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.vip-stage__bonus small { color: var(--muted); font-size: 11px; }
.vip-stage__bonus b { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.vip-stage__bonus a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.vip-stage__bonus a svg { width: 13px; height: 13px; }

.vip-section { margin-top: 26px; }
.block-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.block-title svg { width: 16px; height: 16px; color: var(--lime); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { padding: 22px; border-radius: 16px; background: var(--surface); border-top: 2px solid var(--green); }
.stat-card small { display: block; margin-bottom: 8px; color: #a9b9c6; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stat-card b { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.stat-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.stat-actions a { display: grid; place-items: center; height: 44px; border-radius: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.btn-ghost { border: 1px solid var(--line-strong); background: transparent; color: #dbe6ee; }

.opp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opp-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 12px 16px; border-radius: 16px; background: var(--surface); }
.opp-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.opp-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101C24E6 20%, #101C2433 90%); }
.opp-card__body { position: relative; z-index: 2; display: grid; gap: 2px; }
.opp-card__body b { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.opp-card__body small { color: #c6d5e0; font-size: 11.5px; }
.opp-card__cta { position: relative; z-index: 2; margin-left: auto; display: grid; place-items: center; height: 32px; padding: 0 13px; border-radius: 8px; background: var(--lime); color: #10210B; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; }

.level-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.level-card { padding: 20px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface); }
.level-card__badge { display: inline-block; margin-bottom: 10px; padding: 4px 9px; border-radius: 6px; background: #ffffff14; color: #cfdbe4; font-size: 9.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.level-card h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.level-card__req { margin: 0 0 12px; color: var(--muted); font-size: 11.5px; }
.level-card ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: #cddae3; }
.level-card ul li::before { content: "✓"; margin-right: 7px; color: var(--lime); }
.level-card--gold { background: radial-gradient(circle at 90% 0%, #F5D76E26, transparent 60%), var(--surface); }
.level-card--gold h3 { color: var(--gold); }
.level-card--emerald { background: radial-gradient(circle at 90% 0%, #9BFFBF26, transparent 60%), var(--surface); }
.level-card--emerald h3 { color: var(--green); }

/* Forms */
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field label { font-size: 11.5px; font-weight: 600; color: #b9c8d4; }
.field input, .field select, .field textarea {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #17222B;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}
.field textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #FEFF4A66; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Referral */
.referral {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 18px;
  padding: 28px;
  border-radius: 20px;
  background: radial-gradient(circle at 92% 4%, #FEFF4A22, transparent 55%), linear-gradient(140deg, #17303A, #101C24);
  border: 1px solid var(--line-strong);
}
.referral h2 { margin: 10px 0 10px; font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.035em; }
.referral p { max-width: 440px; margin: 0 0 16px; color: #C6D5E0; font-size: 13.5px; line-height: 1.55; }
.referral__field { display: flex; gap: 8px; margin-bottom: 16px; max-width: 480px; }
.referral__field input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #101C2499; color: #dbe6ee; font: inherit; font-size: 12.5px; }
.referral__field button { height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: #ffffff14; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .05em; cursor: pointer; }
.referral__stats { display: grid; gap: 10px; align-content: center; }
.referral__stats div { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: #101C2499; }
.referral__stats small { color: var(--muted); font-size: 11.5px; }
.referral__stats b { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--lime); }

@media (max-width: 1080px) {
  .referral { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .referral { padding: 20px; border-radius: 16px; }
  .referral h2 { font-size: 27px; }
  .referral__field { flex-direction: column; }
  .referral__field button { height: 40px; }
}

/* Wallet */
.wallet-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-bottom: 18px; }
.wallet-balance { padding: 24px; border-radius: 18px; background: radial-gradient(circle at 92% 6%, #9BFFBF2B, transparent 55%), linear-gradient(140deg, #1F3141, #101C24); border: 1px solid var(--line-strong); }
.wallet-balance small { display: block; color: #A9C6C0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wallet-balance b { display: block; margin: 6px 0 16px; font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.wallet-actions { display: flex; gap: 8px; }
.wallet-actions a { display: grid; place-items: center; height: 40px; padding: 0 18px; border-radius: 9px; background: #ffffff12; color: #e5eef4; font-size: 11.5px; font-weight: 700; }
.wallet-actions a:first-child { background: var(--lime); color: #10210B; }
.amount-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.amount-row button { height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 9px; background: transparent; color: #c3d2dc; font-size: 12px; font-weight: 700; cursor: pointer; }
.amount-row button:hover, .amount-row button.is-active { background: var(--lime); border-color: var(--lime); color: #10210B; }

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th { padding: 10px 12px; text-align: left; color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line-strong); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); color: #d5e1e9; }
.table tr:last-child td { border-bottom: 0; }
.table .pos { color: var(--lime); }
.table .neg { color: #ff8b8b; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 14px 0; cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 14px; color: #a9b9c6; font-size: 12.5px; line-height: 1.55; }

/* Steps / upload */
.steps { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); }
.step b { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #ffffff14; color: #cfdbe4; font-size: 12px; }
.step span { display: grid; gap: 2px; font-size: 13px; font-weight: 600; }
.step small { color: var(--muted); font-size: 11px; font-weight: 400; }
.step.is-done b { background: #9BFFBF26; color: var(--green); }
.step.is-current { border: 1px solid #FEFF4A59; }
.step.is-current b { background: var(--lime); color: #10210B; }
.upload { position: relative; display: grid; justify-items: center; gap: 6px; padding: 34px 20px; border: 1px dashed var(--line-strong); border-radius: 14px; background: #17222B; text-align: center; }
.upload svg { width: 26px; height: 26px; color: var(--lime); }
.upload b { font-size: 13px; font-weight: 600; }
.upload small { color: var(--muted); font-size: 11px; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Auth sheet (clone bigodao) */
.auth-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: #000b; backdrop-filter: blur(3px); }
.auth-backdrop[hidden] { display: none; }
.auth-sheet {
  width: 100%;
  max-width: 460px;
  max-height: 100dvh;
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  background: #17222B;
  border: 1px solid #ffffff14;
  border-bottom: 0;
  box-shadow: 0 -20px 60px #000a;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .auth-backdrop { align-items: center; padding: 24px; } .auth-sheet { border-radius: 24px; border-bottom: 1px solid #ffffff14; max-height: 92vh; padding-bottom: 18px; } }

.auth-sheet__banner { position: relative; aspect-ratio: 2.4 / 1; overflow: hidden; border-radius: 24px 24px 0 0; }
.auth-sheet__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.auth-sheet__close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 2px solid #FEFF4A; border-radius: 50%; background: #17222B;
  color: #FEFF4A; cursor: pointer; z-index: 2;
}
.auth-sheet__close svg { width: 18px; height: 18px; }

.auth-sheet__tabs { display: flex; border-bottom: 1px solid #ffffff14; }
.auth-sheet__tabs button {
  flex: 1; height: 58px; border: 0; background: transparent;
  color: #B9CBD6; font-family: var(--font-display); font-size: 15px; font-weight: 800;
  letter-spacing: .02em; cursor: pointer; position: relative;
}
.auth-sheet__tabs button.is-active { color: #FEFF4A; }
.auth-sheet__tabs button.is-active::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -1px; height: 3px;
  border-radius: 3px 3px 0 0; background: #FEFF4A;
}

.auth-sheet__form { display: grid; gap: 12px; padding: 18px 18px 0; }
.auth-sheet__form > * { min-width: 0; }
.auth-sheet__tabs { display: flex; border-bottom: 1px solid #ffffff14; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.afield {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 16px;
  border: 1px solid #ffffff26; border-radius: 14px;
  background: #17222B;
}
.afield input {
  flex: 1; min-width: 0; height: 54px; border: 0; background: transparent;
  color: #F2F8FA; font: inherit; font-size: 16px; outline: none;
}
.afield input::placeholder { color: #A9BDC6; }
.afield__icon { display: grid; place-items: center; width: 22px; height: 22px; flex: none; color: #A9BDC6; }
.afield__icon svg { width: 22px; height: 22px; }
.afield__eye { display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: transparent; color: #A9BDC6; cursor: pointer; }
.afield__eye svg { width: 20px; height: 20px; }
.afield:focus-within { border-color: #9BFFBF; box-shadow: 0 0 0 2px #9BFFBF26; }

.auth-sheet__phone { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px; min-width: 0; }
.auth-sheet__phone > * { min-width: 0; }
.afield--cc { padding: 0 12px; gap: 8px; cursor: pointer; }
.afield__flag { width: 20px; height: 15px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px #ffffff2b; }
.afield__cc { font-size: 15px; color: #E9F2F5; }
.afield__chev { width: 16px; height: 16px; margin-left: auto; color: #A9BDC6; }
.afield--cc select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.auth-sheet__promo { border: 0; }
.auth-sheet__promo summary {
  display: flex; align-items: center; gap: 6px; padding: 6px 2px;
  color: #EAF3F7; font-size: 14.5px; font-weight: 700; cursor: pointer; list-style: none;
}
.auth-sheet__promo summary::-webkit-details-marker { display: none; }
.auth-sheet__promo summary span { font-weight: 400; color: #A9BDC6; }
.auth-sheet__promo summary svg { width: 18px; height: 18px; margin-left: auto; color: #A9BDC6; transition: transform .2s ease; }
.auth-sheet__promo[open] summary svg { transform: rotate(180deg); }
.auth-sheet__promo input {
  width: 100%; height: 52px; margin-top: 8px; padding: 0 16px;
  border: 1px solid #ffffff26; border-radius: 14px; background: #17222B;
  color: #F2F8FA; font: inherit; font-size: 15px; outline: none;
}

.auth-sheet__terms { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin-top: 6px; color: #DFEAF0; font-size: 13px; line-height: 1.45; cursor: pointer; }
.auth-sheet__terms input { position: absolute; opacity: 0; }
.auth-sheet__box {
  display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px;
  border: 1px solid #ffffff26; border-radius: 6px; background: #17222B; color: #0B2417;
}
.auth-sheet__box svg { width: 16px; height: 16px; opacity: 0; }
.auth-sheet__terms input:checked + .auth-sheet__box { background: #9BFFBF; border-color: #9BFFBF; }
.auth-sheet__terms input:checked + .auth-sheet__box svg { opacity: 1; }
.auth-sheet__terms a { color: #FEFF4A; text-decoration: underline; }

.auth-sheet__captcha {
  display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 14px 16px;
  border: 1px solid #ffffff26; border-radius: 8px; background: #1F3141;
  color: #CFE0EA; font-size: 13px;
}
.auth-sheet__captcha small { margin-left: auto; color: #8FA8B5; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.auth-sheet__captcha .dots {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle, #9BFFBF 0 30%, transparent 32%) 0 0 / 8px 8px;
  opacity: .8;
}

.auth-sheet__submit {
  height: 54px; margin-top: 4px; border: 0; border-radius: 14px;
  background: #FEFF4A; color: #10210B; font-family: var(--font-display);
  font-size: 15px; font-weight: 800; letter-spacing: .02em; cursor: pointer;
}
.auth-sheet__submit:hover { filter: brightness(1.05); }
.auth-sheet__alt { margin: 2px 0 0; padding-bottom: 8px; color: #A9BDC6; font-size: 13px; text-align: center; }
.auth-sheet__alt a { color: #FEFF4A; font-weight: 700; }

.auth-sheet [hidden] { display: none !important; }

.auth-sheet__pw { margin: -4px 0 0; }
.auth-sheet__pw > span { color: #A9BDC6; font-size: 12px; }
.auth-sheet__pw ul { display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.auth-sheet__pw li { display: flex; align-items: center; gap: 6px; color: #A9BDC6; font-size: 12px; }
.auth-sheet__pw li svg { width: 14px; height: 14px; flex: none; opacity: .3; }

.auth-sheet__forgot { display: flex; justify-content: flex-end; margin-top: -2px; }
.auth-sheet__forgot-btn {
  padding: 4px 0; border: 0; background: transparent; color: #FEFF4A;
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.auth-sheet__forgot-btn:hover { text-decoration: underline; }

.auth-sheet__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 2px; padding-bottom: 8px; color: #A9BDC6; font-size: 12px;
}
.auth-sheet__secure { display: inline-flex; align-items: center; gap: 6px; }
.auth-sheet__secure svg { width: 16px; height: 16px; color: #9BFFBF; }
.auth-sheet__foot .auth-sheet__alt { margin: 0; padding: 0; text-align: left; }
.auth-sheet__foot .auth-sheet__alt a { font-weight: 700; }

/* ---------- Search modal (clone ratuxo) ---------- */
.search-modal { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; justify-content: flex-end; }
.search-modal[hidden] { display: none; }
.search-modal__backdrop { position: absolute; inset: 0; border: 0; padding: 0; background: #0009; backdrop-filter: blur(4px); cursor: default; animation: fade-in .18s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }

.search-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  height: 85dvh;
  max-height: calc(100% - max(8px, env(safe-area-inset-top)));
  margin: 0 auto;
  border-top: 1px solid #ffffff14;
  border-radius: 16px 16px 0 0;
  background: #17222B;
  box-shadow: 0 -24px 70px #000b;
  animation: sheet-up .2s ease;
}
.search-sheet__grab { flex: none; touch-action: none; cursor: grab; }
.search-sheet__grab:active { cursor: grabbing; }
.search-sheet__handle { display: block; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 999px; background: #ffffff26; }
.search-sheet__head { display: flex; align-items: center; gap: 10px; padding: 12px 20px 14px; }
.search-sheet__head > svg { width: 20px; height: 20px; flex: none; color: var(--lime); }
.search-sheet__head h2 { flex: 1; margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: .01em; }
.search-sheet__close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 12px; background: var(--surface); color: #ffffffb3; cursor: pointer; transition: filter .15s ease, transform .15s ease; }
.search-sheet__close:hover { filter: brightness(1.25); color: #fff; }
.search-sheet__close:active { transform: scale(.97); }
.search-sheet__close svg { width: 18px; height: 18px; }

.search-sheet__field { display: flex; align-items: center; gap: 10px; height: 48px; margin: 0 20px; padding: 0 14px; border: 1px solid #ffffff0f; border-radius: 12px; background: var(--surface); transition: border-color .15s ease; }
.search-sheet__field:focus-within { border-color: var(--lime); }
.search-sheet__field > svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.search-sheet__field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; outline: none; }
.search-sheet__field input::placeholder { color: var(--muted); }
.search-sheet__status { min-height: 26px; margin: 8px 20px 0; color: var(--muted); font-size: 11.5px; }

.search-sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 10px 20px max(16px, env(safe-area-inset-bottom)); }
.search-group + .search-group { margin-top: 22px; }
.search-group h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.search-group__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
@media (min-width: 640px) { .search-group__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; } }

.search-game { display: grid; gap: 4px; min-width: 0; }
.search-game__media { display: block; width: 100%; aspect-ratio: 175 / 236; overflow: hidden; border-radius: 12px; background: var(--surface); }
.search-game__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.search-game:hover .search-game__media img { transform: scale(1.05); }
.search-game b { overflow: hidden; font-size: 11.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.search-game small { overflow: hidden; color: var(--muted); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #1F3141;
  color: #dbe6ee;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.scroll-top[hidden] { display: none; }
.scroll-top:hover { border-color: #ffffff40; color: #fff; }

/* Profile drawer */
.pd-backdrop { position: fixed; inset: 0; z-index: 90; background: #0009; }
.pd-backdrop[hidden] { display: none; }
.pd {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  width: 360px;
  max-width: 92vw;
  overflow-y: auto;
  padding: 18px 18px 30px;
  background: #17222B;
  border-left: 1px solid var(--line-strong);
  box-shadow: -20px 0 60px #000a;
}
.pd[hidden] { display: none; }
.pd__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pd__head strong { font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.pd__close { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #b9c8d4; cursor: pointer; }
.pd__close:hover { background: #ffffff10; }
.pd__close svg { width: 15px; height: 15px; }

.pd__user { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pd__avatar { width: 46px; height: 46px; overflow: hidden; border-radius: 50%; background: var(--surface-2); }
.pd__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 12%; }
.pd__id { display: grid; gap: 1px; min-width: 0; }
.pd__id b { font-size: 13px; font-weight: 700; }
.pd__id small { color: var(--muted); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
.pd__total { display: grid; justify-items: end; gap: 1px; }
.pd__total small { color: var(--muted); font-size: 9.5px; }
.pd__total b { font-size: 13px; font-weight: 700; }

.pd__block { padding: 16px 0; border-bottom: 1px solid var(--line); }
.pd__block h3 { margin: 0 0 12px; font-size: 11.5px; font-weight: 600; color: #c3d2dc; }
.pd__split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.pd__split div { display: grid; gap: 2px; }
.pd__split small { color: var(--muted); font-size: 9.5px; }
.pd__split b { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.pd__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd__btn { display: grid; place-items: center; height: 38px; border-radius: 9px; background: var(--lime); color: #10210B; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.pd__btn--ghost { background: #ffffff12; color: #dbe6ee; }
.pd__btn--sm { height: 34px; margin-top: 12px; font-size: 10px; }

.pd__block--cashback h3 { color: var(--green); }
.pd__cashback { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd__cashback div { display: grid; gap: 2px; }
.pd__cashback b { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.pd__cashback small { color: var(--muted); font-size: 9.5px; }
.pd__coin { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(160deg, #ffe27a, #d9a520); color: #6a4a05; font-size: 10px; font-weight: 800; }

.pd__banner { position: relative; display: flex; align-items: center; gap: 10px; margin: 14px 0; padding: 10px 12px; overflow: hidden; border-radius: 10px; background: var(--surface); }
.pd__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.pd__banner span { position: relative; z-index: 2; display: grid; gap: 1px; }
.pd__banner b { font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.pd__banner small { color: #c6d5e0; font-size: 10px; }

.pd__promo { display: flex; gap: 8px; }
.pd__promo input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: #101C24; color: var(--ink); font: inherit; font-size: 11.5px; }
.pd__promo button { height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: #ffffff14; color: var(--lime); font-size: 10px; font-weight: 800; cursor: pointer; }

.pd__note { display: grid; gap: 6px; margin: 14px 0; padding: 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #101C24; }
.pd__note b { font-size: 11.5px; }
.pd__note small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.pd__note div { display: flex; gap: 8px; margin-top: 4px; }
.pd__note button { height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: #ffffff12; color: #c3d2dc; font-size: 10px; font-weight: 700; cursor: pointer; }
.pd__note .pd__enable { background: var(--lime); color: #10210B; }

.pd__links { display: grid; gap: 2px; margin-top: 6px; }
.pd__links a { padding: 10px 4px; border-radius: 8px; color: #b9c8d4; font-size: 12px; }
.pd__links a:hover { background: #ffffff0a; color: #fff; }

@media (max-width: 900px) {
  .pd { width: 100%; max-width: none; padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
}

/* Legal */
.legal { max-width: 820px; }
.legal h1 { margin: 0 0 6px; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.legal__updated { margin: 0 0 22px; color: var(--muted); font-size: 11.5px; }
.legal h2 { margin: 24px 0 8px; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.legal p, .legal li { color: #b9c8d4; font-size: 13px; line-height: 1.6; }
.legal ul { padding-left: 18px; }

@media (max-width: 1080px) {
  .vip-hero { grid-template-columns: 1fr; }
  .level-grid { grid-template-columns: 1fr; }
  .wallet-top { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .vip-hero { padding: 20px; border-radius: 16px; }
  .vip-hero h1 { font-size: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .table { font-size: 11px; }
  .table th, .table td { padding: 9px 8px; }
  .wallet-balance b { font-size: 28px; }
  .legal h1 { font-size: 21px; }
}

/* Game page */
.crumbs { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; color: var(--muted); font-size: 11.5px; }
.crumbs a:hover { color: var(--lime); }
.crumbs b { color: #dbe6ee; font-weight: 600; }
.main--game { max-width: 1480px; margin: 0 auto; padding: 20px 28px 48px; }
.game-info__exit { margin-top: 6px; align-self: flex-start; text-align: center; }
@media (max-width: 900px) {
  .main--game { padding: 14px 14px calc(28px + env(safe-area-inset-bottom)); }
}
.game-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
}
.game-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 40%, #1F3141, #101C24 70%);
  overflow: hidden;
}
.game-frame img { width: 190px; border-radius: 14px; box-shadow: 0 20px 50px #0008; }
.game-frame__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #101C24CC;
  color: #cfe0ea;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.game-frame__play {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--lime);
  color: #10210B;
  font-size: 14px;
  font-weight: 800;
}
.game-info { display: grid; gap: 16px; align-content: start; }
.game-info h1 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.game-info__provider { margin: -10px 0 0; color: var(--muted); font-size: 12.5px; }
.info-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.info-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface); font-size: 12.5px; }
.info-list span { color: var(--muted); }
.info-list b { font-weight: 700; }

@media (max-width: 1080px) {
  .game-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .game-stage { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .catalog-head { margin: 2px 0 12px; }
  .catalog-head h1 { font-size: 20px; }
  .toolbar--catalog { flex-direction: column; }
  .selects { display: grid; grid-template-columns: 1fr 1fr; }
  .selects select { height: 44px; font-size: 12px; }
  .game-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .chip { height: 34px; padding: 0 13px; font-size: 11.5px; }
  .pager { flex-wrap: wrap; }
  .game-frame { aspect-ratio: 4 / 3; }
  .game-frame img { width: 130px; }
}

.auth-sheet__error{margin:2px 0 0;padding:10px 12px;border:1px solid #ff8b8b55;border-radius:10px;background:#ff8b8b14;color:#ffb3b3;font-size:12.5px;line-height:1.4}

/* ---------- featured promo ---------- */
.promo-featured{margin:0 0 22px}
.promo-featured__card{position:relative;display:block;overflow:hidden;border-radius:20px;border:1px solid var(--line);background:#0b1620}
.promo-featured__card img{display:block;width:100%;height:auto}
.promo-featured__cta{position:absolute;left:5.2%;bottom:6%;display:inline-grid;place-items:center;height:44px;padding:0 22px;border-radius:10px;background:var(--lime);color:#10210B;font-size:12px;font-weight:800;letter-spacing:.04em}
@media(max-width:900px){.promo-featured__cta{left:18px;bottom:14px;height:36px;padding:0 14px;font-size:10px}}

/* ---------- promo text overlays ---------- */
.promo-featured__copy{position:absolute;left:6.4%;top:24%;display:grid;gap:9px;max-width:48%;color:#fff;text-shadow:0 4px 18px #000c;z-index:2}
.promo-featured__copy span{font-size:15.6px;font-weight:800;letter-spacing:.22em}
.promo-featured__copy em{font-family:Anton,var(--font-display);font-style:normal;font-size:110px;line-height:.9;color:var(--lime)}
.promo-featured__copy strong{font-family:Anton,var(--font-display);font-size:41px;letter-spacing:.02em}
.promo-stack{position:absolute;left:0;right:0;bottom:0;z-index:2;display:grid;gap:3px;padding:32px 18px 16px;background:linear-gradient(0deg,#071019e6 0%,#07101980 55%,transparent 100%);text-shadow:0 2px 10px #000c}
.promo-stack span{font-size:8.4px;letter-spacing:.18em;font-weight:800;color:#fff}
.promo-stack b{font-family:Anton,var(--font-display);font-size:31px;line-height:.95;font-weight:400;color:var(--lime)}
.promo-stack em{font-size:9.6px;font-weight:800;letter-spacing:.12em;font-style:normal;color:#fff}
@media(max-width:900px){.promo-featured__copy{top:18%}.promo-featured__copy em{font-size:64px}.promo-featured__copy strong{font-size:26px}.promo-featured__copy span{font-size:11px}}

.promo-featured__copy{justify-items:start}
.promo-featured__copy em{margin-left:-3px;line-height:.84}
.promo-featured__copy .promo-featured__cta{position:static;left:auto;bottom:auto;margin-top:10px}

.auth-banner__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.auth-banner__dots{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);z-index:2;display:flex;gap:5px}
.auth-banner__dots i{display:block;width:6px;height:6px;border-radius:50%;background:#ffffff66}
.auth-banner__dots i.is-on{width:16px;border-radius:3px;background:#FEFF4A}

.auth-banner__copy{position:absolute;left:22px;top:50%;transform:translateY(-50%);z-index:2;display:grid;gap:2px;max-width:56%;text-shadow:0 2px 12px #000c}
.auth-banner__copy span{font-size:8px;letter-spacing:.16em;font-weight:800;color:#9BFFBF;text-transform:uppercase}
.auth-banner__copy strong{font-family:var(--font-display);font-size:22px;line-height:.95;font-weight:800;color:#FEFF4A;text-transform:uppercase}
.auth-banner__copy small{font-size:8px;letter-spacing:.12em;font-weight:800;color:#fff;text-transform:uppercase}
