
:root{
  --bg:#22051d;--bg-dark:#12020f;--panel:#360b2e;--panel2:#480e3d;--panel3:#2b0825;
  --gold:#ffad18;--gold2:#ffcf44;--orange:#ff7a18;--pink:#dc3c8f;
  --text:#fff8ef;--muted:#caaebf;--border:#8c3f51;--danger:#9e2f49;
  --shadow:0 18px 48px rgba(0,0,0,.38)
}
*{box-sizing:border-box}
html{background:var(--bg-dark)}
body{
  margin:0;min-height:100vh;color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 8% 14%,rgba(255,122,24,.08),transparent 18%),
    radial-gradient(circle at 92% 25%,rgba(220,60,143,.10),transparent 20%),
    linear-gradient(180deg,#2a0624 0%,#190415 52%,#10020e 100%)
}
a{color:inherit;text-decoration:none}
button,input{font:inherit} button{cursor:pointer}
.app{max-width:1180px;margin:auto;padding:0 22px 98px}
.top{
  height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;
  position:sticky;top:0;z-index:50;background:rgba(32,5,27,.93);
  backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,173,24,.13)
}
.logo{font-size:24px;font-weight:1000;letter-spacing:-.7px;min-width:max-content}
.logo:before{content:"◆";color:var(--gold);font-size:15px;margin-right:8px}
.gold{color:var(--gold)}
.desktop-menu{display:flex;align-items:center;gap:7px}
.desktop-menu a{color:#efdce8;font-weight:800;padding:10px 12px;border-radius:9px}
.desktop-menu a:hover,.desktop-menu a.on{color:var(--gold);background:rgba(255,173,24,.07)}
.wallet{
  background:linear-gradient(180deg,#511143,#340a2d);border:1px solid #82405b;
  border-radius:9px;padding:9px 13px;font-weight:900;color:#fff3db
}
.page-hero{
  min-height:210px;display:flex;align-items:center;justify-content:center;text-align:center;
  margin:0 -22px 28px;position:relative;overflow:hidden;border-bottom:1px solid rgba(255,173,24,.10);
  background:radial-gradient(circle at 50% 130%,rgba(255,122,24,.18),transparent 40%),
             linear-gradient(180deg,rgba(73,11,62,.72),rgba(35,5,30,.7))
}
.page-hero:before,.page-hero:after{
  content:"";position:absolute;width:230px;height:130px;border:1px solid rgba(255,173,24,.13);
  border-radius:22px;transform:rotate(-12deg)
}
.page-hero:before{left:8%;top:58px}.page-hero:after{right:8%;top:50px;transform:rotate(12deg)}
.page-hero h1{font-size:36px;margin:0 0 8px;letter-spacing:-1px}
.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb b{color:var(--gold)}
.card{
  background:linear-gradient(180deg,rgba(255,255,255,.018),transparent),var(--panel3);
  border:1px solid #693043;border-radius:8px;padding:15px;margin:12px 0;
  box-shadow:0 8px 24px rgba(0,0,0,.18)
}
.daily-strip{
  display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;padding:17px 18px;
  border-radius:10px;border:1px solid #874150;
  background:radial-gradient(circle at 88% 50%,rgba(255,173,24,.13),transparent 30%),
             linear-gradient(110deg,#470d3b,#2d0827);margin-bottom:25px
}
.daily-strip h2{margin:0 0 3px;font-size:18px}
.small{font-size:12px;color:var(--muted)}
.msg{text-align:center;color:var(--gold2);font-weight:900;min-height:24px;margin:9px 0}
.search-row{display:flex;gap:10px;align-items:center;margin-bottom:14px}
.search{flex:1;display:flex;gap:9px;align-items:center;background:#2c0826;border:1px solid #6b3044;border-radius:7px;padding:10px 12px}
.search input{width:100%;background:transparent;border:0;outline:0;color:#fff}
.lobbybar{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:2px 0 16px}
.lobbybar::-webkit-scrollbar{display:none}
.chip{white-space:nowrap;border:1px solid #7a374b;background:#31092a;color:#e0c4d4;border-radius:7px;padding:8px 11px;font-size:11px;font-weight:900}
.chip.active{background:linear-gradient(180deg,var(--gold2),var(--gold));border-color:var(--gold);color:#431c00}
.section-title{display:flex;justify-content:space-between;align-items:end;margin:8px 0 13px}
.section-title h2{font-size:22px;margin:0}.section-title span{font-size:11px;color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.machine{
  position:relative;min-height:290px;padding:7px;margin:0;border:1px solid #9d4c4f;
  background:linear-gradient(180deg,#3d0c34,#2b0826);border-radius:8px;overflow:hidden;transition:.18s ease
}
.machine:hover{transform:translateY(-4px);border-color:var(--gold);box-shadow:0 16px 35px rgba(0,0,0,.28)}
.machine-art{
  height:142px;display:flex;align-items:center;justify-content:center;position:relative;font-size:55px;
  overflow:hidden;border-radius:5px;
  background:radial-gradient(circle at 50% 35%,rgba(255,211,75,.28),transparent 26%),
             radial-gradient(circle at 30% 75%,rgba(220,60,143,.25),transparent 35%),
             linear-gradient(135deg,#71194f,#3b0c35 55%,#23061f)
}
.machine-art:after{content:"";position:absolute;inset:9px;border:1px solid rgba(255,207,68,.22);border-radius:50%;transform:scale(.72)}
.machine-body{text-align:center;padding:12px 8px 10px}.machine h3{margin:0 0 5px;font-size:15px}
.machine-meta{font-size:10px;color:#caaebf;text-transform:uppercase;letter-spacing:.6px}
.play-btn{display:block;width:100%;margin-top:10px;border:0;border-radius:5px;padding:9px 10px;font-size:11px;font-weight:1000;background:linear-gradient(180deg,#ffc13b,#ff8c16);color:#441a00}
.badge{position:absolute;z-index:4;left:13px;top:13px;border-radius:4px;background:#ff9518;color:#461b00;padding:4px 6px;font-size:8px;font-weight:1000;text-transform:uppercase}
.tag{display:inline-block;margin-top:7px;font-size:10px;color:var(--gold2)}
.game-layout{max-width:920px;margin:22px auto}
.game-shell{background:#250720;border:1px solid #834053;border-radius:9px;padding:16px;box-shadow:var(--shadow)}
.game-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.game-head h2{margin:0;font-size:20px}
.slotframe{
  position:relative;
  padding:14px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),transparent 18%),
    linear-gradient(180deg,#441038,#1d0419);
  border:2px solid #b56659;
  border-radius:12px;
  box-shadow:
    inset 0 0 0 2px rgba(255,205,120,.14),
    0 20px 55px rgba(0,0,0,.45);
}
.slotframe:before{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:8px;
  border:1px solid rgba(255,220,150,.15);
  pointer-events:none;
}
.reelgrid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:7px;
  position:relative;
  padding:12px;
  overflow:hidden;
  border-radius:10px;
  background:
    radial-gradient(circle at 50% 50%,rgba(255,255,255,.035),transparent 42%),
    linear-gradient(180deg,#12030f,#1b0716 45%,#0d020b);
  border:1px solid #6a2a42;
  box-shadow:inset 0 10px 16px rgba(255,255,255,.02),inset 0 -10px 16px rgba(0,0,0,.32);
}
.reel-payband{
  position:absolute;
  left:12px;right:12px;top:82px;height:70px;
  border-top:2px solid rgba(255,222,145,.55);
  border-bottom:2px solid rgba(255,222,145,.55);
  background:linear-gradient(180deg,rgba(255,228,165,.06),rgba(255,255,255,.03),rgba(255,228,165,.06));
  box-shadow:0 0 24px rgba(255,205,120,.08),inset 0 0 18px rgba(255,205,120,.05);
  pointer-events:none;
  z-index:2;
}
.reelcol{
  position:relative;
  height:210px;
  overflow:hidden;
  border-radius:8px;
  background:linear-gradient(180deg,#fbf5ef,#ece0dd);
  box-shadow:
    inset 0 0 0 1px #dbc0bf,
    inset 0 8px 10px rgba(255,255,255,.45),
    inset 0 -8px 10px rgba(0,0,0,.05),
    0 8px 20px rgba(0,0,0,.18);
}
.reelcol:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.16),transparent 16%,transparent 84%,rgba(255,255,255,.08));
  pointer-events:none;
  z-index:4;
}
.reelcol.spinning{
  box-shadow:
    inset 0 0 0 1px #dbc0bf,
    0 0 0 1px rgba(255,210,100,.18),
    0 0 26px rgba(255,180,60,.14),
    0 8px 20px rgba(0,0,0,.2);
}
.reelstrip{
  position:absolute;
  top:0;left:0;right:0;
  display:flex;
  flex-direction:column;
  will-change:transform,filter;
}
.reelcol.spinning .reelstrip{
  filter:blur(1.15px) saturate(.92);
}
.reel-symbol{
  height:70px;
  flex:0 0 70px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  color:#2a071f;
  background:
    linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.15)),
    linear-gradient(180deg,#fffaf5,#eee3e0);
  border-top:1px solid rgba(255,255,255,.5);
  border-bottom:1px solid #dac6c8;
  text-shadow:0 1px 0 rgba(255,255,255,.42);
}
.reelcol:before,.reelcol > .reelstrip:after{
  content:"";
  position:absolute;
  left:0;right:0;
  z-index:5;
  pointer-events:none;
}
.reelcol:before{
  top:0;height:28px;
  background:linear-gradient(rgba(54,11,41,.22),transparent);
}
.reelcol > .reelstrip:after{
  bottom:0;height:28px;
  background:linear-gradient(transparent,rgba(54,11,41,.15));
}
.reelcol.stopflash{animation:stopFlash .32s ease}
@keyframes stopFlash{
  0%{transform:scale(.992)}
  45%{transform:scale(1.02)}
  100%{transform:scale(1)}
}
.controls{display:grid;grid-template-columns:1fr 1.45fr 1fr;gap:8px;margin-top:10px}
.btn{border:1px solid #814154;border-radius:6px;padding:10px;background:#3c0c33;color:#fff3f8;font-weight:900}
.btn:hover{border-color:#b45c58}
.btn.primary{border:0;color:#401900;background:linear-gradient(180deg,#ffc841,#ff8d18);box-shadow:0 7px 18px rgba(255,141,24,.18);font-size:16px}
.autoplay-panel{margin-top:9px;padding:9px;background:#21051c;border:1px solid #653044;border-radius:7px}
.autoplay-row{display:grid;grid-template-columns:repeat(3,1fr) 1.25fr;gap:6px}.autoplay-stop{background:#5b1629;border-color:#8c3144}
.autoplay-status{display:flex;justify-content:space-between;margin-top:7px;font-size:11px;color:var(--muted)}
.win-cell{outline:3px solid var(--gold2);outline-offset:-3px;box-shadow:0 0 24px rgba(255,190,40,.86),inset 0 0 22px rgba(255,173,24,.22);animation:winPulse .65s ease-in-out infinite alternate}
@keyframes winPulse{to{filter:brightness(1.16)}}
.row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.prog{height:7px;border-radius:99px;overflow:hidden;background:#1c0418}.prog i{height:100%;display:block;background:linear-gradient(90deg,var(--orange),var(--gold2))}
.avatar{width:118px;height:118px;border-radius:50%;margin:auto;display:flex;align-items:center;justify-content:center;font-size:66px;background:#430d39;border:2px solid #8b4052}
.achievement{opacity:.35}.achievement.done{opacity:1}
.toggle{display:flex;justify-content:space-between;align-items:center}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.stat{text-align:center}.stat b{font-size:24px;color:var(--gold2)}
.overlay{display:none;position:fixed;inset:0;z-index:90;align-items:center;justify-content:center;padding:18px;background:rgba(14,1,11,.9);backdrop-filter:blur(10px)}
.overlay.show{display:flex}
.modal{width:min(500px,100%);text-align:center;padding:19px;border-radius:8px;background:linear-gradient(180deg,#430d39,#25061f);border:1px solid #914653}
.bonusgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bonusbox{border:1px solid #8d4555;background:#551047;color:#fff;border-radius:7px;padding:18px;font-size:28px}
.nav{display:none;position:fixed;z-index:70;left:50%;bottom:8px;transform:translateX(-50%);width:calc(100% - 18px);max-width:600px;grid-template-columns:repeat(4,1fr);padding:6px;border-radius:10px;background:rgba(39,6,32,.95);border:1px solid #6f3448}
.nav a{text-align:center;color:#c2a6b7;padding:8px 2px;font-size:10px;font-weight:900}.nav a.on{color:var(--gold2)}
.footer-note{text-align:center;color:#896d80;font-size:11px;padding:24px 0 4px}
@media(max-width:920px){.grid{grid-template-columns:repeat(3,1fr)}.desktop-menu{gap:0}.desktop-menu a{padding:9px 8px;font-size:12px}}
@media(max-width:720px){
  .app{padding:0 12px 92px}.top{height:62px}.desktop-menu{display:none}.nav{display:grid}
  .page-hero{margin:0 -12px 18px;min-height:165px}.page-hero h1{font-size:29px}
  .grid{grid-template-columns:repeat(2,1fr);gap:9px}.machine{min-height:240px}.machine-art{height:112px;font-size:45px}
  .daily-strip{grid-template-columns:1fr}.daily-strip .btn{width:100%}.stats-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:420px){.logo{font-size:19px}.wallet{font-size:12px}.reel-symbol{font-size:28px}.machine{min-height:225px}}


/* Table games */
.table-game{max-width:900px;margin:22px auto}
.table-panel{
  background:linear-gradient(180deg,#2f0a29,#1b0517);
  border:1px solid #7f3d4c;border-radius:10px;padding:18px;box-shadow:var(--shadow)
}
.bet-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}
.bet-chip{
  border:1px solid #8a4450;background:#451038;color:#fff;border-radius:999px;
  padding:8px 12px;font-weight:900
}
.bet-chip.active{background:linear-gradient(180deg,#ffc841,#ff8d18);color:#401900;border-color:#ffad18}
.game-status{
  min-height:52px;padding:12px;border-radius:8px;background:#180413;
  border:1px solid #55273a;color:#f7d8e9;margin:12px 0
}
.roulette-wheel{
  width:270px;height:270px;border-radius:50%;margin:12px auto 20px;
  position:relative;border:12px solid #d48b1f;
  background:conic-gradient(
    #b11933 0 9.73deg,#121212 9.73deg 19.46deg,#b11933 19.46deg 29.19deg,#121212 29.19deg 38.92deg,
    #b11933 38.92deg 48.65deg,#121212 48.65deg 58.38deg,#b11933 58.38deg 68.11deg,#121212 68.11deg 77.84deg,
    #b11933 77.84deg 87.57deg,#121212 87.57deg 97.30deg,#b11933 97.30deg 107.03deg,#121212 107.03deg 116.76deg,
    #b11933 116.76deg 126.49deg,#121212 126.49deg 136.22deg,#b11933 136.22deg 145.95deg,#121212 145.95deg 155.68deg,
    #b11933 155.68deg 165.41deg,#121212 165.41deg 175.14deg,#b11933 175.14deg 184.87deg,#121212 184.87deg 194.6deg,
    #b11933 194.6deg 204.33deg,#121212 204.33deg 214.06deg,#b11933 214.06deg 223.79deg,#121212 223.79deg 233.52deg,
    #b11933 233.52deg 243.25deg,#121212 243.25deg 252.98deg,#b11933 252.98deg 262.71deg,#121212 262.71deg 272.44deg,
    #b11933 272.44deg 282.17deg,#121212 282.17deg 291.9deg,#b11933 291.9deg 301.63deg,#121212 301.63deg 311.36deg,
    #b11933 311.36deg 321.09deg,#121212 321.09deg 330.82deg,#b11933 330.82deg 340.55deg,#121212 340.55deg 350.28deg,
    #19733b 350.28deg 360deg
  );
  box-shadow:inset 0 0 0 8px #3a0c30,0 18px 40px rgba(0,0,0,.38);
  transition:transform 3s cubic-bezier(.12,.7,.08,1)
}
.roulette-wheel:after{
  content:"";position:absolute;inset:50% auto auto 50%;width:58px;height:58px;
  transform:translate(-50%,-50%);border-radius:50%;
  background:linear-gradient(180deg,#ffca42,#b46c0b);border:6px solid #3d1e04
}
.roulette-pointer{
  width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;
  border-top:22px solid var(--gold2);margin:0 auto -9px;position:relative;z-index:3
}
.roulette-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:12px 0}
.number-btn{
  border:1px solid #72404a;background:#181818;color:white;border-radius:5px;padding:8px 4px;font-weight:900
}
.number-btn.red{background:#a51f35}.number-btn.green{background:#1d7040}
.number-btn.selected{outline:3px solid var(--gold2)}
.cards-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:16px 0}
.play-card{
  width:82px;height:116px;border-radius:8px;background:#fff;color:#151515;
  border:2px solid #e4d9d9;display:flex;flex-direction:column;justify-content:space-between;
  padding:7px;font-size:22px;font-weight:900;box-shadow:0 8px 20px rgba(0,0,0,.28)
}
.play-card.red{color:#c22638}
.card-back{
  background:repeating-linear-gradient(45deg,#5e174d,#5e174d 8px,#8d2c6d 8px,#8d2c6d 16px);
  color:transparent;border-color:#b35c91
}
.hand-title{text-align:center;font-size:14px;color:var(--muted);margin-top:14px}
.poker-card{cursor:pointer;position:relative}
.poker-card.held{outline:4px solid var(--gold2);transform:translateY(-7px)}
.poker-card.held:after{
  content:"HELD";position:absolute;bottom:-24px;left:50%;transform:translateX(-50%);
  color:var(--gold2);font-size:10px;font-weight:1000
}
.paytable{display:grid;grid-template-columns:1fr auto;gap:5px 14px;font-size:12px}
.paytable div{padding:5px 0;border-bottom:1px solid rgba(255,255,255,.06)}
@media(max-width:600px){
  .roulette-grid{grid-template-columns:repeat(4,1fr)}
  .roulette-wheel{width:225px;height:225px}
  .play-card{width:61px;height:90px;font-size:17px;padding:5px}
}


/* Texas Hold'em */
.poker-table-wrap{
  max-width:980px;margin:22px auto;
}
.poker-table{
  position:relative;
  min-height:650px;
  padding:26px 24px;
  border-radius:180px;
  border:14px solid #4d2416;
  background:
    radial-gradient(circle at 50% 45%,rgba(255,255,255,.05),transparent 45%),
    linear-gradient(180deg,#0f6a3d,#0a4e2e);
  box-shadow:
    inset 0 0 0 5px #c58a3a,
    inset 0 0 50px rgba(0,0,0,.35),
    0 28px 70px rgba(0,0,0,.45);
}
.poker-table:before{
  content:"CREATE ROYAL POKER";
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%) rotate(-8deg);
  font-weight:1000;
  font-size:34px;
  color:rgba(255,255,255,.06);
  letter-spacing:3px;
  pointer-events:none;
}
.poker-seat{
  position:relative;
  z-index:2;
  text-align:center;
}
.poker-seat.dealer{margin-bottom:24px}
.poker-seat.player{margin-top:26px}
.seat-label{
  display:inline-flex;
  gap:9px;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(20,5,14,.78);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  font-weight:900;
}
.dealer-chip{
  display:inline-flex;
  width:26px;height:26px;
  align-items:center;justify-content:center;
  border-radius:50%;
  background:#fff;color:#111;
  font-weight:1000;font-size:11px;
  border:2px solid #ddd;
}
.holdem-cards{
  display:flex;
  justify-content:center;
  gap:10px;
  min-height:126px;
  margin-top:10px;
}
.community{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  gap:8px;
  min-height:124px;
  margin:14px 0 4px;
}
.poker-card-real{
  width:78px;height:112px;
  border-radius:8px;
  background:linear-gradient(145deg,#fff,#f2ecec);
  color:#151515;
  border:2px solid #eee;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:7px;
  font-weight:1000;
  font-size:20px;
  box-shadow:0 9px 20px rgba(0,0,0,.26);
}
.poker-card-real.red{color:#c2273b}
.poker-card-real.back{
  background:
    linear-gradient(45deg,rgba(255,255,255,.08) 25%,transparent 25% 75%,rgba(255,255,255,.08) 75%),
    linear-gradient(45deg,rgba(255,255,255,.08) 25%,#6a174e 25% 75%,rgba(255,255,255,.08) 75%);
  background-size:18px 18px;
  background-position:0 0,9px 9px;
  border-color:#b75b93;
  color:transparent;
}
.poker-card-real.empty{
  background:rgba(255,255,255,.04);
  border:2px dashed rgba(255,255,255,.13);
  box-shadow:none;
}
.pot-box{
  position:relative;z-index:2;
  width:max-content;
  margin:8px auto 12px;
  padding:8px 15px;
  border-radius:999px;
  background:rgba(22,6,14,.8);
  border:1px solid rgba(255,255,255,.12);
  font-size:13px;
}
.pot-box b{color:var(--gold2)}
.poker-info-grid{
  position:relative;z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  max-width:620px;
  margin:12px auto;
}
.poker-info{
  padding:9px;
  border-radius:7px;
  background:rgba(20,5,14,.7);
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
  font-size:11px;
  color:#d7c1cf;
}
.poker-info b{display:block;color:#fff;font-size:14px;margin-top:2px}
.poker-actions{
  position:relative;z-index:3;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:18px auto 0;
  max-width:680px;
}
.poker-actions .btn{min-height:48px}
.poker-actions .raise{background:linear-gradient(180deg,#ffc841,#ff8d18);color:#401900;border:0}
.poker-actions .fold{background:#5b1629;border-color:#8c3144}
.poker-actions .disabled{opacity:.38;pointer-events:none}
.poker-status-real{
  position:relative;z-index:3;
  max-width:700px;
  margin:12px auto 0;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:10px 14px;
  border-radius:8px;
  background:rgba(22,6,14,.8);
  border:1px solid rgba(255,255,255,.1);
  font-weight:800;
}
.hand-badge{
  display:inline-flex;
  margin-top:8px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,173,24,.14);
  color:var(--gold2);
  border:1px solid rgba(255,173,24,.35);
  font-size:11px;
  font-weight:900;
}
@media(max-width:720px){
  .poker-table{min-height:600px;padding:18px 10px;border-width:10px;border-radius:90px}
  .poker-card-real{width:58px;height:86px;font-size:16px;padding:5px}
  .holdem-cards,.community{min-height:96px;gap:5px}
  .poker-actions{grid-template-columns:repeat(2,1fr)}
  .poker-info-grid{grid-template-columns:1fr 1fr 1fr}
  .poker-table:before{font-size:22px}
}


/* Roulette 4.10 */
.roulette-page{
  max-width:1100px;
  margin:22px auto;
}
.roulette-casino{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:18px;
  align-items:start;
}
.roulette-left,
.roulette-right{
  background:linear-gradient(180deg,#2f0a29,#1a0517);
  border:1px solid #7d3d4b;
  border-radius:10px;
  padding:16px;
  box-shadow:var(--shadow);
}
.real-wheel-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.real-pointer{
  width:0;height:0;
  border-left:13px solid transparent;
  border-right:13px solid transparent;
  border-top:24px solid var(--gold2);
  position:relative;
  z-index:5;
  margin-bottom:-12px;
}
.real-wheel{
  width:290px;height:290px;
  border-radius:50%;
  position:relative;
  border:12px solid #8a5117;
  background:radial-gradient(circle at center,#2a1706 0 18%,#b97b22 19% 22%,#42111a 23% 27%,transparent 28%);
  box-shadow:inset 0 0 0 6px #d7a14e,inset 0 0 28px rgba(0,0,0,.5),0 18px 45px rgba(0,0,0,.4);
  transition:transform 4.2s cubic-bezier(.08,.68,.08,1);
}
.real-wheel .pocket{
  position:absolute;
  left:50%;top:50%;
  width:32px;height:22px;
  margin:-11px 0 0 -16px;
  transform-origin:16px 145px;
  text-align:center;
  font-size:10px;
  font-weight:1000;
  line-height:22px;
  border-radius:4px;
  color:#fff;
  background:#111;
  border:1px solid rgba(255,255,255,.18);
}
.real-wheel .pocket.red{background:#ad2034}
.real-wheel .pocket.green{background:#18713a}
.roulette-ball{
  position:absolute;
  left:50%;top:8px;
  width:12px;height:12px;
  margin-left:-6px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 5px rgba(0,0,0,.5);
  transform-origin:6px 137px;
  z-index:8;
}
.roulette-ball.spinning{
  animation:ballOrbit 1s linear infinite;
}
@keyframes ballOrbit{to{transform:rotate(-360deg)}}
.result-number{
  margin-top:8px;
  font-size:14px;
  color:var(--muted);
  text-align:center;
}
.result-number b{color:#fff;font-size:24px}
.chip-tray{
  display:flex;
  justify-content:center;
  gap:9px;
  flex-wrap:wrap;
  margin:15px 0 4px;
}
.casino-chip{
  width:48px;height:48px;border-radius:50%;
  border:5px dashed rgba(255,255,255,.65);
  background:#6d1b53;
  color:#fff;
  font-weight:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:inset 0 0 0 3px rgba(0,0,0,.2),0 6px 14px rgba(0,0,0,.25);
}
.casino-chip.active{
  outline:3px solid var(--gold2);
  transform:translateY(-3px);
}
.casino-chip[data-chip="10"]{background:#315f9a}
.casino-chip[data-chip="25"]{background:#2c7a48}
.casino-chip[data-chip="50"]{background:#9d363c}
.casino-chip[data-chip="100"]{background:#302e35}
.roulette-table{
  display:grid;
  grid-template-columns:50px repeat(12,1fr);
  gap:4px;
  align-items:stretch;
}
.r-zero{
  grid-row:1 / 4;
  grid-column:1;
}
.rnum{
  min-height:46px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:4px;
  color:#fff;
  font-weight:1000;
  background:#111;
  position:relative;
}
.rnum.red{background:#a61f35}
.rnum.green{background:#1c7140}
.rnum.selected,
.outside-bet.selected{
  outline:3px solid var(--gold2);
  outline-offset:1px;
}
.bet-marker{
  position:absolute;
  right:-5px;top:-6px;
  min-width:22px;height:22px;padding:0 5px;
  border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background:var(--gold2);color:#3c1900;
  font-size:9px;font-weight:1000;
  z-index:4;
}
.outside-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:4px;
  margin-top:6px;
}
.outside-bet{
  min-height:42px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:4px;
  background:#34102d;
  color:#fff;
  font-size:11px;
  font-weight:900;
  position:relative;
}
.outside-bet.red{background:#8d1f33}
.outside-bet.black{background:#151515}
.roulette-summary{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:7px;
}
.roulette-summary .poker-info{
  background:#1b0618;
}
.roulette-actions{
  display:grid;
  grid-template-columns:1fr 1fr 1.4fr;
  gap:8px;
  margin-top:14px;
}
@media(max-width:900px){
  .roulette-casino{grid-template-columns:1fr}
  .roulette-left{order:1}.roulette-right{order:2}
}
@media(max-width:680px){
  .real-wheel{width:245px;height:245px}
  .real-wheel .pocket{transform-origin:16px 122px}
  .roulette-table{grid-template-columns:42px repeat(6,1fr)}
  .r-zero{grid-row:auto;grid-column:auto}
  .outside-grid{grid-template-columns:repeat(3,1fr)}
  .roulette-summary{grid-template-columns:1fr 1fr}
}


/* Lucky Reels 4.12 – 5x5 slots + selectable lines */
.reelgrid{
  grid-template-columns:repeat(5,1fr) !important;
}
.reelcol{
  height:290px !important;
}
.reel-symbol{
  height:58px !important;
  flex:0 0 58px !important;
  font-size:31px !important;
}
.reel-payband{
  top:12px !important;
  bottom:12px !important;
  height:auto !important;
  border-top:0 !important;
  border-bottom:0 !important;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.03),rgba(255,255,255,.02)) !important;
  box-shadow:inset 0 0 0 2px rgba(255,220,150,.14), 0 0 24px rgba(255,205,120,.06) !important;
}
.line-panel{
  margin-top:10px;
  padding:10px;
  background:#21051c;
  border:1px solid #653044;
  border-radius:8px;
}
.line-selector{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:6px;
}
.line-btn.active{
  background:linear-gradient(180deg,#ffc841,#ff8d18);
  color:#401900;
  border-color:#ffb648;
}
@media(max-width:720px){
  .reelcol{
    height:250px !important;
  }
  .reel-symbol{
    height:50px !important;
    flex:0 0 50px !important;
    font-size:27px !important;
  }
  .line-selector{
    grid-template-columns:repeat(3,1fr);
  }
}


/* Lucky Reels 4.13 features */
.win-cell{outline:3px solid var(--gold2);outline-offset:-3px;box-shadow:0 0 24px rgba(255,190,40,.86),inset 0 0 22px rgba(255,173,24,.22);animation:winPulse .65s ease-in-out infinite alternate}
.wild-expand{box-shadow:0 0 0 2px rgba(117,211,255,.55),0 0 24px rgba(117,211,255,.35),inset 0 0 20px rgba(117,211,255,.22);background:linear-gradient(180deg,#ffffff,#dff4ff)!important}
.cascade-pop{animation:cascadePop .32s ease}
@keyframes cascadePop{0%{transform:scale(1)}50%{transform:scale(.82);opacity:.45}100%{transform:scale(1);opacity:1}}
.bonus-hub{width:min(620px,100%)}
.bonus-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.bonus-choice{display:flex;flex-direction:column;gap:6px;min-height:88px;justify-content:center}
.bonus-choice span{font-size:11px;color:#ead7df;font-weight:600}
.bonusbox.treasure.opened{font-size:18px;background:#6b184f;border-color:#efc14e}
.bonus-wheel-wrap{position:relative;display:flex;justify-content:center;align-items:center;margin:10px 0 4px}
.bonus-wheel-pointer{position:absolute;top:-6px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;border-top:26px solid var(--gold2);z-index:3}
.bonus-wheel{width:260px;height:260px;border-radius:50%;border:10px solid #d69b3a;position:relative;overflow:hidden;box-shadow:inset 0 0 0 4px #66360b,0 14px 35px rgba(0,0,0,.4);transition:transform 3.1s cubic-bezier(.1,.72,.08,1);background:conic-gradient(#702056 0 60deg,#8d2f69 60deg 120deg,#5f1748 120deg 180deg,#8d2f69 180deg 240deg,#702056 240deg 300deg,#9d3c74 300deg 360deg)}
.wheel-rewards{position:absolute;inset:0}
.wheel-rewards div{position:absolute;left:50%;top:50%;width:94px;margin-left:-47px;text-align:center;font-size:12px;font-weight:900;color:#fff;transform-origin:50% 0}
.wheel-rewards div:nth-child(1){transform:rotate(30deg) translateY(-112px)}
.wheel-rewards div:nth-child(2){transform:rotate(90deg) translateY(-112px)}
.wheel-rewards div:nth-child(3){transform:rotate(150deg) translateY(-112px)}
.wheel-rewards div:nth-child(4){transform:rotate(210deg) translateY(-112px)}
.wheel-rewards div:nth-child(5){transform:rotate(270deg) translateY(-112px)}
.wheel-rewards div:nth-child(6){transform:rotate(330deg) translateY(-112px)}
@media(max-width:720px){
 .bonus-choice-grid{grid-template-columns:1fr}
 .bonus-wheel{width:220px;height:220px}
 .wheel-rewards div{width:82px;margin-left:-41px;font-size:11px}
}

.credit-icon{color:var(--gold);font-size:12px;margin-right:3px}
.wallet-unit{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.6px;margin-left:3px}
.logo:before{content:"♛";color:var(--gold);font-size:18px;margin-right:8px}


/* MySQL/Auth/Admin UI */
.account-menu{display:flex;align-items:center;gap:10px}
.account-links{display:flex;align-items:center;gap:8px;font-size:11px}
.account-links a{color:var(--gold2);font-weight:800}
.account-name{color:#fff;font-weight:900}
.auth-page{display:grid;place-items:center;padding:22px}
.auth-shell{width:min(460px,100%)}
.auth-logo{display:block;text-align:center;margin:0 auto 18px;font-size:30px}
.auth-card{background:linear-gradient(180deg,#35102f,#1e071a);border:1px solid #754052;border-radius:12px;padding:24px;box-shadow:var(--shadow)}
.auth-card h1{margin:0 0 5px}
.form-grid{display:grid;gap:12px}
.form-grid label{display:grid;gap:6px;color:#decbd5;font-size:12px;font-weight:800}
.input{width:100%;border:1px solid #714052;background:#190615;color:#fff;border-radius:7px;padding:10px 11px;outline:none}
.input:focus{border-color:var(--gold)}
.input.compact{padding:7px 8px;min-width:110px}
.color-input{padding:3px;min-height:38px}
.form-error,.form-success{padding:10px 12px;border-radius:7px;margin:10px 0;font-size:12px;font-weight:800}
.form-error{background:#5d1427;border:1px solid #9b3b4f;color:#ffd8df}
.form-success{background:#123c2a;border:1px solid #2f7756;color:#d8ffea}
.auth-links{text-align:center;margin-top:14px;font-size:12px;color:var(--muted)}
.auth-links a{color:var(--gold2);font-weight:900}
.account-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:12px 0}
.account-meta>div{background:#1d0719;border:1px solid #56283d;padding:10px;border-radius:7px}
.account-meta span{display:block;color:var(--muted);font-size:10px}
.account-meta b{display:block;margin-top:3px}
.rank-badge,.rank-preview{display:inline-flex;align-items:center;border:1px solid var(--rank-color);color:var(--rank-color);background:color-mix(in srgb,var(--rank-color) 13%, transparent);border-radius:999px;padding:4px 8px;font-size:10px;font-weight:1000}
.admin-shell{max-width:1320px;margin:auto;padding:18px}
.admin-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.admin-top-links{display:flex;gap:8px}
.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}
.admin-stat{background:linear-gradient(180deg,#36102f,#20071c);border:1px solid #714052;border-radius:9px;padding:15px}
.admin-stat span{display:block;color:var(--muted);font-size:11px}
.admin-stat b{display:block;font-size:25px;color:var(--gold2);margin-top:4px}
.admin-panel{background:#1c0718;border:1px solid #683448;border-radius:10px;padding:16px;margin-bottom:16px}
.admin-table-wrap{overflow:auto}
.admin-table{width:100%;border-collapse:collapse;min-width:850px}
.admin-table th,.admin-table td{text-align:left;padding:9px;border-bottom:1px solid rgba(255,255,255,.07);vertical-align:middle}
.admin-table th{font-size:10px;text-transform:uppercase;color:var(--muted);letter-spacing:.5px}
.credits-input{width:140px}
.rank-create-grid{display:grid;grid-template-columns:1.1fr .55fr 90px 1.7fr auto;gap:8px;margin-bottom:14px}
.rank-list{display:grid;gap:8px}
.rank-row{display:grid;grid-template-columns:150px 1fr 90px 80px 1.5fr auto auto;gap:7px;align-items:center;border-top:1px solid rgba(255,255,255,.06);padding-top:8px}
.btn.danger{background:#5b1629;border-color:#8c3144}
@media(max-width:900px){
 .account-links{display:none}
 .admin-stats{grid-template-columns:repeat(2,1fr)}
 .rank-create-grid{grid-template-columns:1fr 1fr}
 .rank-row{grid-template-columns:1fr 1fr}
 .account-meta{grid-template-columns:repeat(2,1fr)}
}
