/* JoyArena – Social Casino (virtual coins only) */
:root {
  --bg: #14052b;
  --bg-2: #1d0a3d;
  --card: #261050;
  --card-2: #311566;
  --line: #43207f;
  --text: #fff7ff;
  --muted: #c6b6e6;
  --gold: #ffd34e;
  --gold-2: #f5a623;
  --pink: #ff2e93;
  --cyan: #2ee6ff;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(255, 46, 147, .25), transparent),
    radial-gradient(900px 500px at 100% 30%, rgba(46, 230, 255, .08), transparent),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--cyan); }
a:hover { color: #8ff3ff; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Top notice ---------- */
.topbar {
  background: #000; color: #ffe08a; font-size: 12.5px; text-align: center;
  padding: 6px 12px; letter-spacing: .3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(36, 8, 74, .97), rgba(24, 6, 52, .97));
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--gold), var(--cyan)) 1;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.nav { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; transform: rotate(-8deg);
  background: linear-gradient(135deg, var(--pink), #8b2cff);
  display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 46, 147, .6);
}
.logo-text {
  font-weight: 900; font-size: 25px; letter-spacing: .5px;
  background: linear-gradient(180deg, #fff6c9, var(--gold) 55%, var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #7a2b00);
}
.nav-links { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0 0 0 10px; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.level-chip {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800;
  background: rgba(0, 0, 0, .3); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px;
}
.level-chip .star { color: var(--gold); }
.xpbar { width: 70px; height: 8px; border-radius: 99px; background: #0d0320; overflow: hidden; display: block; }
.xpbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), #7cf7a6); transition: width .4s; }
.coin-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0, 0, 0, .35); border: 1px solid #6b4a00;
  padding: 6px 14px 6px 6px; border-radius: 999px; font-weight: 800; white-space: nowrap; color: var(--gold);
}
.coin {
  width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gold) 45%, var(--gold-2));
  box-shadow: inset 0 -2px 0 #b06d00; color: #8a4b00; font-size: 12px; font-weight: 900;
}
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; font-size: 18px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: 0; cursor: pointer; text-decoration: none;
  font-weight: 900; font-size: 16px; padding: 13px 26px; border-radius: 999px; letter-spacing: .3px;
  background: linear-gradient(180deg, #ffe680, var(--gold) 45%, var(--gold-2));
  color: #5a2a00; box-shadow: 0 4px 0 #a35b00, 0 8px 18px rgba(245, 166, 35, .35);
  transition: transform .08s ease, filter .15s ease, box-shadow .08s;
  text-transform: uppercase;
}
.btn:hover { filter: brightness(1.08); color: #5a2a00; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #a35b00; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-pink { background: linear-gradient(180deg, #ff7ac0, var(--pink)); color: #fff; box-shadow: 0 4px 0 #a3105a, 0 8px 18px rgba(255, 46, 147, .35); }
.btn-pink:hover { color: #fff; }
.btn-green { background: linear-gradient(180deg, #6cf59a, var(--green)); color: #053b18; box-shadow: 0 4px 0 #11823b, 0 8px 18px rgba(34, 197, 94, .3); }
.btn-green:hover { color: #053b18; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-free { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 0 #11823b, 0 0 0 0 rgba(34, 197, 94, .6); } 50% { box-shadow: 0 4px 0 #11823b, 0 0 0 8px rgba(34, 197, 94, 0); } }

/* ---------- Hero carousel ---------- */
.hero { padding: 26px 0 10px; }
.carousel { position: relative; border-radius: 24px; overflow: hidden; min-height: 360px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .08); }
.slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  padding: 40px 50px; opacity: 0; transition: opacity .7s ease; pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide.s1 { background: radial-gradient(600px 300px at 80% 50%, rgba(255, 211, 78, .35), transparent), linear-gradient(120deg, #5b0f9e, #c2187a); }
.slide.s2 { background: radial-gradient(600px 300px at 80% 50%, rgba(124, 247, 166, .3), transparent), linear-gradient(120deg, #0b4f6c, #6a1fb8); }
.slide.s3 { background: radial-gradient(600px 300px at 80% 50%, rgba(255, 120, 60, .4), transparent), linear-gradient(120deg, #7a0d16, #c4561a); }
.slide .kicker { display: inline-block; background: rgba(0, 0, 0, .35); color: var(--gold); font-weight: 900; font-size: 13px; padding: 5px 12px; border-radius: 99px; letter-spacing: 1px; text-transform: uppercase; }
.slide h1, .slide h2 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.05; margin: 14px 0 12px; font-weight: 900; text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.slide h1 em, .slide h2 em { font-style: normal; color: var(--gold); }
.slide p { font-size: 18px; color: #f3e6ff; margin: 0 0 22px; max-width: 520px; }
.slide .fine { font-size: 12px; color: rgba(255, 255, 255, .7); margin-top: 14px; }
.slide-art { position: relative; height: 280px; }
.slide-art span { position: absolute; font-size: 90px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4)); animation: float 4s ease-in-out infinite; }
.slide-art span:nth-child(1) { left: 30%; top: 15%; font-size: 150px; }
.slide-art span:nth-child(2) { left: 5%; top: 55%; animation-delay: -1s; }
.slide-art span:nth-child(3) { right: 5%; top: 5%; animation-delay: -2s; }
.slide-art span:nth-child(4) { right: 10%; bottom: 0; animation-delay: -3s; font-size: 70px; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dots button { width: 12px; height: 12px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; padding: 0; transition: width .3s; }
.dots button.active { width: 32px; background: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 34px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-title { font-size: 30px; margin: 0; font-weight: 900; }
.section-sub { color: var(--muted); margin: 4px 0 0; }

/* ---------- Lobby ---------- */
.lobby-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.lobby-tabs button {
  background: var(--card); color: var(--muted); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 99px; font-weight: 800; cursor: pointer; font-size: 14px;
}
.lobby-tabs button.active { background: linear-gradient(180deg, #ff7ac0, var(--pink)); color: #fff; border-color: transparent; }
.lobby { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 1 / 1.08; border-radius: 20px; overflow: hidden; text-decoration: none; color: #fff;
  border: 2px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 34px rgba(0, 0, 0, .5), 0 0 0 2px var(--gold); color: #fff; }
.tile-art { position: absolute; inset: 0 0 26% 0; display: grid; place-items: center; font-size: clamp(64px, 9vw, 110px); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); transition: transform .3s; }
.tile:hover .tile-art { transform: scale(1.1) rotate(-5deg); }
.tile-name {
  position: relative; display: block; padding: 12px 14px; font-weight: 900; font-size: 18px; text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75) 40%);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .5);
}
.tile-type { display: block; font-size: 11px; font-weight: 800; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.tile-play {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  background: linear-gradient(180deg, #ffe680, var(--gold-2)); color: #5a2a00; font-weight: 900;
  padding: 10px 26px; border-radius: 99px; transition: all .2s; box-shadow: 0 4px 0 #a35b00;
}
.tile:hover .tile-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 900; padding: 4px 10px; border-radius: 6px; letter-spacing: 1px; }
.ribbon.hot { background: var(--red); }
.ribbon.new { background: var(--green); color: #053b18; }
.t-fruit { background: radial-gradient(circle at 50% 35%, #ff8a3d, #b3123f 70%); }
.t-dragon { background: radial-gradient(circle at 50% 35%, #ff5a36, #6e0a12 70%); }
.t-ocean { background: radial-gradient(circle at 50% 35%, #26c6f9, #063c7a 70%); }
.t-safari { background: radial-gradient(circle at 50% 35%, #f6c445, #7a3d0a 70%); }
.t-galaxy { background: radial-gradient(circle at 50% 35%, #a65bff, #170a52 70%); }
.t-candy { background: radial-gradient(circle at 50% 35%, #ff9ad5, #b0177a 70%); }
.t-roulette { background: radial-gradient(circle at 50% 35%, #2bd27a, #0a4a2a 70%); }
.t-blackjack { background: radial-gradient(circle at 50% 35%, #3b82f6, #0d1f5c 70%); }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.feature .icon { font-size: 40px; display: block; margin-bottom: 8px; }
.promo-band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(110deg, #0e6b3a, #1a9c55 50%, #0e6b3a); border-radius: 22px; padding: 26px 30px;
  border: 2px solid rgba(255, 255, 255, .15); box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}
.promo-band .big { font-size: 70px; }
.promo-band h3 { margin: 0 0 4px; font-size: 26px; font-weight: 900; }
.promo-band p { margin: 0; color: #dcfce7; }
.notice { background: rgba(46, 230, 255, .07); border: 1px solid rgba(46, 230, 255, .3); border-radius: var(--radius); padding: 18px 20px; color: #d9f8ff; }
.notice strong { color: #fff; }
.notice.warn { background: rgba(255, 211, 78, .08); border-color: rgba(255, 211, 78, .35); color: #fff0c2; }

/* ---------- Page header & legal pages ---------- */
.page-head { padding: 44px 0 22px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0 0 6px; font-size: 38px; font-weight: 900; }
.page-head p { margin: 0; color: var(--muted); }
.legal { max-width: 840px; padding: 30px 20px 60px; }
.legal h2 { margin-top: 34px; font-size: 22px; }
.legal h3 { font-size: 18px; margin-top: 22px; }
.legal p, .legal li { color: #e6dcf7; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--card); }
.legal .meta { color: var(--muted); font-size: 14px; }

/* ---------- Forms ---------- */
form .field { margin-bottom: 16px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.form-msg { margin-top: 12px; color: var(--cyan); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #0b0219; border-top: 1px solid var(--line); padding: 44px 0 24px; margin-top: 40px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: var(--text); margin: 0 0 12px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-disclaimer { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; font-size: 13px; }
.age-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); font-weight: 900; font-size: 14px; margin-right: 10px; vertical-align: middle; flex-shrink: 0; }

/* ---------- Modals: age gate, wheel, big win ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(8, 2, 20, .9);
  display: grid; place-items: center; padding: 20px; animation: fadein .25s;
}
@keyframes fadein { from { opacity: 0; } }
.modal { max-width: 480px; width: 100%; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 2px solid var(--line); border-radius: 22px; padding: 30px; text-align: center; position: relative; }
.modal h2 { margin: 10px 0; font-weight: 900; }
.modal p { color: var(--muted); }
.modal .actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.modal .small { font-size: 13px; margin-top: 16px; }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; }

.wheel-wrap { position: relative; width: 300px; height: 300px; margin: 18px auto 10px; }
.wheel {
  width: 100%; height: 100%; border-radius: 50%; position: relative;
  border: 8px solid var(--gold); box-shadow: 0 0 0 4px #7a3d00, 0 0 30px rgba(255, 211, 78, .5);
  background: conic-gradient(#ff2e93 0 45deg, #8b2cff 45deg 90deg, #ff2e93 90deg 135deg, #8b2cff 135deg 180deg, #ff2e93 180deg 225deg, #8b2cff 225deg 270deg, #ff2e93 270deg 315deg, #f5a623 315deg 360deg);
  transition: transform 4.5s cubic-bezier(.17, .67, .16, 1);
}
.wheel .lbl { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.wheel .lbl b { position: absolute; transform: translate(-50%, -118px); font-weight: 900; font-size: 15px; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .4); white-space: nowrap; }
.wheel-hub { position: absolute; inset: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gold) 50%, var(--gold-2)); border: 4px solid #7a3d00; display: grid; place-items: center; font-weight: 900; color: #6a3300; }
.wheel-pointer { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 34px solid #fff; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .5)); z-index: 2; }

.bigwin { text-align: center; animation: pop .4s cubic-bezier(.2, 1.6, .4, 1); }
.bigwin h2 { font-size: clamp(44px, 9vw, 80px); margin: 0; font-weight: 900; background: linear-gradient(180deg, #fff6c9, var(--gold) 50%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 0 #7a2b00); }
.bigwin .amt { font-size: 40px; font-weight: 900; color: #fff; margin: 6px 0 18px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

.toast {
  position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 1100;
  background: linear-gradient(180deg, #6cf59a, var(--green)); color: #053b18; font-weight: 900;
  padding: 12px 22px; border-radius: 99px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); animation: pop .35s;
}

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900; max-width: 780px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-size: 14px; color: var(--muted);
}

/* ---------- Game pages ---------- */
.game-wrap { max-width: 820px; margin: 0 auto; padding: 26px 20px 40px; }
.game-title { text-align: center; margin: 0; font-size: clamp(30px, 5vw, 46px); font-weight: 900; text-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.game-sub { text-align: center; color: var(--muted); margin: 0 0 20px; }
.game-panel { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 2px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
.game-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.game-controls select { width: auto; }
.game-msg { text-align: center; min-height: 30px; font-weight: 800; font-size: 19px; margin-top: 14px; }
.game-msg.win { color: var(--gold); }
.game-msg.lose { color: var(--muted); }
.wallet-tools { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.vc-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 18px; }

/* Slots 3x3 */
.slot-machine { border-radius: 22px; padding: 18px; background: linear-gradient(180deg, #ffe680, var(--gold-2)); box-shadow: inset 0 -6px 0 #a35b00, 0 0 40px rgba(255, 211, 78, .25); }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #0b0219; border-radius: 14px; padding: 10px; }
.slot-col { display: grid; grid-template-rows: repeat(3, 1fr); gap: 10px; }
.cell {
  aspect-ratio: 1 / .82; border-radius: 12px; display: grid; place-items: center; font-size: clamp(40px, 8vw, 68px);
  background: linear-gradient(180deg, #2a1259, #1a0a3a); border: 2px solid transparent; transition: all .2s;
}
.slot-col.spinning .cell { filter: blur(2px); }
.cell.win { border-color: var(--gold); background: linear-gradient(180deg, #5a3a00, #2a1a00); animation: glow .6s ease-in-out 3; }
@keyframes glow { 50% { transform: scale(1.08); box-shadow: 0 0 22px var(--gold); } }
.paytable { margin-top: 22px; font-size: 14px; color: var(--muted); }
.paytable h3 { color: var(--text); font-size: 15px; margin: 0 0 8px; }
.paytable .pt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 14px; }
.paytable .pt div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 4px 2px; }
.paytable .pt b { color: var(--gold); }

/* Theme panels for slot pages */
.theme-fruit .game-panel { background: linear-gradient(180deg, #6b0f2a, #2a0715); }
.theme-dragon .game-panel { background: linear-gradient(180deg, #6e0a12, #2a0508); }
.theme-ocean .game-panel { background: linear-gradient(180deg, #063c7a, #031a3a); }
.theme-safari .game-panel { background: linear-gradient(180deg, #6e3a0a, #2e1704); }
.theme-galaxy .game-panel { background: linear-gradient(180deg, #24106b, #0c0530); }
.theme-candy .game-panel { background: linear-gradient(180deg, #8a1361, #3a0729); }

/* Roulette */
.roulette-result {
  width: 160px; height: 160px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center;
  font-size: 58px; font-weight: 900; border: 8px solid var(--gold); background: #222;
  box-shadow: 0 0 0 4px #7a3d00, 0 0 30px rgba(255, 211, 78, .35); transition: background .15s;
}
.roulette-result.red { background: var(--red); }
.roulette-result.black { background: #111; }
.roulette-result.green { background: var(--green); }
.history { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 16px; min-height: 30px; }
.history span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.history .red { background: var(--red); }
.history .black { background: #111; border: 1px solid #444; }
.history .green { background: var(--green); }

/* Blackjack */
.felt { background: radial-gradient(ellipse at 50% 30%, #1f8a4c, #0b4a26 75%) !important; }
.bj-row { margin-bottom: 20px; }
.bj-row h3 { margin: 0 0 10px; font-size: 16px; color: #d6ffe6; }
.cards { display: flex; gap: 8px; flex-wrap: wrap; min-height: 100px; }
.pcard {
  width: 68px; height: 98px; border-radius: 8px; background: #fff; color: #111;
  display: flex; flex-direction: column; justify-content: space-between; padding: 6px 8px;
  font-weight: 900; font-size: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); animation: deal .25s ease-out;
}
@keyframes deal { from { transform: translateY(-30px) rotate(-8deg); opacity: 0; } }
.pcard.red { color: #c62828; }
.pcard .s { align-self: flex-end; font-size: 26px; }
.pcard.back { background: repeating-linear-gradient(45deg, #c2187a, #c2187a 6px, #8b0f57 6px, #8b0f57 12px); border: 3px solid #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .lobby { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .level-chip { display: none; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { gap: 10px; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0; margin: 0;
    flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-right .btn-free { display: none; }
  .logo-text { font-size: 20px; }
  .lobby { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; padding: 30px 24px 50px; }
  .slide-art { display: none; }
  .carousel { min-height: 400px; }
  .promo-band { grid-template-columns: 1fr; text-align: center; }
  .paytable .pt { grid-template-columns: 1fr 1fr; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}
