/* ==========================================================================
   DragonMoney — шаблон онлайн-казино (демо). Оригинальная вёрстка.
   ========================================================================== */

:root {
  --bg-0: #0a0a14;
  --bg-1: #11111f;
  --bg-2: #181830;
  --bg-3: #21213f;
  --line: rgba(255, 255, 255, 0.08);
  --txt: #e8e8f5;
  --txt-dim: #9a9ab5;
  --accent: #7b4dff;
  --accent-2: #00e0c6;
  --gold: #ffcc4d;
  --danger: #ff4d6d;
  --ok: #38d39f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --glow: 0 0 24px rgba(123, 77, 255, 0.45);
  --maxw: 1240px;
  --header-h: 68px;
  --sidebar-w: 248px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(123, 77, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(0, 224, 198, 0.10), transparent 55%),
    var(--bg-0);
  color: var(--txt);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #a37bff); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 32px rgba(123, 77, 255, .65); }
.btn-accent { background: linear-gradient(135deg, var(--accent-2), #4dffe6); color: #042; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--txt); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #ffe08a); color: #3a2a00; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ---------- Sidebar (левое меню) ---------- */
body { padding-left: var(--sidebar-w); }
.site-header {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  width: var(--sidebar-w);
  backdrop-filter: blur(14px);
  background: rgba(14, 14, 28, 0.85);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}
.site-header .container {
  height: 100%; max-width: none; padding: 22px 16px;
  display: flex; flex-direction: column; align-items: stretch; gap: 22px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .5px; padding: 0 8px; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: conic-gradient(from 220deg, var(--accent), var(--accent-2), var(--gold), var(--accent));
  box-shadow: var(--glow);
  position: relative;
}
.logo .mark::after {
  content: "🐉"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 17px;
}
.logo b { background: linear-gradient(90deg, #fff, #c9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.main-nav a {
  padding: 9px 14px; border-radius: 9px; color: var(--txt-dim); font-weight: 600; font-size: 14.5px;
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--txt); background: rgba(255, 255, 255, .05); }
.main-nav a.active { color: #fff; background: rgba(123, 77, 255, .18); }

.header-actions { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.balance-chip {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 14px;
}
.balance-chip .coin { color: var(--gold); }

.burger { display: none; background: none; color: var(--txt); font-size: 24px; padding: 6px; }

/* ---------- Верхняя панель соцсетей ---------- */
.social-bar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(10, 10, 20, 0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.social-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
}
.social-label { color: var(--txt-dim); font-size: 13px; margin-right: 4px; }
.soc {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--txt-dim);
  font-weight: 800; font-size: 12px; transition: transform .15s ease, background .15s, color .15s, border-color .15s;
}
.soc:hover { transform: translateY(-2px); color: #fff; }
.soc-tg:hover { background: #29a9eb; border-color: #29a9eb; }
.soc-vk:hover { background: #0077ff; border-color: #0077ff; }
.soc-max:hover { background: linear-gradient(135deg, #00d27a, #00b3ff); border-color: transparent; font-size: 11px; }
.soc-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }

/* ---------- Hero / promo slider ---------- */
.hero { padding: 36px 0 10px; }
.slider {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 280px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.slide {
  position: absolute; inset: 0; display: none; padding: 44px;
  flex-direction: column; justify-content: center; gap: 14px;
}
.slide.active { display: flex; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; } }
.slide h2 { font-size: clamp(26px, 4vw, 44px); line-height: 1.1; max-width: 560px; }
.slide p { color: rgba(255, 255, 255, .85); max-width: 460px; font-size: 16px; }
.slide .slide-cta { display: flex; gap: 12px; margin-top: 8px; }
.slide-1 { background: linear-gradient(120deg, #2a1259, #6a2db3 60%, #00b9a3); }
.slide-2 { background: linear-gradient(120deg, #102a55, #1e6cff 60%, #00e0c6); }
.slide-3 { background: linear-gradient(120deg, #4a1030, #b32d6a 55%, #ffcc4d); }
.slide .badge {
  align-self: flex-start; background: rgba(0, 0, 0, .35); padding: 5px 12px;
  border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.slider-dots { position: absolute; bottom: 16px; left: 44px; display: flex; gap: 8px; z-index: 3; }
.slider-dots span {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .4); cursor: pointer;
  transition: .2s;
}
.slider-dots span.active { background: #fff; width: 26px; border-radius: 6px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .35);
  color: #fff; font-size: 22px; display: grid; place-items: center;
}
.slider-arrow.prev { left: 14px; } .slider-arrow.next { right: 14px; }
.slider-arrow:hover { background: rgba(0, 0, 0, .6); }

/* ---------- Quick stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0; }
.stat-card {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px; text-align: center;
}
.stat-card .num { font-size: 26px; font-weight: 800; color: var(--accent-2); }
.stat-card .lbl { color: var(--txt-dim); font-size: 13px; margin-top: 4px; }

/* ---------- Section headers ---------- */
.section { padding: 30px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 16px; }
.section-head h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.section-head h3 .ic { color: var(--accent-2); }
.section-head a { color: var(--accent-2); font-weight: 600; font-size: 14px; }

/* ---------- Category pills ---------- */
.pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.pill {
  padding: 9px 16px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--txt-dim); font-weight: 600; font-size: 14px; transition: .15s;
}
.pill:hover { color: var(--txt); }
.pill.active { background: linear-gradient(135deg, var(--accent), #a37bff); color: #fff; border-color: transparent; }

/* ---------- Game grid ---------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.game-card {
  display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-1); color: inherit;
  transition: transform .15s ease, box-shadow .2s ease; cursor: pointer;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.game-thumb { aspect-ratio: 3 / 4; display: grid; place-items: center; position: relative; overflow: hidden; }
/* объёмный глянец сверху */
.game-thumb::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(130% 90% at 28% 8%, rgba(255,255,255,.55), rgba(255,255,255,.10) 30%, transparent 56%);
}
/* виньетка + внутренние тени для глубины */
.game-thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 125%, rgba(0,0,0,.55), transparent 55%);
  box-shadow: inset 0 2px 6px rgba(255,255,255,.35), inset 0 -36px 54px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.08);
}
.game-thumb .emoji {
  font-size: 66px; position: relative; z-index: 2; transform: rotate(-4deg);
  filter: drop-shadow(0 9px 7px rgba(0,0,0,.45)) drop-shadow(0 3px 2px rgba(0,0,0,.5)) drop-shadow(0 -1px 1px rgba(255,255,255,.45));
  transition: transform .25s ease;
}
.game-card:hover .game-thumb .emoji { transform: rotate(0) scale(1.14) translateY(-3px); }
.game-card .tag {
  position: absolute; top: 8px; left: 8px; z-index: 3; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  box-shadow: 0 3px 8px rgba(0,0,0,.4);
}
.tag-hot { background: var(--danger); color: #fff; }
.tag-new { background: linear-gradient(135deg, #2fbf4e, #27a544); color: #fff; }
.tag-top { background: var(--gold); color: #3a2a00; }
.game-meta { padding: 10px 12px; }
.game-meta .name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-meta .prov { color: #5aa9ff; font-size: 12px; font-weight: 600; }
.game-card .play-overlay {
  position: absolute; inset: 0; z-index: 4; background: rgba(8, 8, 18, .7); display: grid; place-items: center;
  opacity: 0; transition: .2s;
}
.game-card:hover .play-overlay { opacity: 1; }

/* крупные обложки (популярные игры — стиль витрины) */
.game-grid.featured { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.featured .game-thumb { aspect-ratio: 4 / 3; }
.featured .game-thumb .emoji { font-size: 60px; transform: translateY(-10px) rotate(-4deg); }
.game-card:hover .featured .game-thumb .emoji,
.featured .game-card:hover .game-thumb .emoji { transform: translateY(-12px) scale(1.12); }
.game-title {
  position: absolute; left: 8px; right: 8px; bottom: 10px; z-index: 2; text-align: center;
  font-weight: 900; font-style: italic; font-size: 18px; line-height: .95; color: #fff;
  letter-spacing: .5px; text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.75), 0 1px 1px rgba(255,255,255,.25);
}
.game-title small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 2px; opacity: .9; }

/* thumb gradients */
.g1 { background: linear-gradient(135deg, #ff5f6d, #ffc371); }
.g2 { background: linear-gradient(135deg, #654ea3, #00e0c6); }
.g3 { background: linear-gradient(135deg, #11998e, #38ef7d); }
.g4 { background: linear-gradient(135deg, #f7971e, #ffd200); }
.g5 { background: linear-gradient(135deg, #2193b0, #6dd5ed); }
.g6 { background: linear-gradient(135deg, #cc2b5e, #753a88); }
.g7 { background: linear-gradient(135deg, #42275a, #734b6d); }
.g8 { background: linear-gradient(135deg, #0f2027, #2c5364); }

/* ---------- Bonus / promo cards ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.promo-card {
  border-radius: var(--radius); padding: 24px; border: 1px solid var(--line);
  background: var(--bg-1); position: relative; overflow: hidden;
}
.promo-card::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(123,77,255,.4), transparent 70%);
}
.promo-card .promo-tag { font-size: 12px; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: 1px; }
.promo-card h4 { font-size: 20px; margin: 8px 0; }
.promo-card p { color: var(--txt-dim); font-size: 14px; margin-bottom: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 36px 0 10px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); }
.page-hero .crumbs { color: var(--txt-dim); font-size: 13px; margin-bottom: 8px; }
.page-hero .crumbs a:hover { color: var(--accent-2); }

/* ---------- Cards / layout helpers ---------- */
.card {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.muted { color: var(--txt-dim); }

/* ---------- Profile ---------- */
.profile-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.avatar {
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; font-size: 34px;
  background: conic-gradient(from 200deg, var(--accent), var(--accent-2), var(--gold));
}
.level-bar { height: 10px; background: var(--bg-3); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.level-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--txt-dim); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line); color: var(--txt); font-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }

/* ---------- Wallet ---------- */
.wallet-balance {
  background: linear-gradient(135deg, #2a1259, #6a2db3); border-radius: var(--radius); padding: 28px;
  text-align: center; box-shadow: var(--shadow);
}
.wallet-balance .amount { font-size: 44px; font-weight: 800; }
.method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.method {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 16px; text-align: center; cursor: pointer; transition: .15s; font-size: 13px; font-weight: 600;
}
.method:hover, .method.sel { border-color: var(--accent); background: rgba(123,77,255,.12); }
.method:hover .mic, .method.sel .mic { transform: translateY(-3px); }
.method .mic {
  display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%;
  font-size: 28px; line-height: 1; position: relative; transition: transform .18s ease;
  background:
    radial-gradient(circle at 50% 32%, rgba(123,77,255,.5), rgba(0,224,198,.14) 55%, transparent 76%),
    linear-gradient(180deg, #1b1b32, #0d0d1a);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.2), inset 0 -9px 16px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.06), 0 9px 20px rgba(0,0,0,.45);
}
.method .mic::after {
  content: ""; position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 9px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,224,198,.4), transparent 70%);
}

table.tx { width: 100%; border-collapse: collapse; }
table.tx th, table.tx td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
table.tx th { color: var(--txt-dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.tx .in { color: var(--ok); } .tx .out { color: var(--danger); }
.status { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status.done { background: rgba(56,211,159,.15); color: var(--ok); }
.status.pend { background: rgba(255,204,77,.15); color: var(--gold); }

/* ---------- Support / FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--bg-1); }
.faq-q { padding: 16px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q .chev { transition: transform .2s; color: var(--accent-2); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--txt-dim); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a div { padding: 0 20px 18px; }

.support-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.channel { text-align: center; padding: 26px 18px; }
.channel .cic {
  display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%;
  font-size: 36px; line-height: 1; position: relative;
  background:
    radial-gradient(circle at 50% 32%, rgba(123,77,255,.5), rgba(0,224,198,.14) 55%, transparent 76%),
    linear-gradient(180deg, #1b1b32, #0d0d1a);
  box-shadow: inset 0 2px 5px rgba(255,255,255,.2), inset 0 -10px 18px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.06), 0 10px 24px rgba(0,0,0,.45);
  filter: drop-shadow(0 6px 5px rgba(0,0,0,.3));
  transition: transform .18s ease;
}
.channel .cic::after {
  content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 11px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,224,198,.4), transparent 70%);
}
.card.channel:hover .cic { transform: translateY(-4px) scale(1.05); }

/* ---------- Modal (auth) ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(4, 4, 12, .72); backdrop-filter: blur(4px);
  display: none; place-items: center; z-index: 200; padding: 20px;
}
.modal-backdrop.open { display: grid; }
.modal {
  width: 100%; max-width: 420px; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  animation: pop .25s ease;
}
@keyframes pop { from { transform: translateY(20px) scale(.97); opacity: 0; } }
.modal-tabs { display: flex; gap: 6px; background: var(--bg-2); border-radius: var(--radius-sm); padding: 5px; margin-bottom: 22px; }
.modal-tabs button {
  flex: 1; padding: 10px; border-radius: 8px; background: transparent; color: var(--txt-dim); font-weight: 700; font-size: 14px;
}
.modal-tabs button.active { background: var(--accent); color: #fff; }
.modal h3 { margin-bottom: 18px; }
.modal-close { position: absolute; }
.auth-form { display: none; }
.auth-form.active { display: block; }
.form-foot { text-align: center; color: var(--txt-dim); font-size: 13px; margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 50px; padding: 44px 0 24px; background: var(--bg-1); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h5 { font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--txt-dim); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--txt-dim); font-size: 14px; }
.footer-grid a:hover { color: var(--txt); }
.footer-grid p { color: var(--txt-dim); font-size: 14px; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pay-icons span { background: var(--bg-3); border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 700; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; color: var(--txt-dim); font-size: 13px; text-align: center; }
.age-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--danger); color: var(--danger); font-weight: 800; font-size: 12px; vertical-align: middle; margin-right: 6px; }

/* ---------- Джекпот с таймером ---------- */
.jackpot {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 40px 24px; text-align: center;
  background: radial-gradient(130% 150% at 50% -25%, #fff3cf, #ffcc4d 28%, #d8941a 62%, #875200 100%);
  box-shadow: 0 24px 60px rgba(200,134,15,.45), inset 0 2px 12px rgba(255,255,255,.7), inset 0 -34px 70px rgba(0,0,0,.3);
  color: #3a2600;
}
.jackpot .badge {
  display: inline-block; background: rgba(0,0,0,.3); color: #ffe9a8; padding: 6px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
}
.jackpot-amount {
  font-size: clamp(38px, 8vw, 68px); font-weight: 900; line-height: 1; margin: 14px 0 6px; letter-spacing: 1px;
  background: linear-gradient(180deg, #fff, #ffe9a8 42%, #a9670a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255,255,255,.4)) drop-shadow(0 6px 10px rgba(0,0,0,.25));
}
.jackpot p { color: #5a3d00; font-weight: 700; margin-bottom: 14px; }
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.cd {
  background: linear-gradient(180deg, #3a2400, #1c1100); color: #ffd866; border-radius: 14px; padding: 12px 14px; min-width: 70px;
  box-shadow: inset 0 2px 3px rgba(255,255,255,.18), inset 0 -6px 12px rgba(0,0,0,.5), 0 8px 18px rgba(0,0,0,.4);
}
.cd span { display: block; font-size: 32px; font-weight: 800; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,.5); }
.cd i { font-style: normal; font-size: 10px; color: #c79a3c; text-transform: uppercase; letter-spacing: 1px; }
.cd-sep { font-size: 30px; font-weight: 800; color: #5a3d00; padding-top: 12px; }

/* ---------- Отзывы игроков ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.review-card {
  position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.review-card .quote { position: absolute; top: 10px; right: 18px; font-size: 56px; line-height: 1; color: rgba(123,77,255,.18); font-weight: 900; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-ava {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; flex: none;
  background: conic-gradient(from 200deg, var(--accent), var(--accent-2), var(--gold), var(--accent));
  box-shadow: inset 0 2px 4px rgba(255,255,255,.35), 0 5px 14px rgba(0,0,0,.45);
}
.review-name { font-weight: 700; }
.review-date { color: var(--txt-dim); font-size: 12px; }
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.review-text { color: var(--txt-dim); font-size: 14px; line-height: 1.65; }

/* ---------- Логотипы провайдеров ---------- */
.provider-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
.provider-card {
  height: 86px; display: grid; place-items: center; padding: 0 10px; border-radius: 12px;
  background: linear-gradient(180deg, #16162c, #0b0b16);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 20px rgba(0,0,0,.35);
  transition: transform .15s ease, border-color .15s ease;
}
.provider-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.22); }
.pv { display: flex; align-items: center; gap: 5px; font-size: 18px; font-weight: 800; white-space: nowrap; line-height: 1; }
.pv .di { font-size: 20px; }
.pv b { font-weight: 900; letter-spacing: .5px; }
.pv .lt { font-weight: 600; font-size: 12px; letter-spacing: 2px; color: var(--txt-dim); }

.pv-nova { color: #eaf3ff; } .pv-nova .di { color: #3aa0ff; } .pv-nova .lt { color: #5e8fc4; }
.pv-spin {
  font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; color: #eef0f6; font-size: 20px;
  border: 1.5px solid rgba(255,255,255,.45); border-radius: 50% / 62%; padding: 7px 18px;
}
.pv-green { color: #1fb6ff; font-weight: 800; text-transform: lowercase; font-size: 22px; letter-spacing: -.5px; }
.pv-crown { color: #fff; } .pv-crown .di { color: #ffd24d; } .pv-crown .lt { color: #caa24a; }
.pv-volt { color: #ffce6a; } .pv-volt .di { color: #ffd24d; } .pv-volt b { color: #ffce6a; } .pv-volt .lt { color: #9a8a6a; }
.pv-wave { color: #fff; } .pv-wave .di { color: #34e0ff; font-size: 22px; } .pv-wave .lt { color: #34e0ff; font-weight: 800; font-size: 18px; letter-spacing: 0; }
.pv-pixel { color: #fff; gap: 0; }
.pv-pixel .box { background: #f5c518; color: #14141f; border-radius: 5px; padding: 3px 8px; margin-right: 5px; font-weight: 900; }
.pv-pixel .sp { letter-spacing: 3px; font-weight: 800; }
.pv-gold {
  background: linear-gradient(180deg, #fff, #ffcc4d 60%, #b8730a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pv-gold .di { -webkit-text-fill-color: #ffd24d; color: #ffd24d; }

/* ---------- Привилегии VIP (сетка с объёмными иконками) ---------- */
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perk-card {
  background: linear-gradient(180deg, var(--bg-1), #0c0c18); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 22px; text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.3); transition: transform .15s ease, border-color .15s ease;
}
.perk-card:hover { transform: translateY(-5px); border-color: rgba(123,77,255,.45); }
.perk-icon { width: 124px; height: 124px; margin: 0 auto 18px; position: relative; display: grid; place-items: center; }
.perk-icon .disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(123,77,255,.5), rgba(0,224,198,.14) 52%, transparent 72%);
}
.perk-icon::after {
  content: ""; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 16px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,224,198,.4), transparent 70%); z-index: 1;
}
.perk-icon .ic-em {
  position: relative; z-index: 2; font-size: 66px; line-height: 1;
  filter: drop-shadow(0 12px 10px rgba(0,0,0,.55)) drop-shadow(0 3px 2px rgba(0,0,0,.5)) drop-shadow(0 -1px 1px rgba(255,255,255,.35));
  transition: transform .2s ease;
}
.perk-card:hover .ic-em { transform: scale(1.1) translateY(-3px); }
.perk-card h4 { text-transform: uppercase; letter-spacing: 1px; font-size: 16px; margin-bottom: 8px; }
.perk-card p { color: var(--txt-dim); font-size: 14px; line-height: 1.55; }

/* ---------- Объёмные иконки-шаги (Партнёры и др.) ---------- */
.step { text-align: center; }
.step-icon {
  display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%;
  font-size: 34px; line-height: 1; position: relative; transition: transform .18s ease;
  background:
    radial-gradient(circle at 50% 32%, rgba(123,77,255,.5), rgba(0,224,198,.14) 55%, transparent 76%),
    linear-gradient(180deg, #1b1b32, #0d0d1a);
  box-shadow: inset 0 2px 5px rgba(255,255,255,.2), inset 0 -10px 18px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.06), 0 10px 22px rgba(0,0,0,.45);
}
.step-icon::after {
  content: ""; position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 10px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,224,198,.4), transparent 70%);
}
.card.step:hover .step-icon { transform: translateY(-4px) scale(1.05); }

/* ---------- Скачивание приложения ---------- */
.app-os { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app-os .step-icon { margin: 0; width: 64px; height: 64px; font-size: 30px; }
.app-os h4 { font-size: 18px; }
.store-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px; padding: 10px 18px; border-radius: 12px;
  background: linear-gradient(180deg, #14142a, #0c0c18); border: 1px solid var(--line); color: #fff;
  transition: transform .15s ease, border-color .15s ease;
}
.store-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.store-btn .store-ic { font-size: 26px; line-height: 1; }
.store-btn small { display: block; font-size: 10px; color: var(--txt-dim); text-transform: uppercase; letter-spacing: 1px; }
.store-btn b { font-size: 15px; display: block; line-height: 1.15; }

/* ---------- Демо-рулетка ---------- */
.roulette-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.wheel-area { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wheel-stage { position: relative; width: 270px; height: 270px; }
.wheel-pointer {
  position: absolute; top: -2px; left: 50%; transform: translateX(-50%); z-index: 6;
  width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 22px solid var(--gold);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.6));
}
.wheel {
  width: 270px; height: 270px; border-radius: 50%; position: relative;
  background: repeating-conic-gradient(from 0deg, #b3123a 0 9.729deg, #16161f 9.729deg 19.459deg);
  box-shadow: 0 0 0 10px #2a1a06, 0 0 0 13px #4a3210, 0 16px 44px rgba(0,0,0,.55), inset 0 0 50px rgba(0,0,0,.6);
  transition: transform 4s cubic-bezier(.15,.7,.15,1);
}
.wheel .hub {
  position: absolute; inset: 31%; border-radius: 50%; display: grid; place-items: center; z-index: 3;
  background: radial-gradient(circle at 40% 35%, #3a3a55, #12121d); color: #fff; font-size: 46px; font-weight: 900;
  box-shadow: inset 0 2px 6px rgba(255,255,255,.2), 0 4px 14px rgba(0,0,0,.7);
}
.wheel .hub.red { background: radial-gradient(circle at 40% 35%, #e0476a, #8c0c2c); }
.wheel .hub.black { background: radial-gradient(circle at 40% 35%, #44445f, #0e0e18); }
.wheel .hub.green { background: radial-gradient(circle at 40% 35%, #38d39f, #14794f); }
.rl-balance-box { font-weight: 700; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; }
.rl-balance-box span { color: var(--gold); }
.rl-controls label { display: block; font-size: 13px; color: var(--txt-dim); margin: 14px 0 8px; }
.rl-msg { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.rl-bet-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rl-bet-row input, .rl-number-row input { width: 110px; background: var(--bg-2); border: 1px solid var(--line); color: var(--txt); padding: 10px 12px; border-radius: 10px; }
.rl-chip { cursor: pointer; padding: 8px 13px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.rl-chip:hover { border-color: var(--accent); color: #fff; }
.rl-bets { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.rl-bet-opt { padding: 10px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); color: var(--txt-dim); font-weight: 600; font-size: 13px; }
.rl-bet-opt.active { background: linear-gradient(135deg, var(--accent), #a37bff); color: #fff; border-color: transparent; }
.rl-number-row { display: flex; align-items: center; gap: 10px; }
.rl-number-row label { margin: 0; }
.rl-history { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.rl-hist { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.rl-hist.red { background: #b3123a; } .rl-hist.black { background: #1a1a28; } .rl-hist.green { background: #1f8a4c; }
@media (max-width: 720px) { .roulette-wrap { grid-template-columns: 1fr; justify-items: center; } .rl-controls { width: 100%; } }

/* ---------- SEO / текстовый блок ---------- */
.seo-block { color: var(--txt-dim); font-size: 14.5px; line-height: 1.75; }
.seo-block h2 { color: var(--txt); font-size: 21px; margin-bottom: 12px; }
.seo-block h3 { color: var(--txt); font-size: 16px; margin: 18px 0 8px; }
.seo-block p { margin-bottom: 12px; }
.seo-block ul { margin: 0 0 12px; padding-left: 20px; }
.seo-block li { margin-bottom: 6px; }
.seo-block b { color: var(--txt); }
.seo-block a { color: var(--accent-2); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* сайдбар сворачивается обратно в верхнюю панель */
  body { padding-left: 0; }
  .social-bar { position: static; }
  .social-inner { justify-content: center; }
  .site-header {
    position: sticky; inset: auto; width: auto; height: var(--header-h);
    border-right: none; border-bottom: 1px solid var(--line); overflow: visible;
  }
  .site-header .container {
    flex-direction: row; align-items: center; gap: 16px;
    max-width: var(--maxw); margin: 0 auto; padding: 0 20px; height: 100%;
  }
  .logo { padding: 0; }
  .main-nav { display: none; }
  .burger { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--line); padding: 12px; gap: 4px; z-index: 100;
  }
  .header-actions { flex-direction: row; align-items: center; margin-top: 0; margin-left: auto; gap: 10px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .balance-chip { display: none; }
  .slide { padding: 28px; }
}
@media (max-width: 520px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .countdown { gap: 5px; }
  .cd { min-width: 56px; padding: 9px 8px; }
  .cd span { font-size: 24px; }
  .cd-sep { font-size: 22px; padding-top: 9px; }
}
