/* MillionCoinz — modern premium pages overrides */
:root {
  --page-glow: 0 24px 90px rgba(0, 0, 0, 0.42), 0 0 46px rgba(72, 238, 88, 0.08);
  --glass: linear-gradient(180deg, rgba(18, 27, 47, 0.82), rgba(8, 13, 25, 0.88));
  --glass-soft: rgba(14, 21, 36, 0.62);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 10%, rgba(72, 238, 88, 0.08), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(52, 214, 255, 0.1), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 255, 0.08), transparent 34%);
  pointer-events: none;
}

/* Header polish */
.header {
  height: 72px;
  border-bottom-color: rgba(72, 238, 88, 0.12);
}
.header-actions { gap: 10px; }
.account-link { display: none; }
.account-link.active,
body.is-auth .account-link { display: inline-flex; }
body.is-auth .login { display: none; }

/* Generic page wrappers */
.bonos-shell,
.empty-page-shell,
.faq-shell,
.reviews-shell,
.soporte-shell,
.account-shell,
.case-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 28px auto 80px;
}

.page-title,
.case-page-head {
  position: relative;
  text-align: center;
  margin: 46px auto 30px;
}
.page-title::before,
.case-page-head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -26px;
  width: 180px;
  height: 70px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(72, 238, 88, 0.2), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}
.page-title h1,
.case-page-head h1 {
  position: relative;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.065em;
  color: var(--text);
  text-shadow: 0 0 34px rgba(72, 238, 88, 0.1);
}
.page-title h1 span,
.case-page-head h1 span {
  color: transparent;
  background: linear-gradient(135deg, #7dff88, #34d6ff);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-title p,
.case-page-head p {
  margin: 12px 0 0;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
}

/* Shared modern panel */
.bonos-panel,
.faq-card,
.soporte-info,
.case-prizes-panel,
.affiliate-card,
.profile-card,
.top-modern-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(112, 139, 170, 0.18);
  background: var(--glass);
  box-shadow: var(--page-glow), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
}
.bonos-panel::before,
.faq-card::before,
.soporte-info::before,
.case-prizes-panel::before,
.affiliate-card::before,
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.05), transparent 45%);
  transform: translateX(-120%);
  transition: transform 800ms ease;
  pointer-events: none;
}
.bonos-panel:hover::before,
.faq-card:hover::before,
.soporte-info:hover::before,
.case-prizes-panel:hover::before,
.affiliate-card:hover::before,
.profile-card:hover::before { transform: translateX(120%); }

/* Bonuses */
.bonos-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  padding: 34px;
  border-radius: 28px;
}
.bonos-left h3,
.bonos-right h4 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bonos-left p {
  max-width: 560px;
  margin: 0 0 22px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}
.bonos-cta,
.review-form-card button,
.support-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb545, #ff8a1f);
  color: #241200;
  box-shadow: 0 16px 38px rgba(255, 145, 31, 0.26), inset 0 1px 0 rgba(255,255,255,.4);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
}
.bonos-timer { margin-top: 26px; }
.bonos-timer span { color: var(--muted); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.bonos-timer strong { display: block; margin-top: 4px; font-size: clamp(36px, 6vw, 64px); line-height: 1; font-weight: 950; letter-spacing: -.06em; }
.bonos-prizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bonos-prizes span {
  position: relative;
  display: grid;
  place-items: center;
  height: 78px;
  border-radius: 22px;
  color: var(--text);
  background: radial-gradient(circle at 50% 0, rgba(72,238,88,.18), transparent 55%), rgba(4,8,15,.74);
  border: 1px solid rgba(72, 238, 88, .14);
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.bonos-prizes span::after { content:""; position:absolute; bottom:16px; width:42%; height:2px; border-radius:4px; background:linear-gradient(90deg,var(--green),var(--aqua)); }
.bonos-winner {
  display: grid;
  grid-template-columns: 160px 1fr 140px;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  padding: 24px 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, #ffe45e, #caff26 60%, #35e56b);
  color: #07110b;
  box-shadow: 0 28px 80px rgba(185, 255, 38, .18);
}
.bonos-winner .avatar { display:grid; place-items:center; width:94px; height:94px; border:2px solid rgba(4,17,6,.24); border-radius:50%; color:#00a7ff; background:rgba(255,255,255,.18); }
.bonos-winner svg { width:54px; height:54px; fill:none; stroke:currentColor; stroke-width:1.7; }
.bonos-winner .center { text-align:center; }
.bonos-winner small { color:rgba(7,17,11,.62); font-weight:800; }
.bonos-winner b { display:block; font-size:44px; font-weight:950; letter-spacing:-.05em; }
.bonos-winner .right { justify-self:end; display:grid; place-items:center; width:86px; height:86px; border-radius:50%; background:#0c1220; color:#fff36b; font-weight:950; }

/* FAQ */
.faq-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:30px 0; }
.faq-card { min-height:210px; padding:26px; border-radius:26px; }
.faq-card-icon { display:grid; place-items:center; width:56px; height:56px; border-radius:18px; margin-bottom:20px; }
.faq-card-icon.blue { color:#67c8ff; background:rgba(52,214,255,.13); }
.faq-card-icon.green { color:var(--green); background:rgba(72,238,88,.13); }
.faq-card-icon.orange { color:#ffb545; background:rgba(255,181,69,.13); }
.faq-card-icon svg { width:25px; height:25px; fill:currentColor; }
.faq-card h4 { margin:0 0 12px; font-size:15px; font-weight:950; text-transform:uppercase; letter-spacing:.09em; }
.faq-card.blue h4 { color:#67c8ff; } .faq-card.green h4 { color:var(--green); } .faq-card.orange h4 { color:#ffb545; }
.faq-card p { margin:0; color:var(--muted-strong); font-size:13px; line-height:1.65; font-weight:700; }
.faq-list { display:grid; gap:12px; }
.faq-item { padding:20px 22px; border:1px solid rgba(112,139,170,.14); border-radius:18px; background:rgba(14,21,36,.42); }
.faq-item h5 { display:flex; align-items:center; gap:10px; margin:0 0 8px; color:#76caff; font-size:15px; font-weight:900; }
.faq-item h5 svg { width:18px; height:18px; fill:currentColor; }
.faq-item p { margin:4px 0 0; color:var(--muted-strong); font-size:13px; line-height:1.65; font-weight:700; }

/* Reviews / Support forms */
.reviews-empty,.empty-state,.account-empty { text-align:center; color:var(--muted-strong); font-size:14px; font-weight:800; }
.review-form-card,.support-form {
  position:relative;
  width:min(620px,100%);
  margin:26px auto 0;
  padding:28px;
  border:1px solid rgba(52,214,255,.24);
  border-radius:28px;
  background:radial-gradient(circle at 20% 0, rgba(52,214,255,.22), transparent 42%), linear-gradient(180deg, rgba(24,120,255,.88), rgba(12,83,190,.86));
  box-shadow:0 26px 80px rgba(12,83,190,.32), inset 0 1px 0 rgba(255,255,255,.15);
}
.review-form-card h3,.support-form h4 { display:flex; align-items:center; gap:10px; margin:0 0 20px; color:#fff; font-size:24px; font-weight:950; letter-spacing:-.04em; }
.review-form-card form,.support-form form { display:grid; gap:12px; }
.review-form-card input,.review-form-card select,.review-form-card textarea,.support-form input,.support-form textarea {
  width:100%; height:48px; padding:0 16px; border:1px solid rgba(255,255,255,.18); border-radius:16px; background:rgba(255,255,255,.95); color:#0c1220; outline:0; font:inherit; font-weight:700;
}
.review-form-card textarea,.support-form textarea { height:126px; padding:16px; resize:vertical; }
.review-row { display:grid; grid-template-columns:170px 1fr; gap:12px; }

/* Support */
.soporte-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.soporte-info { padding:30px; border-radius:28px; }
.soporte-info h4 { display:flex; align-items:center; gap:10px; margin:0 0 18px; color:#fff; font-size:22px; font-weight:950; letter-spacing:-.04em; }
.soporte-info ul { margin:0 0 18px; padding-left:18px; color:var(--muted-strong); font-size:14px; line-height:1.9; font-weight:750; }
.soporte-info a { color:#ff7272; font-weight:900; text-decoration:none; }
.y-orange,.soporte-info .accent { color:#ffb545; font-weight:950; }
.y-green { color:var(--green); font-weight:950; }
.soporte-info h5 { margin:24px 0 8px; color:#fff; font-size:16px; font-weight:900; }
.soporte-info p { color:var(--muted-strong); font-weight:700; }
.support-form { width:auto; margin:0; }
.support-form button { justify-self:end; min-width:180px; background:#071320; color:#fff; box-shadow:0 16px 38px rgba(0,0,0,.22); }

/* Account */
.account-grid { display:grid; grid-template-columns:360px 1fr; gap:22px; }
.profile-card { padding:30px; border-radius:30px; text-align:center; }
.profile-avatar { display:grid; place-items:center; width:124px; height:124px; margin:0 auto 16px; color:var(--aqua); border:1px solid rgba(52,214,255,.35); border-radius:36px; background:radial-gradient(circle at 50% 0, rgba(52,214,255,.25), transparent 60%), rgba(52,214,255,.06); box-shadow:0 0 36px rgba(52,214,255,.12); }
.profile-avatar svg { width:66px; height:66px; fill:none; stroke:currentColor; stroke-width:1.6; }
.profile-stats { display:grid; gap:10px; margin:18px 0; }
.profile-stats div { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.06); color:var(--muted-strong); font-size:14px; font-weight:800; }
.profile-stats b { color:var(--green); }
.profile-stats a { color:var(--aqua); text-decoration:none; }
.profile-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.profile-actions a { display:flex; align-items:center; justify-content:center; gap:8px; height:48px; border-radius:999px; text-decoration:none; color:#211500; font-size:12px; font-weight:950; text-transform:uppercase; background:linear-gradient(180deg,#ffd65e,#ff9f2d); box-shadow:0 16px 38px rgba(255,159,45,.2); }
.profile-actions a.btn-withdraw { background:linear-gradient(180deg,#ffd2a3,#d48a46); }
.profile-actions svg { width:18px; height:18px; }
.affiliate-card { display:flex; flex-direction:column; justify-content:center; min-height:260px; padding:34px; border-radius:30px; background:radial-gradient(circle at 80% 0, rgba(52,214,255,.2), transparent 48%), var(--glass); }
.affiliate-card .badge { align-self:flex-start; margin-bottom:18px; padding:8px 14px; border-radius:999px; background:rgba(52,214,255,.14); color:#78d9ff; border:1px solid rgba(52,214,255,.25); font-size:11px; font-weight:950; text-transform:uppercase; letter-spacing:.1em; }
.affiliate-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.affiliate-input { display:flex; height:54px; border-radius:999px; overflow:hidden; background:#fff; box-shadow:0 16px 34px rgba(0,0,0,.18); }
.affiliate-input input { flex:1; min-width:0; padding:0 18px; border:0; outline:0; color:#0c1220; font-weight:800; }
.affiliate-input button { padding:0 24px; border:0; background:#071320; color:#fff; font-weight:950; }
.affiliate-block p { color:var(--muted-strong); font-size:13px; line-height:1.6; font-weight:750; }
.affiliate-block mark { padding:2px 7px; border-radius:7px; background:var(--green); color:#061106; font-weight:950; }
.account-tabs { display:flex; width:max-content; max-width:100%; margin:28px auto 18px; padding:6px; border:1px solid rgba(112,139,170,.16); border-radius:999px; background:rgba(14,21,36,.64); }
.account-tabs a { padding:10px 24px; border-radius:999px; color:var(--muted); text-decoration:none; font-size:13px; font-weight:900; }
.account-tabs a.active { color:#fff; background:rgba(255,255,255,.07); }

/* Sorteo empty */
.empty-state { min-height:42vh; display:grid; place-items:center; padding:40px; border:1px solid rgba(112,139,170,.12); border-radius:30px; background:rgba(14,21,36,.34); line-height:1.8; }
.empty-state a { color:var(--aqua); }

/* Case page */
.case-page-head h1 { font-size:clamp(28px,4vw,48px); }
.case-roulette { position:relative; margin:34px 0 28px; padding:22px; border:1px solid rgba(72,238,88,.46); border-radius:32px; background:linear-gradient(135deg, rgba(72,238,88,.8), rgba(15,199,118,.7)); box-shadow:0 0 60px rgba(72,238,88,.24); }
.case-roulette::before { content:""; position:absolute; left:50%; top:-1px; transform:translateX(-50%); border-left:12px solid transparent; border-right:12px solid transparent; border-top:14px solid #f3ff59; z-index:2; }
.case-roulette-track { display:flex; align-items:center; justify-content:center; gap:20px; min-height:74px; padding:0 24px; overflow:hidden; border-radius:999px; background:linear-gradient(180deg,#1a2534,#0b111d); color:#fff; font-size:22px; font-weight:950; box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }
.case-roulette-track span { position:relative; min-width:64px; text-align:center; }
.case-roulette-track span::after { content:""; position:absolute; left:20%; right:20%; bottom:-14px; height:2px; background:linear-gradient(90deg,var(--aqua),var(--green)); }
.case-cta { display:flex; flex-direction:column; align-items:center; gap:10px; margin:22px 0 32px; }
.disabled-btn { padding:13px 24px; border-radius:999px; background:rgba(255,255,255,.06); color:var(--muted); font-size:12px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.case-cta a { color:var(--aqua); text-decoration:none; font-weight:900; }
.case-prizes-panel { padding:30px; border-radius:30px; }
.case-prizes-panel h3 { margin:0; text-align:center; font-size:20px; font-weight:950; }
.case-prizes-panel .total { margin:8px 0 24px; text-align:center; color:var(--muted-strong); font-weight:800; }
.case-prizes-panel .total b { color:#ffb545; }
.case-prizes-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.case-prize { position:relative; display:grid; place-items:center; min-height:86px; border-radius:20px; background:radial-gradient(circle at 50% 0, rgba(72,238,88,.14), transparent 58%), rgba(6,10,19,.8); border:1px solid rgba(112,139,170,.14); color:#fff; font-weight:950; }
.case-prize::after { content:""; position:absolute; bottom:18px; width:40%; height:2px; border-radius:2px; background:linear-gradient(90deg,var(--green),var(--aqua)); }

/* Responsive */
@media (max-width: 1100px) {
  .bonos-panel,.soporte-grid,.account-grid,.affiliate-row { grid-template-columns:1fr; }
  .faq-cards { grid-template-columns:1fr; }
  .bonos-prizes { grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 900px) {
  .bonos-shell,.empty-page-shell,.faq-shell,.reviews-shell,.soporte-shell,.account-shell,.case-shell { width:calc(100% - 28px); margin-top:18px; }
  .page-title,.case-page-head { margin-top:34px; }
  .bonos-panel,.soporte-info,.support-form,.profile-card,.affiliate-card,.case-prizes-panel { border-radius:22px; padding:22px; }
  .bonos-winner { grid-template-columns:1fr; border-radius:28px; text-align:center; }
  .bonos-winner .avatar,.bonos-winner .right { justify-self:center; }
  .review-row { grid-template-columns:1fr; }
  .case-prizes-grid { grid-template-columns:repeat(3,1fr); }
  .case-roulette-track { justify-content:flex-start; overflow-x:auto; }
}
@media (max-width: 520px) {
  .bonos-prizes { grid-template-columns:repeat(2,1fr); }
  .case-prizes-grid { grid-template-columns:repeat(2,1fr); }
  .account-tabs { width:100%; justify-content:center; flex-wrap:wrap; border-radius:22px; }
}

/* ============================== LIGHT THEME + RESPONSIVE PAGE POLISH ============================== */
:root[data-theme="light"] {
  --page-glow: 0 18px 54px rgba(20, 40, 70, 0.1), 0 0 34px rgba(72, 238, 88, 0.08);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.9));
  --glass-soft: rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] body::before {
  background:
    radial-gradient(circle at 12% 4%, rgba(72, 238, 88, 0.14), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(52, 214, 255, 0.12), transparent 34%),
    radial-gradient(circle at 50% 88%, rgba(139, 92, 255, 0.08), transparent 36%);
}

:root[data-theme="light"] .page-title p,
:root[data-theme="light"] .case-page-head p,
:root[data-theme="light"] .reviews-empty,
:root[data-theme="light"] .empty-state,
:root[data-theme="light"] .account-empty,
:root[data-theme="light"] .bonos-left p,
:root[data-theme="light"] .faq-card p,
:root[data-theme="light"] .faq-item p,
:root[data-theme="light"] .soporte-info ul,
:root[data-theme="light"] .soporte-info p,
:root[data-theme="light"] .affiliate-block p,
:root[data-theme="light"] .case-prizes-panel .total {
  color: #4b5665;
}

:root[data-theme="light"] .bonos-panel,
:root[data-theme="light"] .faq-card,
:root[data-theme="light"] .soporte-info,
:root[data-theme="light"] .case-prizes-panel,
:root[data-theme="light"] .affiliate-card,
:root[data-theme="light"] .profile-card,
:root[data-theme="light"] .top-modern-panel {
  border-color: rgba(15, 25, 50, 0.1);
  background: var(--glass);
  box-shadow: var(--page-glow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .bonos-prizes span,
:root[data-theme="light"] .faq-item,
:root[data-theme="light"] .empty-state,
:root[data-theme="light"] .case-prize,
:root[data-theme="light"] .account-tabs {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(15, 25, 50, 0.1);
  color: #0c1220;
  box-shadow: 0 10px 30px rgba(20, 40, 70, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

:root[data-theme="light"] .review-form-card,
:root[data-theme="light"] .support-form {
  border-color: rgba(52, 214, 255, 0.18);
  background:
    radial-gradient(circle at 18% 0, rgba(52, 214, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 255, 0.92));
  box-shadow: 0 22px 62px rgba(20, 40, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

:root[data-theme="light"] .review-form-card h3,
:root[data-theme="light"] .support-form h4,
:root[data-theme="light"] .soporte-info h4,
:root[data-theme="light"] .soporte-info h5,
:root[data-theme="light"] .case-prizes-panel h3 {
  color: #0c1220;
}

:root[data-theme="light"] .review-form-card input,
:root[data-theme="light"] .review-form-card select,
:root[data-theme="light"] .review-form-card textarea,
:root[data-theme="light"] .support-form input,
:root[data-theme="light"] .support-form textarea,
:root[data-theme="light"] .affiliate-input {
  background: #ffffff;
  border-color: rgba(15, 25, 50, 0.1);
  box-shadow: 0 10px 26px rgba(20, 40, 70, 0.08);
}

:root[data-theme="light"] .profile-stats div {
  border-bottom-color: rgba(15, 25, 50, 0.08);
  color: #4b5665;
}

:root[data-theme="light"] .account-tabs a { color: #5a6675; }
:root[data-theme="light"] .account-tabs a.active {
  color: #084f17;
  background: rgba(72, 238, 88, 0.14);
}

:root[data-theme="light"] .disabled-btn {
  background: rgba(15, 25, 50, 0.06);
  color: #5a6675;
}

:root[data-theme="light"] .case-roulette {
  border-color: rgba(72, 238, 88, 0.35);
  background: linear-gradient(135deg, rgba(72, 238, 88, 0.76), rgba(34, 200, 61, 0.66));
  box-shadow: 0 18px 56px rgba(32, 180, 60, 0.18);
}

:root[data-theme="light"] .case-roulette-track {
  background: linear-gradient(180deg, #ffffff, #edf4ff);
  color: #0c1220;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 30px rgba(20, 40, 70, 0.1);
}

@media (max-width: 900px) {
  .bonos-shell,
  .empty-page-shell,
  .faq-shell,
  .reviews-shell,
  .soporte-shell,
  .account-shell,
  .case-shell {
    width: calc(100% - 32px);
    margin: 18px auto 56px;
  }

  .page-title,
  .case-page-head {
    margin: 30px auto 22px;
  }

  .page-title h1,
  .case-page-head h1 {
    font-size: clamp(28px, 9vw, 42px);
    letter-spacing: -0.055em;
  }

  .bonos-panel,
  .soporte-info,
  .support-form,
  .review-form-card,
  .profile-card,
  .affiliate-card,
  .case-prizes-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .bonos-panel,
  .soporte-grid,
  .account-grid,
  .affiliate-row {
    grid-template-columns: 1fr;
  }

  .faq-cards,
  .faq-list { gap: 14px; }
  .faq-card { min-height: auto; padding: 22px; }
  .review-form-card,
  .support-form { width: 100%; }
  .support-form button { width: 100%; justify-self: stretch; }
  .profile-avatar { width: 104px; height: 104px; border-radius: 28px; }
  .affiliate-input { border-radius: 18px; }
  .affiliate-input button { padding: 0 18px; }
  .account-tabs { width: 100%; justify-content: center; overflow-x: auto; }
  .account-tabs a { white-space: nowrap; padding: 10px 18px; }
  .case-roulette { padding: 14px; border-radius: 24px; }
  .case-roulette-track { min-height: 66px; gap: 14px; padding: 0 18px; font-size: 18px; }
  .case-prizes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .bonos-shell,
  .empty-page-shell,
  .faq-shell,
  .reviews-shell,
  .soporte-shell,
  .account-shell,
  .case-shell {
    width: calc(100% - 24px);
    margin-bottom: 44px;
  }

  .bonos-panel,
  .soporte-info,
  .support-form,
  .review-form-card,
  .profile-card,
  .affiliate-card,
  .case-prizes-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .bonos-prizes,
  .case-prizes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bonos-winner { padding: 22px; }
  .bonos-winner b { font-size: 34px; }
  .profile-actions { grid-template-columns: 1fr; }
  .affiliate-input { height: auto; min-height: 52px; flex-direction: column; border-radius: 18px; }
  .affiliate-input input { min-height: 52px; text-align: center; }
  .affiliate-input button { min-height: 46px; }
  .review-row { grid-template-columns: 1fr; }
  .case-roulette-track span { min-width: 52px; }
}

/* Cleaner case page redesign */
.case-shell {
  max-width: 1160px;
}

.case-page-head {
  margin: 42px auto 24px;
}

.case-page-head::before {
  width: 320px;
  height: 120px;
  opacity: 0.75;
  background: radial-gradient(circle, rgba(72, 238, 88, 0.14), transparent 70%);
}

.case-page-head h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -0.075em;
}

.case-page-head p {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.case-roulette {
  max-width: 1030px;
  margin: 28px auto 24px;
  padding: 10px;
  border: 1px solid rgba(72, 238, 88, 0.22);
  border-radius: 24px;
  background: rgba(14, 21, 36, 0.76);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.case-roulette::before {
  top: -8px;
  border-left-width: 9px;
  border-right-width: 9px;
  border-top-width: 10px;
  border-top-color: #48ee58;
  filter: drop-shadow(0 0 10px rgba(72, 238, 88, 0.35));
}

.case-roulette-track {
  min-height: 62px;
  border-radius: 18px;
  gap: 18px;
  padding: 0 20px;
  background: #080d17;
  color: #eef6ff;
  font-size: 19px;
  box-shadow: none;
}

.case-roulette-track span::after {
  left: 24%;
  right: 24%;
  bottom: -10px;
  height: 2px;
  background: #48ee58;
}

.case-cta {
  margin: 18px 0 30px;
}

.disabled-btn {
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.case-prizes-panel {
  max-width: 1030px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 24px;
  background: rgba(12, 18, 31, 0.72);
  border: 1px solid rgba(112, 139, 170, 0.16);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.case-prizes-panel h3 {
  font-size: 18px;
  letter-spacing: -0.035em;
}

.case-prizes-panel .total {
  margin-bottom: 22px;
}

.case-prizes-grid {
  gap: 12px;
}

.case-prize {
  min-height: 72px;
  border-radius: 16px;
  background: rgba(5, 9, 17, 0.62);
  border-color: rgba(112, 139, 170, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.case-prize::after {
  bottom: 14px;
  width: 34%;
  background: #48ee58;
}

:root[data-theme="light"] .case-roulette {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(72, 238, 88, 0.26);
  box-shadow: 0 18px 56px rgba(20, 40, 70, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .case-roulette-track {
  background: #ffffff;
  color: #0c1220;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

:root[data-theme="light"] .case-prizes-panel {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(15, 25, 50, 0.1);
  box-shadow: 0 18px 56px rgba(20, 40, 70, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .case-prize {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 25, 50, 0.1);
  color: #0c1220;
}

@media (max-width: 900px) {
  .case-page-head { margin-top: 30px; }
  .case-roulette,
  .case-prizes-panel { max-width: 100%; border-radius: 20px; }
  .case-roulette-track { justify-content: flex-start; overflow-x: auto; min-height: 58px; font-size: 17px; }
  .case-prizes-panel { padding: 20px; }
  .case-prizes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .case-page-head h1 { font-size: clamp(30px, 11vw, 42px); }
  .case-prizes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-prize { min-height: 66px; }
}

/* Redesigned bonuses page: balanced dark/light themes */
.bonos-shell {
  max-width: 1240px;
}

.bonos-shell .page-title {
  margin: 42px auto 28px;
}

.bonos-shell .page-title h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.08em;
}

.bonos-panel {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  gap: 28px;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 0, rgba(72, 238, 88, 0.14), transparent 38%),
    radial-gradient(circle at 100% 20%, rgba(52, 214, 255, 0.12), transparent 40%),
    rgba(12, 18, 31, 0.86);
  border: 1px solid rgba(112, 139, 170, 0.16);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bonos-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 270px;
  padding: 2px 0;
}

.bonos-left h3,
.bonos-right h4 {
  margin-bottom: 14px;
  color: #48ee58;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.bonos-left p {
  max-width: 520px;
  color: #a5b0bf;
  font-size: 14px;
  line-height: 1.75;
}

.bonos-cta {
  width: max-content;
  min-width: 190px;
  height: 50px;
  margin-top: 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, #8cff91 0%, #48ee58 52%, #22c83d 100%);
  color: #041106;
  box-shadow: 0 18px 44px rgba(72, 238, 88, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.bonos-timer {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(72, 238, 88, 0.16);
  border-radius: 24px;
  background: rgba(6, 10, 19, 0.5);
}

.bonos-timer span {
  color: #7c8796;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.bonos-timer strong {
  margin-top: 8px;
  color: #edf3f7;
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -0.075em;
}

.bonos-right {
  padding: 4px 0 0;
}

.bonos-prizes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bonos-prizes span {
  height: 86px;
  border-radius: 20px;
  color: #edf3f7;
  background: rgba(5, 9, 17, 0.62);
  border: 1px solid rgba(112, 139, 170, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 17px;
}

.bonos-prizes span::after {
  bottom: 18px;
  width: 34%;
  height: 2px;
  background: #48ee58;
}

.bonos-winner {
  position: relative;
  grid-template-columns: 110px 1fr 110px;
  margin-top: 26px;
  padding: 26px 34px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 50%, rgba(72, 238, 88, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(20, 30, 50, 0.92), rgba(9, 14, 25, 0.96));
  color: #edf3f7;
  border: 1px solid rgba(72, 238, 88, 0.18);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bonos-winner .avatar {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(52, 214, 255, 0.32);
  color: #34d6ff;
  background: rgba(52, 214, 255, 0.08);
}

.bonos-winner svg {
  width: 46px;
  height: 46px;
}

.bonos-winner small {
  color: #a5b0bf;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bonos-winner b {
  color: #48ee58;
  font-size: 48px;
  text-shadow: 0 0 22px rgba(72, 238, 88, 0.18);
}

.bonos-winner .right {
  width: 82px;
  height: 82px;
  color: #041106;
  background: linear-gradient(180deg, #8cff91, #48ee58);
  box-shadow: 0 18px 42px rgba(72, 238, 88, 0.18);
}

:root[data-theme="light"] .bonos-panel {
  background:
    radial-gradient(circle at 8% 0, rgba(72, 238, 88, 0.16), transparent 38%),
    radial-gradient(circle at 100% 20%, rgba(52, 214, 255, 0.13), transparent 40%),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 25, 50, 0.1);
  box-shadow: 0 22px 70px rgba(20, 40, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .bonos-left p {
  color: #4b5665;
}

:root[data-theme="light"] .bonos-timer {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(72, 238, 88, 0.18);
}

:root[data-theme="light"] .bonos-timer span {
  color: #687386;
}

:root[data-theme="light"] .bonos-timer strong {
  color: #0c1220;
}

:root[data-theme="light"] .bonos-prizes span {
  color: #0c1220;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 25, 50, 0.1);
  box-shadow: 0 12px 30px rgba(20, 40, 70, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .bonos-winner {
  background:
    radial-gradient(circle at 12% 50%, rgba(72, 238, 88, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 248, 255, 0.86));
  color: #0c1220;
  border-color: rgba(72, 238, 88, 0.24);
  box-shadow: 0 22px 70px rgba(20, 40, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .bonos-winner small {
  color: #687386;
}

:root[data-theme="light"] .bonos-winner .avatar {
  color: #0a7cab;
  background: rgba(52, 214, 255, 0.1);
}

@media (max-width: 900px) {
  .bonos-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    border-radius: 26px;
  }

  .bonos-left {
    min-height: auto;
  }

  .bonos-prizes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bonos-winner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    padding: 26px 22px;
  }

  .bonos-winner .avatar,
  .bonos-winner .right {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .bonos-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .bonos-prizes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bonos-prizes span {
    height: 76px;
    border-radius: 16px;
  }

  .bonos-cta {
    width: 100%;
  }

  .bonos-timer {
    padding: 18px;
  }

  .bonos-timer strong {
    font-size: 42px;
  }
}

/* ============================== NO-GRADIENT PAGE SECTIONS ============================== */
body::before,
.page-title::before,
.case-page-head::before,
.bonos-panel::before,
.faq-card::before,
.soporte-info::before,
.case-prizes-panel::before,
.affiliate-card::before,
.profile-card::before {
  display: none !important;
  content: none !important;
}

:root,
:root[data-theme="dark"] {
  --glass: #101827;
  --glass-soft: #0f1726;
  --page-glow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

:root[data-theme="light"] {
  --glass: #ffffff;
  --glass-soft: #f8fbfd;
  --page-glow: 0 18px 52px rgba(20, 40, 70, 0.1);
}

.bonos-panel,
.faq-card,
.soporte-info,
.case-prizes-panel,
.affiliate-card,
.profile-card,
.review-form-card,
.support-form,
.empty-state,
.case-roulette,
.case-roulette-track,
.case-prize,
.bonos-prizes span,
.bonos-winner,
.account-tabs,
.affiliate-input {
  background-image: none !important;
}

.bonos-panel,
.faq-card,
.soporte-info,
.case-prizes-panel,
.affiliate-card,
.profile-card,
.review-form-card,
.support-form {
  background: #101827 !important;
  border-color: rgba(112, 139, 170, 0.18) !important;
  box-shadow: var(--page-glow), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.empty-state,
.case-roulette,
.case-prize,
.bonos-prizes span,
.account-tabs,
.affiliate-input {
  background: #0f1726 !important;
}

.case-roulette-track {
  background: #070b12 !important;
}

.bonos-winner {
  background: #101827 !important;
  color: var(--text) !important;
}

.bonos-winner .right,
.bonos-cta,
.review-form-card button,
.support-form button,
.profile-actions a,
.affiliate-block mark {
  background: #48ee58 !important;
  background-image: none !important;
  color: #041106 !important;
}

.page-title h1 span,
.case-page-head h1 span {
  color: var(--green) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

:root[data-theme="light"] .bonos-panel,
:root[data-theme="light"] .faq-card,
:root[data-theme="light"] .soporte-info,
:root[data-theme="light"] .case-prizes-panel,
:root[data-theme="light"] .affiliate-card,
:root[data-theme="light"] .profile-card,
:root[data-theme="light"] .review-form-card,
:root[data-theme="light"] .support-form {
  background: #ffffff !important;
  border-color: rgba(15, 25, 50, 0.1) !important;
  box-shadow: var(--page-glow), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

:root[data-theme="light"] .empty-state,
:root[data-theme="light"] .case-roulette,
:root[data-theme="light"] .case-prize,
:root[data-theme="light"] .bonos-prizes span,
:root[data-theme="light"] .account-tabs,
:root[data-theme="light"] .affiliate-input,
:root[data-theme="light"] .bonos-winner {
  background: #ffffff !important;
  color: #0c1220 !important;
}

:root[data-theme="light"] .case-roulette-track {
  background: #f5f8fb !important;
  color: #0c1220 !important;
}
