:root{--bg:#050812;--bg2:#0a0f1d;--card:#0e1527;--card2:#121b31;--line:#1e2a43;--text:#f8faff;--muted:#93a3bd;--purple:#8a2cff;--purple2:#5c38ff;--cyan:#20d9ff;--pink:#ff2bbd;--green:#25d980;--danger:#ff5470;--shadow:0 20px 60px rgba(0,0,0,.38)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at 72% 0,rgba(105,34,255,.18),transparent 26%),radial-gradient(circle at 10% 18%,rgba(23,162,255,.08),transparent 24%),linear-gradient(180deg,#050812,#070b14 45%,#050812)}a{color:inherit;text-decoration:none}.shell{width:min(1320px,calc(100% - 32px));margin:auto}.topbar{position:sticky;top:0;z-index:80;background:rgba(5,8,18,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06)}.nav{min-height:72px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:10px;font-weight:950;letter-spacing:.4px;white-space:nowrap}.brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#5d31ff,#c323ff 60%,#20d9ff);box-shadow:0 0 28px rgba(135,44,255,.5);font-size:20px}.nav nav{display:flex;align-items:center;gap:20px}.nav nav a{font-size:14px;color:#d3dbeb}.nav nav a:hover{color:white}.top-search{margin-left:auto;width:min(300px,24vw);height:42px;display:flex;align-items:center;background:#0d1424;border:1px solid #1e2a43;border-radius:12px;overflow:hidden}.top-search input{border:0!important;background:transparent!important;padding:0 13px!important;height:100%;font-size:14px}.top-search button{height:100%;width:44px;border:0;background:transparent;color:white;font-size:20px}.actions{display:flex;align-items:center;gap:9px}.balance{font-weight:800;color:#91edff;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;padding:11px 16px;background:linear-gradient(135deg,#6f35ff,#b321ff);color:white;font-weight:850;cursor:pointer;box-shadow:0 8px 26px rgba(117,42,255,.28)}.btn:hover{filter:brightness(1.08)}.btn.ghost{background:#0a0f1b;border:1px solid #2a3651;box-shadow:none;color:#e3e9f5}.btn.big{padding:14px 24px;border-radius:13px}.btn.small{padding:9px 14px;font-size:13px}.btn.buy{width:100%;font-size:17px;padding:15px}.btn.disabled{opacity:.5}.hamb{display:none;background:#0d1424;border:1px solid #26324a;color:#fff;border-radius:10px;padding:8px 10px}.flash{margin-top:14px;padding:12px 14px;border-radius:12px;background:#0d2940;border:1px solid #20587c;color:#bdeaff}.hero{position:relative;padding:34px 0 16px;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,18,.95) 0%,rgba(5,8,18,.7) 42%,rgba(31,11,67,.24) 100%);pointer-events:none}.hero-grid{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center;min-height:440px}.hero-copy{padding:30px 0}.pill,.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#d9c6ff;font-size:12.5px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}.pill{padding:8px 11px;border-radius:999px;background:rgba(127,48,255,.11);border:1px solid rgba(146,75,255,.38)}.hero h1{max-width:700px;font-size:clamp(43px,5.8vw,72px);line-height:.98;margin:19px 0 16px;letter-spacing:-2.8px;text-transform:uppercase;background:linear-gradient(90deg,#fff 0,#dfe7ff 45%,#9c5cff 76%,#ff32bf 100%);-webkit-background-clip:text;color:transparent}.hero p{max-width:650px;color:#a8b5c9;line-height:1.7;font-size:17px}.hero-actions{display:flex;gap:12px;margin:25px 0}.trust{display:flex;gap:10px;flex-wrap:wrap}.trust span{padding:9px 11px;background:rgba(15,21,37,.72);border:1px solid #1d2941;border-radius:10px;color:#bac6d9;font-size:13px}.hero-art{min-height:420px;display:grid;place-items:center}.arena{position:relative;width:min(100%,560px);height:360px;border-radius:30px;border:1px solid rgba(116,71,255,.38);background:radial-gradient(circle at 70% 28%,rgba(105,43,255,.68),transparent 24%),radial-gradient(circle at 28% 60%,rgba(16,149,255,.35),transparent 30%),linear-gradient(145deg,#081022,#160a31 62%,#0a0d19);overflow:hidden;box-shadow:0 32px 80px rgba(0,0,0,.5),0 0 55px rgba(104,43,255,.18)}.arena:before,.arena:after{content:"";position:absolute;bottom:-65px;width:330px;height:190px;background:linear-gradient(145deg,#111b32,#070b15);transform:rotate(-8deg);border-radius:50%}.arena:before{left:-60px}.arena:after{right:-55px;transform:rotate(8deg)}.arena-glow{position:absolute;inset:22px;border-radius:26px;border:1px solid rgba(83,181,255,.18);box-shadow:inset 0 0 70px rgba(91,54,255,.22)}.fighter{position:absolute;z-index:2;font-size:145px;filter:drop-shadow(0 0 22px rgba(114,50,255,.58));opacity:.92}.fighter-left{left:48px;bottom:48px;transform:rotate(-11deg)}.fighter-right{right:56px;bottom:38px;color:#9c61ff;transform:rotate(8deg)}.hero-logo{position:absolute;z-index:4;left:50%;top:47%;transform:translate(-50%,-50%);font-size:38px;font-weight:1000;text-shadow:0 0 28px #7a36ff;text-align:center}.hero-logo small{display:block;font-size:12.5px;letter-spacing:2px;color:#cbd6f0;margin-top:6px}.chip{position:absolute;z-index:5;padding:9px 12px;border-radius:10px;background:rgba(7,11,24,.86);border:1px solid rgba(255,255,255,.1);font-size:12.5px;font-weight:900;box-shadow:0 12px 28px rgba(0,0,0,.35)}.c1{left:25px;top:28px;color:#e6b8ff}.c2{right:24px;top:45px;color:#ff82d4}.c3{right:30px;bottom:30px;color:#76eaff}.benefit-strip{padding:8px 0}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.benefit-grid>div{padding:17px 18px;border:1px solid #1e2a43;background:linear-gradient(180deg,#0c1323,#09101c);border-radius:15px}.benefit-grid b,.benefit-grid span{display:block}.benefit-grid b{font-size:15px}.benefit-grid span{font-size:12.5px;color:#8796ae;margin-top:5px}.section{padding:38px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section h2,.admin-section h1{margin:6px 0 0;font-size:32px;letter-spacing:-1px}.view-all{font-size:13px;color:#bf77ff}.game-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.game-cover{position:relative;height:165px;border-radius:18px;overflow:hidden;border:1px solid #273454;background:#11182a;box-shadow:0 14px 35px rgba(0,0,0,.18);isolation:isolate}.game-cover img{width:100%;height:100%;object-fit:cover}.game-cover:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 25% 30%,rgba(72,213,255,.55),transparent 28%),radial-gradient(circle at 75% 70%,rgba(139,43,255,.62),transparent 30%),linear-gradient(135deg,#111b37,#251052)}.game-cover.g2:before{background:radial-gradient(circle at 30% 30%,rgba(255,78,52,.55),transparent 30%),radial-gradient(circle at 75% 70%,rgba(255,176,27,.48),transparent 30%),linear-gradient(135deg,#26151c,#3d1211)}.game-cover.g3:before{background:radial-gradient(circle at 25% 30%,rgba(36,219,255,.55),transparent 30%),radial-gradient(circle at 70% 70%,rgba(70,101,255,.5),transparent 30%),linear-gradient(135deg,#102235,#10274a)}.game-cover.g4:before{background:radial-gradient(circle at 25% 30%,rgba(35,213,170,.45),transparent 30%),linear-gradient(135deg,#152239,#0e3b3d)}.game-cover.g5:before{background:radial-gradient(circle at 25% 25%,rgba(110,67,255,.55),transparent 28%),linear-gradient(135deg,#161b38,#121124)}.game-overlay{position:absolute;inset:auto 0 0;padding:35px 14px 13px;background:linear-gradient(transparent,rgba(4,7,15,.94));display:flex;align-items:end;justify-content:space-between;gap:8px}.game-overlay span{font-weight:950;font-size:15px}.game-overlay b{padding:6px 8px;border-radius:999px;background:#ff1c72;font-size:11.5px;white-space:nowrap}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.product-card{background:linear-gradient(180deg,#11192d,#0b111f);border:1px solid #202c46;border-radius:16px;overflow:hidden;transition:.25s;box-shadow:0 10px 30px rgba(0,0,0,.16)}.product-card:hover{transform:translateY(-3px);border-color:#5942a3}.thumb{height:170px;display:block;position:relative;background:#09101d;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover;transition:.35s}.product-card:hover .thumb img{transform:scale(1.035)}.thumb-fallback{height:100%;display:grid;place-items:center;font-size:50px;background:radial-gradient(circle at 30% 25%,rgba(110,52,255,.55),transparent 30%),radial-gradient(circle at 75% 70%,rgba(17,182,255,.22),transparent 30%),linear-gradient(135deg,#10182c,#090d18)}.badge,.hot-badge{position:absolute;top:10px;padding:6px 8px;border-radius:8px;font-size:11.5px;font-weight:900}.badge{left:10px;background:rgba(5,8,18,.78);border:1px solid rgba(255,255,255,.09)}.hot-badge{right:10px;background:linear-gradient(90deg,#ff176e,#8a2cff)}.product-body{padding:13px}.game-name{color:#9bb0cf}.product-body h3{font-size:15px;line-height:1.4;margin:4px 0 8px;min-height:39px}.meta{display:flex;flex-direction:column;gap:4px;color:#8494ad;font-size:12.5px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.product-bottom strong{font-size:18px;color:#ff4fb6}.why{padding-top:18px}.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.why-grid>div{padding:20px;border-radius:16px;border:1px solid #1f2b45;background:#0d1424}.why-grid i{display:block;font-style:normal;font-size:27px;margin-bottom:10px}.why-grid b,.why-grid span{display:block}.why-grid span{font-size:13px;color:#8f9eb5;line-height:1.6;margin-top:6px}.game-banner{padding:34px;border:1px solid #253351;border-radius:22px;background-size:cover;background-position:center;min-height:190px;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 0 80px rgba(64,30,159,.18)}.game-banner h1{font-size:42px;margin:8px 0}.game-banner p{color:#a5b2c5;max-width:680px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.filters button{border:1px solid #26334e;background:#0c1322;color:#cbd5e6;padding:9px 12px;border-radius:10px}.breadcrumb{color:#a9b7cc;font-size:14px;margin-bottom:14px}.detail{display:grid;grid-template-columns:1.1fr .9fr;gap:28px}.detail-media{height:510px;border-radius:22px;overflow:hidden;border:1px solid #263551;background:#0a101d}.detail-media img{width:100%;height:100%;object-fit:cover}.detail-fallback{font-size:96px}.detail-info{padding:8px}.detail-info h1{font-size:38px;line-height:1.08}.price-big{font-size:31px;font-weight:950;color:#ff4db8;margin:8px 0 18px}.spec-list{display:grid;gap:10px}.spec-list>div{display:flex;justify-content:space-between;gap:20px;padding:13px 14px;border:1px solid #202c45;border-radius:12px;background:#0d1424}.spec-list span{color:#8f9eb5}.desc{color:#c0cadc;line-height:1.7;margin:18px 0}.note{font-size:12.5px;color:#8492a8;text-align:center}.empty{grid-column:1/-1;padding:24px;border:1px dashed #2d3a56;border-radius:14px;color:#8998ae}.auth-wrap{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:40px 18px}.auth-card{width:min(480px,100%);padding:28px;border:1px solid #26344f;border-radius:22px;background:#0d1424;box-shadow:var(--shadow)}.auth-card.install{width:min(640px,100%)}.form label,.auth-card label{display:flex;flex-direction:column;gap:7px;margin-bottom:14px;color:#cbd5e9;font-size:14px;font-weight:700}input,textarea,select{width:100%;background:#0a1020;border:1px solid #263451;color:white;border-radius:10px;padding:12px 13px;outline:none}input:focus,textarea:focus,select:focus{border-color:#7657ff}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.error,.success{padding:12px 14px;border-radius:12px;margin:12px 0}.error{background:#3b1620;border:1px solid #7f2d40;color:#ffbbc8}.success{background:#123522;border:1px solid #25643f;color:#a7f8c4}.profile-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.wallet{min-width:280px;padding:18px;border:1px solid #283653;border-radius:16px;background:linear-gradient(135deg,#10182c,#24103d)}.wallet small,.wallet span{display:block;color:#8f9db3}.wallet strong{display:block;font-size:31px;color:#a94cff;margin:5px 0}.orders{display:grid;gap:12px}.order{padding:18px;border:1px solid #202d46;border-radius:15px;background:#0d1424}.order>div:first-child{display:flex;justify-content:space-between;gap:20px}.order small{color:#8392a9}.credentials{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.credentials span{padding:8px 10px;background:#080d18;border-radius:9px;border:1px solid #202b42}code{color:#77e9ff}footer{margin-top:44px;padding:34px 0;border-top:1px solid #1e2940;background:#050812}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:38px}.footer-grid>div{display:flex;flex-direction:column;gap:8px}.footer-grid p,.footer-grid a{color:#8391a8;font-size:13px}.admin-body{background:#f5f7fb;color:#172033}.sidebar{position:fixed;left:0;top:0;bottom:0;width:238px;padding:20px 15px;background:#0b101d;color:#fff;border-right:1px solid #1d273a;z-index:90}.sidebar nav{display:grid;gap:6px;margin-top:26px}.sidebar nav a{padding:12px;border-radius:9px;color:#c7d0e0}.sidebar nav a:hover{background:#751fff;color:white}.admin-main{margin-left:238px;min-height:100vh;padding:0 25px 45px}.admin-top{height:68px;display:flex;justify-content:flex-end;align-items:center;border-bottom:1px solid #e0e5ee}.admin-top div{display:flex;flex-direction:column;text-align:right}.admin-top small{color:#738096}.admin-section{padding:26px 0}.stat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:20px 0}.stat,.admin-card{background:#fff;border:1px solid #e0e5ef;border-radius:14px;box-shadow:0 8px 24px rgba(20,31,55,.05)}.stat{padding:17px}.stat small{color:#778399}.stat strong{display:block;font-size:26px;margin-top:7px}.admin-card{padding:19px}.admin-split{display:grid;grid-template-columns:360px 1fr;gap:18px}.admin-split.wide-left{grid-template-columns:420px 1fr}.secret-box{padding:13px;border:1px dashed #7b53ff;border-radius:12px;background:#f5f0ff}.check{flex-direction:row!important;align-items:center}.check input{width:auto}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:700px}th,td{text-align:left;padding:12px;border-bottom:1px solid #e7ebf2;font-size:14px;vertical-align:top}th{color:#748096;font-size:12.5px;text-transform:uppercase}td small{display:block;color:#8a95a8;margin-top:4px}.row-actions,.inline{display:flex;align-items:center;gap:7px}.mini{border:1px solid #d8deea;background:#fff;color:#1c2740;border-radius:8px;padding:7px 9px;cursor:pointer}.mini.danger{color:#e1455d;border-color:#efb8c2}.money-input{min-width:160px;padding:8px}.status{padding:5px 8px;border-radius:999px;font-size:12.5px}.status.available{background:#daf8e8;color:#178a53}.status.sold{background:#ffe1e7;color:#d13b58}.status.hidden{background:#eceff4;color:#667085}.muted{color:#7f8a9c}.settings-form{max-width:720px}
@media(max-width:1100px){.nav nav{display:none}.top-search{margin-left:auto}.product-grid{grid-template-columns:repeat(3,1fr)}.game-grid{grid-template-columns:repeat(3,1fr)}.hero-grid{grid-template-columns:1fr 1fr}.admin-split,.admin-split.wide-left{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.shell{width:min(100% - 20px,1320px)}.nav{min-height:64px;gap:10px}.hamb{display:block;margin-left:auto}.top-search{display:none}.nav nav{display:none;position:absolute;left:10px;right:10px;top:66px;background:#0b1120;border:1px solid #24314a;border-radius:14px;padding:9px;flex-direction:column;align-items:stretch}.nav nav.open{display:flex}.nav nav a{padding:10px}.actions .balance,.actions .btn.ghost{display:none}.hero{padding-top:20px}.hero-grid{grid-template-columns:1fr;min-height:0}.hero-copy{padding:14px 0}.hero h1{font-size:42px}.hero p{font-size:15px}.hero-art{min-height:300px}.arena{height:285px}.fighter{font-size:105px}.hero-logo{font-size:29px}.benefit-grid{grid-template-columns:repeat(2,1fr)}.game-grid{grid-template-columns:repeat(2,1fr)}.game-cover{height:140px}.product-grid{grid-template-columns:repeat(2,1fr)}.thumb{height:145px}.why-grid{grid-template-columns:repeat(2,1fr)}.detail{grid-template-columns:1fr}.detail-media{height:360px}.profile-head{flex-direction:column;align-items:stretch}.wallet{min-width:0}.footer-grid{grid-template-columns:1fr}.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:translateX(0)}.admin-main{margin-left:0;padding:0 14px 38px}.admin-top{justify-content:space-between}.admin-top .hamb{display:block}.order>div:first-child{flex-direction:column;gap:5px}.two{grid-template-columns:1fr}}
@media(max-width:480px){.brand span:last-child{font-size:15px}.actions .btn{padding:9px 10px;font-size:12.5px}.hero h1{font-size:37px}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.trust{display:grid;grid-template-columns:1fr 1fr}.arena{height:255px}.fighter{font-size:90px}.fighter-left{left:25px}.fighter-right{right:28px}.chip{font-size:10.5px;padding:7px}.benefit-grid{gap:7px}.benefit-grid>div{padding:13px}.game-grid{gap:8px}.game-cover{height:118px}.game-overlay{padding:30px 9px 9px}.game-overlay span{font-size:12.5px}.product-grid{gap:9px}.thumb{height:120px}.product-body{padding:10px}.product-body h3{font-size:13px;min-height:34px}.product-bottom{align-items:flex-start;flex-direction:column}.product-bottom .btn{width:100%}.product-bottom strong{font-size:16px}.section h2{font-size:26px}.why-grid{grid-template-columns:1fr 1fr;gap:8px}.why-grid>div{padding:14px}.detail-media{height:280px}.detail-info h1{font-size:30px}.spec-list>div{flex-direction:column;gap:4px}.stat-grid{grid-template-columns:1fr 1fr}}

/* V3 - image pack inspired by approved preview */
.hero{background:radial-gradient(circle at 78% 30%,rgba(111,41,255,.18),transparent 28%),linear-gradient(180deg,#050812,#060a14)}
.hero-art{min-height:420px;display:grid;place-items:center}
.hero-media{position:relative;width:min(100%,650px);height:390px;border-radius:26px;overflow:hidden;border:1px solid rgba(122,67,255,.45);background:#0a0f1d;box-shadow:0 26px 70px rgba(0,0,0,.5),0 0 65px rgba(101,40,255,.2)}
.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,18,.45),transparent 42%),linear-gradient(0deg,rgba(5,8,18,.55),transparent 45%);pointer-events:none}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.15) contrast(1.06)}
.hero-media-badge{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;padding:13px 15px;border-radius:14px;background:rgba(7,10,22,.78);border:1px solid rgba(180,91,255,.42);backdrop-filter:blur(10px);box-shadow:0 12px 30px rgba(0,0,0,.28)}
.hero-media-badge b,.hero-media-badge span{display:block}.hero-media-badge b{font-size:19px;background:linear-gradient(90deg,#fff,#b57cff,#ff43c6);-webkit-background-clip:text;color:transparent}.hero-media-badge span{font-size:13px;color:#b7c3d7;margin-top:4px}
.game-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;transition:transform .35s ease,filter .35s ease;filter:saturate(1.08) contrast(1.04)}
.game-cover:hover img{transform:scale(1.06);filter:saturate(1.25) contrast(1.08)}
.game-cover:after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,transparent 30%,rgba(4,7,15,.35) 55%,rgba(4,7,15,.96) 100%)}
.game-overlay{z-index:2}
.product-card .thumb img{filter:saturate(1.08) contrast(1.04);transition:transform .35s ease}.product-card:hover .thumb img{transform:scale(1.04)}
.product-card{box-shadow:0 14px 35px rgba(0,0,0,.2)}
.game-banner{min-height:250px;background-position:center;background-size:cover;border:1px solid rgba(130,73,255,.42);box-shadow:0 25px 65px rgba(0,0,0,.28),inset 0 0 75px rgba(99,40,255,.12)}
.detail-media img{width:100%;height:100%;object-fit:cover}
@media(max-width:780px){.hero-media{height:275px;border-radius:20px}.hero-art{min-height:285px}.hero-media-badge{left:12px;right:12px;bottom:12px}.game-banner{min-height:205px}}
@media(max-width:480px){.hero-media{height:225px}.hero-art{min-height:235px}.hero-media-badge b{font-size:16px}.hero-media-badge span{font-size:11.5px}}

/* V4 HQ image rendering — full frame, no over-zoom */
.hero-media{
  width:min(100%,650px);
  height:auto!important;
  aspect-ratio:16/9;
  border-radius:22px;
  background:#070b14;
}
.hero-media img{
  width:100%;height:100%;
  object-fit:contain!important;
  object-position:center!important;
  filter:saturate(1.06) contrast(1.035) brightness(1.01)!important;
  transform:none!important;
  image-rendering:auto;
}
.game-cover{
  height:auto!important;
  aspect-ratio:15/7;
  background:#070b14;
}
.game-cover img{
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  filter:saturate(1.05) contrast(1.03)!important;
}
.game-cover:hover img{transform:none!important;filter:saturate(1.08) contrast(1.04)!important}
.thumb{
  height:auto!important;
  aspect-ratio:800/430;
  background:#070b14;
}
.thumb img{
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  filter:saturate(1.04) contrast(1.025);
}
.product-card:hover .thumb img{transform:none!important}
.detail-media{
  height:auto!important;
  aspect-ratio:800/430;
  background:#070b14;
}
.detail-media img{
  object-fit:contain!important;
  object-position:center!important;
}
.game-banner{
  min-height:0!important;
  aspect-ratio:1400/370;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-color:#070b14!important;
}
@media(max-width:780px){
  .hero-media{height:auto!important;aspect-ratio:16/9}
  .hero-art{min-height:0!important}
  .game-cover{height:auto!important;aspect-ratio:15/7}
  .thumb{height:auto!important;aspect-ratio:800/430}
  .detail-media{height:auto!important;aspect-ratio:800/430}
  .game-banner{aspect-ratio:auto;min-height:180px!important;background-size:contain!important}
}
@media(max-width:480px){
  .hero-media{height:auto!important;aspect-ratio:16/9}
  .game-cover{height:auto!important;aspect-ratio:15/7}
  .thumb{height:auto!important;aspect-ratio:800/430}
}

/* V5 hero rebuild — full cinematic banner, no inset image */
.hero{padding:22px 0 10px;background:transparent;overflow:visible}
.hero:before{display:none!important}
.hero-panel{position:relative;min-height:430px;border:1px solid rgba(139,70,255,.42);border-radius:24px;overflow:hidden;background:#070a14;box-shadow:0 28px 80px rgba(0,0,0,.42),0 0 60px rgba(112,41,255,.14)}
.hero-panel-bg{position:absolute;inset:0;background-image:linear-gradient(90deg,#050812 0%,rgba(5,8,18,.97) 22%,rgba(5,8,18,.82) 42%,rgba(5,8,18,.20) 72%,rgba(5,8,18,.08) 100%),linear-gradient(0deg,rgba(5,8,18,.66),transparent 42%),url('../images/hero-art-sharp.jpg');background-size:cover;background-position:center right;background-repeat:no-repeat;transform:scale(1.01)}
.hero-panel:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 78% 24%,rgba(118,45,255,.18),transparent 28%),linear-gradient(180deg,transparent 66%,rgba(5,8,18,.35))}
.hero-copy{position:relative;z-index:3;width:min(58%,720px);padding:50px 0 42px 48px}
.hero h1{font-size:clamp(46px,5.1vw,72px);line-height:.98;margin:18px 0 15px;max-width:680px;text-shadow:0 4px 26px rgba(0,0,0,.3)}
.hero p{font-size:16px;max-width:590px;color:#b7c3d8}
.hero-mini{display:flex;gap:18px;flex-wrap:wrap;margin-top:20px;font-size:13px;font-weight:800;color:#d7e1f0}
.hero-mini span{display:flex;align-items:center;gap:6px}
.hero-side-card{position:absolute;z-index:4;right:26px;bottom:24px;width:330px;padding:17px 18px;border-radius:16px;background:linear-gradient(135deg,rgba(8,12,27,.92),rgba(24,10,48,.88));border:1px solid rgba(175,77,255,.48);backdrop-filter:blur(12px);box-shadow:0 16px 38px rgba(0,0,0,.38)}
.hero-side-card strong,.hero-side-card small{display:block}.hero-side-card strong{font-size:22px;margin:5px 0 4px}.hero-side-card small{color:#b5c1d5}.hot-dot{font-size:12.5px;font-weight:900;color:#ff4dbf;letter-spacing:.8px}
.hero-art,.hero-media{display:none!important}
.benefit-strip{padding:8px 0 18px}.benefit-grid>div{background:linear-gradient(145deg,#0b1324,#0a101d);border:1px solid #263451;box-shadow:inset 0 0 24px rgba(80,60,255,.05)}
.section{padding-top:24px}.game-showcase{grid-template-columns:repeat(5,1fr);gap:12px}.game-cover{aspect-ratio:16/7!important;border-radius:15px;overflow:hidden}.game-cover img{object-fit:cover!important;transform:scale(1.01)!important}.game-cover:hover img{transform:scale(1.04)!important}.thumb{aspect-ratio:16/9!important}.thumb img{object-fit:cover!important}.detail-media{aspect-ratio:16/9!important}.detail-media img{object-fit:cover!important}.product-card{border-color:#293452;background:linear-gradient(180deg,#0d1424,#0a101c)}
@media(max-width:1100px){.hero-copy{width:63%;padding-left:34px}.hero-side-card{width:290px}.game-showcase{grid-template-columns:repeat(3,1fr)}}
@media(max-width:780px){.hero{padding-top:12px}.hero-panel{min-height:500px;border-radius:18px}.hero-panel-bg{background-image:linear-gradient(180deg,rgba(5,8,18,.14) 0%,rgba(5,8,18,.7) 48%,#050812 76%),url('../images/hero-art-sharp.jpg');background-size:auto 55%,cover;background-position:center top,center top;background-repeat:no-repeat}.hero-copy{width:100%;padding:245px 20px 24px}.hero h1{font-size:39px;letter-spacing:-1.6px}.hero p{font-size:14px}.hero-side-card{display:none}.hero-mini{gap:10px}.game-showcase{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.hero-panel{min-height:470px}.hero-copy{padding:220px 16px 20px}.hero h1{font-size:35px}.hero-actions{grid-template-columns:1fr 1fr}.hero-mini{display:grid;grid-template-columns:1fr 1fr}.game-showcase{gap:9px}.game-cover{aspect-ratio:16/8!important}}

/* =========================================================
   V6 PREMIUM GAMING UI
   Visual-only upgrade. Existing PHP/database logic unchanged.
   ========================================================= */
:root{
  --v6-bg:#050711;
  --v6-bg-soft:#080b16;
  --v6-panel:rgba(11,15,29,.78);
  --v6-panel-solid:#0b0f1d;
  --v6-line:rgba(151,119,255,.20);
  --v6-line-strong:rgba(151,119,255,.38);
  --v6-text:#f7f7ff;
  --v6-muted:#9aa4bc;
  --v6-purple:#8b5cff;
  --v6-purple-2:#6e38ff;
  --v6-pink:#ff42bd;
  --v6-cyan:#55dcff;
  --v6-green:#3ce6a1;
  --v6-shadow:0 24px 70px rgba(0,0,0,.42);
}
html{background:var(--v6-bg)}
body{
  min-height:100vh;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 73% -8%,rgba(111,61,255,.22),transparent 27%),
    radial-gradient(circle at 8% 18%,rgba(46,185,255,.09),transparent 24%),
    linear-gradient(180deg,#050711 0%,#060914 45%,#050711 100%);
  color:var(--v6-text);
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  opacity:.18;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(to bottom,black,transparent 80%);
  pointer-events:none;
}
.site-ambient{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none}
.site-ambient span{position:absolute;border-radius:50%;filter:blur(80px);opacity:.18}
.site-ambient span:nth-child(1){width:360px;height:360px;background:#6f2cff;right:-100px;top:120px}
.site-ambient span:nth-child(2){width:300px;height:300px;background:#00b8ff;left:-150px;top:520px;opacity:.08}
.site-ambient span:nth-child(3){width:280px;height:280px;background:#ff2ca8;right:12%;top:1050px;opacity:.07}
.shell{width:min(1360px,calc(100% - 40px))}

/* Header */
.topbar{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(5,7,17,.72);
  border-bottom:1px solid rgba(255,255,255,.05);
  backdrop-filter:blur(20px) saturate(1.2);
  transition:.25s ease;
}
.topbar.scrolled{background:rgba(5,7,17,.92);box-shadow:0 12px 36px rgba(0,0,0,.28)}
.nav{min-height:78px;gap:22px}
.brand{gap:11px;flex:0 0 auto}
.brand-mark{
  position:relative;
  width:42px;
  height:42px;
  border-radius:13px;
  background:linear-gradient(145deg,#7541ff 0%,#b72cff 58%,#3fdcff 100%);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 0 0 4px rgba(123,64,255,.07),0 10px 32px rgba(126,48,255,.38);
  overflow:hidden;
}
.brand-mark:after{content:"";position:absolute;inset:1px;border-radius:11px;background:linear-gradient(145deg,rgba(255,255,255,.18),transparent 42%);pointer-events:none}
.brand-mark svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:1.4;stroke-linejoin:round;filter:drop-shadow(0 0 8px rgba(255,255,255,.25))}
.brand-mark svg path:nth-child(2){stroke:#dff8ff;stroke-width:1.15}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-copy b{font-size:17px;font-weight:1000;letter-spacing:.55px}
.brand-copy small{font-size:9px;color:#838ea7;letter-spacing:1.65px;margin-top:5px;font-weight:800}
.nav nav{gap:5px}
.nav nav a{position:relative;padding:10px 12px;border-radius:10px;font-size:13px;font-weight:700;color:#aeb7ca;transition:.2s ease}
.nav nav a:hover{color:#fff;background:rgba(255,255,255,.045)}
.nav nav a:after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:1px;background:linear-gradient(90deg,transparent,#9a67ff,transparent);transform:scaleX(0);transition:.2s ease}
.nav nav a:hover:after{transform:scaleX(1)}
.top-search{
  margin-left:auto;
  width:min(300px,24vw);
  height:43px;
  gap:8px;
  padding-left:13px;
  background:rgba(10,14,28,.72);
  border:1px solid rgba(139,121,196,.19);
  border-radius:13px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  transition:.2s ease;
}
.top-search:focus-within{border-color:rgba(139,92,255,.55);box-shadow:0 0 0 4px rgba(139,92,255,.08)}
.top-search svg{width:16px;height:16px;fill:none;stroke:#7f8aa3;stroke-width:1.8;flex:0 0 auto}
.top-search input{color:#eef1fb!important;min-width:0;padding:0!important}
.top-search input::placeholder{color:#65718a}
.top-search button{width:auto;padding:0 13px!important;font-size:11.5px!important;text-transform:uppercase;letter-spacing:.6px;color:#b8c2d8!important;font-weight:900;cursor:pointer}
.actions{gap:8px}
.btn{position:relative;gap:7px;border-radius:12px;background:linear-gradient(135deg,#7542ff 0%,#9a31ff 58%,#c82dff 100%);box-shadow:0 10px 28px rgba(120,50,255,.26);transition:transform .2s ease,filter .2s ease,border-color .2s ease,background .2s ease}
.btn:hover{transform:translateY(-1px);filter:brightness(1.08)}
.btn.ghost{background:rgba(11,15,28,.74);border-color:rgba(139,145,180,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.btn.ghost:hover{border-color:rgba(151,119,255,.43);background:rgba(17,22,40,.92)}
.btn.compact{padding:10px 14px;font-size:13px}
.balance{display:inline-flex;align-items:center;gap:6px;padding:9px 10px;border:1px solid rgba(83,220,255,.15);background:rgba(36,183,229,.055);border-radius:10px;color:#a7eeff}
.balance span{font-size:11.5px;color:#65dcff}
.user-pill{display:flex;align-items:center;gap:8px;padding:5px 10px 5px 5px;border:1px solid rgba(141,117,216,.20);background:rgba(12,16,30,.72);border-radius:12px;font-size:13px}
.user-dot{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:linear-gradient(145deg,#6740ff,#b531ff);font-weight:950}
.hamb{width:42px;height:42px;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:rgba(12,16,30,.82);border-color:rgba(148,125,220,.25)}
.hamb span{width:18px;height:2px;border-radius:4px;background:#fff;transition:.2s ease}
.hamb.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamb.active span:nth-child(2){opacity:0}
.hamb.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Hero */
.home-main{position:relative}
.hero{padding:30px 0 12px!important}
.hero-panel{
  position:relative;
  isolation:isolate;
  min-height:520px;
  border-radius:30px;
  border:1px solid rgba(142,91,255,.34);
  background:#080b16;
  overflow:hidden;
  box-shadow:0 35px 100px rgba(0,0,0,.46),0 0 0 1px rgba(255,255,255,.018) inset,0 0 80px rgba(103,46,255,.10);
}
.hero-panel:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(5,7,17,.98) 0%,rgba(5,7,17,.92) 29%,rgba(5,7,17,.56) 48%,rgba(5,7,17,.04) 79%),linear-gradient(0deg,rgba(5,7,17,.72),transparent 42%);pointer-events:none}
.hero-panel:after{content:"";position:absolute;z-index:2;inset:0;background:radial-gradient(circle at 78% 28%,rgba(113,66,255,.08),transparent 24%),linear-gradient(180deg,rgba(255,255,255,.035),transparent 16%);pointer-events:none}
.hero-panel-bg{z-index:0!important;inset:-1px!important;background-image:var(--hero-bg,url('../images/hero-art-sharp.jpg'))!important;background-size:cover!important;background-position:center right!important;background-repeat:no-repeat!important;filter:saturate(1.10) contrast(1.09) brightness(1.02);transform:none!important}
.hero-copy{z-index:5!important;width:min(58%,710px)!important;padding:72px 0 54px 54px!important}
.pill,.eyebrow{font-size:11.5px;letter-spacing:1.5px}
.pill{gap:9px;padding:9px 12px;border:1px solid rgba(163,106,255,.30);background:linear-gradient(90deg,rgba(116,58,255,.13),rgba(248,55,191,.06));box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.pill i,.eyebrow i{display:inline-block;width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#9b6dff,#ff45bd);box-shadow:0 0 10px #9b55ff}
.hero h1{
  margin:20px 0 17px!important;
  max-width:720px!important;
  font-size:clamp(52px,5.3vw,78px)!important;
  line-height:.96!important;
  letter-spacing:-3.4px!important;
  text-wrap:balance;
  background:linear-gradient(100deg,#fff 0%,#edf0ff 48%,#b795ff 72%,#f462ca 100%)!important;
  -webkit-background-clip:text!important;
  color:transparent!important;
  filter:drop-shadow(0 8px 24px rgba(0,0,0,.25));
}
.hero p{max-width:620px!important;margin:0;color:#abb5c9!important;font-size:16px!important;line-height:1.75!important}
.hero-actions{gap:10px!important;margin:28px 0 26px!important}
.hero-actions .btn.big{min-height:50px;padding:0 20px!important;font-size:13px;letter-spacing:.2px;border-radius:13px}
.hero-actions .btn:first-child{box-shadow:0 14px 36px rgba(111,55,255,.34),inset 0 1px 0 rgba(255,255,255,.20)}
.btn-icon{font-size:15px}
.hero-proof{display:flex;align-items:center;gap:0;margin-top:2px}
.hero-proof>div{display:flex;flex-direction:column;min-width:118px;padding:0 20px;border-left:1px solid rgba(255,255,255,.10)}
.hero-proof>div:first-child{padding-left:0;border-left:0}
.hero-proof b{font-size:19px;line-height:1;color:#fff;letter-spacing:-.4px}
.hero-proof span{font-size:11.5px;color:#7f8aa1;margin-top:6px}
.hero-float{position:absolute;z-index:6;display:flex;align-items:center;gap:10px;border:1px solid rgba(145,117,227,.24);background:rgba(8,11,23,.72);backdrop-filter:blur(14px);box-shadow:0 18px 45px rgba(0,0,0,.28)}
.hero-float-top{right:40px;top:32px;padding:10px 13px;border-radius:13px}
.float-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(145deg,rgba(108,71,255,.65),rgba(236,62,191,.35));color:#fff;font-size:13px;box-shadow:0 0 20px rgba(130,67,255,.22)}
.hero-float div{display:flex;flex-direction:column}.hero-float small{font-size:10px;color:#77839b;font-weight:900;letter-spacing:1px}.hero-float b{font-size:12.5px;margin-top:3px}
.hero-side-card{z-index:6!important;right:31px!important;bottom:28px!important;width:320px!important;padding:18px!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(8,11,25,.90),rgba(24,12,47,.86))!important;border:1px solid rgba(165,94,255,.40)!important;box-shadow:0 22px 46px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.04)!important}
.hero-card-head{display:flex;align-items:center;gap:7px}.hero-card-head small{font-size:10.5px!important;color:#b5a8e1!important;font-weight:900;letter-spacing:1.2px}.live-dot{width:7px;height:7px;border-radius:50%;background:#ff47bf;box-shadow:0 0 0 4px rgba(255,71,191,.10),0 0 14px rgba(255,71,191,.75)}
.hero-side-card strong{font-size:21px!important;margin:8px 0 4px!important;letter-spacing:-.4px}.hero-side-card p{font-size:12.5px!important;line-height:1.55!important;margin:0 0 12px!important;color:#8894ad!important}.hero-side-card a{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:900;color:#d5c4ff}.hero-side-card a span{color:#ff54c3}
.hero-rings{position:absolute;z-index:1;right:6%;top:50%;width:440px;height:440px;transform:translateY(-50%);pointer-events:none;opacity:.5}
.hero-rings i{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(139,92,255,.09)}
.hero-rings i:nth-child(2){inset:58px;border-color:rgba(86,216,255,.075)}
.hero-rings i:nth-child(3){inset:120px;border-color:rgba(255,75,189,.065)}

/* Benefit strip */
.benefit-strip{position:relative;z-index:8;padding:0 0 20px!important;margin-top:-2px}
.benefit-grid{gap:12px!important}
.benefit-card{position:relative;display:flex!important;align-items:center;gap:12px;padding:17px 17px!important;overflow:hidden;border-radius:17px!important;background:linear-gradient(145deg,rgba(12,17,32,.92),rgba(8,12,23,.96))!important;border:1px solid rgba(121,131,168,.17)!important;box-shadow:0 12px 35px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025)!important;transition:.22s ease}
.benefit-card:hover{transform:translateY(-2px);border-color:rgba(142,92,255,.35)!important}
.benefit-icon{display:grid!important;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,rgba(117,63,255,.16),rgba(63,213,255,.06));border:1px solid rgba(145,106,255,.20);font-size:17px!important;color:#d9d0ff}
.benefit-card>div{min-width:0}.benefit-card b{font-size:14px!important}.benefit-card div span{font-size:11.5px!important;color:#7d899f!important;margin-top:4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.benefit-card em{position:absolute;right:11px;top:7px;font-size:21px;font-style:normal;font-weight:1000;color:rgba(255,255,255,.025);letter-spacing:-1px}

/* Shared section header */
.section{padding:44px 0!important}
.section-head{align-items:end!important;margin-bottom:22px!important}
.section h2{font-size:35px!important;letter-spacing:-1.3px!important;margin-top:7px!important}
.section-desc{max-width:640px;margin:8px 0 0;color:#7f8aa1;font-size:13px;line-height:1.7}
.eyebrow{color:#b9a6ef!important}
.view-all{display:inline-flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid rgba(140,114,215,.18);border-radius:10px;background:rgba(13,17,31,.52);color:#bdabef!important;font-size:11.5px!important;font-weight:900;white-space:nowrap;transition:.2s ease}
.view-all:hover{border-color:rgba(145,92,255,.38);background:rgba(21,18,43,.82);transform:translateY(-1px)}

/* Games */
.games-section{padding-top:37px!important}
.game-showcase{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.game-showcase .game-tile{grid-column:span 1!important;min-width:0!important}
.game-cover{position:relative!important;isolation:isolate;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-height:178px!important;height:100%!important;aspect-ratio:auto!important;border-radius:19px!important;border:1px solid rgba(129,142,190,.20)!important;background:#080b15!important;box-shadow:0 18px 42px rgba(0,0,0,.24)!important;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important}
.game-cover:hover{transform:translateY(-4px);border-color:rgba(146,91,255,.48)!important;box-shadow:0 24px 48px rgba(0,0,0,.33),0 0 34px rgba(110,54,255,.10)!important}
.game-cover img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:-2!important;object-fit:cover!important;filter:saturate(1.12) contrast(1.05) brightness(.96)!important;transform:scale(1.01)!important;transition:transform .45s ease,filter .45s ease!important}
.game-cover:hover img{transform:scale(1.055)!important;filter:saturate(1.20) contrast(1.07) brightness(1.02)!important}
.game-cover:after{content:"";position:absolute;inset:0;z-index:-1!important;background:linear-gradient(180deg,rgba(5,7,15,.03) 0%,rgba(5,7,15,.12) 42%,rgba(5,7,15,.76) 100%),linear-gradient(90deg,rgba(5,7,15,.12),transparent 60%)!important}
.game-shine{position:absolute;inset:0;z-index:0;background:linear-gradient(112deg,transparent 26%,rgba(255,255,255,.07) 45%,transparent 62%);transform:translateX(-120%);transition:transform .75s ease;pointer-events:none}.game-cover:hover .game-shine{transform:translateX(120%)}
.game-topline{position:absolute;z-index:3;left:12px;right:12px;top:11px;display:flex;align-items:center;justify-content:space-between}.game-topline span{font-size:10px;font-weight:900;letter-spacing:1.4px;color:rgba(255,255,255,.68);padding:5px 7px;border-radius:7px;background:rgba(5,7,15,.40);backdrop-filter:blur(7px)}.game-topline b{font-size:10px!important;padding:5px 7px!important;border-radius:7px!important;background:rgba(104,61,255,.62)!important;border:1px solid rgba(255,255,255,.10);box-shadow:0 6px 18px rgba(69,30,180,.24)}
.game-overlay{z-index:3!important;inset:auto 0 0!important;padding:46px 13px 13px!important;background:transparent!important;display:flex!important;align-items:end!important;justify-content:space-between!important;gap:8px}.game-overlay>div{display:flex;flex-direction:column;min-width:0}.game-overlay small{font-size:10px;color:#d1d9eb;letter-spacing:1px;font-weight:800;text-shadow:0 2px 10px rgba(0,0,0,.55)}.game-overlay strong{font-size:14px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.65)}.game-arrow{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);font-size:14px;transition:.2s ease}.game-cover:hover .game-arrow{background:linear-gradient(145deg,#7542ff,#b62cff);border-color:transparent;transform:translate(1px,-1px)}
.game-more img{filter:saturate(.75) brightness(.58)!important}.game-more:hover img{filter:saturate(.95) brightness(.68)!important}

/* Products */
.products-section{padding-top:38px!important}
.product-grid{gap:16px!important;align-items:stretch!important}
.product-grid>*{min-width:0}
.product-card{position:relative;display:flex!important;flex-direction:column!important;height:100%!important;border-radius:19px!important;border:1px solid rgba(124,135,175,.18)!important;background:linear-gradient(180deg,rgba(14,19,35,.98),rgba(8,12,22,.98))!important;box-shadow:0 18px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.018)!important;overflow:hidden;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important}
.product-card:before{content:"";position:absolute;left:14%;right:14%;top:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(151,105,255,.75),transparent);opacity:0;transition:.25s ease;z-index:5}
.product-card:hover{transform:translateY(-5px)!important;border-color:rgba(140,94,255,.38)!important;box-shadow:0 28px 58px rgba(0,0,0,.30),0 0 32px rgba(107,52,255,.07)!important}.product-card:hover:before{opacity:1}
.thumb{aspect-ratio:16/9!important;overflow:hidden!important;background:#070a13!important}
.thumb img{width:100%!important;height:100%!important;object-fit:cover!important;transform:scale(1.01)!important;filter:saturate(1.04) contrast(1.03) brightness(.91)!important;transition:transform .45s ease,filter .45s ease!important}.product-card:hover .thumb img{transform:scale(1.055)!important;filter:saturate(1.10) contrast(1.04) brightness(.97)!important}
.thumb-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(6,8,16,.70) 100%);pointer-events:none}
.badge,.hot-badge{top:11px!important;border-radius:8px!important;font-size:10px!important;letter-spacing:.5px;padding:6px 7px!important;backdrop-filter:blur(8px)}
.badge{left:11px!important;background:rgba(5,7,15,.62)!important;border:1px solid rgba(255,255,255,.11)!important;color:#dfe4f2}
.hot-badge{right:11px!important;background:rgba(118,51,239,.72)!important;border:1px solid rgba(255,255,255,.10);box-shadow:0 8px 20px rgba(69,33,149,.25)}
.quick-view{position:absolute;left:12px;bottom:11px;font-size:10.5px;font-weight:900;color:#eef0fb;opacity:0;transform:translateY(6px);transition:.25s ease}.product-card:hover .quick-view{opacity:1;transform:none}
.product-body{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;padding:15px 15px 16px!important}
.product-kicker{display:flex;align-items:center;justify-content:space-between;gap:8px}.game-name{color:#a995e3!important;font-size:10.5px!important;font-weight:900;letter-spacing:.8px;text-transform:uppercase}.stock-status{display:flex;align-items:center;gap:5px;color:#7c8a9f;font-size:10px;font-weight:800}.stock-status i{width:5px;height:5px;border-radius:50%;background:#3bdc99;box-shadow:0 0 8px rgba(59,220,153,.55)}
.product-body h3{font-size:15px!important;line-height:1.45!important;min-height:40px!important;margin:7px 0 10px!important;color:#f2f4fb}.product-body h3 a:hover{color:#d5c3ff}
.meta{gap:5px!important;min-height:42px!important}.meta span{display:flex;align-items:center;gap:7px;min-width:0;color:#78859a!important;font-size:11.5px!important}.meta span i{font-style:normal;color:#7a65bb;font-size:10.5px}
.product-bottom{padding-top:13px;margin-top:auto!important;border-top:1px solid rgba(255,255,255,.055)}
.price-wrap{display:flex;flex-direction:column}.price-wrap small{font-size:10px;color:#68748a;margin-bottom:3px;text-transform:uppercase;letter-spacing:.8px;font-weight:800}.price-wrap strong{font-size:19px!important;color:#fff!important;letter-spacing:-.4px}.product-bottom .btn.small{padding:9px 11px!important;border-radius:10px!important;font-size:11.5px!important;box-shadow:0 8px 20px rgba(112,50,255,.22)}
.empty{grid-column:1/-1!important;padding:34px!important;border:1px dashed rgba(131,110,192,.24)!important;border-radius:18px!important;background:rgba(11,14,27,.48)!important;color:#8791a8!important;text-align:center}

/* Experience / how it works */
.why{padding-top:32px!important;padding-bottom:70px!important}
.experience-panel{position:relative;display:grid;grid-template-columns:.78fr 1.22fr;gap:30px;padding:31px;border:1px solid rgba(132,111,201,.18);border-radius:26px;background:radial-gradient(circle at 11% 15%,rgba(105,59,255,.12),transparent 35%),linear-gradient(145deg,rgba(12,16,31,.92),rgba(7,10,20,.94));box-shadow:0 28px 75px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.025);overflow:hidden}
.experience-panel:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-120px;bottom:-140px;border:1px solid rgba(136,91,255,.09);box-shadow:0 0 0 50px rgba(136,91,255,.025),0 0 0 100px rgba(136,91,255,.012)}
.experience-copy{padding:7px 9px;position:relative;z-index:2}.experience-copy h2{font-size:37px!important;max-width:430px;margin:11px 0 10px!important}.experience-copy>p{font-size:13px;line-height:1.75;color:#7f8aa1;max-width:430px}.support-pill{display:inline-flex;align-items:center;gap:11px;margin-top:20px;padding:11px 13px;border:1px solid rgba(138,100,246,.22);border-radius:13px;background:rgba(108,56,255,.07)}.support-pill>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#6440ef,#a033ff);font-size:13px}.support-pill div{display:flex;flex-direction:column}.support-pill small{font-size:9px;color:#7c88a0;font-weight:900;letter-spacing:1px}.support-pill b{font-size:12.5px;margin-top:3px}
.why-grid{position:relative;z-index:2;display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:11px!important}.why-grid>div{position:relative;padding:19px!important;min-height:155px;border-radius:17px!important;border:1px solid rgba(130,140,177,.15)!important;background:linear-gradient(145deg,rgba(16,21,39,.84),rgba(9,13,25,.82))!important;overflow:hidden;transition:.22s ease}.why-grid>div:hover{transform:translateY(-2px);border-color:rgba(143,96,255,.31)!important}.why-grid i{display:grid!important;place-items:center;width:37px;height:37px;border-radius:11px;background:linear-gradient(145deg,rgba(110,64,255,.18),rgba(56,203,255,.055));border:1px solid rgba(132,94,245,.18);font-size:16px!important;margin-bottom:13px!important}.why-grid b{font-size:13px!important}.why-grid span:not(.step-no){font-size:11.5px!important;line-height:1.6!important;color:#78849a!important}.step-no{position:absolute!important;right:13px;top:10px;font-size:21px!important;font-weight:1000;color:rgba(255,255,255,.025)!important;line-height:1!important}

/* Footer */
.site-footer{position:relative;border-top:1px solid rgba(255,255,255,.055);background:linear-gradient(180deg,rgba(6,8,16,.2),#04060d);padding:0!important}
.site-footer:before{content:"";position:absolute;top:-1px;left:15%;right:15%;height:1px;background:linear-gradient(90deg,transparent,rgba(132,79,255,.5),transparent)}
.footer-top{display:grid!important;grid-template-columns:1.45fr .7fr .7fr 1.05fr!important;gap:42px!important;padding:45px 0 34px!important}
.footer-brand-col p{max-width:340px;color:#768197;font-size:12.5px;line-height:1.75;margin:16px 0}.footer-brand{width:max-content}.footer-badges{display:flex;gap:7px;flex-wrap:wrap}.footer-badges span{padding:6px 8px;border:1px solid rgba(128,113,176,.17);border-radius:8px;background:rgba(12,16,29,.65);font-size:10px;font-weight:900;color:#8d98ae;letter-spacing:.5px}.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.footer-links>b{font-size:12.5px;margin-bottom:4px;color:#dce1ef}.footer-links a{font-size:11.5px;color:#79859b;transition:.2s}.footer-links a:hover{color:#c7b9ee;transform:translateX(2px)}.footer-support b{display:block;font-size:15px;margin:10px 0 7px}.footer-support p{font-size:11.5px!important;line-height:1.65;color:#727e94;margin:0 0 11px}.footer-contact{display:inline-flex;align-items:center;gap:5px;color:#beaaf6;font-size:11.5px;font-weight:900}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0 22px;border-top:1px solid rgba(255,255,255,.045);color:#59647a;font-size:10.5px}

/* Make inner pages match V6 without changing their logic */
.game-banner{position:relative;overflow:hidden;border-radius:24px!important;border-color:rgba(143,92,255,.30)!important;box-shadow:0 26px 70px rgba(0,0,0,.30)!important;background-size:cover!important;background-color:#080b16!important}
.game-banner:after{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid rgba(255,255,255,.025);border-radius:inherit}.game-banner>*{position:relative;z-index:1}.filters button{border-color:rgba(128,137,174,.18)!important;background:rgba(12,16,30,.78)!important;color:#a9b3c7!important}.filters button:hover{border-color:rgba(141,91,255,.38)!important;color:#fff!important}
.detail{gap:22px!important}.detail-media,.detail-info{border-radius:21px!important;border-color:rgba(126,137,177,.18)!important;background:linear-gradient(145deg,rgba(13,18,33,.96),rgba(8,12,22,.96))!important}.detail-media{overflow:hidden}.detail-info{padding:25px!important}.detail-info h1{letter-spacing:-1.2px!important}.price-big{color:#d9c7ff!important}.spec-list>div{border-color:rgba(255,255,255,.06)!important}.auth-card{border-radius:22px!important;border-color:rgba(137,102,231,.24)!important;background:radial-gradient(circle at 90% 0,rgba(114,58,255,.13),transparent 35%),linear-gradient(145deg,rgba(13,18,34,.97),rgba(8,12,23,.97))!important;box-shadow:0 30px 80px rgba(0,0,0,.35)!important}.auth-card input,.form input,.form textarea,.form select{border-color:rgba(125,136,177,.19)!important;background:#080d19!important}.auth-card input:focus,.form input:focus,.form textarea:focus,.form select:focus{border-color:rgba(139,92,255,.50)!important;box-shadow:0 0 0 4px rgba(139,92,255,.07)!important}.profile-head,.wallet,.order{border-color:rgba(126,136,175,.18)!important;background:linear-gradient(145deg,rgba(13,18,33,.96),rgba(8,12,22,.96))!important}

/* Tablet */
@media(max-width:1180px){
  .nav{gap:12px}.nav nav{gap:1px}.nav nav a{padding:9px 8px}.top-search{width:230px}.brand-copy small{display:none}
  .hero-panel{min-height:490px}.hero-copy{width:62%!important;padding-left:38px!important}.hero h1{font-size:57px!important}.hero-side-card{width:285px!important}.hero-float-top{right:28px}
  .game-showcase{grid-template-columns:repeat(6,1fr)!important}.game-showcase .game-tile,.game-showcase .game-tile:nth-child(1),.game-showcase .game-tile:nth-child(2){grid-column:span 2}.game-showcase .game-tile:last-child{grid-column:span 2}
  .product-grid{grid-template-columns:repeat(3,1fr)!important}
  .footer-top{grid-template-columns:1.3fr .7fr .7fr!important}.footer-support{grid-column:1/-1;padding-top:5px}
}

@media(max-width:900px){
  .shell{width:min(100% - 28px,1360px)}
  .nav{min-height:70px}.hamb{display:flex!important;order:2;margin-left:auto}.top-search{display:none!important}.actions{order:3}.nav nav{position:fixed;left:14px;right:14px;top:78px;display:flex!important;flex-direction:column;align-items:stretch;gap:5px;padding:12px;background:rgba(8,11,22,.96);border:1px solid rgba(143,112,232,.22);border-radius:16px;box-shadow:0 24px 60px rgba(0,0,0,.45);backdrop-filter:blur(18px);transform:translateY(-12px);opacity:0;visibility:hidden;pointer-events:none;transition:.22s ease}.nav nav.open{transform:none;opacity:1;visibility:visible;pointer-events:auto}.nav nav a{padding:12px 13px;font-size:13px}.nav nav a:after{display:none}
  .hero-panel{min-height:570px}.hero-panel:before{background:linear-gradient(180deg,rgba(5,7,17,.04) 0%,rgba(5,7,17,.32) 30%,rgba(5,7,17,.89) 57%,#050711 83%)}.hero-panel-bg{background-position:center top!important;background-size:auto 62%!important;background-repeat:no-repeat!important;filter:saturate(1.08) contrast(1.08) brightness(.98)}.hero-copy{width:100%!important;padding:290px 28px 29px!important}.hero h1{font-size:48px!important;max-width:640px!important}.hero p{max-width:620px!important}.hero-float-top{top:18px;right:18px}.hero-side-card{display:none!important}.hero-rings{display:none}
  .benefit-grid{grid-template-columns:repeat(2,1fr)!important}
  .game-showcase{grid-template-columns:repeat(2,1fr)!important}.game-showcase .game-tile,.game-showcase .game-tile:nth-child(1),.game-showcase .game-tile:nth-child(2),.game-showcase .game-tile:last-child{grid-column:span 1}.game-cover{min-height:180px!important}
  .product-grid{grid-template-columns:repeat(2,1fr)!important}
  .experience-panel{grid-template-columns:1fr;padding:24px}.experience-copy{padding:2px}.experience-copy h2{max-width:none}.experience-copy>p{max-width:620px}
  .footer-top{grid-template-columns:1.3fr 1fr 1fr!important;gap:26px!important}.footer-support{grid-column:1/-1}
}

@media(max-width:640px){
  .shell{width:calc(100% - 22px)}
  .topbar{backdrop-filter:blur(16px)}
  .nav{min-height:64px;gap:8px}.brand-mark{width:38px;height:38px;border-radius:11px}.brand-mark svg{width:23px;height:23px}.brand-copy b{font-size:15px}.hamb{width:38px;height:38px;order:3}.actions{order:2;margin-left:auto}.actions .login-btn{display:none}.actions .register-btn{padding:9px 11px;font-size:11.5px}.actions .register-btn span{display:none}.balance{display:none}.user-pill b{display:none}.user-pill{padding-right:5px}.nav nav{top:71px;left:11px;right:11px}
  .hero{padding-top:14px!important}.hero-panel{min-height:525px;border-radius:20px}.hero-panel-bg{background-size:auto 50%!important;background-position:center top!important}.hero-copy{padding:218px 17px 22px!important}.pill{font-size:10px;padding:7px 9px}.hero h1{font-size:37px!important;line-height:1!important;letter-spacing:-1.8px!important;margin:15px 0 12px!important}.hero p{font-size:13px!important;line-height:1.62!important}.hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:18px 0!important}.hero-actions .btn.big{min-height:43px;padding:0 10px!important;font-size:10.5px!important}.hero-proof{justify-content:space-between}.hero-proof>div{min-width:0;flex:1;padding:0 10px}.hero-proof b{font-size:16px}.hero-proof span{font-size:10px}.hero-float-top{display:none}
  .benefit-strip{padding-bottom:9px!important}.benefit-grid{gap:8px!important}.benefit-card{padding:13px!important;gap:9px}.benefit-icon{width:34px;height:34px;flex-basis:34px;border-radius:10px}.benefit-card b{font-size:11.5px!important}.benefit-card div span{font-size:10px!important}.benefit-card em{display:none}
  .section{padding:31px 0!important}.section-head{align-items:flex-start!important}.section h2{font-size:27px!important;letter-spacing:-.8px!important}.section-desc{font-size:11.5px;margin-top:6px}.view-all{display:none}
  .game-showcase{gap:9px!important}.game-cover{min-height:132px!important;border-radius:15px!important}.game-topline{left:9px;right:9px;top:8px}.game-topline span,.game-topline b{font-size:9px!important;padding:4px 5px!important}.game-overlay{padding:34px 9px 9px!important}.game-overlay small{font-size:8px}.game-overlay strong{font-size:11.5px}.game-arrow{width:25px;height:25px;flex-basis:25px;border-radius:8px;font-size:11.5px}
  .product-grid{gap:9px!important}.product-card{border-radius:15px!important}.product-body{padding:10px 10px 11px!important}.game-name{font-size:9px!important}.stock-status{font-size:9px}.product-body h3{font-size:12.5px!important;min-height:34px!important;margin:6px 0 8px!important}.meta span{font-size:10px!important}.product-bottom{gap:6px;padding-top:9px;margin-top:9px!important;align-items:end!important}.price-wrap small{font-size:8px}.price-wrap strong{font-size:15px!important}.product-bottom .btn.small{padding:7px 8px!important;font-size:10px!important;border-radius:8px!important}.badge,.hot-badge{top:7px!important;font-size:8px!important;padding:4px 5px!important}.badge{left:7px!important}.hot-badge{right:7px!important}.quick-view{display:none}
  .experience-panel{padding:17px;border-radius:20px}.experience-copy h2{font-size:28px!important}.experience-copy>p{font-size:11.5px}.support-pill{margin-top:13px;padding:9px 10px}.why-grid{gap:8px!important}.why-grid>div{min-height:132px;padding:13px!important;border-radius:14px!important}.why-grid i{width:31px;height:31px;font-size:13px!important;margin-bottom:10px!important}.why-grid b{font-size:11.5px!important}.why-grid span:not(.step-no){font-size:10px!important}.step-no{font-size:17px!important}
  .footer-top{grid-template-columns:1fr 1fr!important;padding:34px 0 25px!important;gap:24px 18px!important}.footer-brand-col{grid-column:1/-1}.footer-support{grid-column:1/-1}.footer-bottom{align-items:flex-start;flex-direction:column;gap:5px}.footer-brand-col p{max-width:100%}
}

@media(max-width:390px){
  .brand-copy b{font-size:14px}.actions .register-btn{padding:8px 9px}.hero-panel{min-height:500px}.hero-copy{padding-top:205px!important}.hero h1{font-size:34px!important}.hero-proof span{font-size:9px}.benefit-grid{grid-template-columns:1fr 1fr!important}.benefit-card{padding:11px 9px!important}.benefit-icon{display:none!important}.game-cover{min-height:120px!important}.product-body h3{font-size:11.5px!important}.product-bottom .btn.small span{display:none}.why-grid{grid-template-columns:1fr 1fr!important}
}
/* V6 conflict guards for legacy layers */
.game-showcase .game-cover:before{display:none!important}
.site-footer{margin-top:0!important}

/* Admin hero background setting */
.setting-divider{height:1px;background:#e6eaf2;margin:24px 0}
.hero-setting-block{display:grid;gap:13px}
.hero-setting-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.hero-setting-head b{display:block;font-size:16px;color:#172033}
.hero-setting-head small,.setting-help{display:block;color:#7d899b;font-size:13px;margin-top:4px}
.hero-setting-preview{position:relative;width:100%;aspect-ratio:16/6;border-radius:14px;overflow:hidden;background-size:cover;background-position:center;border:1px solid #dfe4ed;box-shadow:0 10px 28px rgba(20,31,55,.08)}
.hero-setting-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(5,8,18,.66))}
.hero-setting-preview span{position:absolute;left:14px;bottom:12px;z-index:2;padding:7px 9px;border-radius:8px;background:rgba(7,10,18,.72);color:#fff;font-size:12.5px;font-weight:800;backdrop-filter:blur(8px)}
.hero-reset{padding:11px 12px;border:1px dashed #d9dfeb;border-radius:10px;background:#fafbfe}
@media(max-width:700px){.hero-setting-preview{aspect-ratio:16/8}}

/* FINAL HERO IMAGE FIX — render uploaded hero as a real IMG element */
.hero-panel-bg{
  position:absolute!important;
  z-index:0!important;
  inset:-1px!important;
  overflow:hidden!important;
  background:#080b16!important;
  filter:none!important;
  transform:none!important;
}
.hero-panel-bg>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center right!important;
  filter:saturate(1.08) contrast(1.06) brightness(.98)!important;
  transform:none!important;
}
@media(max-width:780px){
  .hero-panel-bg>img{
    object-position:center top!important;
    filter:saturate(1.06) contrast(1.05) brightness(.96)!important;
  }
}
.hero-setting-preview{
  position:relative!important;
  overflow:hidden!important;
  background:#0a1020!important;
}
.hero-setting-preview>img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
}
.hero-setting-preview>span{position:absolute!important;z-index:2!important}

/* PREMIUM BENEFIT ICONS */
.benefit-icon{
  position:relative!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 24px rgba(0,0,0,.22)!important;
}
.benefit-icon:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.12),transparent 48%);
  pointer-events:none;
}
.benefit-icon svg{
  position:relative;
  z-index:1;
  display:block!important;
  width:20px!important;
  height:20px!important;
  filter:drop-shadow(0 0 9px currentColor);
}
.icon-auto{
  color:#ffd55f!important;
  background:linear-gradient(145deg,rgba(255,182,34,.22),rgba(122,62,255,.10))!important;
  border-color:rgba(255,200,72,.30)!important;
}
.icon-stock{
  color:#65d9ff!important;
  background:linear-gradient(145deg,rgba(41,180,255,.22),rgba(70,92,255,.10))!important;
  border-color:rgba(88,209,255,.30)!important;
}
.icon-support{
  color:#b99cff!important;
  background:linear-gradient(145deg,rgba(140,86,255,.22),rgba(255,68,190,.08))!important;
  border-color:rgba(181,137,255,.30)!important;
}
.icon-warranty{
  color:#79efb7!important;
  background:linear-gradient(145deg,rgba(50,223,151,.20),rgba(56,195,255,.09))!important;
  border-color:rgba(107,238,178,.28)!important;
}
@media(max-width:480px){
  .benefit-icon{
    display:grid!important;
    width:32px!important;
    height:32px!important;
    flex-basis:32px!important;
  }
  .benefit-icon svg{
    width:17px!important;
    height:17px!important;
  }
}

/* ADMIN PRO UPGRADE */
.admin-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.admin-page-head h1{margin:4px 0 3px!important}.admin-page-head p{margin:0;color:#778399;font-size:14px}
.admin-kicker{font-size:11.5px;font-weight:900;letter-spacing:1.3px;color:#7b53ff}
.admin-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.admin-mini-stats>div{padding:14px 16px;border:1px solid #e0e5ef;border-radius:13px;background:#fff;box-shadow:0 8px 24px rgba(20,31,55,.04)}
.admin-mini-stats small{display:block;color:#7f8a9c;font-size:12.5px}.admin-mini-stats b{display:block;margin-top:5px;font-size:22px;color:#172033}
.admin-card-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.admin-card-title h2{margin:0}.admin-card-title small{display:block;color:#8490a2;margin-top:4px}
.admin-sticky-form{align-self:start;position:sticky;top:86px}
.admin-category-layout{grid-template-columns:410px 1fr}
.admin-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.admin-upload-box{padding:12px;border:1px solid #e3e8f1;border-radius:12px;background:#fafbfe}.admin-upload-box>b{display:block;margin-bottom:9px}.admin-upload-box>small{display:block;color:#8591a3;font-size:11.5px;margin-top:7px;line-height:1.5}
.admin-image-preview{display:grid;place-items:center;overflow:hidden;border-radius:11px;border:1px dashed #d8dfeb;background:#f0f3f8;color:#8995a8;margin-bottom:9px;min-height:120px}
.admin-image-preview.square{aspect-ratio:1/1;min-height:0}.admin-image-preview.banner{aspect-ratio:16/8;min-height:0}.admin-image-preview img{width:100%;height:100%;object-fit:cover;display:block}
.check.compact{margin:8px 0 0!important;font-size:12.5px!important;font-weight:600!important}
.admin-search,.admin-filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-search input{min-width:220px}.admin-filter-bar{padding:12px;margin-bottom:14px;border:1px solid #e6eaf1;border-radius:12px;background:#fafbfe}.admin-filter-bar input{min-width:220px;flex:1}.admin-filter-bar select{width:auto;min-width:150px}
.mini.primary{background:#6f35ff;color:#fff;border-color:#6f35ff}.mini:disabled{opacity:.45;cursor:not-allowed}
.row-actions.wrap{flex-wrap:wrap}.admin-empty{text-align:center;color:#8b96a6;padding:24px}
.table-logo{width:44px;height:44px;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#6e38ff,#b321ff);color:#fff;font-weight:900}.table-logo img{width:100%;height:100%;object-fit:cover}
.table-cover{width:100px;aspect-ratio:16/8;border-radius:9px;overflow:hidden;background:#eef2f7}.table-cover img{width:100%;height:100%;object-fit:cover}.table-cover.product{width:86px;aspect-ratio:16/10}
.line-clamp{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.featured-note{color:#8b5cff!important;font-weight:800}
.admin-check-card{justify-content:flex-start!important;align-self:end;padding:12px;border:1px solid #e2e7f0;border-radius:10px;background:#fafbfe;margin-bottom:14px!important}
.admin-game-table{min-width:980px}

/* CATEGORY LOGO ON HOMEPAGE */
.game-top-label{display:flex!important;align-items:center!important;gap:5px!important}
.game-mini-logo{width:18px!important;height:18px!important;object-fit:cover!important;border-radius:50%!important;position:static!important;inset:auto!important;z-index:auto!important;filter:none!important;transform:none!important;border:1px solid rgba(255,255,255,.25)}
.game-logo-fallback{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;font-style:normal;font-size:10px;background:linear-gradient(145deg,#6d3cff,#a82cff);color:#fff}

@media(max-width:1100px){
  .admin-category-layout{grid-template-columns:1fr}
  .admin-sticky-form{position:static}
  .admin-mini-stats{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .admin-media-grid{grid-template-columns:1fr 1fr}
  .admin-filter-bar input,.admin-search input{min-width:100%;width:100%}
  .admin-filter-bar select{flex:1}
}
@media(max-width:480px){
  .admin-mini-stats{grid-template-columns:1fr 1fr}
  .admin-mini-stats b{font-size:18px}
  .admin-media-grid{grid-template-columns:1fr}
  .admin-card-title{align-items:flex-start;flex-direction:column}
}


/* ADMIN IMAGE FRAME FIX */
.admin-upload-box{position:relative;overflow:hidden}
.admin-upload-box:before{
  content:"";position:absolute;inset:0;border-radius:16px;padding:1px;
  background:linear-gradient(135deg,rgba(122,79,255,.32),rgba(255,255,255,.72),rgba(126,228,255,.32));
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:.95;
}
.admin-image-preview{
  position:relative;
  border:1px solid rgba(123,83,255,.18)!important;
  background:linear-gradient(180deg,#f7f9fe,#eff3fb)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 30px rgba(45,64,113,.08);
}
.admin-image-preview:before{
  content:"";position:absolute;inset:8px;border-radius:12px;border:1px dashed rgba(128,144,182,.26);pointer-events:none;
}
.admin-image-preview.square{max-width:150px;aspect-ratio:1/1;margin-inline:auto}
.admin-image-preview.banner{max-width:260px;aspect-ratio:16/8;margin-inline:auto}
.admin-image-preview img{border-radius:12px;padding:6px}
.admin-game-table{table-layout:fixed}
.admin-game-table th:nth-child(1){width:72px}
.admin-game-table th:nth-child(3){width:210px}
.admin-game-table td{vertical-align:middle}
.admin-game-table .table-cover{
  width:180px!important;
  height:96px!important;
  aspect-ratio:auto!important;
  position:relative;
  display:block;
  padding:4px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(112,72,255,.96),rgba(244,117,255,.9) 52%,rgba(94,230,255,.95));
  box-shadow:0 12px 28px rgba(92,67,194,.2),0 0 0 1px rgba(255,255,255,.75) inset;
}
.admin-game-table .table-cover:before{
  content:"";position:absolute;inset:1px;border-radius:17px;background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0));pointer-events:none;
}
.admin-game-table .table-cover img{
  width:100%!important;height:100%!important;display:block;object-fit:cover;border-radius:14px;border:1px solid rgba(255,255,255,.55);
  box-shadow:0 0 0 1px rgba(34,24,86,.16) inset;
}
.admin-game-table .table-logo{
  width:50px;height:50px;border-radius:16px;padding:3px;background:linear-gradient(135deg,#6d3cff,#df57ff 60%,#53e3ff);box-shadow:0 8px 20px rgba(111,72,229,.2)
}
.admin-game-table .table-logo img,.admin-game-table .table-logo span{border-radius:13px;background:#fff;width:100%;height:100%;display:grid;place-items:center;color:#6e38ff}
@media(max-width:780px){
  .admin-image-preview.banner{max-width:100%}
  .admin-game-table th:nth-child(3){width:160px}
  .admin-game-table .table-cover{width:140px!important;height:78px!important}
}



/* ADMIN PURPLE LUXURY THEME */
.admin-body{
  color:#eef2ff!important;
  background:
    radial-gradient(circle at 14% 12%,rgba(150,76,255,.18),transparent 18%),
    radial-gradient(circle at 84% 8%,rgba(52,201,255,.12),transparent 18%),
    radial-gradient(circle at 75% 72%,rgba(255,73,200,.09),transparent 18%),
    linear-gradient(180deg,#070915 0%,#0a0d19 34%,#0b0f1d 100%)!important;
}
.admin-body:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:32px 32px;opacity:.25;
}
.sidebar,
.admin-main{position:relative;z-index:1}
.sidebar{
  width:250px!important;
  padding:18px 14px!important;
  background:linear-gradient(180deg,rgba(10,13,25,.96),rgba(17,11,38,.97) 52%,rgba(9,14,28,.98))!important;
  border-right:1px solid rgba(159,106,255,.18)!important;
  box-shadow:12px 0 40px rgba(0,0,0,.34), inset -1px 0 0 rgba(255,255,255,.03)!important;
}
.sidebar:before{
  content:"";position:absolute;inset:14px 12px;border-radius:24px;
  border:1px solid rgba(164,120,255,.08);pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0));
}
.sidebar .brand{
  position:relative;
  padding:14px 14px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(120,59,255,.18),rgba(28,208,255,.08));
  border:1px solid rgba(147,102,255,.24);
  box-shadow:0 14px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}
.sidebar .brand>span:last-child{font-size:21px;font-weight:1000;letter-spacing:.6px}
.sidebar .brand-mark{
  width:42px;height:42px;border-radius:14px!important;
  background:linear-gradient(145deg,#6c3bff,#d12cff 58%,#35deff)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 0 24px rgba(132,59,255,.48),0 8px 22px rgba(0,0,0,.25)!important;
}
.sidebar nav{margin-top:20px!important;gap:8px!important}
.sidebar nav a{
  position:relative;
  display:flex;align-items:center;gap:10px;
  padding:13px 14px!important;
  border-radius:14px!important;
  color:#cbd3ef!important;
  background:linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,0));
  border:1px solid transparent;
  transition:.22s ease;
}
.sidebar nav a:hover{
  background:linear-gradient(135deg,rgba(123,62,255,.22),rgba(39,215,255,.08))!important;
  color:#fff!important;border-color:rgba(150,105,255,.28)!important;
  transform:translateX(3px);
  box-shadow:0 10px 22px rgba(65,23,160,.22);
}
.admin-main{margin-left:250px!important;padding:0 26px 46px!important}
.admin-top{
  height:80px!important;
  border-bottom:1px solid rgba(151,162,205,.12)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));
  backdrop-filter:blur(10px);
}
.admin-top b{font-size:19px;color:#fff}
.admin-top small{color:#9caad0!important}
.admin-section{padding:28px 0 0!important}
.admin-section h1,.admin-section h2,.admin-section h3,.admin-page-head p,.admin-card-title small,.muted,.admin-empty,th,td small{color:#dce3fb}
.admin-section h1,.admin-card-title h2{color:#fff!important}
.admin-kicker{color:#b997ff!important;text-shadow:0 0 14px rgba(162,113,255,.24)}
.admin-page-head p,.admin-card-title small{opacity:.78}
.stat,.admin-card,.admin-mini-stats>div{
  background:linear-gradient(180deg,rgba(18,24,44,.92),rgba(12,16,31,.94))!important;
  border:1px solid rgba(139,153,197,.16)!important;
  border-radius:20px!important;
  box-shadow:0 18px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.03)!important;
}
.admin-card{padding:20px!important;overflow:hidden}
.admin-card:before,.admin-mini-stats>div:before,.stat:before{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;
  background:linear-gradient(135deg,rgba(143,95,255,.32),rgba(255,255,255,.04),rgba(56,223,255,.18));
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;
}
.admin-card,.admin-mini-stats>div,.stat{position:relative}
.admin-mini-stats small,.stat small{color:#93a1c6!important}
.admin-mini-stats b,.stat strong{color:#fff!important;text-shadow:0 0 18px rgba(128,84,255,.18)}
.admin-split{gap:20px!important}
label, .form label, .auth-card label{color:#e8ecff!important}
input,textarea,select{
  background:linear-gradient(180deg,#0b1224,#0a1020)!important;
  border:1px solid rgba(135,148,190,.2)!important;
  color:#fff!important;
  border-radius:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 18px rgba(0,0,0,.12)!important;
}
input::placeholder,textarea::placeholder{color:#8a96b9}
input:focus,textarea:focus,select:focus{
  border-color:rgba(147,95,255,.72)!important;
  box-shadow:0 0 0 4px rgba(135,81,255,.15),0 10px 30px rgba(55,19,143,.18)!important;
}
select option{background:#0b1020;color:#fff}
.two{gap:14px!important}
.btn{
  background:linear-gradient(135deg,#7940ff,#cb2cff 56%,#5de4ff)!important;
  border:0!important;
  border-radius:14px!important;
  box-shadow:0 14px 32px rgba(111,56,255,.28), inset 0 1px 0 rgba(255,255,255,.15)!important;
}
.btn:hover{transform:translateY(-1px)}
.mini{
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02))!important;
  color:#eff3ff!important;
  border:1px solid rgba(147,162,205,.18)!important;
  border-radius:12px!important;
  box-shadow:0 8px 18px rgba(0,0,0,.12)!important;
}
.mini.primary{
  background:linear-gradient(135deg,#6f35ff,#b321ff)!important;
  border-color:rgba(177,116,255,.3)!important;
}
.mini.danger{
  background:linear-gradient(180deg,rgba(255,73,117,.1),rgba(255,73,117,.04))!important;
  border-color:rgba(255,115,151,.28)!important;
  color:#ffb7c8!important;
}
.check span,.check{color:#dce4ff!important}
.secret-box{
  background:linear-gradient(180deg,rgba(118,59,255,.12),rgba(56,26,120,.08))!important;
  border:1px dashed rgba(156,111,255,.42)!important;
}
.table-wrap{
  border:1px solid rgba(140,153,195,.13);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(10,14,27,.72),rgba(8,11,23,.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
table{min-width:760px}
th,td{border-bottom:1px solid rgba(142,155,198,.1)!important}
th{color:#98a6ce!important;font-size:12px!important;letter-spacing:1px}
td{color:#eef2ff!important}
tr:hover td{background:rgba(255,255,255,.015)}
.status.available{background:rgba(45,224,148,.12)!important;color:#8effc6!important}
.status.hidden{background:rgba(160,171,200,.11)!important;color:#c9d3f4!important}
.status.sold{background:rgba(255,79,141,.12)!important;color:#ffbbd0!important}
.flash{background:linear-gradient(180deg,rgba(29,89,136,.45),rgba(9,33,56,.55))!important;border:1px solid rgba(101,190,255,.26)!important;color:#d3efff!important}
.error{background:linear-gradient(180deg,rgba(84,21,39,.55),rgba(55,14,25,.75))!important;border-color:rgba(255,114,146,.22)!important;color:#ffd4df!important}
.success{background:linear-gradient(180deg,rgba(18,73,46,.5),rgba(10,42,26,.7))!important;border-color:rgba(90,235,162,.24)!important;color:#bbffd8!important}
.hero-setting-preview,.admin-upload-box{
  background:linear-gradient(180deg,rgba(15,20,37,.82),rgba(11,15,28,.92))!important;
  border-color:rgba(145,157,198,.16)!important;
}
.admin-search input,.admin-filter-bar{
  background:linear-gradient(180deg,rgba(10,14,27,.9),rgba(8,12,23,.96))!important;
  border-color:rgba(145,157,198,.16)!important;
}
.admin-filter-bar{border-radius:16px!important}
.money-input{min-width:170px}
.line-clamp{color:#aab5d6!important}
@media(max-width:780px){
  .sidebar{width:260px!important}
  .admin-main{margin-left:0!important;padding:0 14px 38px!important}
  .admin-top{height:70px!important}
}



/* GAME KHAC IMAGE SETTING */
.other-game-preview{
  max-width:440px!important;
  aspect-ratio:16/7!important;
  margin-inline:auto!important;
  border:1px solid rgba(158,109,255,.28)!important;
  box-shadow:0 18px 42px rgba(45,15,110,.28),0 0 0 1px rgba(255,255,255,.03) inset!important;
}
.other-game-preview:before{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:12px;
  border:1px solid rgba(205,180,255,.18);
  pointer-events:none;
  z-index:2;
}


/* EXPERIENCE ICON UPGRADE */
.support-pill-icon,.why-icon{position:relative;overflow:hidden}
.support-pill-icon svg,.why-icon svg{display:block;width:18px;height:18px;filter:drop-shadow(0 0 10px currentColor)}
.support-pill-icon{
  display:grid!important;place-items:center;width:34px;height:34px;border-radius:10px;
  color:#f4ecff;background:linear-gradient(145deg,#7a45ff,#d436ff 64%,#4bdfff)!important;
  box-shadow:0 10px 22px rgba(105,51,255,.28), inset 0 1px 0 rgba(255,255,255,.12)!important;
}
.support-pill-icon:before,.why-icon:before{
  content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.18),transparent 46%);pointer-events:none
}
.why-grid .why-icon{
  display:grid!important;place-items:center;width:40px;height:40px;border-radius:13px;
  margin-bottom:13px!important;border:1px solid rgba(132,94,245,.18)
}
.why-icon-search{color:#63d7ff;background:linear-gradient(145deg,rgba(40,183,255,.22),rgba(108,61,255,.12))!important;border-color:rgba(91,202,255,.28)!important}
.why-icon-pay{color:#bca7ff;background:linear-gradient(145deg,rgba(139,92,255,.24),rgba(255,81,204,.08))!important;border-color:rgba(177,142,255,.28)!important}
.why-icon-deliver{color:#ffcf58;background:linear-gradient(145deg,rgba(255,189,57,.24),rgba(128,66,255,.10))!important;border-color:rgba(255,209,93,.28)!important}
.why-icon-warranty{color:#79f0bb;background:linear-gradient(145deg,rgba(55,222,149,.22),rgba(56,195,255,.08))!important;border-color:rgba(119,238,178,.28)!important}
@media(max-width:780px){
  .support-pill-icon{width:30px;height:30px}
  .support-pill-icon svg,.why-icon svg{width:15px;height:15px}
  .why-grid .why-icon{width:32px;height:32px;margin-bottom:10px!important;border-radius:11px}
}



/* SITE LOGO HEADER + ADMIN SETTING */
.site-logo-brand{
  flex:0 0 auto!important;
  width:auto!important;
  padding:0 8px 0 0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}
.site-logo-image{
  display:block!important;
  width:auto!important;
  height:64px!important;
  max-width:320px!important;
  object-fit:contain!important;
  object-position:left center!important;
  border-radius:0!important;
  image-rendering:auto!important;
  filter:drop-shadow(0 0 12px rgba(118,63,255,.22))!important;
}
.site-logo-preview{
  display:grid;
  place-items:center;
  width:min(100%,520px);
  min-height:150px;
  margin-inline:auto;
  padding:20px;
  overflow:hidden;
  border-radius:20px;
  border:1px solid rgba(156,109,255,.26);
  background:
    radial-gradient(circle at 50% 45%,rgba(106,60,255,.16),transparent 48%),
    linear-gradient(180deg,#080c18,#0b1020);
  box-shadow:0 18px 45px rgba(43,17,105,.25),inset 0 1px 0 rgba(255,255,255,.04);
}
.site-logo-preview img{
  display:block;
  max-width:100%;
  max-height:130px;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 0 18px rgba(105,63,255,.28));
}
.site-logo-setting{gap:14px!important}
@media(max-width:780px){
  .site-logo-image{height:52px!important;max-width:240px!important}
  .site-logo-preview{min-height:125px;padding:14px}
}
@media(max-width:480px){
  .site-logo-image{height:44px!important;max-width:180px!important}
}


/* ADMIN CONTACT SETTINGS */
.contact-setting-block{
  display:grid;
  gap:15px;
  padding:18px;
  border-radius:20px;
  background:linear-gradient(180deg,rgba(18,24,44,.88),rgba(11,15,29,.92));
  border:1px solid rgba(145,104,255,.18);
  box-shadow:0 18px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.03);
}
.contact-setting-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.contact-setting-grid label{
  margin:0!important;
  padding:13px;
  border-radius:15px;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.01));
  border:1px solid rgba(142,155,196,.12);
}
.contact-setting-grid label small{
  color:#8f9dbf!important;
  font-size:11.5px;
  line-height:1.5;
}
.contact-label{display:flex;align-items:center;gap:8px}
.contact-admin-icon{
  display:grid;place-items:center;
  width:26px;height:26px;
  border-radius:9px;
  font-style:normal;
  font-size:13px;
  font-weight:950;
  box-shadow:0 8px 18px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.1);
}
.contact-admin-icon.facebook{background:linear-gradient(145deg,#1877f2,#4f8fff);color:#fff}
.contact-admin-icon.zalo{background:linear-gradient(145deg,#0b8cff,#24b4ff);color:#fff}
.contact-admin-icon.gmail{background:linear-gradient(145deg,#ff5b67,#ff9b6b);color:#fff}
.contact-admin-icon.phone{background:linear-gradient(145deg,#3bcf91,#68e8b5);color:#07150f}

/* FOOTER CONTACT LINKS */
.footer-contact-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:14px 0 12px;
}
.footer-contact-item{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  min-width:0;
  padding:9px 10px;
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  border:1px solid rgba(139,151,190,.13);
  transition:.2s ease;
}
.footer-contact-item:hover{
  transform:translateY(-1px);
  border-color:rgba(151,105,255,.32);
  background:linear-gradient(135deg,rgba(118,65,255,.11),rgba(44,201,255,.05));
}
.footer-contact-item .contact-icon{
  display:grid;place-items:center;
  width:32px;height:32px;
  border-radius:10px;
  font-size:14px;
  font-weight:1000;
}
.footer-contact-item>span:nth-child(2){min-width:0}
.footer-contact-item small,.footer-contact-item b{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.footer-contact-item small{font-size:9px!important;color:#7f8ca5!important;text-transform:uppercase;letter-spacing:.8px}
.footer-contact-item b{font-size:10.5px!important;color:#dce6fa!important;margin-top:2px}
.footer-contact-item>i{font-style:normal;color:#8a98b5;font-size:11.5px}
.footer-contact-item.facebook .contact-icon{background:linear-gradient(145deg,#1769d8,#4b91ff);color:#fff}
.footer-contact-item.zalo .contact-icon{background:linear-gradient(145deg,#0b8cff,#2bc6ff);color:#fff}
.footer-contact-item.gmail .contact-icon{background:linear-gradient(145deg,#ff5268,#ff9b68);color:#fff}
.footer-contact-item.phone .contact-icon{background:linear-gradient(145deg,#32cf8c,#73edbd);color:#062117}
@media(max-width:780px){
  .contact-setting-grid{grid-template-columns:1fr}
  .footer-contact-list{grid-template-columns:1fr}
}


/* MEDIA DATABASE PERSISTENCE */
.media-persistence-card{
  max-width:920px;
  margin-bottom:18px;
  padding:20px!important;
  border-color:rgba(114,215,255,.18)!important;
  background:
    radial-gradient(circle at 95% 0,rgba(61,211,255,.10),transparent 30%),
    radial-gradient(circle at 0 100%,rgba(131,70,255,.12),transparent 30%),
    linear-gradient(180deg,rgba(17,24,45,.96),rgba(10,15,29,.97))!important;
}
.media-persistence-head{
  display:flex;
  align-items:flex-start;
  gap:14px;
}
.media-persistence-head h2{
  margin:3px 0 6px!important;
  font-size:22px;
}
.media-persistence-head p{
  margin:0;
  max-width:720px;
  color:#9eabc9;
  font-size:13px;
  line-height:1.65;
}
.media-persistence-head code{
  color:#79e7ff;
}
.media-db-icon{
  display:grid;
  place-items:center;
  flex:0 0 52px;
  width:52px;
  height:52px;
  border-radius:16px;
  font-weight:1000;
  letter-spacing:.5px;
  color:#eafcff;
  background:linear-gradient(145deg,#6542ff,#bd32ff 56%,#40dcff);
  box-shadow:0 12px 30px rgba(91,54,255,.28),inset 0 1px 0 rgba(255,255,255,.16);
}
.media-persistence-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}
.media-persistence-stats>div{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(141,155,197,.13);
  background:rgba(255,255,255,.025);
}
.media-persistence-stats small{
  display:block;
  color:#8e9bbb;
  font-size:10.5px;
  text-transform:uppercase;
  letter-spacing:.75px;
}
.media-persistence-stats b{
  display:block;
  margin-top:4px;
  color:#fff;
  font-size:17px;
}
.media-status-ok{color:#7ff0ba!important}
.media-persistence-note{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(65,207,150,.07);
  border:1px solid rgba(96,226,169,.13);
  color:#b9c9dc;
  font-size:12.5px;
  line-height:1.55;
}
.media-persistence-note b{color:#8ff3c5}
.media-persistence-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.media-persistence-actions form{margin:0}
@media(max-width:700px){
  .media-persistence-head{align-items:center}
  .media-persistence-stats{grid-template-columns:1fr}
}


/* HOME SUPPORT CONTACT CARDS */
.home-contact-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  max-width:350px;
  margin-top:12px;
}
.home-contact-card{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:9px 11px;
  border-radius:13px;
  border:1px solid rgba(139,151,190,.14);
  background:linear-gradient(180deg,rgba(15,21,39,.88),rgba(9,14,27,.9));
  box-shadow:0 10px 24px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025);
  transition:.22s ease;
}
.home-contact-card:hover{
  transform:translateY(-1px);
  border-color:rgba(147,99,255,.34);
  box-shadow:0 14px 28px rgba(25,11,65,.24),inset 0 1px 0 rgba(255,255,255,.04);
}
.home-contact-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:11px;
  font-size:17px;
  font-weight:1000;
  color:#fff;
  box-shadow:0 8px 18px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.12);
}
.home-contact-icon svg{width:18px;height:18px}
.home-contact-card.facebook .home-contact-icon{
  background:linear-gradient(145deg,#176ee8,#4c96ff);
}
.home-contact-card.zalo .home-contact-icon{
  background:linear-gradient(145deg,#078cff,#2bcaff);
}
.home-contact-card.phone .home-contact-icon{
  background:linear-gradient(145deg,#2dcc8b,#72efbc);
  color:#071d14;
}
.home-contact-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.home-contact-copy small{
  color:#7f8aa4!important;
  font-size:9px!important;
  font-weight:900;
  letter-spacing:1px;
}
.home-contact-copy b{
  margin-top:2px;
  color:#f6f8ff;
  font-size:11.5px!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.home-contact-arrow{
  color:#8d99b6;
  font-size:12.5px;
}
@media(max-width:780px){
  .home-contact-grid{max-width:100%}
  .home-contact-card{padding:8px 9px}
  .home-contact-icon{width:34px;height:34px;border-radius:10px}
  .home-contact-copy b{font-size:10.5px!important}
}


/* HOME SUPPORT CONTACT CARDS REFINED */
.support-contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
  max-width:100%;
}
.support-contact-box,
.home-contact-card{
  min-height:64px;
}
.support-pill.support-contact-box{
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  margin-top:0!important;
  padding:12px 13px!important;
  border:1px solid rgba(138,100,246,.18)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,rgba(16,22,41,.92),rgba(10,15,28,.92))!important;
  box-shadow:0 10px 24px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.support-pill.support-contact-box .support-pill-icon{
  flex:0 0 38px;
  width:38px!important;
  height:38px!important;
}
.support-pill.support-contact-box small{
  font-size:9px!important;
  letter-spacing:1px!important;
}
.support-pill.support-contact-box b{
  font-size:11.5px!important;
  margin-top:2px!important;
  color:#f6f8ff!important;
}
.home-contact-grid{
  display:contents!important;
  max-width:100%!important;
  margin-top:0!important;
}
.home-contact-card{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:9px 11px;
  border-radius:14px;
  border:1px solid rgba(139,151,190,.14);
  background:linear-gradient(180deg,rgba(15,21,39,.88),rgba(9,14,27,.9));
  box-shadow:0 10px 24px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025);
  transition:.22s ease;
}
.home-contact-card:hover{
  transform:translateY(-1px);
  border-color:rgba(147,99,255,.34);
  box-shadow:0 14px 28px rgba(25,11,65,.24),inset 0 1px 0 rgba(255,255,255,.04);
}
.home-contact-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:11px;
  font-size:17px;
  font-weight:1000;
  color:#fff;
  box-shadow:0 8px 18px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.12);
}
.home-contact-icon svg{width:18px;height:18px}
.home-contact-card.facebook .home-contact-icon{background:linear-gradient(145deg,#176ee8,#4c96ff)}
.home-contact-card.zalo .home-contact-icon{background:linear-gradient(145deg,#078cff,#2bcaff)}
.home-contact-card.phone .home-contact-icon{background:linear-gradient(145deg,#2dcc8b,#72efbc);color:#071d14}
.home-contact-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.home-contact-copy small{
  color:#7f8aa4!important;
  font-size:9px!important;
  font-weight:900;
  letter-spacing:1px;
}
.home-contact-copy b{
  margin-top:2px;
  color:#f6f8ff;
  font-size:11.5px!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.home-contact-arrow{color:#8d99b6;font-size:12.5px}
@media(max-width:780px){
  .support-contact-grid{grid-template-columns:1fr}
  .support-pill.support-contact-box,
  .home-contact-card{min-height:58px}
  .home-contact-card{padding:8px 9px}
  .home-contact-icon{width:34px;height:34px;border-radius:10px}
  .home-contact-copy b{font-size:10.5px!important}
}



/* FOOTER COMPACT CONTACT V2 */
.footer-support{
  min-width:0;
}
.footer-support .footer-contact{
  margin-top:2px;
}
.footer-bottom{
  align-items:center!important;
}
.footer-bottom-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width:0;
}
.footer-bottom-note{
  white-space:nowrap;
}
.footer-compact-contact{
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px 7px 5px 9px;
  border-radius:12px;
  border:1px solid rgba(137,149,188,.12);
  background:linear-gradient(180deg,rgba(15,20,36,.72),rgba(8,12,23,.78));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.footer-contact-label{
  margin-right:2px;
  color:#79869f;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.footer-mini-contact{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.08);
  transition:.18s ease;
  box-shadow:0 6px 14px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.12);
}
.footer-mini-contact:hover{
  transform:translateY(-2px);
  filter:brightness(1.08);
}
.footer-mini-contact>span{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  font-size:12.5px;
  font-weight:1000;
}
.footer-mini-contact svg{
  width:13px;
  height:13px;
}
.footer-mini-contact.facebook{
  color:#fff;
  background:linear-gradient(145deg,#176ee8,#4a91ff);
}
.footer-mini-contact.zalo{
  color:#fff;
  background:linear-gradient(145deg,#058cff,#2bc6ff);
}
.footer-mini-contact.gmail{
  color:#fff;
  background:linear-gradient(145deg,#ff5268,#ff936a);
}
.footer-mini-contact.phone{
  color:#071d14;
  background:linear-gradient(145deg,#2dcc8b,#72efbc);
}

/* old detailed footer cards are no longer used */
.footer-contact-list,
.footer-contact-item{
  display:none!important;
}

@media(max-width:900px){
  .footer-bottom{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:8px!important;
  }
  .footer-bottom-right{
    width:100%;
    justify-content:space-between;
  }
}
@media(max-width:520px){
  .footer-bottom-right{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .footer-compact-contact{
    width:max-content;
  }
  .footer-bottom-note{
    white-space:normal;
  }
}



/* ADMIN FINAL REBUILD 2026 */

/* CRITICAL FIX:
   An older rule set .sidebar to position:relative, which pushed .admin-main
   down by the full sidebar height. Force the admin shell back to a true fixed sidebar. */
.admin-body{
  min-height:100vh!important;
  margin:0!important;
  overflow-x:hidden!important;
  color:#eef2ff!important;
  background:
    radial-gradient(circle at 18% 8%,rgba(130,65,255,.16),transparent 23%),
    radial-gradient(circle at 88% 8%,rgba(32,188,255,.10),transparent 22%),
    linear-gradient(180deg,#060914 0%,#090d19 42%,#080b16 100%)!important;
}
.admin-body:before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px)!important;
  background-size:34px 34px!important;
  opacity:.26!important;
}

/* Sidebar */
.admin-body .sidebar{
  position:fixed!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:254px!important;
  height:100vh!important;
  z-index:120!important;
  padding:12px!important;
  overflow:hidden!important;
  transform:none!important;
  background:
    radial-gradient(circle at 0 0,rgba(130,64,255,.18),transparent 34%),
    linear-gradient(180deg,#0b1020,#0b0e1a 60%,#0a0d17)!important;
  border-right:1px solid rgba(138,112,215,.16)!important;
  box-shadow:18px 0 60px rgba(0,0,0,.28)!important;
}
.admin-sidebar-inner{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  padding:8px;
  border-radius:22px;
  border:1px solid rgba(152,109,255,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0));
}
.admin-brand{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:66px;
  padding:11px 12px;
  border-radius:17px;
  border:1px solid rgba(150,104,255,.24);
  background:linear-gradient(135deg,rgba(117,57,255,.20),rgba(44,206,255,.07));
  box-shadow:0 12px 34px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.05);
}
.admin-brand-mark{
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:13px;
  background:linear-gradient(145deg,#6739ff,#d22cff 58%,#39dcff);
  color:white;
  font-size:16px;
  font-weight:1000;
  box-shadow:0 0 24px rgba(133,56,255,.4),inset 0 1px 0 rgba(255,255,255,.14);
}
.admin-brand-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.admin-brand-copy b{
  font-size:16px;
  color:#fff;
  letter-spacing:.4px;
}
.admin-brand-copy small{
  margin-top:3px;
  color:#8e9bbb;
  font-size:9px;
  font-weight:850;
  letter-spacing:1.5px;
}
.admin-nav-caption{
  padding:19px 11px 8px;
  color:#6f7b99;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.6px;
}
.admin-nav{
  display:grid!important;
  gap:6px!important;
  margin:0!important;
}
.admin-nav a,
.admin-sidebar-bottom a{
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:46px;
  padding:9px 11px!important;
  border-radius:13px!important;
  border:1px solid transparent!important;
  color:#aeb9d6!important;
  font-size:13px;
  background:transparent!important;
  transition:.2s ease!important;
}
.admin-nav a:hover,
.admin-sidebar-bottom a:hover{
  transform:translateX(2px)!important;
  color:#fff!important;
  border-color:rgba(151,105,255,.19)!important;
  background:linear-gradient(135deg,rgba(119,62,255,.13),rgba(49,203,255,.04))!important;
}
.admin-nav a.active{
  color:#fff!important;
  border-color:rgba(153,106,255,.28)!important;
  background:linear-gradient(135deg,rgba(117,57,255,.22),rgba(37,190,255,.07))!important;
  box-shadow:0 9px 24px rgba(53,26,122,.20),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.admin-nav a.active>i{
  position:absolute;
  right:7px;
  width:5px;
  height:18px;
  border-radius:999px;
  background:linear-gradient(180deg,#b449ff,#50dcff);
  box-shadow:0 0 12px rgba(152,78,255,.56);
}
.admin-nav-icon{
  display:grid;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  border-radius:9px;
  color:#dcd6ff;
  background:linear-gradient(145deg,rgba(125,75,255,.18),rgba(54,192,255,.06));
  border:1px solid rgba(142,104,241,.15);
  font-size:13px;
}
.admin-sidebar-spacer{flex:1;min-height:18px}
.admin-sidebar-bottom{
  display:grid;
  gap:6px;
  padding-top:10px;
  border-top:1px solid rgba(143,155,198,.09);
}
.admin-sidebar-bottom .logout{color:#ffb4c3!important}

/* Main content — critical top-position fix */
.admin-body .admin-main{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  min-height:100vh!important;
  margin:0 0 0 254px!important;
  padding:0!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
}

/* Topbar */
.admin-body .admin-top{
  position:sticky!important;
  top:0!important;
  z-index:75!important;
  width:100%!important;
  height:74px!important;
  margin:0!important;
  padding:0 26px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  border-bottom:1px solid rgba(143,155,198,.10)!important;
  background:rgba(7,10,19,.82)!important;
  backdrop-filter:blur(18px)!important;
  box-shadow:0 10px 32px rgba(0,0,0,.10)!important;
}
.admin-top-left{
  display:flex;
  align-items:center;
  gap:11px;
}
.admin-top-left>div{
  display:flex!important;
  flex-direction:column!important;
  text-align:left!important;
}
.admin-top-left small{
  color:#7784a4!important;
  font-size:9px!important;
  letter-spacing:1.3px;
  font-weight:900;
}
.admin-top-left b{
  margin-top:2px;
  font-size:14px!important;
  color:#fff!important;
}
.admin-user{
  display:flex!important;
  align-items:center!important;
  flex-direction:row!important;
  gap:10px;
  text-align:left!important;
}
.admin-user-avatar{
  display:grid;
  place-items:center;
  flex:0 0 36px;
  width:36px;
  height:36px;
  border-radius:11px;
  color:#fff;
  font-weight:950;
  background:linear-gradient(145deg,#7342ff,#c22dff 60%,#45d9ff);
  box-shadow:0 8px 20px rgba(105,50,242,.24);
}
.admin-user>div{
  display:flex!important;
  flex-direction:column!important;
  text-align:right!important;
}
.admin-user b{font-size:12.5px!important;color:#fff!important}
.admin-user small{font-size:10.5px!important;color:#8c98b5!important}
.admin-menu-btn{
  display:none;
  width:38px;
  height:38px;
  border-radius:11px;
  border:1px solid rgba(139,151,190,.16);
  background:#0d1324;
  color:#fff;
  cursor:pointer;
}
.admin-content{
  width:100%;
  max-width:1620px;
  margin:0 auto;
  padding:26px 28px 50px;
}
.admin-flash{margin:0 0 16px!important}

/* Page headers */
.admin-body .admin-section{
  padding:0!important;
}
.admin-page-head,
.dashboard-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 0 18px!important;
}
.admin-page-head h1,
.dashboard-head h1,
.admin-dashboard>h1{
  margin:4px 0 4px!important;
  color:#fff!important;
  font-size:29px!important;
  line-height:1.12!important;
  letter-spacing:-.8px!important;
}
.admin-page-head p{
  margin:0!important;
  color:#8794b3!important;
  font-size:12.5px!important;
}
.admin-kicker,
.admin-dashboard .eyebrow{
  color:#ba9cff!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:1.5px!important;
}
.dashboard-head-actions{
  display:flex;
  gap:8px;
  align-items:center;
}

/* Cards and inputs */
.admin-body .admin-card,
.admin-body .stat,
.admin-body .admin-mini-stats>div,
.dashboard-stat{
  position:relative!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 100% 0,rgba(106,58,255,.055),transparent 28%),
    linear-gradient(180deg,rgba(17,23,42,.96),rgba(10,14,28,.96))!important;
  border:1px solid rgba(137,150,193,.13)!important;
  border-radius:18px!important;
  box-shadow:0 16px 42px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.admin-body .admin-card{padding:18px!important}
.admin-body .admin-card:before,
.admin-body .stat:before,
.admin-body .admin-mini-stats>div:before,
.dashboard-stat:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  border-radius:inherit!important;
  background:linear-gradient(135deg,rgba(159,109,255,.05),transparent 36%,rgba(60,216,255,.025))!important;
}
.admin-body label{color:#dfe5f7!important}
.admin-body input,
.admin-body textarea,
.admin-body select{
  min-height:42px!important;
  padding:10px 12px!important;
  color:#f4f7ff!important;
  background:linear-gradient(180deg,#0c1324,#0a1020)!important;
  border:1px solid rgba(137,150,191,.17)!important;
  border-radius:11px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
.admin-body textarea{min-height:92px!important}
.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus{
  outline:none!important;
  border-color:rgba(145,91,255,.62)!important;
  box-shadow:0 0 0 3px rgba(125,71,255,.11)!important;
}
.admin-body .mini{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:7px 10px!important;
  color:#dde4f6!important;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015))!important;
  border:1px solid rgba(137,150,191,.16)!important;
  border-radius:9px!important;
}
.admin-body .mini.primary{
  color:#fff!important;
  background:linear-gradient(135deg,#7040ff,#b62dff)!important;
  border-color:rgba(171,114,255,.25)!important;
}
.admin-body .btn{
  color:#fff!important;
  background:linear-gradient(135deg,#7040ff,#be2dff 60%,#49d8ff)!important;
  box-shadow:0 10px 26px rgba(103,51,235,.22)!important;
}
.admin-body .admin-card-title{
  display:flex!important;
  justify-content:space-between!important;
  align-items:flex-start!important;
  gap:12px!important;
  margin:0 0 14px!important;
}
.admin-card-title h2{
  margin:0!important;
  color:#fff!important;
  font-size:18px!important;
}
.admin-card-title small{
  margin-top:4px!important;
  color:#8190b0!important;
  font-size:11.5px!important;
}

/* Tables */
.admin-body .table-wrap{
  width:100%;
  overflow:auto!important;
  border:1px solid rgba(137,150,192,.10)!important;
  border-radius:14px!important;
  background:rgba(8,12,23,.54)!important;
}
.admin-body table{
  width:100%!important;
  border-collapse:collapse!important;
  min-width:720px!important;
}
.admin-body th,
.admin-body td{
  padding:11px 12px!important;
  border-bottom:1px solid rgba(137,150,192,.085)!important;
  vertical-align:middle!important;
  color:#e7ecfa!important;
  font-size:12.5px!important;
}
.admin-body th{
  color:#7f8dab!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.9px!important;
}
.admin-body td small{
  color:#7f8cac!important;
  font-size:10.5px!important;
}
.admin-body tbody tr:hover td{
  background:rgba(118,66,255,.028)!important;
}

/* Dashboard */
.dashboard-stat-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:11px;
  margin-bottom:18px;
}
.dashboard-stat{
  min-height:112px;
  padding:15px;
  display:flex;
  align-items:center;
  gap:12px;
}
.dashboard-stat-icon{
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:13px;
  font-size:16px;
  font-weight:950;
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 9px 20px rgba(0,0,0,.15);
}
.dashboard-stat-icon.purple{color:#d6c4ff;background:linear-gradient(145deg,rgba(121,69,255,.26),rgba(165,57,255,.10))}
.dashboard-stat-icon.green{color:#88f5c5;background:linear-gradient(145deg,rgba(44,206,139,.22),rgba(65,213,255,.07))}
.dashboard-stat-icon.cyan{color:#74e5ff;background:linear-gradient(145deg,rgba(37,180,255,.22),rgba(82,95,255,.08))}
.dashboard-stat-icon.pink{color:#ffb1df;background:linear-gradient(145deg,rgba(255,61,175,.19),rgba(138,57,255,.10))}
.dashboard-stat-icon.gold{color:#ffd77f;background:linear-gradient(145deg,rgba(255,185,48,.20),rgba(133,72,255,.08))}
.dashboard-stat>div{min-width:0}
.dashboard-stat small{
  display:block;
  color:#7785a5;
  font-size:9px;
  letter-spacing:1px;
  font-weight:900;
}
.dashboard-stat strong{
  display:block;
  margin-top:4px;
  color:#fff;
  font-size:23px;
  line-height:1.1;
  white-space:nowrap;
}
.dashboard-stat em{
  display:block;
  margin-top:5px;
  color:#6f7c9a;
  font-size:10px;
  font-style:normal;
}
.dashboard-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:16px;
}
.dashboard-quick{
  align-self:start;
}
.dashboard-quick>a{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:10px 8px;
  border-bottom:1px solid rgba(137,150,192,.08);
}
.dashboard-quick>a:last-child{border-bottom:0}
.dashboard-quick>a>span{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  color:#cabaff;
  background:rgba(115,68,255,.10);
  border:1px solid rgba(145,102,255,.12);
}
.dashboard-quick b{
  display:block;
  color:#e8edfa;
  font-size:11.5px;
}
.dashboard-quick small{
  display:block;
  margin-top:2px;
  color:#75829f;
  font-size:10px;
}
.dashboard-quick i{
  color:#6f7d9c;
  font-style:normal;
}

/* Existing admin upgrades */
.admin-body .admin-mini-stats{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0 0 16px!important;
}
.admin-body .admin-mini-stats>div{
  padding:13px 14px!important;
}
.admin-body .admin-mini-stats small{
  color:#7e8cac!important;
  font-size:10px!important;
}
.admin-body .admin-mini-stats b{
  margin-top:4px!important;
  color:#fff!important;
  font-size:19px!important;
}
.admin-body .admin-split{
  display:grid!important;
  grid-template-columns:390px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
}
.admin-body .admin-split.wide-left{
  grid-template-columns:420px minmax(0,1fr)!important;
}
.admin-body .admin-sticky-form{
  position:sticky!important;
  top:94px!important;
}
.admin-body .admin-filter-bar{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  padding:10px!important;
  margin:0 0 12px!important;
  border-radius:12px!important;
  background:rgba(7,11,22,.62)!important;
  border:1px solid rgba(137,150,191,.10)!important;
}
.admin-body .admin-filter-bar input{flex:1!important;min-width:180px!important}
.admin-body .admin-filter-bar select{width:auto!important;min-width:140px!important}
.admin-body .secret-box,
.admin-body .contact-setting-block,
.admin-body .media-persistence-card{
  background:linear-gradient(180deg,rgba(15,21,39,.84),rgba(9,14,28,.88))!important;
  border-color:rgba(143,104,242,.16)!important;
}
.admin-body .admin-upload-box{
  background:rgba(8,12,23,.58)!important;
  border:1px solid rgba(137,150,192,.11)!important;
  border-radius:14px!important;
}
.admin-body .admin-image-preview{
  background:#090f1d!important;
  border-color:rgba(139,151,190,.15)!important;
}
.admin-body .admin-game-table .table-cover{
  width:148px!important;
  height:80px!important;
  padding:3px!important;
  border-radius:14px!important;
}
.admin-body .admin-game-table .table-cover img{border-radius:11px!important}

/* Mobile */
.admin-mobile-backdrop{
  display:none;
  position:fixed;
  inset:0;
  z-index:110;
  background:rgba(2,5,12,.70);
  backdrop-filter:blur(3px);
}
.admin-mobile-backdrop.show{display:block}
body.admin-menu-open{overflow:hidden!important}

@media(max-width:1200px){
  .dashboard-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dashboard-grid{grid-template-columns:1fr}
  .admin-body .admin-split,
  .admin-body .admin-split.wide-left{grid-template-columns:350px minmax(0,1fr)!important}
}
@media(max-width:900px){
  .admin-body .sidebar{
    width:265px!important;
    transform:translateX(-110%)!important;
    transition:transform .22s ease!important;
  }
  .admin-body .sidebar.open{transform:translateX(0)!important}
  .admin-body .admin-main{
    margin-left:0!important;
  }
  .admin-menu-btn{display:grid!important;place-items:center}
  .admin-content{padding:18px 14px 40px!important}
  .admin-body .admin-top{padding:0 14px!important}
  .admin-user>div{display:none!important}
  .admin-body .admin-split,
  .admin-body .admin-split.wide-left{grid-template-columns:1fr!important}
  .admin-body .admin-sticky-form{position:static!important}
  .admin-body .admin-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .admin-content{padding:15px 10px 34px!important}
  .admin-body .admin-top{height:66px!important;padding:0 10px!important}
  .admin-page-head,.dashboard-head{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .dashboard-head-actions{width:100%}
  .dashboard-head-actions>*{flex:1}
  .dashboard-stat-grid{grid-template-columns:1fr 1fr;gap:8px}
  .dashboard-stat{min-height:94px;padding:11px;gap:8px}
  .dashboard-stat-icon{width:34px;height:34px;flex-basis:34px}
  .dashboard-stat strong{font-size:18px}
  .admin-body .admin-mini-stats{grid-template-columns:1fr 1fr!important}
  .admin-body .admin-card{padding:13px!important}
  .admin-body .admin-card-title{flex-direction:column!important}
  .admin-body .admin-filter-bar input,
  .admin-body .admin-filter-bar select{min-width:100%!important;width:100%!important}
}



/* ADVANCED AUTH PAYMENT LOGS V1 */
.auth-links{display:flex;justify-content:space-between;gap:12px;margin:10px 0 2px;font-size:12.5px}
.auth-links a{color:#b99aff}
.auth-note{padding:10px 12px;border:1px solid rgba(137,91,255,.2);border-radius:11px;background:rgba(116,64,255,.07);color:#9da9c8;font-size:11.5px;line-height:1.6}
.auth-result .btn{margin-top:14px}
.mini-wallet-link{display:inline-flex;margin-top:8px;color:#d7c9ff;font-size:11.5px;font-weight:800}

.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.integration-card{display:flex;flex-direction:column;gap:12px}
.integration-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;font-size:16px;font-weight:1000}
.integration-icon.mail{color:#fff;background:linear-gradient(145deg,#ff5269,#ff996c)}
.integration-icon.sepay{color:#051c14;background:linear-gradient(145deg,#42dfa2,#76edc3)}
.integration-toggle-list{display:grid;gap:8px;margin-top:4px}
.toggle-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px;padding:11px 12px!important;border:1px solid rgba(137,150,192,.11);border-radius:12px;background:rgba(255,255,255,.018);margin:0!important}
.toggle-row>span{display:flex;flex-direction:column}.toggle-row b{font-size:11.5px;color:#e7ecfa}.toggle-row small{font-size:10px!important;color:#7885a3!important;margin-top:3px}
.toggle-row input[type=checkbox]{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px;padding:0!important}
.toggle-row.standalone{margin-bottom:4px!important}
.webhook-box{padding:12px;border-radius:13px;border:1px solid rgba(73,211,171,.16);background:rgba(53,192,148,.055)}
.webhook-box small{font-size:10px;color:#75dcb9;font-weight:900;letter-spacing:1px}.webhook-box code{display:block;margin:7px 0;padding:9px;border-radius:9px;background:#080e19;color:#9ff7d1;font-size:11.5px;word-break:break-all}.webhook-box p{margin:0;color:#8795b2;font-size:10.5px;line-height:1.6}
.integration-actions{grid-column:1/-1}.integration-test-card{display:flex!important;align-items:center;gap:10px;margin-top:16px}.integration-test-card>div{display:flex;flex-direction:column;min-width:180px}.integration-test-card small{color:#7f8cab;font-size:10.5px}.integration-test-card input{flex:1}

.log-action,.device-badge,.verify-badge{display:inline-flex;padding:5px 7px;border-radius:8px;font-size:10px;font-weight:800;border:1px solid rgba(138,151,192,.13);background:rgba(255,255,255,.025)}
.verify-badge.yes{color:#88efbd;background:rgba(47,203,139,.08);border-color:rgba(70,221,157,.15)}
.verify-badge.no{color:#ffbdcc;background:rgba(255,80,130,.07);border-color:rgba(255,105,145,.14)}
.log-path{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ua-cell{max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8794b2!important}
.user-edit-card{margin-bottom:16px}
.money-input{min-width:160px!important}

.recharge-page{padding-top:34px}
.recharge-create-card{max-width:650px;margin:0 auto 24px;padding:22px;border-radius:20px;border:1px solid rgba(140,103,255,.18);background:linear-gradient(180deg,rgba(16,22,41,.94),rgba(9,14,28,.96));box-shadow:0 22px 55px rgba(0,0,0,.2)}
.recharge-create-card h2{margin:6px 0}.recharge-create-card p{color:#8490aa;font-size:12.5px}.recharge-create-card label{display:block;margin:18px 0}
.recharge-payment-grid{display:grid;grid-template-columns:440px minmax(0,1fr);gap:16px;max-width:920px;margin:0 auto 28px}
.recharge-qr-card,.recharge-info-card{padding:20px;border-radius:20px;border:1px solid rgba(137,150,192,.14);background:linear-gradient(180deg,rgba(17,23,42,.96),rgba(10,14,28,.96));box-shadow:0 18px 45px rgba(0,0,0,.22)}
.recharge-qr-card{text-align:center}.recharge-qr-card h2{font-size:29px;margin:8px 0 14px}.recharge-qr{display:block;width:min(100%,350px);margin:0 auto;border-radius:16px;background:#fff;padding:9px}
.recharge-waiting{margin-top:14px;padding:10px;border-radius:11px;color:#ffd77d;background:rgba(255,183,49,.07);border:1px solid rgba(255,198,72,.15);font-size:12.5px;font-weight:800}.recharge-waiting.paid{color:#7ef0ba;background:rgba(53,213,150,.08);border-color:rgba(79,230,168,.18)}
.recharge-info-card h3{margin-top:0}.recharge-info-card>div{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid rgba(137,150,192,.09)}.recharge-info-card small{color:#7f8da9}.recharge-info-card b{text-align:right}.recharge-info-card .payment-code b{color:#bda5ff;font-size:18px;letter-spacing:1px}.recharge-info-card p{color:#8491ad;font-size:11.5px;line-height:1.7}
.recharge-history-card{margin-top:20px}

.status.pending{color:#ffd77e;background:rgba(255,183,47,.08)}.status.paid{color:#7ef0b9;background:rgba(48,207,141,.08)}.status.cancelled,.status.expired{color:#ffadbe;background:rgba(255,70,115,.07)}

@media(max-width:980px){.integration-grid{grid-template-columns:1fr}.recharge-payment-grid{grid-template-columns:1fr;max-width:650px}}
@media(max-width:700px){.integration-test-card{align-items:stretch!important;flex-direction:column}.integration-test-card input{width:100%}.recharge-page{padding-top:20px}.recharge-qr-card,.recharge-info-card{padding:14px}}



/* ADMIN SETTINGS IMAGE PREVIEW COMPACT */
.admin-body .admin-settings-media-preview{
  position:relative!important;
  width:min(100%,430px)!important;
  max-width:430px!important;
  aspect-ratio:16/9!important;
  margin:8px auto 4px!important;
  padding:7px!important;
  overflow:visible!important;
  border:1px solid rgba(145,92,255,.34)!important;
  border-radius:20px!important;
  background:
    linear-gradient(#0a1020,#0a1020) padding-box,
    linear-gradient(135deg,#7846ff 0%,#d13dff 45%,#49ddff 100%) border-box!important;
  box-shadow:
    0 18px 42px rgba(23,10,58,.36),
    0 0 28px rgba(118,65,255,.15),
    inset 0 1px 0 rgba(255,255,255,.06)!important;
}

.admin-body .admin-settings-media-preview:before{
  content:""!important;
  position:absolute!important;
  inset:5px!important;
  z-index:3!important;
  pointer-events:none!important;
  border:1px solid rgba(211,193,255,.22)!important;
  border-radius:15px!important;
  box-shadow:
    inset 0 0 18px rgba(81,55,160,.12),
    0 0 0 1px rgba(255,255,255,.02)!important;
}

.admin-body .admin-settings-media-preview:after{
  content:""!important;
  position:absolute!important;
  inset:7px!important;
  z-index:1!important;
  pointer-events:none!important;
  border-radius:13px!important;
  background:
    linear-gradient(180deg,rgba(3,6,14,.02) 48%,rgba(3,6,14,.65) 100%)!important;
}

.admin-body .admin-settings-media-preview>img{
  position:relative!important;
  inset:auto!important;
  z-index:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:13px!important;
  border:1px solid rgba(255,255,255,.06)!important;
  filter:saturate(1.04) contrast(1.03)!important;
}

.admin-body .admin-settings-media-preview>span{
  left:17px!important;
  bottom:16px!important;
  z-index:4!important;
  padding:6px 8px!important;
  border-radius:8px!important;
  background:rgba(7,10,20,.78)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#fff!important;
  font-size:10.5px!important;
  font-weight:850!important;
  box-shadow:0 6px 16px rgba(0,0,0,.28)!important;
}

.admin-body .other-game-preview{
  width:min(100%,430px)!important;
  max-width:430px!important;
  aspect-ratio:16/9!important;
  margin-inline:auto!important;
}

.admin-body .hero-setting-block{
  gap:11px!important;
}

.admin-body .hero-setting-block>label,
.admin-body .hero-setting-block>.setting-help,
.admin-body .hero-setting-block>.hero-reset{
  max-width:560px;
  width:100%;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(max-width:700px){
  .admin-body .admin-settings-media-preview{
    width:min(100%,360px)!important;
    max-width:360px!important;
    padding:5px!important;
    border-radius:16px!important;
  }
  .admin-body .admin-settings-media-preview:before{
    inset:4px!important;
    border-radius:12px!important;
  }
  .admin-body .admin-settings-media-preview:after{
    inset:5px!important;
    border-radius:11px!important;
  }
  .admin-body .admin-settings-media-preview>img{
    border-radius:11px!important;
  }
}



/* ADMIN SETTINGS TWO COLUMN PRO */
.admin-body .settings-form{
  max-width:1280px!important;
  padding:22px!important;
}

.admin-body .settings-layout{
  display:grid;
  grid-template-columns:minmax(340px,.9fr) minmax(420px,1.1fr);
  gap:18px;
  align-items:start;
}

.admin-body .settings-column{
  min-width:0;
  display:grid;
  gap:18px;
}

.admin-body .settings-panel,
.admin-body .contact-setting-block{
  padding:18px!important;
  border-radius:20px!important;
  background:
    linear-gradient(180deg,rgba(18,24,44,.88),rgba(11,15,29,.94))!important;
  border:1px solid rgba(145,104,255,.16)!important;
  box-shadow:
    0 16px 40px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.03)!important;
}

.admin-body .settings-panel label:last-child,
.admin-body .contact-setting-grid label:last-child{
  margin-bottom:0!important;
}

.admin-body .settings-column-info .settings-panel label{
  margin-bottom:14px!important;
}

.admin-body .settings-column-info .settings-panel label:last-child{
  margin-bottom:0!important;
}

.admin-body .contact-setting-grid{
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
}

.admin-body .contact-setting-grid label{
  height:100%;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start;
}

.admin-body .settings-submit-wrap{
  margin-top:18px;
  padding-top:4px;
  display:flex;
  justify-content:flex-start;
}

.admin-body .settings-submit-wrap .btn{
  min-width:220px;
}

.admin-body .media-persistence-card{
  max-width:1280px!important;
}

.admin-body .site-logo-setting .site-logo-preview{
  width:min(100%,420px)!important;
  margin-inline:auto!important;
}

@media(max-width:1100px){
  .admin-body .settings-layout{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:640px){
  .admin-body .contact-setting-grid{
    grid-template-columns:1fr!important;
  }

  .admin-body .settings-form{
    padding:16px!important;
  }

  .admin-body .settings-panel,
  .admin-body .contact-setting-block{
    padding:15px!important;
    border-radius:16px!important;
  }

  .admin-body .settings-submit-wrap .btn{
    width:100%;
    min-width:0;
  }
}



/* SETTINGS GRID FINAL FIX 2026 */
.admin-body .settings-form{
  width:100%!important;
  max-width:1280px!important;
  padding:18px!important;
  margin:0!important;
}

.admin-body .settings-pro-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}

.admin-body .settings-box{
  position:relative!important;
  min-width:0!important;
  height:100%!important;
  padding:18px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:13px!important;
  border-radius:18px!important;
  border:1px solid rgba(137,150,193,.14)!important;
  background:
    radial-gradient(circle at 100% 0,rgba(116,67,255,.07),transparent 30%),
    linear-gradient(180deg,rgba(16,22,41,.97),rgba(9,14,28,.98))!important;
  box-shadow:
    0 16px 38px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.025)!important;
  overflow:hidden!important;
}

.admin-body .settings-box:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  border-radius:inherit!important;
  background:linear-gradient(135deg,rgba(157,105,255,.045),transparent 42%,rgba(67,216,255,.025))!important;
}

.admin-body .settings-box-head{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-height:46px!important;
  padding-bottom:12px!important;
  border-bottom:1px solid rgba(137,150,193,.09)!important;
}

.admin-body .settings-box-head>div{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
}

.admin-body .settings-box-head b{
  color:#f5f7ff!important;
  font-size:14px!important;
}

.admin-body .settings-box-head small{
  margin-top:3px!important;
  color:#7f8daa!important;
  font-size:10.5px!important;
  line-height:1.45!important;
}

.admin-body .settings-box-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  font-style:normal!important;
  font-weight:1000!important;
  font-size:13px!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.12)!important;
}

.admin-body .settings-box-icon.purple{background:linear-gradient(145deg,#7040ff,#bd30ff)!important}
.admin-body .settings-box-icon.cyan{background:linear-gradient(145deg,#158bdc,#36d7ff)!important}
.admin-body .settings-box-icon.pink{background:linear-gradient(145deg,#a143ff,#ff45b9)!important}
.admin-body .settings-box-icon.blue{background:linear-gradient(145deg,#285fff,#30caff)!important}
.admin-body .settings-box-icon.green{background:linear-gradient(145deg,#22b679,#65e7aa)!important;color:#071a12!important}

.admin-body .settings-box label{
  position:relative!important;
  z-index:1!important;
  margin:0!important;
}

.admin-body .settings-box-basic label{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
}

.admin-body .settings-box-basic textarea{
  resize:vertical!important;
  min-height:76px!important;
}

.admin-body .settings-box-basic label:nth-of-type(3) textarea{
  min-height:92px!important;
}

.admin-body .settings-box-contact .contact-setting-grid{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;
  flex:1!important;
}

.admin-body .settings-box-contact .contact-setting-grid label{
  min-width:0!important;
  height:100%!important;
  padding:11px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  border-radius:13px!important;
  border:1px solid rgba(137,150,192,.11)!important;
  background:rgba(255,255,255,.018)!important;
}

.admin-body .settings-box-contact .contact-setting-grid label small{
  margin-top:auto!important;
  color:#7785a4!important;
  font-size:10px!important;
  line-height:1.4!important;
}

.admin-body .settings-box-media{
  justify-content:flex-start!important;
}

.admin-body .settings-box-media .admin-settings-media-preview{
  width:min(100%,390px)!important;
  max-width:390px!important;
  aspect-ratio:16/9!important;
  margin:0 auto!important;
}

.admin-body .settings-logo-preview{
  width:min(100%,390px)!important;
  max-width:390px!important;
  min-height:150px!important;
  margin:0 auto!important;
}

.admin-body .settings-box-media .setting-help{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  margin:0!important;
  color:#7785a4!important;
  font-size:10px!important;
  line-height:1.5!important;
}

/* Fix the white checkbox boxes shown in the screenshot */
.admin-body .settings-box .hero-reset,
.admin-body .settings-box .settings-reset-row{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  min-height:42px!important;
  margin:0!important;
  padding:10px 12px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:9px!important;
  border-radius:11px!important;
  border:1px solid rgba(137,150,192,.13)!important;
  background:rgba(255,255,255,.022)!important;
  color:#cdd5e9!important;
}

.admin-body .settings-box .hero-reset:hover,
.admin-body .settings-box .settings-reset-row:hover{
  border-color:rgba(145,95,255,.28)!important;
  background:rgba(116,68,255,.055)!important;
}

.admin-body .settings-box .hero-reset input[type="checkbox"],
.admin-body .settings-box .settings-reset-row input[type="checkbox"]{
  width:16px!important;
  height:16px!important;
  min-height:16px!important;
  flex:0 0 16px!important;
  padding:0!important;
  margin:0!important;
  accent-color:#8d46ff!important;
  box-shadow:none!important;
}

.admin-body .settings-box .hero-reset span,
.admin-body .settings-box .settings-reset-row span{
  color:#b5bfd6!important;
  font-size:10.5px!important;
  font-weight:750!important;
}

/* Save card balances row 3 */
.admin-body .settings-save-box{
  justify-content:space-between!important;
  background:
    radial-gradient(circle at 90% 10%,rgba(62,214,255,.10),transparent 30%),
    radial-gradient(circle at 10% 90%,rgba(137,66,255,.13),transparent 34%),
    linear-gradient(180deg,rgba(17,23,43,.98),rgba(10,14,29,.98))!important;
}

.admin-body .settings-save-visual{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:13px!important;
}

.admin-body .settings-save-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 48px!important;
  width:48px!important;
  height:48px!important;
  border-radius:15px!important;
  color:#071c13!important;
  font-size:21px!important;
  font-weight:1000!important;
  background:linear-gradient(145deg,#46dfa1,#7bf0c5)!important;
  box-shadow:0 12px 28px rgba(58,215,158,.16)!important;
}

.admin-body .settings-save-visual h3{
  margin:5px 0 6px!important;
  color:#fff!important;
  font-size:21px!important;
}

.admin-body .settings-save-visual p{
  max-width:480px!important;
  margin:0!important;
  color:#8693af!important;
  font-size:11.5px!important;
  line-height:1.65!important;
}

.admin-body .settings-save-notes{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  gap:8px!important;
  margin:12px 0!important;
}

.admin-body .settings-save-notes span{
  padding:9px 10px!important;
  border-radius:10px!important;
  color:#aab5cd!important;
  font-size:10.5px!important;
  background:rgba(255,255,255,.018)!important;
  border:1px solid rgba(137,150,192,.09)!important;
}

.admin-body .settings-main-save{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  min-height:46px!important;
  margin-top:auto!important;
  border-radius:12px!important;
  font-size:13px!important;
}

/* Remove old layout effects completely */
.admin-body .settings-layout,
.admin-body .settings-column,
.admin-body .settings-submit-wrap{
  display:contents!important;
}

@media(max-width:1080px){
  .admin-body .settings-pro-grid{
    grid-template-columns:1fr!important;
  }

  .admin-body .settings-box{
    height:auto!important;
  }

  .admin-body .settings-save-box{
    min-height:260px!important;
  }
}

@media(max-width:620px){
  .admin-body .settings-form{
    padding:10px!important;
  }

  .admin-body .settings-pro-grid{
    gap:10px!important;
  }

  .admin-body .settings-box{
    padding:14px!important;
    border-radius:15px!important;
  }

  .admin-body .settings-box-contact .contact-setting-grid{
    grid-template-columns:1fr!important;
  }

  .admin-body .settings-box-media .admin-settings-media-preview,
  .admin-body .settings-logo-preview{
    width:100%!important;
    max-width:100%!important;
  }
}



/* SETTINGS ICON BEAUTY UPGRADE */
.media-db-icon svg,
.admin-body .settings-box-icon svg,
.contact-admin-icon svg,
.admin-body .settings-save-icon svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
}

.media-db-icon{
  position:relative;
  overflow:hidden;
  color:#f5fbff;
}
.media-db-icon:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 28% 22%,rgba(255,255,255,.25),transparent 38%),
    linear-gradient(145deg,rgba(255,255,255,.06),transparent 65%);
  pointer-events:none;
}
.media-db-icon svg{
  width:25px!important;
  height:25px!important;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 12px rgba(135,232,255,.25));
}

.admin-body .settings-box-icon{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.admin-body .settings-box-icon:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:
    radial-gradient(circle at 30% 25%,rgba(255,255,255,.26),transparent 38%),
    linear-gradient(145deg,rgba(255,255,255,.04),transparent 70%)!important;
  pointer-events:none!important;
}
.admin-body .settings-box-icon svg{
  width:19px!important;
  height:19px!important;
  stroke:currentColor!important;
  stroke-width:1.85!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 10px currentColor)!important;
}

.contact-label{
  font-weight:800;
  color:#f1f4ff;
}
.contact-admin-icon{
  position:relative;
  overflow:hidden;
  width:30px;
  height:30px;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.08);
}
.contact-admin-icon:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 30% 24%,rgba(255,255,255,.24),transparent 40%),
    linear-gradient(145deg,rgba(255,255,255,.04),transparent 70%);
  pointer-events:none;
}
.contact-admin-icon svg{
  width:15px!important;
  height:15px!important;
  stroke:#fff;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 8px rgba(255,255,255,.18));
}
.contact-admin-icon.facebook svg{
  width:13px!important;
  height:13px!important;
  stroke:none!important;
  fill:#fff!important;
}
.contact-admin-icon.zalo svg{
  stroke:#fff!important;
}
.contact-admin-icon.gmail svg,
.contact-admin-icon.phone svg{
  stroke:#fff!important;
}
.contact-admin-icon.phone{
  color:#062318;
}

.admin-body .settings-save-icon{
  position:relative!important;
  overflow:hidden!important;
}
.admin-body .settings-save-icon:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.22),transparent 42%)!important;
  pointer-events:none!important;
}
.admin-body .settings-save-icon svg{
  width:24px!important;
  height:24px!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 10px rgba(12,69,40,.22))!important;
}



/* ADMIN PREMIUM SVG ICONS */
.admin-body .media-db-icon,
.admin-body .settings-box-icon,
.admin-body .contact-admin-icon{
  position:relative!important;
  overflow:hidden!important;
}

.admin-body .media-db-icon:after,
.admin-body .settings-box-icon:after,
.admin-body .contact-admin-icon:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:radial-gradient(circle at 28% 22%,rgba(255,255,255,.22),transparent 44%)!important;
}

.admin-body .media-db-icon svg{
  position:relative!important;
  z-index:1!important;
  width:27px!important;
  height:27px!important;
  color:#fff!important;
  filter:drop-shadow(0 0 8px rgba(255,255,255,.25))!important;
}

.admin-body .settings-box-icon svg{
  position:relative!important;
  z-index:1!important;
  width:21px!important;
  height:21px!important;
  filter:drop-shadow(0 0 7px currentColor)!important;
}

.admin-body .contact-admin-icon svg{
  position:relative!important;
  z-index:1!important;
  width:15px!important;
  height:15px!important;
}

.admin-body .settings-box-icon{
  width:42px!important;
  height:42px!important;
  flex-basis:42px!important;
  border-radius:13px!important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.22),
    0 0 18px rgba(122,67,255,.12),
    inset 0 1px 0 rgba(255,255,255,.15)!important;
}

.admin-body .settings-box-icon.purple{
  color:#f5edff!important;
  background:linear-gradient(145deg,#6e38ff,#bd2fff 65%,#e75cff)!important;
}
.admin-body .settings-box-icon.cyan{
  color:#e9fbff!important;
  background:linear-gradient(145deg,#0b83dc,#22bfff 62%,#5ee7ff)!important;
}
.admin-body .settings-box-icon.pink{
  color:#fff0fb!important;
  background:linear-gradient(145deg,#9b3dff,#e73fff 58%,#ff70ca)!important;
}
.admin-body .settings-box-icon.blue{
  color:#eef5ff!important;
  background:linear-gradient(145deg,#315dff,#328cff 55%,#41d9ff)!important;
}
.admin-body .settings-box-icon.green{
  color:#052317!important;
  background:linear-gradient(145deg,#29cb8c,#5ce7b2 62%,#93ffd3)!important;
}

.admin-body .media-db-icon{
  width:54px!important;
  height:54px!important;
  flex-basis:54px!important;
  border-radius:17px!important;
  color:#fff!important;
  background:linear-gradient(145deg,#683aff,#bd2fff 55%,#3bdcff)!important;
  box-shadow:
    0 12px 30px rgba(88,44,220,.3),
    0 0 26px rgba(80,195,255,.10),
    inset 0 1px 0 rgba(255,255,255,.16)!important;
}

.admin-body .contact-admin-icon{
  width:29px!important;
  height:29px!important;
  border-radius:9px!important;
  box-shadow:
    0 7px 16px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.16)!important;
}

.admin-body .contact-admin-icon.facebook{
  color:#fff!important;
  background:linear-gradient(145deg,#1769e8,#438fff 60%,#66a9ff)!important;
}
.admin-body .contact-admin-icon.zalo{
  color:#fff!important;
  background:linear-gradient(145deg,#0787e9,#1dbaff 62%,#58dcff)!important;
}
.admin-body .contact-admin-icon.gmail{
  color:#fff!important;
  background:linear-gradient(145deg,#ff4d62,#ff6c6c 55%,#ffa070)!important;
}
.admin-body .contact-admin-icon.phone{
  color:#042016!important;
  background:linear-gradient(145deg,#2fc98b,#61e6b2 62%,#98ffd2)!important;
}



/* ADMIN SIDEBAR PREMIUM ICONS */
.admin-body .admin-nav-icon{
  position:relative!important;
  overflow:hidden!important;
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  border-radius:11px!important;
  border:1px solid rgba(142,110,235,.18)!important;
  background:linear-gradient(145deg,rgba(113,67,255,.15),rgba(42,183,255,.055))!important;
  color:#b9a9ff!important;
  box-shadow:
    0 8px 18px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.055)!important;
}

.admin-body .admin-nav-icon:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:radial-gradient(circle at 27% 22%,rgba(255,255,255,.17),transparent 44%)!important;
}

.admin-body .admin-nav-icon svg{
  position:relative!important;
  z-index:1!important;
  width:17px!important;
  height:17px!important;
  stroke:currentColor!important;
  stroke-width:1.65!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 6px currentColor)!important;
}

.admin-body .admin-nav a:hover .admin-nav-icon,
.admin-body .admin-nav a.active .admin-nav-icon{
  transform:translateY(-1px)!important;
  color:#fff!important;
  border-color:rgba(176,126,255,.35)!important;
  background:linear-gradient(145deg,#6f3cff,#a832ff 58%,#32cfff)!important;
  box-shadow:
    0 9px 24px rgba(101,54,236,.28),
    0 0 18px rgba(121,73,255,.20),
    inset 0 1px 0 rgba(255,255,255,.16)!important;
}

.admin-body .nav-dashboard{color:#8bc7ff!important}
.admin-body .nav-games{color:#b99cff!important}
.admin-body .nav-accounts{color:#69d9ff!important}
.admin-body .nav-users{color:#8ee9c2!important}
.admin-body .nav-logs{color:#c7a7ff!important}
.admin-body .nav-visitors{color:#77dfff!important}
.admin-body .nav-orders{color:#ffbf79!important}
.admin-body .nav-recharge{color:#78e7b4!important}
.admin-body .nav-integration{color:#d49dff!important}
.admin-body .nav-settings{color:#a9b8ff!important}
.admin-body .nav-website{color:#6ce0ff!important}
.admin-body .nav-logout{color:#ff91ad!important}

.admin-body .admin-sidebar-bottom a:hover .nav-website{
  color:#fff!important;
  background:linear-gradient(145deg,#168fd7,#27c7ff)!important;
}
.admin-body .admin-sidebar-bottom a.logout:hover .nav-logout{
  color:#fff!important;
  background:linear-gradient(145deg,#ff4e72,#ff795f)!important;
}



/* ADMIN SIDEBAR BOTTOM + QUICK ACCESS FIX */

/* Sidebar must fit inside viewport, and bottom actions must never be clipped */
.admin-body .sidebar{
  overflow:hidden!important;
}

.admin-body .admin-sidebar-inner{
  height:calc(100vh - 24px)!important;
  min-height:0!important;
  overflow:hidden!important;
}

.admin-body .admin-nav{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:thin;
  scrollbar-color:rgba(132,92,255,.32) transparent;
  padding-right:2px!important;
}

.admin-body .admin-nav::-webkit-scrollbar{
  width:4px;
}
.admin-body .admin-nav::-webkit-scrollbar-thumb{
  background:rgba(132,92,255,.28);
  border-radius:999px;
}

.admin-body .admin-nav a{
  min-height:42px!important;
  padding:7px 10px!important;
}

.admin-body .admin-nav-caption{
  flex:0 0 auto!important;
  padding:13px 11px 7px!important;
}

.admin-body .admin-brand{
  flex:0 0 auto!important;
  min-height:62px!important;
}

.admin-body .admin-sidebar-spacer{
  display:none!important;
}

.admin-body .admin-sidebar-bottom{
  position:relative!important;
  flex:0 0 auto!important;
  margin-top:9px!important;
  padding-top:9px!important;
  padding-bottom:1px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:5px!important;
  border-top:1px solid rgba(143,155,198,.10)!important;
  background:linear-gradient(180deg,rgba(9,13,25,.90),rgba(9,13,25,.99))!important;
}

.admin-body .admin-sidebar-bottom a{
  min-height:40px!important;
  padding:6px 9px!important;
}

.admin-body .admin-sidebar-bottom .logout{
  color:#ffb4c3!important;
}

.admin-body .admin-sidebar-bottom .logout:hover{
  color:#fff!important;
}

/* Premium quick-access icons */
.admin-body .dashboard-quick>a{
  grid-template-columns:38px minmax(0,1fr) 28px!important;
  gap:10px!important;
  min-height:58px!important;
  padding:10px 8px!important;
}

.admin-body .dashboard-quick>a>span.dashboard-quick-icon{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  border:1px solid rgba(143,111,236,.18)!important;
  box-shadow:
    0 8px 20px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.12)!important;
  overflow:hidden!important;
}

.admin-body .dashboard-quick>a>span.dashboard-quick-icon:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:radial-gradient(circle at 28% 23%,rgba(255,255,255,.20),transparent 44%)!important;
}

.admin-body .dashboard-quick-icon svg{
  position:relative!important;
  z-index:1!important;
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 6px currentColor)!important;
}

.admin-body .dashboard-quick-icon.purple{
  color:#efe8ff!important;
  background:linear-gradient(145deg,#6e3dff,#b431ff)!important;
}
.admin-body .dashboard-quick-icon.cyan{
  color:#e9fbff!important;
  background:linear-gradient(145deg,#0c85dc,#26c8ff)!important;
}
.admin-body .dashboard-quick-icon.green{
  color:#082017!important;
  background:linear-gradient(145deg,#2cca8c,#6be9b8)!important;
}
.admin-body .dashboard-quick-icon.pink{
  color:#fff0fb!important;
  background:linear-gradient(145deg,#9b3fff,#ef47bd)!important;
}

.admin-body .dashboard-quick-arrow{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  border-radius:9px!important;
  font-style:normal!important;
  color:#a99aff!important;
  border:1px solid rgba(143,110,236,.14)!important;
  background:rgba(119,66,255,.07)!important;
}

.admin-body .dashboard-quick-arrow svg{
  width:14px!important;
  height:14px!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.admin-body .dashboard-quick>a:hover .dashboard-quick-arrow{
  color:#fff!important;
  border-color:rgba(169,118,255,.28)!important;
  background:linear-gradient(145deg,#7040ff,#b62fff)!important;
}

@media(max-height:760px) and (min-width:901px){
  .admin-body .admin-brand{
    min-height:54px!important;
  }
  .admin-body .admin-brand-mark{
    width:36px!important;
    height:36px!important;
    flex-basis:36px!important;
  }
  .admin-body .admin-nav a{
    min-height:38px!important;
    padding:5px 9px!important;
  }
  .admin-body .admin-nav-icon{
    width:30px!important;
    height:30px!important;
    flex-basis:30px!important;
  }
  .admin-body .admin-nav-caption{
    padding:8px 10px 5px!important;
  }
}



/* MOBILE UI FINAL PRO 2026 */

/* Modern auth card base */
.auth-card-modern{
  position:relative!important;
  overflow:hidden!important;
  width:min(500px,100%)!important;
  padding:28px!important;
  border-radius:24px!important;
  border:1px solid rgba(151,111,255,.24)!important;
  background:
    radial-gradient(circle at 95% 0,rgba(116,58,255,.15),transparent 34%),
    radial-gradient(circle at 0 100%,rgba(34,197,255,.055),transparent 30%),
    linear-gradient(160deg,rgba(15,20,39,.98),rgba(7,11,22,.99))!important;
  box-shadow:
    0 30px 80px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.018) inset,
    0 0 55px rgba(105,52,255,.07)!important;
}

.auth-card-modern:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.035),transparent 28%),
    radial-gradient(circle at 82% 18%,rgba(214,64,255,.07),transparent 28%)!important;
}

.auth-card-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  gap:15px;
  margin-bottom:22px;
}

.auth-card-head>div{
  min-width:0;
}

.auth-card-icon{
  display:grid;
  place-items:center;
  flex:0 0 52px;
  width:52px;
  height:52px;
  border-radius:16px;
  color:#f6efff;
  background:linear-gradient(145deg,#6f3dff,#c52dff 62%,#46d9ff);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 12px 30px rgba(103,48,235,.30),
    0 0 22px rgba(117,62,255,.16),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.auth-card-icon.register{
  background:linear-gradient(145deg,#345fff,#9540ff 52%,#dc38ff);
}
.auth-card-icon svg{
  width:25px;
  height:25px;
  filter:drop-shadow(0 0 8px currentColor);
}

.auth-card-head .eyebrow{
  font-size:10px!important;
  letter-spacing:1.6px!important;
  color:#bda3ff!important;
}

.auth-card-head h1{
  margin:7px 0 5px!important;
  color:#fff!important;
  font-size:31px!important;
  line-height:1.05!important;
  letter-spacing:-1px!important;
}

.auth-card-head p{
  margin:0!important;
  max-width:350px;
  color:#7f8ca8!important;
  font-size:11.5px!important;
  line-height:1.55!important;
}

.auth-field{
  position:relative;
  z-index:1;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  margin-bottom:13px!important;
  color:#dce3f6!important;
  font-size:12.5px!important;
  font-weight:800!important;
}

.auth-input-wrap{
  position:relative;
  display:block;
}

.auth-input-wrap>i{
  position:absolute;
  z-index:2;
  left:13px;
  top:50%;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  color:#8e79d7;
  pointer-events:none;
}

.auth-input-wrap>i svg{
  width:17px;
  height:17px;
}

.auth-card-modern .auth-input-wrap input{
  width:100%!important;
  min-height:48px!important;
  padding:11px 13px 11px 44px!important;
  border-radius:13px!important;
  border:1px solid rgba(132,146,187,.18)!important;
  background:rgba(7,12,24,.88)!important;
  color:#f6f8ff!important;
  font-size:13px!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 8px 18px rgba(0,0,0,.08)!important;
}

.auth-card-modern .auth-input-wrap input::placeholder{
  color:#596682!important;
}

.auth-card-modern .auth-input-wrap input:focus{
  border-color:rgba(149,94,255,.65)!important;
  box-shadow:
    0 0 0 4px rgba(132,73,255,.11),
    0 10px 25px rgba(67,28,147,.10)!important;
}

.auth-card-modern .auth-input-wrap:focus-within>i{
  color:#bca0ff;
}

.auth-card-modern .auth-links{
  position:relative;
  z-index:1;
  min-height:18px;
  margin:3px 0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}

.auth-card-modern .auth-links a{
  color:#aa95eb!important;
  font-size:10.5px!important;
  font-weight:750!important;
}

.auth-card-modern .auth-links a:hover{
  color:#fff!important;
}

.auth-submit{
  position:relative;
  z-index:1;
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  border-radius:13px!important;
  font-size:13px!important;
  letter-spacing:.1px;
  background:linear-gradient(105deg,#6937ff,#b72dff 58%,#49cfff)!important;
  box-shadow:
    0 15px 35px rgba(101,46,237,.30),
    inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.auth-submit svg{
  width:17px;
  height:17px;
}
.auth-submit:hover{
  transform:translateY(-1px);
}

.auth-bottom{
  position:relative;
  z-index:1;
  margin-top:18px;
  padding-top:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  border-top:1px solid rgba(133,146,188,.10);
  color:#7f8ba5;
  font-size:11.5px;
}
.auth-bottom a{
  color:#c6b0ff;
  font-weight:850;
}

/* Guest mobile menu improvements */
@media(max-width:900px){
  body.menu-open{
    overflow:hidden!important;
  }

  .topbar{
    z-index:500!important;
  }

  .nav nav{
    max-height:calc(100dvh - 94px)!important;
    overflow-y:auto!important;
  }
}

/* Main phone experience */
@media(max-width:640px){

  html{
    overflow-x:hidden!important;
  }

  body{
    width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    -webkit-text-size-adjust:100%;
  }

  .shell{
    width:calc(100% - 24px)!important;
  }

  /* Header */
  .topbar{
    min-height:66px!important;
    background:rgba(5,8,18,.92)!important;
    border-bottom:1px solid rgba(128,103,205,.14)!important;
    box-shadow:0 8px 28px rgba(0,0,0,.20)!important;
    backdrop-filter:blur(20px) saturate(1.25)!important;
  }

  .nav{
    min-height:66px!important;
    width:calc(100% - 20px)!important;
    gap:7px!important;
  }

  .site-logo-brand{
    min-width:0!important;
    max-width:165px!important;
    padding:0!important;
    overflow:hidden!important;
  }

  .site-logo-image{
    width:auto!important;
    max-width:158px!important;
    height:46px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }

  .actions{
    margin-left:auto!important;
    gap:6px!important;
  }

  .actions .register-btn,
  .actions .login-btn,
  .actions .auth-switch-btn{
    min-height:36px!important;
    display:inline-flex!important;
    padding:0 12px!important;
    border-radius:11px!important;
    font-size:10.5px!important;
    white-space:nowrap!important;
  }

  .auth-page .actions .auth-switch-btn{
    display:inline-flex!important;
  }

  .hamb{
    order:3!important;
    flex:0 0 38px!important;
    width:38px!important;
    height:38px!important;
    margin-left:0!important;
    border-radius:11px!important;
    border-color:rgba(139,111,218,.22)!important;
    background:linear-gradient(180deg,rgba(16,21,39,.96),rgba(9,13,26,.96))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  }

  .hamb span{
    width:17px!important;
  }

  .nav nav{
    top:76px!important;
    left:12px!important;
    right:12px!important;
    padding:9px!important;
    border-radius:17px!important;
    border:1px solid rgba(148,110,243,.22)!important;
    background:
      radial-gradient(circle at 100% 0,rgba(117,63,255,.12),transparent 34%),
      rgba(8,12,24,.985)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.52)!important;
  }

  .nav nav a{
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    padding:0 13px!important;
    border-radius:11px!important;
    color:#c3cbe0!important;
    font-size:12.5px!important;
    font-weight:750!important;
    border:1px solid transparent;
  }

  .nav nav a:hover,
  .nav nav a:active{
    color:#fff!important;
    border-color:rgba(145,99,255,.20)!important;
    background:linear-gradient(135deg,rgba(119,63,255,.13),rgba(43,198,255,.045))!important;
  }

  /* Auth pages */
  body.auth-page{
    min-height:100dvh!important;
    background:
      radial-gradient(circle at 50% 18%,rgba(116,52,255,.17),transparent 25%),
      radial-gradient(circle at 8% 68%,rgba(28,190,255,.06),transparent 26%),
      linear-gradient(180deg,#060815 0%,#080b17 50%,#050811 100%)!important;
  }

  body.auth-page:before{
    content:"";
    position:fixed;
    inset:66px 0 auto;
    height:280px;
    pointer-events:none;
    background:
      radial-gradient(circle at 50% 0,rgba(129,63,255,.12),transparent 58%),
      linear-gradient(180deg,rgba(91,48,181,.035),transparent);
  }

  body.auth-page .auth-wrap{
    position:relative!important;
    z-index:1!important;
    min-height:calc(100dvh - 66px)!important;
    padding:34px 12px 38px!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
  }

  body.auth-page .auth-card-modern,
  body.auth-page .auth-card{
    width:100%!important;
    max-width:440px!important;
    margin:0!important;
  }

  body.auth-page .auth-card-modern{
    padding:20px!important;
    border-radius:21px!important;
  }

  .auth-card-head{
    gap:12px!important;
    margin-bottom:19px!important;
  }

  .auth-card-icon{
    flex-basis:46px!important;
    width:46px!important;
    height:46px!important;
    border-radius:14px!important;
  }

  .auth-card-icon svg{
    width:22px!important;
    height:22px!important;
  }

  .auth-card-head h1{
    margin-top:5px!important;
    font-size:28px!important;
    letter-spacing:-.8px!important;
  }

  .auth-card-head p{
    font-size:10.5px!important;
  }

  .auth-card-modern .auth-input-wrap input{
    min-height:50px!important;
    font-size:17px!important; /* prevents iOS form zoom */
  }

  .auth-field{
    font-size:11.5px!important;
    margin-bottom:12px!important;
  }

  .auth-submit{
    min-height:50px!important;
    font-size:12.5px!important;
  }

  .auth-bottom{
    margin-top:16px!important;
    padding-top:14px!important;
  }

  body.auth-page .site-footer{
    display:none!important;
  }

  body.auth-page>.shell>.flash{
    position:relative;
    z-index:3;
    margin-top:10px!important;
  }

  /* Generic phone cards / sections */
  .section{
    padding:26px 0!important;
  }

  .section-head{
    margin-bottom:14px!important;
  }

  .section h2{
    font-size:25px!important;
  }

  .game-showcase,
  .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .product-card,
  .game-cover,
  .experience-panel,
  .detail-media,
  .detail-info,
  .profile-head,
  .wallet,
  .order{
    border-radius:16px!important;
  }

  .experience-panel{
    padding:15px!important;
  }

  .support-contact-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .support-pill.support-contact-box,
  .home-contact-card{
    min-height:58px!important;
  }

  /* Tables: swipe instead of breaking layout */
  .table-wrap{
    width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  /* Footer */
  .footer-top{
    grid-template-columns:1fr 1fr!important;
    gap:22px 14px!important;
    padding-top:28px!important;
  }

  .footer-brand-col{
    grid-column:1/-1!important;
  }

  .footer-support{
    grid-column:1/-1!important;
  }

  .footer-bottom{
    padding-bottom:max(16px,env(safe-area-inset-bottom))!important;
  }
}

@media(max-width:420px){
  .shell{
    width:calc(100% - 18px)!important;
  }

  .site-logo-brand{
    max-width:145px!important;
  }

  .site-logo-image{
    max-width:142px!important;
    height:42px!important;
  }

  .actions .register-btn,
  .actions .login-btn,
  .actions .auth-switch-btn{
    padding:0 10px!important;
    font-size:10px!important;
  }

  body.auth-page .auth-wrap{
    padding:24px 9px 30px!important;
  }

  body.auth-page .auth-card-modern{
    padding:17px!important;
    border-radius:19px!important;
  }

  .auth-card-head h1{
    font-size:26px!important;
  }

  .auth-card-head p{
    max-width:250px!important;
  }

  .auth-card-icon{
    width:43px!important;
    height:43px!important;
    flex-basis:43px!important;
  }

  .support-contact-grid{
    grid-template-columns:1fr!important;
  }

  .hero-actions{
    grid-template-columns:1fr!important;
  }

  .hero-proof{
    gap:0!important;
  }
}

@media(max-width:360px){
  .site-logo-brand{
    max-width:128px!important;
  }

  .site-logo-image{
    max-width:125px!important;
    height:40px!important;
  }

  .actions .auth-switch-btn,
  .actions .register-btn{
    padding:0 8px!important;
  }

  .auth-card-head{
    align-items:center!important;
  }

  .auth-card-head p{
    display:none!important;
  }
}



/* PROFILE PAGE PROFESSIONAL REDESIGN */
.profile-page{padding-top:34px!important;padding-bottom:42px!important}
.profile-page .section-head p{margin:8px 0 0;color:#8090ab;font-size:14px;line-height:1.65}
.profile-hero-card{display:grid;grid-template-columns:minmax(0,1.45fr) 360px;gap:20px;align-items:stretch;margin-bottom:18px}
.profile-hero-main,.profile-side-panel,.profile-stat-card,.profile-order-card,.profile-empty-state{position:relative;border:1px solid rgba(133,146,184,.15);background:linear-gradient(145deg,rgba(13,18,33,.96),rgba(7,11,22,.98));box-shadow:0 22px 55px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025)}
.profile-hero-main{display:flex;align-items:center;gap:20px;padding:28px 30px;border-radius:26px;overflow:hidden;background:radial-gradient(circle at 0 0,rgba(122,63,255,.18),transparent 28%),radial-gradient(circle at 88% 12%,rgba(37,212,255,.07),transparent 24%),linear-gradient(145deg,rgba(12,17,32,.98),rgba(7,11,22,.98))}
.profile-hero-main:after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(115,59,255,.14),transparent 68%);pointer-events:none}
.profile-avatar{flex:0 0 88px;width:88px;height:88px;border-radius:26px;display:grid;place-items:center;font-size:37px;font-weight:1000;color:#fff;background:linear-gradient(145deg,#6a35ff,#c22cff 64%,#3ad8ff);box-shadow:0 18px 35px rgba(109,54,255,.30),0 0 30px rgba(101,46,237,.18)}
.profile-hero-copy{position:relative;z-index:1;min-width:0}
.profile-hero-copy h1{margin:10px 0 8px;font-size:46px;line-height:1.02;letter-spacing:-1.8px}
.profile-email{margin:0;color:#9fb0c9;font-size:17px}
.profile-hero-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.profile-tag{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border-radius:999px;border:1px solid rgba(130,142,176,.17);background:rgba(10,15,26,.74);font-size:13px;font-weight:800;color:#c7d1e7}
.profile-tag.verified{border-color:rgba(52,214,151,.26);background:rgba(24,94,65,.18);color:#86f3bd}
.profile-tag.pending{border-color:rgba(255,181,73,.26);background:rgba(116,79,18,.16);color:#ffd88d}
.profile-tag.is-active{border-color:rgba(52,214,151,.24);color:#85f2bf}
.profile-tag.is-locked{border-color:rgba(255,92,118,.26);color:#ff9aab}
.profile-side-panel{display:flex;flex-direction:column;gap:14px;padding:18px;border-radius:26px;background:radial-gradient(circle at 100% 0,rgba(96,45,255,.18),transparent 26%),linear-gradient(145deg,rgba(12,17,31,.98),rgba(8,11,23,.99))}
.profile-balance-card{padding:20px;border:1px solid rgba(145,104,255,.18);border-radius:22px;background:linear-gradient(145deg,rgba(14,20,37,.95),rgba(8,13,25,.96))}
.profile-card-kicker{display:block;margin-bottom:10px;color:#cbb2ff;font-size:12.5px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase}
.profile-balance-card strong{display:block;font-size:39px;line-height:1.04;letter-spacing:-1.2px;color:#c887ff}
.profile-balance-card p{margin:11px 0 0;color:#8f9db6;font-size:13px;line-height:1.65}
.profile-balance-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.profile-balance-actions .btn{min-height:44px}
.profile-quick-box{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.profile-quick-box>div{padding:16px 16px 14px;border-radius:18px;border:1px solid rgba(133,146,183,.14);background:linear-gradient(145deg,rgba(10,14,26,.90),rgba(7,10,19,.94))}
.profile-quick-box small{display:block;color:#8e9cb5;font-size:12.5px;margin-bottom:6px}
.profile-quick-box b{font-size:21px;letter-spacing:-.7px}
.profile-logout{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:15px;border:1px solid rgba(255,255,255,.08);background:rgba(10,14,26,.68);color:#f2f5ff;font-size:14px;font-weight:850;transition:.2s ease}
.profile-logout:hover{background:linear-gradient(135deg,rgba(113,53,255,.22),rgba(44,197,255,.06));border-color:rgba(147,100,255,.25)}
.profile-overview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}
.profile-stat-card{display:flex;align-items:flex-start;gap:16px;padding:20px;border-radius:22px;overflow:hidden}
.profile-stat-card:after{content:"";position:absolute;right:-35px;bottom:-45px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.05),transparent 65%);pointer-events:none}
.profile-stat-icon{flex:0 0 46px;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-size:21px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.03)}
.profile-stat-card small{display:block;color:#8f9eb8;font-size:12.5px;margin-bottom:7px}
.profile-stat-card strong{display:block;font-size:22px;line-height:1.15;letter-spacing:-.5px}
.profile-stat-card p{margin:8px 0 0;color:#7887a2;font-size:12.5px;line-height:1.6}
.profile-stat-card.accent-cyan .profile-stat-icon{background:rgba(32,217,255,.10);color:#72ecff;border-color:rgba(32,217,255,.18)}
.profile-stat-card.accent-purple .profile-stat-icon{background:rgba(138,44,255,.11);color:#d0a6ff;border-color:rgba(138,44,255,.20)}
.profile-stat-card.accent-pink .profile-stat-icon{background:rgba(255,43,189,.09);color:#ff8ed8;border-color:rgba(255,43,189,.16)}
.profile-stat-card.accent-green .profile-stat-icon{background:rgba(37,217,128,.08);color:#86f1bb;border-color:rgba(37,217,128,.18)}
.profile-orders-section{padding-top:6px}.profile-orders-head{margin-bottom:15px}.profile-orders-list{display:grid;gap:16px}
.profile-order-card{padding:22px;border-radius:24px}
.profile-order-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.06)}
.profile-order-id{display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(123,67,255,.11);border:1px solid rgba(143,103,255,.20);font-size:12.5px;font-weight:900;color:#d5c0ff}
.profile-order-top h3{margin:12px 0 0;font-size:23px;letter-spacing:-.6px}
.profile-order-price{font-size:27px;font-weight:1000;letter-spacing:-.8px;color:#d29eff;white-space:nowrap}
.profile-order-meta{display:flex;flex-wrap:wrap;gap:12px;padding-top:13px;color:#8d9db7;font-size:13px}
.profile-order-meta span{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:12px;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.06)}
.profile-order-meta b{color:#e9edf8;font-weight:800}
.profile-credential-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin-top:16px}
.profile-credential-box{padding:16px;border-radius:18px;border:1px solid rgba(128,140,174,.16);background:linear-gradient(145deg,rgba(9,13,24,.95),rgba(11,15,28,.93))}
.profile-credential-box.wide{grid-column:1/-1}
.profile-credential-box small{display:block;margin-bottom:8px;color:#8f9eb8;font-size:12.5px;letter-spacing:.4px}
.profile-credential-box code,.profile-extra-note{display:block;word-break:break-word;color:#f2f6ff;font-size:15px;line-height:1.7;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}
.profile-credential-box code{padding:12px 13px;border-radius:14px;background:rgba(91,51,209,.12);border:1px solid rgba(125,91,255,.16);color:#9ef2ff}
.profile-extra-note{font-family:inherit;background:rgba(255,255,255,.02);padding:13px 14px;border-radius:14px;color:#cfd7ea;border:1px solid rgba(255,255,255,.04)}
.profile-empty-state{padding:42px 26px;border-radius:24px;text-align:center}
.profile-empty-icon{width:72px;height:72px;border-radius:22px;margin:0 auto 18px;display:grid;place-items:center;background:linear-gradient(145deg,#6f35ff,#c12cff 65%,#39d7ff);font-size:32px;box-shadow:0 18px 35px rgba(109,54,255,.28)}
.profile-empty-state h3{margin:0 0 10px;font-size:29px;letter-spacing:-.8px}
.profile-empty-state p{max-width:560px;margin:0 auto 18px;color:#8a99b3;line-height:1.75;font-size:15px}

@media(max-width:1100px){
  .profile-hero-card{grid-template-columns:1fr}
  .profile-side-panel{grid-template-columns:1fr;display:grid}
  .profile-overview-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:820px){
  .profile-page{padding-top:22px!important}
  .profile-hero-main{padding:22px;align-items:flex-start;flex-direction:column}
  .profile-avatar{width:76px;height:76px;flex-basis:76px;font-size:32px}
  .profile-hero-copy h1{font-size:35px}
  .profile-balance-card strong{font-size:33px}
  .profile-overview-grid{grid-template-columns:1fr 1fr}
  .profile-order-top{flex-direction:column;align-items:flex-start}
  .profile-credential-grid{grid-template-columns:1fr}
  .profile-credential-box.wide{grid-column:auto}
}
@media(max-width:640px){
  .profile-page{padding-bottom:28px!important}
  .profile-hero-main,.profile-side-panel,.profile-stat-card,.profile-order-card,.profile-empty-state{border-radius:20px}
  .profile-hero-main{padding:18px}
  .profile-hero-copy h1{font-size:31px;line-height:1.05}
  .profile-email{font-size:14px}
  .profile-hero-tags{gap:8px;margin-top:14px}
  .profile-tag{font-size:11.5px;padding:8px 11px}
  .profile-side-panel{padding:14px}
  .profile-balance-card{padding:16px;border-radius:18px}
  .profile-balance-card strong{font-size:29px}
  .profile-balance-actions{grid-template-columns:1fr}
  .profile-quick-box{grid-template-columns:1fr 1fr}
  .profile-overview-grid{grid-template-columns:1fr;gap:12px}
  .profile-stat-card{padding:17px;border-radius:18px}
  .profile-order-card{padding:18px;border-radius:20px}
  .profile-order-top h3{font-size:20px}
  .profile-order-price{font-size:24px}
  .profile-order-meta{gap:8px}
  .profile-order-meta span{width:100%;justify-content:flex-start}
  .profile-orders-head .btn{display:none}
  .profile-empty-state{padding:34px 18px}
  .profile-empty-state h3{font-size:25px}
}
@media(max-width:420px){
  .profile-hero-copy h1{font-size:28px}
  .profile-avatar{width:68px;height:68px;flex-basis:68px;border-radius:21px;font-size:28px}
  .profile-quick-box{grid-template-columns:1fr}
  .profile-card-kicker,.profile-order-id,.profile-stat-card small,.profile-credential-box small{font-size:11.5px}
  .profile-balance-card strong{font-size:26px}
  .profile-order-price{font-size:22px}
  .profile-order-top h3{font-size:18px}
}


/* USER WALLET RECHARGE PRO V2 */
.wallet-page{padding-top:34px!important;padding-bottom:44px!important}

.wallet-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) 360px;
  gap:18px;
  margin-bottom:16px;
}

.wallet-hero-copy,
.wallet-balance-panel,
.wallet-deposit-card,
.wallet-how-card,
.wallet-qr-panel,
.wallet-transfer-panel,
.wallet-history-section,
.wallet-disabled-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(132,145,184,.15);
  background:
    radial-gradient(circle at 100% 0,rgba(110,56,255,.08),transparent 28%),
    linear-gradient(145deg,rgba(13,18,33,.97),rgba(7,11,22,.98));
  box-shadow:0 22px 55px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}

.wallet-hero-copy{
  min-height:245px;
  padding:31px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-radius:26px;
  background:
    radial-gradient(circle at 0 0,rgba(122,63,255,.18),transparent 30%),
    radial-gradient(circle at 88% 14%,rgba(35,211,255,.06),transparent 28%),
    linear-gradient(145deg,rgba(12,17,32,.98),rgba(7,11,22,.98));
}

.wallet-hero-copy h1{
  margin:8px 0 10px;
  font-size:48px;
  line-height:1;
  letter-spacing:-1.8px;
}

.wallet-hero-copy>p{
  max-width:720px;
  margin:0;
  color:#8998b2;
  font-size:14px;
  line-height:1.72;
}

.wallet-user-strip{
  display:flex;
  align-items:center;
  gap:11px;
  margin-top:22px;
}

.wallet-user-avatar{
  width:42px;
  height:42px;
  border-radius:13px;
  display:grid;
  place-items:center;
  font-size:16px;
  font-weight:1000;
  background:linear-gradient(145deg,#6c37ff,#c12cff 64%,#3bd9ff);
  box-shadow:0 10px 24px rgba(103,48,235,.23);
}

.wallet-user-strip>div:last-child{
  display:flex;
  flex-direction:column;
}

.wallet-user-strip b{font-size:13px}
.wallet-user-strip small{margin-top:3px;color:#7e8ba5;font-size:11.5px}

.wallet-balance-panel{
  padding:25px;
  border-radius:26px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.wallet-balance-panel>small{
  color:#ad91f2;
  font-size:10.5px;
  font-weight:900;
  letter-spacing:1.4px;
}

.wallet-balance-panel>strong{
  display:block;
  margin-top:9px;
  color:#c98cff;
  font-size:37px;
  line-height:1;
  letter-spacing:-1px;
}

.wallet-balance-panel>span{
  margin:10px 0 18px;
  color:#8290ab;
  font-size:12.5px;
}

.wallet-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:18px;
}

.wallet-stats>div{
  padding:15px 17px;
  display:flex;
  align-items:center;
  gap:12px;
  border-radius:18px;
  border:1px solid rgba(132,145,184,.13);
  background:linear-gradient(145deg,rgba(13,18,33,.94),rgba(8,12,22,.96));
}

.wallet-stat-icon{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  font-weight:1000;
}

.wallet-stat-icon.purple{color:#d2b8ff;background:rgba(132,70,255,.13);border:1px solid rgba(145,90,255,.18)}
.wallet-stat-icon.green{color:#8ff1be;background:rgba(41,203,137,.10);border:1px solid rgba(51,220,149,.17)}
.wallet-stat-icon.cyan{color:#7eeaff;background:rgba(38,197,255,.10);border:1px solid rgba(50,207,255,.18)}

.wallet-stats small{display:block;color:#8090aa;font-size:10.5px}
.wallet-stats b{display:block;margin-top:4px;font-size:16px}

.wallet-error{margin:0 0 16px!important}

.wallet-create-grid,
.wallet-payment-grid{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);
  gap:18px;
  margin-bottom:22px;
}

.wallet-deposit-card,
.wallet-how-card,
.wallet-qr-panel,
.wallet-transfer-panel{
  padding:24px;
  border-radius:24px;
}

.wallet-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
  margin-bottom:18px;
}

.wallet-card-head h2,
.wallet-how-card h2,
.wallet-transfer-panel h2{
  margin:7px 0 0;
  font-size:27px;
  letter-spacing:-.7px;
}

.wallet-card-head p{
  margin:7px 0 0;
  color:#7f8da8;
  font-size:12.5px;
}

.wallet-card-head-icon{
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:20px;
  font-weight:1000;
  background:linear-gradient(145deg,#6f37ff,#c12cff 60%,#41d8ff);
  box-shadow:0 12px 28px rgba(102,48,235,.24);
}

.quick-amount-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
  margin-bottom:19px;
}

.quick-amount{
  min-height:48px;
  padding:8px;
  cursor:pointer;
  border-radius:13px;
  border:1px solid rgba(132,145,184,.14);
  background:rgba(10,14,27,.78);
  color:#d9e0ef;
  font:inherit;
  font-size:12.5px;
  font-weight:850;
  transition:.2s ease;
}

.quick-amount:hover,
.quick-amount.active{
  color:#fff;
  transform:translateY(-1px);
  border-color:rgba(150,94,255,.42);
  background:linear-gradient(135deg,rgba(112,55,255,.28),rgba(54,195,255,.07));
  box-shadow:0 10px 24px rgba(63,26,146,.17);
}

.wallet-amount-field{
  display:block;
  margin-bottom:14px;
  color:#dce3f3;
  font-size:12.5px;
  font-weight:800;
}

.wallet-amount-field>span{display:block;margin-bottom:8px}

.wallet-amount-input{
  position:relative;
}

.wallet-amount-input input{
  width:100%;
  min-height:56px;
  padding:12px 70px 12px 15px!important;
  border-radius:14px!important;
  border:1px solid rgba(134,147,187,.18)!important;
  background:#080d19!important;
  color:#fff!important;
  font-size:19px!important;
  font-weight:850;
}

.wallet-amount-input b{
  position:absolute;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  color:#8a98b3;
  font-size:11.5px;
  letter-spacing:.7px;
}

.wallet-notice{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:12px 13px;
  margin:14px 0;
  border-radius:13px;
  border:1px solid rgba(255,187,63,.13);
  background:rgba(255,179,49,.055);
}

.wallet-notice b{color:#ffd688;font-size:11.5px}
.wallet-notice span{color:#8e99ae;font-size:10.5px;line-height:1.6}

.wallet-create-button{
  width:100%;
  min-height:50px;
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.wallet-how-card{
  background:
    radial-gradient(circle at 100% 0,rgba(45,208,255,.07),transparent 28%),
    linear-gradient(145deg,rgba(13,18,33,.97),rgba(7,11,22,.98));
}

.wallet-step{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.055);
}

.wallet-step:last-child{border-bottom:0}

.wallet-step i{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(116,64,255,.10);
  border:1px solid rgba(143,95,255,.16);
  color:#cab6ff;
  font-style:normal;
  font-size:11.5px;
  font-weight:950;
}

.wallet-step div{display:flex;flex-direction:column}
.wallet-step b{font-size:13px}
.wallet-step span{margin-top:4px;color:#7d8aa4;font-size:11.5px;line-height:1.5}

.wallet-disabled-card{
  display:flex;
  align-items:center;
  gap:16px;
  padding:24px;
  margin-bottom:20px;
  border-radius:22px;
}

.wallet-disabled-icon{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  border-radius:15px;
  color:#ffd98d;
  background:rgba(255,183,55,.08);
  border:1px solid rgba(255,192,69,.16);
  font-size:21px;
  font-weight:1000;
}

.wallet-disabled-card h2{margin:0;font-size:21px}
.wallet-disabled-card p{margin:6px 0 0;color:#8391aa;font-size:12.5px}

.wallet-payment-id{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(145,96,255,.18);
  background:rgba(118,60,255,.10);
  color:#cdb8ff;
  font-size:11.5px;
  font-weight:900;
}

.wallet-qr-panel{text-align:center}
.wallet-qr-panel .wallet-card-head{text-align:left}

.wallet-qr-wrap{
  max-width:350px;
  margin:0 auto;
  padding:10px;
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 45px rgba(0,0,0,.26),0 0 30px rgba(107,50,255,.10);
}

.wallet-qr-image{
  display:block;
  width:100%;
  border-radius:12px;
}

.wallet-qr-missing{
  min-height:300px;
  display:grid;
  place-items:center;
  color:#6c7485;
  font-size:13px;
}

.wallet-pay-amount{
  display:block;
  margin:18px 0 13px;
  font-size:32px;
  letter-spacing:-1px;
  color:#d19bff;
}

.wallet-payment-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 13px;
  border-radius:999px;
  color:#ffd98b;
  background:rgba(255,184,53,.075);
  border:1px solid rgba(255,195,74,.16);
  font-size:11.5px;
}

.wallet-payment-status.paid{
  color:#8df2c0;
  background:rgba(46,207,140,.075);
  border-color:rgba(55,222,153,.17);
}

.wallet-status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 0 10px currentColor;
}

.wallet-auto-check{
  margin:10px 0 0;
  color:#7886a0;
  font-size:10.5px;
}

.wallet-transfer-list{
  margin-top:17px;
  border:1px solid rgba(132,145,183,.12);
  border-radius:17px;
  overflow:hidden;
}

.wallet-transfer-list>div{
  padding:14px 15px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.055);
  background:rgba(8,12,23,.54);
}

.wallet-transfer-list>div:last-child{border-bottom:0}
.wallet-transfer-list span{color:#8190aa;font-size:11.5px}
.wallet-transfer-list b{color:#edf1fb;font-size:13px;text-align:right}

.wallet-transfer-code{
  background:linear-gradient(135deg,rgba(114,58,255,.08),rgba(44,195,255,.025))!important;
}

.wallet-transfer-code b{
  color:#cdb6ff;
  font-size:18px;
  letter-spacing:.8px;
}

.wallet-copy-row{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}

.copy-button{
  min-height:30px;
  padding:5px 9px;
  cursor:pointer;
  border-radius:9px;
  border:1px solid rgba(133,146,184,.14);
  background:rgba(255,255,255,.03);
  color:#aab5cc;
  font-size:10px;
  font-weight:850;
  transition:.18s ease;
}

.copy-button:hover,
.copy-button.copied{
  color:#fff;
  border-color:rgba(142,92,255,.27);
  background:rgba(116,60,255,.14);
}

.copy-button.primary{
  color:#e3d6ff;
  border-color:rgba(145,92,255,.22);
  background:rgba(119,58,255,.10);
}

.wallet-warning-box{
  padding:13px 14px;
  margin-top:15px;
  border-radius:14px;
  border:1px solid rgba(255,180,58,.13);
  background:rgba(255,170,43,.045);
}

.wallet-warning-box b{color:#ffd182;font-size:11.5px}
.wallet-warning-box p{margin:5px 0 0;color:#8995aa;font-size:10.5px;line-height:1.62}

.wallet-done-button{
  width:100%;
  margin-top:15px;
}

.wallet-history-section{
  padding:20px;
  border-radius:24px;
}

.wallet-history-head{
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-bottom:14px;
}

.wallet-history-head h2{
  margin:7px 0 0;
  font-size:26px;
  letter-spacing:-.7px;
}

.wallet-history-head p{
  margin:6px 0 0;
  color:#7d8aa4;
  font-size:11.5px;
}

.wallet-history-table-wrap{
  overflow-x:auto;
  border-radius:16px;
  border:1px solid rgba(132,145,183,.11);
}

.wallet-history-table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}

.wallet-history-table th,
.wallet-history-table td{
  padding:13px 14px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.05);
}

.wallet-history-table th{
  color:#7987a1;
  font-size:10px;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
  background:rgba(9,13,25,.78);
}

.wallet-history-table td{
  color:#dbe2ef;
  font-size:11.5px;
}

.wallet-history-table tbody tr:last-child td{border-bottom:0}
.wallet-history-table code{color:#aeefff;font-size:11.5px}

.wallet-history-status{
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:850;
}

.wallet-history-status.pending{color:#ffd783;background:rgba(255,180,47,.075);border:1px solid rgba(255,193,64,.12)}
.wallet-history-status.paid{color:#8ceebe;background:rgba(44,206,139,.075);border:1px solid rgba(60,222,153,.13)}
.wallet-history-status.cancelled,
.wallet-history-status.expired{color:#ff9caf;background:rgba(255,74,112,.065);border:1px solid rgba(255,93,126,.13)}

.wallet-empty-history{
  padding:30px;
  text-align:center;
  color:#77849e;
}

.nav-recharge-link{
  color:#c4adff!important;
}

.nav-recharge-link:before{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:6px;
  border-radius:50%;
  background:#8c46ff;
  box-shadow:0 0 10px #8c46ff;
}

@media(max-width:1050px){
  .wallet-hero{grid-template-columns:1fr}
  .wallet-create-grid,
  .wallet-payment-grid{grid-template-columns:1fr}
  .wallet-balance-panel{min-height:190px}
}

@media(max-width:720px){
  .wallet-page{padding-top:22px!important;padding-bottom:30px!important}
  .wallet-hero-copy,
  .wallet-balance-panel,
  .wallet-deposit-card,
  .wallet-how-card,
  .wallet-qr-panel,
  .wallet-transfer-panel,
  .wallet-history-section{border-radius:20px}
  .wallet-hero-copy{min-height:auto;padding:21px}
  .wallet-hero-copy h1{font-size:37px}
  .wallet-hero-copy>p{font-size:12.5px}
  .wallet-balance-panel{padding:20px;min-height:auto}
  .wallet-balance-panel>strong{font-size:32px}
  .wallet-stats{grid-template-columns:1fr}
  .wallet-create-grid,
  .wallet-payment-grid{gap:12px}
  .wallet-deposit-card,
  .wallet-how-card,
  .wallet-qr-panel,
  .wallet-transfer-panel{padding:17px}
  .quick-amount-grid{grid-template-columns:repeat(2,1fr)}
  .wallet-transfer-list>div{align-items:flex-start;flex-direction:column;gap:8px}
  .wallet-copy-row{width:100%;justify-content:space-between}
  .wallet-transfer-list b{text-align:left}
  .wallet-history-section{padding:15px}
}

@media(max-width:420px){
  .wallet-hero-copy h1{font-size:33px}
  .wallet-user-strip{margin-top:17px}
  .wallet-balance-panel>strong{font-size:29px}
  .quick-amount-grid{gap:7px}
  .quick-amount{min-height:44px;font-size:11.5px}
  .wallet-card-head h2,
  .wallet-how-card h2,
  .wallet-transfer-panel h2{font-size:23px}
  .wallet-pay-amount{font-size:28px}
  .wallet-qr-wrap{padding:7px;border-radius:16px}
}



/* FOOTER COPYRIGHT CENTER S2ND */
.footer-bottom{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:16px!important;
  min-height:64px!important;
  padding:14px 0 20px!important;
}

.footer-copyright{
  grid-column:2!important;
  justify-self:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  color:#68738a!important;
  font-size:10.5px!important;
}

.footer-bottom-right{
  grid-column:3!important;
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  min-width:0!important;
}

/* Dòng cũ đã bị xóa khỏi HTML, ẩn thêm để tránh CSS cũ ảnh hưởng */
.footer-bottom-note{
  display:none!important;
}

@media(max-width:900px){
  .footer-bottom{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    gap:10px!important;
  }

  .footer-copyright{
    grid-column:1!important;
    grid-row:2!important;
    justify-self:center!important;
    width:100%!important;
    text-align:center!important;
  }

  .footer-bottom-right{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
    width:auto!important;
    justify-content:center!important;
  }
}

@media(max-width:520px){
  .footer-bottom-right{
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .footer-copyright{
    white-space:normal!important;
    line-height:1.5!important;
  }
}



/* PUBLIC FONT ROBOTO CONDENSED */
body:not(.admin-body){
  font-family:"Roboto Condensed","Arial Narrow","Helvetica Neue",Arial,sans-serif!important;
  font-stretch:condensed;
}

body:not(.admin-body) button,
body:not(.admin-body) input,
body:not(.admin-body) textarea,
body:not(.admin-body) select{
  font-family:"Roboto Condensed","Arial Narrow","Helvetica Neue",Arial,sans-serif!important;
}

body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) h4,
body:not(.admin-body) .btn,
body:not(.admin-body) .game-overlay span,
body:not(.admin-body) .product-bottom strong,
body:not(.admin-body) .brand,
body:not(.admin-body) .nav nav a,
body:not(.admin-body) .eyebrow,
body:not(.admin-body) .pill{
  font-family:"Roboto Condensed","Arial Narrow","Helvetica Neue",Arial,sans-serif!important;
}

body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) .btn,
body:not(.admin-body) .game-overlay span{
  font-weight:800!important;
}

body:not(.admin-body) .hero h1{
  font-weight:900!important;
  letter-spacing:-2px!important;
}

body:not(.admin-body) .section h2,
body:not(.admin-body) .profile-hero-copy h1,
body:not(.admin-body) .wallet-hero-copy h1,
body:not(.admin-body) .auth-card-head h1{
  font-weight:900!important;
  letter-spacing:-1px!important;
}

body:not(.admin-body) .nav nav a,
body:not(.admin-body) .btn{
  letter-spacing:.1px!important;
}

body:not(.admin-body) .eyebrow,
body:not(.admin-body) .pill{
  letter-spacing:1.25px!important;
}

body:not(.admin-body) code,
body:not(.admin-body) .profile-credential-box code,
body:not(.admin-body) .profile-extra-note{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
}



/* DESKTOP HEADER NAV NO-WRAP FIX */
@media(min-width:901px){
  .topbar .shell.nav{
    width:min(1380px,calc(100% - 28px))!important;
    min-height:72px!important;
    gap:10px!important;
  }

  .site-logo-brand{
    flex:0 0 auto!important;
    max-width:205px!important;
    overflow:visible!important;
  }

  .site-logo-image{
    width:auto!important;
    max-width:205px!important;
    height:54px!important;
    object-fit:contain!important;
  }

  .nav nav{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    flex-wrap:nowrap!important;
    gap:2px!important;
    min-width:max-content!important;
  }

  .nav nav a{
    flex:0 0 auto!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    padding:10px 8px!important;
    border-radius:9px!important;
    font-size:14.5px!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:.05px!important;
  }

  .nav-recharge-link:before{
    margin-right:5px!important;
    width:6px!important;
    height:6px!important;
  }

  .top-search{
    flex:1 1 230px!important;
    min-width:190px!important;
    max-width:270px!important;
    width:auto!important;
    margin-left:6px!important;
  }

  .top-search input{
    min-width:0!important;
    font-size:14px!important;
  }

  .actions{
    flex:0 0 auto!important;
    white-space:nowrap!important;
    gap:7px!important;
  }

  .balance,
  .user-pill,
  .actions .btn{
    white-space:nowrap!important;
  }

  .balance{
    font-size:14px!important;
  }

  .user-pill b{
    font-size:13.5px!important;
  }

  .actions .btn.compact{
    font-size:13px!important;
    padding:10px 13px!important;
  }
}

/* Slightly tighter only on smaller desktop widths, while keeping one line */
@media(min-width:901px) and (max-width:1250px){
  .topbar .shell.nav{
    gap:7px!important;
  }

  .site-logo-brand{
    max-width:175px!important;
  }

  .site-logo-image{
    max-width:175px!important;
    height:48px!important;
  }

  .nav nav a{
    padding:9px 6px!important;
    font-size:13.5px!important;
  }

  .top-search{
    min-width:160px!important;
    max-width:210px!important;
  }

  .actions .btn.compact{
    padding:9px 10px!important;
    font-size:12.5px!important;
  }

  .user-pill b{
    max-width:90px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}



/* TOP NAV PREMIUM FRAME */
.topbar{
  padding:8px 0!important;
  border-bottom:0!important;
  background:
    linear-gradient(180deg,rgba(5,8,18,.94),rgba(5,8,18,.82))!important;
}

.topbar .shell.nav{
  position:relative!important;
  padding:7px 10px!important;
  border:1px solid transparent!important;
  border-radius:17px!important;
  background:
    linear-gradient(180deg,rgba(10,14,28,.95),rgba(7,10,21,.97)) padding-box,
    linear-gradient(100deg,
      rgba(111,58,255,.58),
      rgba(192,49,255,.40) 34%,
      rgba(50,210,255,.34) 68%,
      rgba(111,58,255,.48)
    ) border-box!important;
  box-shadow:
    0 14px 38px rgba(0,0,0,.30),
    0 0 28px rgba(108,52,255,.08),
    inset 0 1px 0 rgba(255,255,255,.035)!important;
}

.topbar .shell.nav:before{
  content:""!important;
  position:absolute!important;
  inset:1px!important;
  z-index:0!important;
  pointer-events:none!important;
  border-radius:15px!important;
  background:
    radial-gradient(circle at 13% 0,rgba(137,66,255,.10),transparent 25%),
    radial-gradient(circle at 86% 100%,rgba(35,205,255,.055),transparent 26%)!important;
}

.topbar .shell.nav > *{
  position:relative!important;
  z-index:1!important;
}

/* Give each nav item a subtle framed hover state */
@media(min-width:901px){
  .nav nav{
    padding:3px!important;
    border-radius:12px!important;
    border:1px solid rgba(133,112,193,.08)!important;
    background:rgba(255,255,255,.018)!important;
  }

  .nav nav a{
    border:1px solid transparent!important;
  }

  .nav nav a:hover{
    border-color:rgba(151,104,255,.20)!important;
    background:
      linear-gradient(135deg,rgba(112,58,255,.13),rgba(44,201,255,.045))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
  }

  .top-search{
    border-color:rgba(131,145,186,.17)!important;
    background:rgba(8,13,25,.86)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.022)!important;
  }

  .balance,
  .user-pill,
  .actions .btn.compact{
    border-radius:11px!important;
  }
}

/* Mobile keeps the same framed identity without making header bulky */
@media(max-width:900px){
  .topbar{
    padding:6px 0!important;
  }

  .topbar .shell.nav{
    width:calc(100% - 16px)!important;
    min-height:58px!important;
    padding:5px 7px!important;
    border-radius:15px!important;
  }

  .topbar .shell.nav:before{
    border-radius:13px!important;
  }
}



/* HERO TITLE ACCENT SAFE SIZE FIX */
@media(min-width:901px){
  body:not(.admin-body) .hero h1{
    font-size:clamp(48px,4.75vw,70px)!important;
    line-height:1.06!important;
    letter-spacing:-1.8px!important;
    max-width:700px!important;
    padding-top:3px!important;
    padding-bottom:4px!important;
    overflow:visible!important;
  }
}

/* Keep Vietnamese accents clear on tablets and phones too */
@media(max-width:900px){
  body:not(.admin-body) .hero h1{
    line-height:1.08!important;
    padding-top:2px!important;
    padding-bottom:3px!important;
    overflow:visible!important;
  }
}



/* GLOBAL FONT SYNC 100 PERCENT */
:root{
  --s2-font:"Roboto Condensed","Arial Narrow","Helvetica Neue",Arial,sans-serif;
}

/* One typography family for the entire source UI */
html,
body,
button,
input,
textarea,
select,
option,
optgroup,
table,
thead,
tbody,
tfoot,
tr,
th,
td,
a,
label,
small,
b,
strong,
em,
i,
p,
span,
div,
section,
article,
aside,
header,
footer,
nav,
main,
form,
fieldset,
legend,
h1,
h2,
h3,
h4,
h5,
h6,
code,
pre,
kbd,
samp{
  font-family:var(--s2-font)!important;
}

/* Normalize form controls across Chrome/Edge/Firefox */
button,
input,
textarea,
select{
  font-style:normal!important;
  letter-spacing:inherit;
}

/* Keep typography weight consistent throughout frontend/admin/install */
h1,h2,h3,h4,h5,h6{
  font-weight:900!important;
}

button,
.btn,
.admin-nav a,
.admin-card-title h2,
.admin-top b,
.auth-card h1,
.install h1{
  font-weight:800!important;
}

/* Admin was previously using Inter/system font */
.admin-body,
.admin-body *,
.install-page,
.install-page *{
  font-family:var(--s2-font)!important;
}

/* Installer dimensions/weights aligned with the rest of the website */
.install-page .auth-card.install .eyebrow{
  font-weight:900!important;
  letter-spacing:1.25px!important;
}

.install-page .auth-card.install h1{
  font-size:33px!important;
  line-height:1.08!important;
  letter-spacing:-.8px!important;
}

.install-page .auth-card.install p,
.install-page .auth-card.install label,
.install-page .auth-card.install input,
.install-page .auth-card.install button{
  font-family:var(--s2-font)!important;
}

/* Admin headings and navigation now match frontend weight/shape */
.admin-body .admin-brand-copy b,
.admin-body .admin-nav a,
.admin-body .admin-top-left b,
.admin-body .admin-user b,
.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body .btn,
.admin-body button,
.admin-body input,
.admin-body textarea,
.admin-body select,
.admin-body table,
.admin-body th,
.admin-body td{
  font-family:var(--s2-font)!important;
}

/* Replace earlier monospace exceptions so the whole UI is truly synchronized */
body:not(.admin-body) code,
body:not(.admin-body) .profile-credential-box code,
body:not(.admin-body) .profile-extra-note,
.wallet-history-table code{
  font-family:var(--s2-font)!important;
}



/* NAV FRAME ALIGN WITH HERO FINAL */
@media(min-width:901px){

  /* Khung nav bằng đúng bề rộng .shell / hero phía dưới */
  .topbar .shell.nav{
    width:min(1360px,calc(100% - 40px))!important;
    min-height:72px!important;
    padding:7px 10px!important;
    gap:10px!important;
  }

  /* Logo giữ gọn để nhường chỗ cho menu */
  .site-logo-brand{
    flex:0 0 auto!important;
    max-width:195px!important;
  }

  .site-logo-image{
    max-width:195px!important;
    height:52px!important;
  }

  /* Menu không xuống dòng */
  .nav nav{
    flex:0 0 auto!important;
    flex-wrap:nowrap!important;
    min-width:max-content!important;
  }

  .nav nav a{
    white-space:nowrap!important;
  }

  /* Đẩy cụm tìm kiếm + tài khoản hẳn sang bên phải,
     không còn khoảng trống lớn sau nút Đăng ký / tài khoản */
  .top-search{
    margin-left:auto!important;
    flex:0 1 330px!important;
    width:330px!important;
    min-width:210px!important;
    max-width:330px!important;
  }

  .actions{
    margin-left:0!important;
    flex:0 0 auto!important;
  }

  /* Khoảng cách hai mép cân nhau */
  .actions:last-child{
    margin-right:0!important;
  }
}

/* Desktop vừa: vẫn căn kín hai đầu nhưng co tìm kiếm nhẹ */
@media(min-width:901px) and (max-width:1250px){
  .topbar .shell.nav{
    width:min(1360px,calc(100% - 32px))!important;
    gap:7px!important;
  }

  .site-logo-brand{
    max-width:170px!important;
  }

  .site-logo-image{
    max-width:170px!important;
    height:47px!important;
  }

  .top-search{
    margin-left:auto!important;
    flex-basis:230px!important;
    width:230px!important;
    min-width:160px!important;
    max-width:230px!important;
  }
}

/* Ở màn lớn, cho ô tìm kiếm rộng hơn chút để thanh nav nhìn cân */
@media(min-width:1450px){
  .top-search{
    flex-basis:360px!important;
    width:360px!important;
    max-width:360px!important;
  }
}


/* GLOBAL FONT SIZE BUMP 2026 APPLIED */


/* NAV ITEMS EQUAL WIDTH + BIGGER TEXT FINAL */
@media(min-width:1251px){
  .topbar .shell.nav{
    gap:10px!important;
  }

  .nav nav{
    gap:4px!important;
    padding:3px!important;
    flex:0 0 auto!important;
  }

  .nav nav a{
    flex:0 0 104px!important;
    width:104px!important;
    min-width:104px!important;
    min-height:42px!important;
    padding:0 10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:nowrap!important;
    border-radius:9px!important;
  }

  .top-search{
    min-width:220px!important;
  }
}

@media(min-width:901px) and (max-width:1250px){
  .nav nav{
    gap:3px!important;
  }

  .nav nav a{
    flex:0 0 90px!important;
    width:90px!important;
    min-width:90px!important;
    min-height:40px!important;
    padding:0 7px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:nowrap!important;
  }

  .top-search{
    min-width:155px!important;
  }
}

/* Tăng nhẹ độ đọc của text phụ mà trước đây quá nhỏ */
body:not(.admin-body) small,
body:not(.admin-body) .muted,
body:not(.admin-body) .meta,
body:not(.admin-body) .game-name,
body:not(.admin-body) .benefit-card div span,
body:not(.admin-body) .hero-mini small,
body:not(.admin-body) .footer-grid p,
body:not(.admin-body) .footer-grid a{
  line-height:1.5!important;
}

.admin-body small,
.admin-body .muted,
.admin-body td,
.admin-body th,
.admin-body .admin-nav a,
.admin-body label{
  line-height:1.45!important;
}



/* NAV RIGHT EDGE OVERFLOW FIX */
@media(min-width:1251px){
  .topbar .shell.nav{
    gap:8px!important;
  }

  .site-logo-brand{
    max-width:180px!important;
  }

  .site-logo-image{
    max-width:180px!important;
    height:48px!important;
  }

  .nav nav{
    gap:3px!important;
    min-width:0!important;
  }

  .nav nav a{
    flex:0 0 92px!important;
    width:92px!important;
    min-width:92px!important;
    font-size:14px!important;
  }

  .top-search{
    flex:1 1 255px!important;
    width:255px!important;
    min-width:180px!important;
    max-width:255px!important;
    margin-left:auto!important;
  }

  .actions{
    gap:6px!important;
    min-width:0!important;
    flex:0 0 auto!important;
  }

  .balance{
    padding:9px 9px!important;
    font-size:13px!important;
  }

  .actions .btn.compact{
    padding:10px 11px!important;
    font-size:12.5px!important;
  }

  .user-pill{
    min-width:0!important;
    max-width:150px!important;
    padding-right:8px!important;
    gap:7px!important;
  }

  .user-pill b{
    display:block!important;
    max-width:90px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:13px!important;
  }
}

@media(min-width:901px) and (max-width:1250px){
  .topbar .shell.nav{
    gap:7px!important;
  }

  .site-logo-brand{
    max-width:165px!important;
  }

  .site-logo-image{
    max-width:165px!important;
    height:46px!important;
  }

  .nav nav{
    gap:2px!important;
    min-width:0!important;
  }

  .nav nav a{
    flex:0 0 82px!important;
    width:82px!important;
    min-width:82px!important;
    font-size:13px!important;
  }

  .top-search{
    flex:1 1 190px!important;
    width:190px!important;
    min-width:145px!important;
    max-width:190px!important;
  }

  .actions{
    gap:5px!important;
  }

  .balance{
    padding:8px 8px!important;
    font-size:12.5px!important;
  }

  .actions .btn.compact{
    padding:9px 9px!important;
    font-size:12px!important;
  }

  .user-pill{
    max-width:126px!important;
    padding-right:7px!important;
  }

  .user-pill b{
    max-width:72px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:12.5px!important;
  }
}


/* NAV RIGHT OVERFLOW FINAL FIX */
@media(min-width:901px){

  /* Giữ toàn bộ nội dung nằm gọn bên trong khung nav */
  .topbar .shell.nav{
    width:min(1360px,calc(100% - 40px))!important;
    max-width:1360px!important;
    overflow:hidden!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  .site-logo-brand{
    flex:0 0 auto!important;
  }

  .nav nav{
    flex:0 1 auto!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  .nav nav a{
    flex:0 1 96px!important;
    width:auto!important;
    min-width:82px!important;
    max-width:104px!important;
  }

  /* Ô tìm kiếm được phép co lại trước khi đẩy cụm tài khoản ra ngoài */
  .top-search{
    flex:1 1 250px!important;
    width:auto!important;
    min-width:150px!important;
    max-width:320px!important;
    margin-left:auto!important;
  }

  .actions{
    flex:0 0 auto!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }

  .balance{
    flex:0 0 auto!important;
  }

  .user-pill{
    flex:0 1 auto!important;
    min-width:0!important;
    max-width:150px!important;
    padding-right:10px!important;
  }

  .user-pill b{
    display:block!important;
    min-width:0!important;
    max-width:104px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}

/* Ở desktop vừa, thu menu + search thêm một chút để không bao giờ văng khung */
@media(min-width:901px) and (max-width:1180px){
  .topbar .shell.nav{
    gap:6px!important;
  }

  .site-logo-brand{
    max-width:165px!important;
  }

  .site-logo-image{
    max-width:165px!important;
    height:46px!important;
  }

  .nav nav a{
    flex-basis:82px!important;
    min-width:72px!important;
    max-width:90px!important;
    padding-left:5px!important;
    padding-right:5px!important;
  }

  .top-search{
    flex-basis:185px!important;
    min-width:130px!important;
    max-width:210px!important;
  }

  .user-pill{
    max-width:125px!important;
  }

  .user-pill b{
    max-width:80px!important;
  }
}



/* RESPONSIVE STABILITY FINAL 2026 */

/* ---------- DESKTOP ---------- */
@media(min-width:901px){
  .topbar{
    padding:8px 0!important;
  }

  /* Khung nav bằng đúng .shell của nội dung bên dưới */
  .topbar .shell.nav{
    width:min(1320px,calc(100% - 32px))!important;
    max-width:1320px!important;
    height:72px!important;
    min-height:72px!important;
    max-height:72px!important;
    padding:7px 10px!important;
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    overflow:hidden!important;
  }

  .site-logo-brand{
    flex:0 0 180px!important;
    width:180px!important;
    max-width:180px!important;
    height:54px!important;
    display:flex!important;
    align-items:center!important;
    overflow:hidden!important;
  }

  .site-logo-image{
    display:block!important;
    width:100%!important;
    height:50px!important;
    max-width:180px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }

  .hamb{
    display:none!important;
  }

  .nav nav{
    position:static!important;
    flex:0 1 auto!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    display:flex!important;
    align-items:center!important;
    flex-direction:row!important;
    gap:3px!important;
    margin:0!important;
    padding:3px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
    overflow:hidden!important;
    background:rgba(255,255,255,.018)!important;
    border:1px solid rgba(133,112,193,.08)!important;
    border-radius:12px!important;
    box-shadow:none!important;
  }

  .nav nav a{
    flex:0 1 88px!important;
    width:auto!important;
    min-width:72px!important;
    max-width:100px!important;
    min-height:40px!important;
    padding:0 7px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    line-height:1!important;
  }

  .top-search{
    flex:1 1 235px!important;
    width:auto!important;
    min-width:150px!important;
    max-width:285px!important;
    height:42px!important;
    margin-left:auto!important;
  }

  .actions{
    flex:0 0 auto!important;
    min-width:0!important;
    max-width:315px!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    overflow:hidden!important;
  }

  .balance,
  .actions .btn.compact,
  .user-pill{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }

  .user-pill{
    min-width:0!important;
    max-width:145px!important;
  }

  .user-pill b{
    max-width:96px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  /* Hero PC */
  .hero-panel{
    min-height:430px!important;
  }

  .hero-panel-bg>img{
    object-fit:cover!important;
    object-position:center right!important;
  }

  .hero-copy{
    width:60%!important;
    padding:52px 0 34px 52px!important;
  }
}

/* Desktop nhỏ / laptop */
@media(min-width:901px) and (max-width:1180px){
  .topbar .shell.nav{
    gap:5px!important;
  }

  .site-logo-brand{
    flex-basis:150px!important;
    width:150px!important;
    max-width:150px!important;
  }

  .site-logo-image{
    max-width:150px!important;
    height:45px!important;
  }

  .nav nav a{
    flex-basis:76px!important;
    min-width:66px!important;
    max-width:82px!important;
    padding:0 5px!important;
  }

  .top-search{
    flex-basis:165px!important;
    min-width:125px!important;
    max-width:185px!important;
  }

  .actions{
    gap:4px!important;
    max-width:275px!important;
  }

  .actions .btn.compact{
    padding-left:8px!important;
    padding-right:8px!important;
  }

  .user-pill{
    max-width:112px!important;
  }

  .user-pill b{
    max-width:67px!important;
  }
}

/* ---------- TABLET + PHONE HEADER ---------- */
@media(max-width:900px){
  html,
  body{
    overflow-x:hidden!important;
  }

  body.menu-open{
    overflow:hidden!important;
  }

  .topbar{
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
    min-height:0!important;
    padding:6px 0!important;
    background:rgba(5,8,18,.95)!important;
    backdrop-filter:blur(18px) saturate(1.2)!important;
  }

  /* Fix lỗi khung header bị kéo cao */
  .topbar .shell.nav{
    position:relative!important;
    width:calc(100% - 16px)!important;
    max-width:none!important;
    height:64px!important;
    min-height:64px!important;
    max-height:64px!important;
    margin:0 auto!important;
    padding:6px 7px!important;
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    overflow:visible!important;
    border-radius:15px!important;
  }

  .topbar .shell.nav:before{
    border-radius:13px!important;
  }

  .site-logo-brand{
    order:1!important;
    flex:0 1 145px!important;
    width:auto!important;
    min-width:90px!important;
    max-width:145px!important;
    height:48px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    overflow:hidden!important;
  }

  .site-logo-image{
    display:block!important;
    width:100%!important;
    max-width:145px!important;
    height:43px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }

  .top-search{
    display:none!important;
  }

  .actions{
    order:2!important;
    flex:0 0 auto!important;
    min-width:0!important;
    max-width:none!important;
    margin-left:auto!important;
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    overflow:visible!important;
  }

  .actions .login-btn,
  .actions .register-btn,
  .actions .auth-switch-btn{
    display:inline-flex!important;
    min-height:36px!important;
    padding:0 11px!important;
    border-radius:10px!important;
    white-space:nowrap!important;
  }

  .actions .register-btn span{
    display:none!important;
  }

  /* Thành viên trên mobile: chỉ giữ avatar/hồ sơ, bỏ các nút quá dài */
  .actions .balance,
  .actions > a[href="admin/"]{
    display:none!important;
  }

  .user-pill{
    min-width:38px!important;
    max-width:42px!important;
    height:38px!important;
    padding:3px!important;
    border-radius:11px!important;
  }

  .user-pill b{
    display:none!important;
  }

  .user-dot{
    margin:0!important;
  }

  .hamb{
    order:3!important;
    flex:0 0 38px!important;
    width:38px!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:5px!important;
    border-radius:11px!important;
  }

  /* Drawer menu luôn full theo chiều ngang, không còn panel bé lệch giữa */
  .nav nav{
    position:fixed!important;
    z-index:1100!important;
    top:78px!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    max-height:calc(100dvh - 94px)!important;
    margin:0!important;
    padding:10px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:5px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border-radius:16px!important;
    background:
      radial-gradient(circle at 100% 0,rgba(117,63,255,.12),transparent 34%),
      rgba(8,12,24,.985)!important;
    border:1px solid rgba(148,110,243,.24)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.52)!important;
    transform:translateY(-10px)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  .nav nav.open{
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  .nav nav a{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:44px!important;
    flex:0 0 auto!important;
    padding:0 13px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    text-align:left!important;
    white-space:nowrap!important;
    overflow:visible!important;
    border-radius:11px!important;
  }

  .nav nav a:after{
    display:none!important;
  }

  /* Hero tablet/mobile: không để ảnh làm vỡ card */
  .hero{
    padding-top:12px!important;
  }

  .hero-panel{
    min-height:560px!important;
    border-radius:20px!important;
    overflow:hidden!important;
  }

  .hero-panel-bg>img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:58% center!important;
  }

  .hero-panel:before{
    background:
      linear-gradient(180deg,
        rgba(5,7,17,.05) 0%,
        rgba(5,7,17,.18) 29%,
        rgba(5,7,17,.80) 55%,
        #050711 80%)!important;
  }

  .hero-copy{
    width:100%!important;
    padding:285px 24px 26px!important;
  }

  .hero-side-card{
    display:none!important;
  }

  .hero-rings{
    display:none!important;
  }

  .benefit-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* ---------- PHONE ---------- */
@media(max-width:640px){
  .shell{
    width:calc(100% - 18px)!important;
  }

  .topbar .shell.nav{
    width:calc(100% - 12px)!important;
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
    padding:5px 6px!important;
    gap:5px!important;
  }

  .site-logo-brand{
    flex-basis:132px!important;
    min-width:80px!important;
    max-width:132px!important;
    height:46px!important;
  }

  .site-logo-image{
    max-width:132px!important;
    height:40px!important;
  }

  .actions{
    gap:4px!important;
  }

  .actions .login-btn,
  .actions .register-btn,
  .actions .auth-switch-btn{
    min-height:35px!important;
    padding:0 10px!important;
  }

  .hamb{
    width:36px!important;
    height:36px!important;
    flex-basis:36px!important;
  }

  .nav nav{
    top:74px!important;
    left:8px!important;
    right:8px!important;
    padding:8px!important;
  }

  .hero-panel{
    min-height:525px!important;
  }

  .hero-panel-bg>img{
    object-position:60% center!important;
  }

  .hero-copy{
    padding:215px 15px 20px!important;
  }

  .hero h1{
    font-size:36px!important;
    line-height:1.07!important;
    letter-spacing:-1.3px!important;
    margin:14px 0 11px!important;
  }

  .hero p{
    font-size:13.5px!important;
    line-height:1.55!important;
  }

  .hero-actions{
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
  }

  .hero-actions .btn.big{
    min-height:43px!important;
    padding:0 8px!important;
    font-size:11px!important;
  }

  .hero-proof>div{
    min-width:0!important;
    padding:0 8px!important;
  }

  .benefit-grid{
    gap:7px!important;
  }

  .benefit-card{
    min-width:0!important;
  }
}

/* Phone hẹp: giữ header sạch, không nhồi quá nhiều nút */
@media(max-width:420px){
  .site-logo-brand{
    flex-basis:120px!important;
    max-width:120px!important;
  }

  .site-logo-image{
    max-width:120px!important;
    height:38px!important;
  }

  .actions .login-btn{
    display:none!important;
  }

  .actions .register-btn,
  .actions .auth-switch-btn{
    padding:0 8px!important;
  }

  .hero h1{
    font-size:33px!important;
  }

  .hero-copy{
    padding-top:205px!important;
  }
}



/* MOBILE MENU STRUCTURE HARD FIX */
@media(max-width:900px){

  /* Header luôn là 1 hàng gọn */
  .topbar{
    overflow:visible!important;
  }

  .topbar .shell.nav{
    position:relative!important;
    overflow:visible!important;
    isolation:isolate!important;
  }

  /* Nút menu không bị co hoặc lệch */
  .hamb{
    position:relative!important;
    z-index:1203!important;
    flex:0 0 38px!important;
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
  }

  /* Drawer bám theo chính khung nav, không dùng fixed để tránh
     lỗi backdrop-filter / containing-block trên Chrome mobile. */
  .topbar .shell.nav > nav#nav{
    position:absolute!important;
    z-index:1202!important;
    top:calc(100% + 8px)!important;
    left:0!important;
    right:auto!important;
    bottom:auto!important;

    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:calc(100dvh - 92px)!important;

    margin:0!important;
    padding:9px!important;

    display:flex!important;
    flex:0 0 auto!important;
    flex-basis:auto!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:5px!important;

    overflow-x:hidden!important;
    overflow-y:auto!important;

    border:1px solid rgba(151,108,255,.26)!important;
    border-radius:16px!important;
    background:
      radial-gradient(circle at 100% 0,rgba(124,64,255,.14),transparent 36%),
      linear-gradient(160deg,rgba(10,14,29,.995),rgba(6,10,20,.995))!important;
    box-shadow:
      0 26px 70px rgba(0,0,0,.58),
      0 0 30px rgba(104,50,255,.08),
      inset 0 1px 0 rgba(255,255,255,.035)!important;
    backdrop-filter:blur(22px) saturate(1.15)!important;

    transform:translateY(-8px) scale(.985)!important;
    transform-origin:top center!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:
      opacity .18s ease,
      transform .18s ease,
      visibility .18s ease!important;
  }

  .topbar .shell.nav > nav#nav.open{
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  /* Menu item full chiều ngang */
  .topbar .shell.nav > nav#nav > a{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:46px!important;

    margin:0!important;
    padding:0 14px!important;

    display:flex!important;
    flex:0 0 46px!important;
    align-items:center!important;
    justify-content:flex-start!important;

    border:1px solid transparent!important;
    border-radius:11px!important;
    background:transparent!important;

    color:#d5dcef!important;
    text-align:left!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    line-height:1!important;
  }

  .topbar .shell.nav > nav#nav > a:hover,
  .topbar .shell.nav > nav#nav > a:active{
    color:#fff!important;
    border-color:rgba(148,102,255,.20)!important;
    background:
      linear-gradient(135deg,rgba(114,57,255,.15),rgba(42,198,255,.045))!important;
  }

  .topbar .shell.nav > nav#nav > a:after{
    display:none!important;
  }

  /* Không cho pseudo / rule cũ làm thay đổi kích thước Nạp tiền */
  .topbar .shell.nav > nav#nav .nav-recharge-link{
    display:flex!important;
  }

  .topbar .shell.nav > nav#nav .nav-recharge-link:before{
    flex:0 0 7px!important;
    width:7px!important;
    height:7px!important;
    margin-right:8px!important;
  }

  /* Khi menu mở thêm lớp tối nhẹ, nhưng không chặn menu */
  body.menu-open:after{
    content:""!important;
    position:fixed!important;
    z-index:900!important;
    inset:0!important;
    background:rgba(2,5,13,.46)!important;
    backdrop-filter:blur(2px)!important;
    pointer-events:none!important;
  }

  .topbar{
    z-index:1200!important;
  }
}

/* Điện thoại nhỏ */
@media(max-width:640px){
  .topbar .shell.nav > nav#nav{
    top:calc(100% + 7px)!important;
    padding:8px!important;
    border-radius:14px!important;
  }

  .topbar .shell.nav > nav#nav > a{
    min-height:44px!important;
    flex-basis:44px!important;
    padding:0 12px!important;
  }
}

/* Rất hẹp: giữ logo + avatar + hamburger không chen nhau */
@media(max-width:390px){
  .site-logo-brand{
    flex-basis:108px!important;
    max-width:108px!important;
  }

  .site-logo-image{
    max-width:108px!important;
  }

  .user-pill{
    flex:0 0 36px!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:36px!important;
  }

  .hamb{
    flex-basis:36px!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:36px!important;
  }
}

