:root{
  --red:#e53935;
  --red-2:#ff5a54;
  --red-soft:#fff1f1;
  --ink:#18202b;
  --muted:#707987;
  --line:#e7ebf0;
  --bg:#f5f7fa;
  --card:#ffffff;
  --shadow:0 14px 40px rgba(25,35,50,.08);
  --shadow-hover:0 20px 48px rgba(25,35,50,.13);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:linear-gradient(180deg,#f7f9fb 0%,#eef2f6 100%);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-tap-highlight-color:transparent;overscroll-behavior-x:none}
*{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}
input,textarea,select,option,[contenteditable="true"]{user-select:text;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

/* Header */
.topbar{height:74px;margin:14px auto;max-width:1180px;padding:11px 16px;border:1px solid rgba(255,255,255,.85);border-radius:20px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);display:flex;align-items:center;gap:14px;position:sticky;top:10px;z-index:18;box-shadow:0 10px 32px rgba(29,38,51,.08)}
.topbar .menu{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #e3e8ee;border-radius:14px;background:#fff;color:#25303d;font-size:24px;transition:.22s ease}
.topbar .menu:hover{border-color:#ffb1af;transform:translateY(-1px);box-shadow:0 8px 20px rgba(229,57,53,.12)}
.brand{margin-left:auto;font-weight:900;letter-spacing:3px;font-size:18px;color:#202a36;white-space:nowrap}
.brand span,h1 span{color:var(--red)}
.deposit-btn{background:var(--red);color:#fff;border:0;border-radius:13px;padding:13px 17px;font-weight:800;box-shadow:0 9px 22px rgba(229,57,53,.20);transition:.2s ease}
.deposit-btn:hover{background:#d92f2b;transform:translateY(-1px)}

/* Layout */
main{max-width:1180px;margin:0 auto;padding:10px 20px 50px}
.section-title{color:#202b38;letter-spacing:1.8px;font-size:18px;margin:30px 0 15px}
.section-title::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--red);margin:0 10px 2px 0;box-shadow:0 0 0 6px var(--red-soft)}
.page-ready main,.page-ready .topbar{animation:fadeUp .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Sidebar */
.sidebar-backdrop{position:fixed;inset:0;background:rgba(20,27,36,.28);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;pointer-events:none;transition:opacity .28s ease;z-index:9998}
.open .sidebar-backdrop{opacity:1;pointer-events:auto}
/* Mobile menu is a true overlay: it must never reserve horizontal space or push the page. */
.sidebar{position:fixed;left:0;top:0;bottom:0;width:min(520px,62vw);min-width:300px;padding:20px 15px 16px;background:rgba(255,255,255,.985);border-right:1px solid #e5e9ef;box-shadow:24px 0 70px rgba(22,31,42,.16);z-index:9999;transform:translate3d(-105%,0,0);transition:transform .34s cubic-bezier(.22,.8,.2,1);overflow:auto;will-change:transform}
.open .sidebar{transform:translate3d(0,0,0)}
body.open{overflow:hidden}
body.open main{margin-left:0!important;transform:none!important;width:auto!important}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:5px 6px 20px}
.sidebar h2{margin:0;font-size:20px;letter-spacing:2px;color:#202a36}.sidebar h2 span{color:var(--red)}
.sidebar-close{width:42px!important;height:42px!important;padding:0!important;border:1px solid #e4e8ee!important;border-radius:13px!important;background:#fff!important;color:#3c4653!important;font-size:25px!important;box-shadow:none!important}
.sidebar-nav,.sidebar-footer-nav{display:flex;flex-direction:column;gap:6px}
.sidebar a{display:flex;align-items:center;gap:12px;min-height:55px;padding:12px 14px;border:1px solid transparent;border-radius:15px;color:#3d4856;font-size:16px;font-weight:700;transition:.2s ease;position:relative}
.sidebar a span{width:27px;flex:0 0 27px;text-align:center;font-size:20px}
.sidebar a:not(.active):not(.disabled-link){background:rgba(248,250,252,.75);border-color:#e8edf2}
.sidebar a:not(.active):not(.disabled-link):hover{background:#fff;border-color:#ffc2c0;transform:translateX(2px);box-shadow:0 8px 22px rgba(30,40,54,.07)}
.sidebar a.active{background:linear-gradient(100deg,#e53935,#f4514c);color:#fff;border-color:#f56b67;box-shadow:0 12px 28px rgba(229,57,53,.20)}
.sidebar a.active span{filter:brightness(0) invert(1)}
.sidebar a small{margin-left:auto;font-size:9px;letter-spacing:1px;border-radius:999px;padding:5px 8px;border:1px solid #dfe5eb;color:#7b8592;background:#fff}
.sidebar a.support-link small{color:#df3b37;border-color:#ffc7c5;background:#fff6f6}
.sidebar .disabled-link{opacity:.48;cursor:not-allowed;background:#f7f8fa!important;border-color:#edf0f3!important}
.sidebar-divider{height:1px;background:#e8ecf1;margin:17px 7px 12px}
.sidebar-footer-nav a{background:#fff!important;border-color:#e8edf2!important}
.sidebar-footer-nav .danger{color:#e53935}
.sidebar-status{display:flex;align-items:center;gap:9px;margin:14px 4px 0;padding:13px 14px;border:1px solid #e6ebf0;border-radius:14px;background:#fafbfc;color:#667180;font-size:13px}.sidebar-status i{width:8px;height:8px;border-radius:50%;background:#28b978;box-shadow:0 0 0 5px #e6f8f0}.sidebar-status b{margin-left:auto;color:#249d68}

/* Dashboard hero / stats */
.hero{position:relative;overflow:hidden;margin:22px 0 18px;padding:34px 30px;border:1px solid #e4e9ef;border-radius:28px;background:linear-gradient(135deg,#fff 0%,#fff8f8 100%);box-shadow:var(--shadow)}
.hero::after{content:"";position:absolute;width:230px;height:230px;right:-80px;top:-90px;border-radius:50%;background:radial-gradient(circle,#ffd6d4 0%,rgba(255,214,212,0) 68%)}
.hero-badge{display:inline-flex;align-items:center;gap:9px;padding:9px 15px;border-radius:999px;border:1px solid #f2b9b7;background:#fff5f5;color:#c72d2a;font-weight:800;font-size:12px;letter-spacing:1.2px}.hero-badge i{width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 0 5px #ffe2e1}
.hero h1{margin:18px 0 8px;font-size:42px;line-height:1.08;letter-spacing:-1.5px;color:#1b2531}.hero h1 span{display:block;font-size:22px;letter-spacing:4px;margin-top:9px}.hero p{margin:0;color:#727c89;font-size:16px}
.dashboard-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0 28px}
.stat-card{position:relative;overflow:hidden;min-height:112px;padding:20px 21px;border:1px solid #e3e8ee;border-radius:22px;background:#fff;box-shadow:var(--shadow);display:flex;align-items:center;gap:15px;transition:.22s ease}.stat-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover)}
.stat-icon{width:52px;height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:var(--red-soft);color:var(--red);font-size:22px}.stat-card b{display:block;font-size:24px;color:#1d2733}.stat-card span{display:block;margin-top:4px;color:#7b8490;font-size:12px;font-weight:800;letter-spacing:1px}.stat-card::after{content:"";position:absolute;right:-30px;bottom:-42px;width:150px;height:90px;border-top:3px solid #f3b2b0;border-radius:50%;transform:rotate(-4deg);opacity:.55}

/* Balance / notices */
.balance,.notice,.panel,.table-wrap,.auth-card,.product{background:var(--card);border:1px solid #e4e9ef;border-radius:22px;box-shadow:var(--shadow)}
.balance{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:20px 23px;color:#697381;font-size:13px;font-weight:800;letter-spacing:.5px}.balance strong{font-size:28px;color:#18222e;white-space:nowrap;text-align:right}.balance strong::first-letter{color:var(--red)}
.notice{padding:15px 18px;color:#596574;font-size:14px;margin:16px 0}.notice::before{content:"✓";display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;margin-right:9px;border-radius:50%;background:#fff0f0;color:var(--red);font-weight:900}
.error{padding:13px 15px;background:#fff0f0;border:1px solid #ffc5c3;border-radius:13px;color:#b52c29;margin:12px 0}

/* Products */
.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.product{overflow:hidden;padding-bottom:18px;transition:.22s ease}.product:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.product-img{height:170px;background:linear-gradient(135deg,#fff3f3,#fff);display:flex;align-items:center;justify-content:center;font-size:58px;font-weight:950;color:var(--red);letter-spacing:3px;border-bottom:1px solid #f0dede}.product-img.big{height:230px}
.product h2,.product p,.product .stock,.product .buy-btn{margin-left:20px;margin-right:20px}.product h2{margin-top:17px;margin-bottom:7px;color:#202a36}.muted{color:var(--muted);line-height:1.55}.stock{color:#d63733;font-size:13px;font-weight:800}.tags{display:flex;gap:7px;padding:14px 20px 2px}.tags span{border:1px solid #f1c0be;border-radius:999px;padding:6px 10px;color:#c9322f;background:#fff6f6;font-size:11px;font-weight:800}
.buy-btn,.panel button,.auth-card button{display:block;width:calc(100% - 40px);margin:15px 20px 0;text-align:center;background:linear-gradient(100deg,#e53935,#f35b56);color:#fff;border:0;border-radius:14px;padding:14px 18px;font-weight:850;box-shadow:0 10px 22px rgba(229,57,53,.18);transition:.18s ease}.buy-btn:hover,.panel button:hover,.auth-card button:hover{transform:translateY(-2px);filter:brightness(1.03)}

/* Forms / cards */
.center{display:flex;align-items:center;justify-content:center;padding:30px 15px}.auth-card{width:min(560px,100%);padding:35px;text-align:center}.auth-card.wide{max-width:700px;margin:20px auto}.logo{font-size:42px;color:var(--red)}.auth-card input,.panel input,.panel select,.panel textarea,.auth-card textarea,select{width:100%;background:#fbfcfd;color:#202a36;border:1px solid #dfe5eb;border-radius:14px;padding:14px 15px;margin:8px 0;font-size:16px;outline:none;transition:.18s ease}.auth-card input:focus,.panel input:focus,.panel select:focus,.panel textarea:focus{border-color:#f29b98;box-shadow:0 0 0 4px #fff0ef}.or{margin:23px 0;color:#98a1ad}.ghost-btn{display:block;border:1px solid #e0e5eb;border-radius:14px;padding:14px;background:#fff;font-weight:800;color:#3b4653;transition:.2s ease}.ghost-btn:hover{border-color:#ffb4b1;background:#fff8f8}.links{margin-top:22px;color:var(--red)}
.plan{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;border:1px solid #e5e9ee;border-radius:17px;padding:15px;margin:12px 0;box-shadow:0 7px 20px rgba(25,35,50,.05)}.plan div{display:flex;flex-direction:column;gap:6px}.plan strong{color:#1d2733;font-size:20px}.plan button{width:auto;margin:0;padding:10px 22px}

/* Tables */
.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:separate;border-spacing:0}.table-wrap th,.table-wrap td{padding:16px;border-bottom:1px solid #edf0f3;text-align:left;white-space:nowrap}.table-wrap th{color:#c9322f;font-size:12px;letter-spacing:1px;background:#fff8f8}.table-wrap tr:last-child td{border-bottom:0}.table-wrap tr:hover td{background:#fffafa}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stats>div{padding:25px;text-align:center;background:#fff;border:1px solid #e4e9ef;border-radius:20px;box-shadow:var(--shadow)}.stats b{display:block;font-size:28px;color:#1d2733}.stats span{color:var(--red)}
.admin-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-top:20px}.admin-links a{padding:22px;background:#fff;border:1px solid #e4e9ef;border-radius:16px;box-shadow:var(--shadow)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{padding:25px}.inline{display:flex;gap:8px}.danger-btn{background:#b62239!important}

/* Support */
.support-card{max-width:700px;margin:40px auto;text-align:center;padding:40px;display:block}.support-direct{cursor:pointer;position:relative}.support-direct::after{content:"↗";position:absolute;right:25px;top:25px;color:var(--red);font-size:20px}.telegram-btn{display:block;margin:25px auto 10px;max-width:500px;background:#fff1f1;color:#c52f2c;border:1px solid #ffc4c1;border-radius:14px;padding:15px 20px;font-weight:850;text-align:center}.support-handle{margin-top:15px}

/* Interaction */
button,.buy-btn,.deposit-btn,.telegram-btn,.ghost-btn{position:relative;overflow:hidden}.tap-locked{pointer-events:none;opacity:.72;filter:saturate(.8)}
.copy-lock{font-size:11px;letter-spacing:1px;color:#a06a68;vertical-align:middle;opacity:.9}

@media(max-width:800px){
  .topbar{margin:9px 10px;height:68px;padding:9px 11px}.topbar .deposit-btn{display:none}.brand{font-size:15px;letter-spacing:2px}
  main{padding:8px 12px 40px}.hero{padding:27px 21px;border-radius:23px}.hero h1{font-size:33px}.hero h1 span{font-size:18px;letter-spacing:3px}.dashboard-stats{grid-template-columns:1fr;gap:12px}.balance{grid-template-columns:1fr;gap:8px;padding:18px}.balance strong{text-align:left;font-size:25px}
  .sidebar{width:min(520px,62vw);min-width:300px;padding:17px 12px}.sidebar a{min-height:53px}.products{grid-template-columns:1fr}.product-img{height:155px}.grid2{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.auth-card{padding:25px 19px}.support-card{margin:25px auto;padding:28px 20px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Premium admin dashboard */
.admin-page{background:linear-gradient(180deg,#fff 0%,#fff7f7 44%,#f7f8fb 100%);overflow-x:hidden}
.admin-topbar{background:rgba(255,255,255,.94);border-color:#f1dfe0}
.admin-topbar .brand span{color:#ef303b}
.admin-page main{padding-top:12px}
.admin-hero{position:relative;min-height:320px;overflow:hidden;margin:18px 0 22px;padding:34px 34px 30px;border:1px solid #ffdfe0;border-radius:30px;background:radial-gradient(circle at 80% 38%,#ffe7e8 0,#fff7f7 28%,#fff 67%);box-shadow:0 20px 55px rgba(211,44,54,.09)}
.admin-copy{position:relative;z-index:2;max-width:57%}
.eyebrow{margin:18px 0 8px;color:#d82934;font-size:12px;font-weight:900;letter-spacing:2px}
.admin-copy h1{margin:0;color:#1d2430;font-size:39px;line-height:1.08;letter-spacing:-1px}
.admin-copy h1 span{color:#e72d39}
.hero-sub{color:#68717e;font-size:16px;line-height:1.55;max-width:420px}
.live-pill{display:inline-flex;align-items:center;gap:10px;border:1px solid #ffc9cc;background:#fff;border-radius:999px;padding:9px 14px;color:#e42c38;font-size:12px;font-weight:900;box-shadow:0 8px 20px rgba(225,44,55,.08)}
.live-pill i{width:8px;height:8px;border-radius:50%;background:#ed2e3a;box-shadow:0 0 0 5px #ffe8e9;animation:livePulse 1.6s infinite}
.live-pill span{color:#6b7481;font-weight:700}
.admin-orbit{position:absolute;right:5%;top:35px;width:310px;height:235px}
.orbit-ring{position:absolute;inset:30px 15px 5px;border:2px solid #ffb9bd;border-radius:50%;transform:rotate(-10deg);box-shadow:0 0 35px rgba(237,45,57,.15);animation:floatOrbit 5s ease-in-out infinite}
.orbit-card{position:absolute;z-index:2;left:67px;top:30px;width:180px;height:130px;border:1px solid #ffb7bb;border-radius:20px;background:linear-gradient(145deg,#fff,#fff3f4);box-shadow:0 22px 45px rgba(219,40,52,.14);padding:20px;transform:perspective(500px) rotateY(-10deg);animation:cardFloat 4.5s ease-in-out infinite}
.orbit-card b{display:block;color:#e52b37;font-size:10px;letter-spacing:2px}.orbit-card span{display:block;color:#222a35;font-size:19px;font-weight:950;letter-spacing:2px;margin-top:7px}.orbit-card em{display:block;color:#f03b45;font-size:45px;font-style:normal;margin-top:8px}
.orbit-dot{position:absolute;width:10px;height:10px;border-radius:50%;background:#ef303b;box-shadow:0 0 0 7px #ffe5e6,0 0 25px rgba(239,48,59,.5);animation:dotFloat 3s ease-in-out infinite}
.dot-a{right:18px;top:42px}.dot-b{left:20px;top:132px;animation-delay:.8s}.dot-c{right:50px;bottom:18px;animation-delay:1.5s}
.pulse-line{position:absolute;left:32%;right:4%;bottom:27px;height:38px;opacity:.75;overflow:hidden}
.pulse-line::before{content:"";position:absolute;left:0;right:0;top:21px;border-top:2px solid #ffbcc0}
.pulse-line span{position:absolute;top:3px;left:0;width:220px;height:30px;border-bottom:3px solid #ef303b;clip-path:polygon(0 65%,16% 65%,22% 35%,27% 92%,33% 5%,39% 65%,56% 65%,61% 45%,66% 65%,100% 65%);animation:heartbeat 2.7s linear infinite}
.premium-stats{gap:14px;margin:0 0 24px}
.admin-stat{position:relative;min-height:145px;padding:21px 17px 17px!important;text-align:left!important;display:flex;align-items:center;gap:13px;background:rgba(255,255,255,.94)!important;border:1px solid #ffe1e3!important;border-radius:22px!important;box-shadow:0 13px 35px rgba(42,49,63,.07)!important;overflow:hidden;transition:.25s ease}
.admin-stat:hover{transform:translateY(-4px);box-shadow:0 20px 45px rgba(211,44,54,.12)!important}
.admin-stat-icon{width:51px;height:51px;flex:0 0 51px;display:flex;align-items:center;justify-content:center;border-radius:17px;background:#fff0f1;color:#ed2d39;font-size:21px;font-weight:900}
.admin-stat b{font-size:25px}.admin-stat span{display:block;margin-top:4px;font-size:11px;font-weight:900;letter-spacing:1px;color:#e52c37}
.spark{position:absolute;left:18px;right:18px;bottom:13px;height:17px;border-bottom:2px solid #ef4b55;opacity:.75}
.spark::before{content:"";position:absolute;left:0;right:0;bottom:0;height:16px;background:linear-gradient(135deg,transparent 0 17%,#ef4b55 18% 19%,transparent 20% 42%,#ef4b55 43% 44%,transparent 45% 62%,#ef4b55 63% 64%,transparent 65%);animation:sparkMove 2.2s linear infinite}
.quick-head{display:flex;align-items:end;justify-content:space-between;margin:8px 2px 12px}.quick-head h2{margin:0;font-size:21px;color:#1d2631}.quick-head span{font-size:12px;color:#89919d}
.premium-links{grid-template-columns:1fr 1fr!important;gap:13px!important;margin-top:0}
.premium-links a{display:flex;align-items:center;gap:13px;padding:17px 15px!important;background:rgba(255,255,255,.92)!important;border:1px solid #ffe1e3!important;border-radius:20px!important;box-shadow:0 10px 28px rgba(40,48,61,.06)!important;transition:.23s ease}
.premium-links a:hover{transform:translateY(-3px);border-color:#ffb8bd!important;box-shadow:0 16px 35px rgba(215,45,55,.11)!important}
.quick-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#fff0f1;color:#ed2d39;font-size:21px;flex:0 0 46px}
.premium-links a span:nth-child(2){min-width:0}.premium-links b{display:block;color:#1f2733;font-size:14px}.premium-links small{display:block;color:#89919a;font-size:10px;margin-top:4px}.premium-links strong{margin-left:auto;color:#ef303b;font-size:26px;font-weight:500}
.overview-card,.system-card{margin-top:18px;background:#fff;border:1px solid #ffe0e2;border-radius:24px;box-shadow:0 13px 35px rgba(40,48,61,.06)}
.overview-card{padding:20px 18px 16px}.overview-head{display:flex;justify-content:space-between;align-items:center}.overview-head>div{display:flex;align-items:center;gap:11px}.overview-icon{width:38px;height:38px;border-radius:12px;background:#fff0f1;color:#ed303b;display:flex;align-items:center;justify-content:center;font-size:22px}.overview-head h2{margin:0;font-size:17px}.overview-head p{margin:3px 0 0;color:#8a929d;font-size:11px}.week-pill{border:1px solid #ffcdd0;background:#fff7f7;border-radius:999px;padding:8px 12px;color:#e92e39;font-size:10px;font-weight:900}
.chart{position:relative;height:125px;margin-top:15px;overflow:hidden;background:repeating-linear-gradient(to bottom,#fff 0 30px,#fff6f6 31px)}
.chart-fill{position:absolute;inset:25px 0 0;background:linear-gradient(180deg,rgba(239,48,59,.18),rgba(239,48,59,0));clip-path:polygon(0 72%,16% 35%,32% 58%,48% 15%,64% 65%,80% 45%,100% 72%,100% 100%,0 100%)}
.chart-line{position:absolute;inset:25px 0 0;clip-path:polygon(0 70%,16% 33%,32% 56%,48% 13%,64% 63%,80% 43%,100% 70%);background:#ef303b}
.chart-line::after{content:"";position:absolute;inset:3px;background:#fff}
.chart-line i{position:absolute;width:9px;height:9px;border-radius:50%;background:#ef303b;border:2px solid #fff;z-index:3;box-shadow:0 0 0 3px #ffd9db}
.chart-line i:nth-child(1){left:15%;top:30%}.chart-line i:nth-child(2){left:31%;top:53%}.chart-line i:nth-child(3){left:47%;top:10%}.chart-line i:nth-child(4){left:63%;top:60%}.chart-line i:nth-child(5){left:79%;top:40%}.chart-line i:nth-child(6){left:98%;top:67%}
.days{display:grid;grid-template-columns:repeat(7,1fr);color:#8b939e;font-size:10px;font-weight:800;margin-top:8px}.days span{text-align:center}
.system-card{display:flex;align-items:center;gap:13px;padding:17px}.system-icon{width:45px;height:45px;border-radius:15px;background:#fff0f1;color:#e72e39;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900}.system-card h3{margin:0;font-size:15px}.system-card p{margin:3px 0 0;color:#808995;font-size:11px}.up-to-date{margin-left:auto;white-space:nowrap;color:#e72e39;background:#fff3f4;border:1px solid #ffd1d4;padding:8px 10px;border-radius:999px;font-size:10px;font-weight:900}
@keyframes livePulse{50%{transform:scale(1.25);box-shadow:0 0 0 8px #ffe8e9}}
@keyframes floatOrbit{50%{transform:rotate(0) translateY(-7px)}}
@keyframes cardFloat{50%{transform:perspective(500px) rotateY(-5deg) translateY(-8px)}}
@keyframes dotFloat{50%{transform:translateY(-12px)}}
@keyframes heartbeat{0%{transform:translateX(-230px)}100%{transform:translateX(700px)}}
@keyframes sparkMove{0%{transform:translateX(-10px)}100%{transform:translateX(10px)}}

@media(max-width:800px){
 .admin-hero{min-height:390px;padding:25px 21px}.admin-copy{max-width:100%}.admin-copy h1{font-size:34px}.hero-sub{max-width:270px}.admin-orbit{right:-36px;top:154px;width:260px;height:200px;opacity:.92}.orbit-card{left:52px;top:25px}.pulse-line{left:7%;right:0;bottom:20px}.premium-stats{grid-template-columns:1fr 1fr!important}.admin-stat{min-height:132px;padding:17px 13px!important}.admin-stat-icon{width:43px;height:43px;flex-basis:43px}.admin-stat b{font-size:21px}.premium-links{grid-template-columns:1fr!important}.overview-card{padding:17px 14px}.system-card{align-items:flex-start}.up-to-date{margin-left:auto}
}
@media(max-width:430px){.admin-hero{min-height:400px}.live-pill span{display:none}.admin-copy h1{font-size:31px}.admin-orbit{right:-53px;top:170px;transform:scale(.9)}.premium-stats{gap:10px}.admin-stat{gap:8px}.admin-stat-icon{width:39px;height:39px;flex-basis:39px;font-size:17px}.admin-stat b{font-size:20px}.admin-stat span{font-size:9px}.up-to-date{font-size:9px;padding:7px 8px}}

.hero-activity{display:flex;align-items:center;gap:9px;margin-top:22px;width:max-content;max-width:100%;padding:9px 13px;border:1px solid #ffd1d3;border-radius:999px;background:#fff7f7;color:#68727f;font-size:11px}.hero-activity i{width:8px;height:8px;border-radius:50%;background:#ef303b;box-shadow:0 0 0 5px #ffe7e8;animation:livePulse 1.6s infinite}.hero-activity b{color:#df3038}.hero-activity span{color:#9a6c6e;font-weight:900}
@media(max-width:800px){.hero-activity{font-size:10px}}

/* =========================================================
   FINAL WHITE + RED PREMIUM UI
   Overrides the legacy theme without changing backend logic.
   ========================================================= */
:root{
  --red:#ef233c;
  --red-dark:#d9162d;
  --red-soft:#fff1f3;
  --red-pale:#fff7f8;
  --ink:#18202c;
  --muted:#77808d;
  --line:#f0dfe2;
  --bg:#ffffff;
  --card:#ffffff;
  --shadow:0 14px 42px rgba(28,34,45,.08);
  --shadow-red:0 16px 42px rgba(239,35,60,.13);
}
html,body{background:#fff!important;color:var(--ink)!important;color-scheme:light!important}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overflow-x:hidden}
body::selection{background:#ffd9df;color:#7d0d1e}
.topbar{background:rgba(255,255,255,.96)!important;border:1px solid #f3e3e5!important;box-shadow:0 8px 30px rgba(35,40,50,.07)!important}
.topbar .menu{background:#fff!important;border-color:#ffd9dd!important;color:var(--red)!important;box-shadow:0 6px 18px rgba(239,35,60,.06)}
.topbar .menu:hover{border-color:#ffb8c1!important;background:#fff7f8!important}
.brand{color:#202735!important}.brand span,h1 span{color:var(--red)!important}
main{position:relative;z-index:1}
.panel,.table-wrap,.auth-card,.product,.balance,.notice{background:#fff!important;border-color:#f0e1e3!important;box-shadow:var(--shadow)!important}
input,select,textarea{background:#fff!important;color:var(--ink)!important;border-color:#eadfe1!important}
button,.buy-btn,.panel button,.auth-card button{background:linear-gradient(135deg,#ef233c,#ff5064)!important;box-shadow:0 12px 25px rgba(239,35,60,.18)!important}
.ghost-btn{background:#fff!important;border-color:#f0dfe2!important;color:#303845!important}

/* User dashboard */
.hero{background:linear-gradient(135deg,#fff 0%,#fff7f8 62%,#fff0f2 100%)!important;border-color:#f8dadd!important;box-shadow:var(--shadow-red)!important}
.hero::after{background:radial-gradient(circle,#ffd7dd 0%,rgba(255,215,221,0) 70%)!important}
.hero-badge{background:#fff!important;border-color:#ffd2d8!important;color:var(--red)!important}
.stat-card{background:#fff!important;border-color:#f2e2e4!important;box-shadow:var(--shadow)!important}
.stat-icon{background:#fff0f2!important;color:var(--red)!important}
.balance strong{color:#171f2b!important}
.notice::before{background:#fff0f2!important;color:var(--red)!important}
.tags span{background:#fff5f6!important;border-color:#ffd5da!important;color:#cf1e37!important}
.product-img{background:linear-gradient(135deg,#fff0f2,#fff)!important;color:var(--red)!important;border-color:#f5dfe2!important}

/* Sidebar */
.sidebar{background:rgba(255,255,255,.985)!important;border-right-color:#f0dfe2!important;box-shadow:24px 0 70px rgba(33,38,48,.13)!important}
.sidebar h2{color:#202735!important}.sidebar h2 span{color:var(--red)!important}
.sidebar a{color:#333c49!important}
.sidebar a:not(.active):not(.disabled-link){background:#fff!important;border-color:#f1e6e8!important}
.sidebar a:not(.active):not(.disabled-link):hover{background:#fff8f9!important;border-color:#ffc5cc!important}
.sidebar a.active{background:linear-gradient(100deg,#ef233c,#ff4e62)!important;border-color:#f04a5b!important;color:#fff!important;box-shadow:0 13px 30px rgba(239,35,60,.20)!important}
.sidebar a.support-link small{color:var(--red)!important;background:#fff3f5!important;border-color:#ffd0d6!important}
.sidebar-status{background:#fff!important;border-color:#f0e2e4!important}.sidebar-status i{background:#28b978!important}.sidebar-status b{color:#239862!important}

/* Admin page: screenshot-inspired white/red experience */
.admin-page{background:linear-gradient(180deg,#fff 0%,#fffafb 42%,#fff 100%)!important;min-height:100vh}
.admin-page::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 80% 20%,rgba(255,220,225,.52),transparent 25%),radial-gradient(circle at 10% 70%,rgba(255,239,241,.6),transparent 28%);z-index:0}
.admin-main{max-width:1180px;padding:16px 22px 60px!important}
.admin-topbar{position:sticky!important;top:10px!important}
.admin-topbar .menu{color:var(--red)!important}
.admin-hero{min-height:410px!important;margin:18px 0 24px!important;padding:42px 34px 30px!important;border:1px solid #f6d9dd!important;border-radius:32px!important;background:linear-gradient(135deg,#fff 0%,#fff8f9 58%,#fff0f3 100%)!important;box-shadow:0 24px 65px rgba(239,35,60,.10)!important}
.admin-copy{max-width:50%!important}
.live-pill{background:#fff!important;border-color:#ffd1d7!important;color:var(--red)!important;box-shadow:0 10px 25px rgba(239,35,60,.08)!important}
.live-pill i{background:var(--red)!important;box-shadow:0 0 0 5px #ffe7eb!important}
.live-pill span{color:#69727f!important}
.eyebrow{color:#c91b35!important}
.admin-copy h1{font-size:48px!important;color:#1b2230!important;letter-spacing:-2px!important;margin:22px 0 12px!important}
.admin-copy h1 span{font-size:40px!important;letter-spacing:-1px!important;color:var(--red)!important}
.hero-sub{font-size:17px!important;color:#687281!important}
.hero-activity{background:#fff!important;border-color:#ffd4d9!important;color:#6e7783!important;box-shadow:0 10px 25px rgba(239,35,60,.06)}
.hero-activity i{background:var(--red)!important;box-shadow:0 0 0 5px #ffe7eb!important}
.hero-activity b{color:var(--red)!important}
.hero-activity span{color:#9b6d74!important}

/* CSS illustration in the hero */
.admin-visual{position:absolute;right:4%;top:38px;width:410px;height:285px;z-index:2}
.visual-glow{position:absolute;inset:0;background:radial-gradient(circle,#ffdfe4 0,rgba(255,223,228,.45) 32%,transparent 68%);filter:blur(2px);animation:visualGlow 4s ease-in-out infinite}
.visual-window{position:absolute;left:55px;top:35px;width:300px;height:190px;border:1px solid #ffc2ca;border-radius:18px;background:rgba(255,255,255,.93);box-shadow:0 25px 55px rgba(211,34,57,.16);transform:perspective(900px) rotateY(-10deg) rotateX(2deg);overflow:hidden;animation:visualFloat 5s ease-in-out infinite}
.visual-top{height:34px;background:linear-gradient(90deg,#ef233c,#ff5c70);display:flex;align-items:center;padding:0 12px;gap:6px;color:#fff;font-size:8px;font-weight:900;letter-spacing:1.3px}
.visual-top i{width:6px;height:6px;border-radius:50%;background:#fff}.visual-top span{margin-left:auto;opacity:.9}
.visual-content{display:flex;height:calc(100% - 34px);padding:14px}.visual-side{width:48px;border-right:1px solid #f2dfe2;display:flex;flex-direction:column;gap:10px;padding-right:10px}.visual-side b{height:9px;border-radius:999px;background:#ffe0e4}.visual-side b:first-child{background:#ef233c}
.visual-main{flex:1;padding:5px 0 0 14px}.visual-title{height:10px;width:110px;background:#e9eaed;border-radius:99px}.visual-title.short{width:75px;margin-top:8px}.visual-bars{height:90px;margin-top:20px;display:flex;align-items:flex-end;gap:9px}.visual-bars i{display:block;width:22px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#ff6677,#ffd9de)}.visual-bars i:nth-child(1){height:42%}.visual-bars i:nth-child(2){height:63%}.visual-bars i:nth-child(3){height:52%}.visual-bars i:nth-child(4){height:82%;background:linear-gradient(180deg,#ef233c,#ff9aaa)}.visual-bars i:nth-child(5){height:68%}
.visual-shield{position:absolute;right:18px;bottom:18px;width:78px;height:90px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#ef233c,#ff5a6d);clip-path:polygon(50% 0,90% 17%,82% 68%,50% 100%,18% 68%,10% 17%);color:#fff;font-size:28px;font-weight:900;filter:drop-shadow(0 16px 20px rgba(239,35,60,.25));animation:shieldFloat 4s ease-in-out infinite}
.visual-ring{position:absolute;left:24px;right:12px;bottom:4px;height:64px;border:2px solid #ffb7c0;border-radius:50%;transform:rotate(-6deg);box-shadow:0 0 35px rgba(239,35,60,.14);animation:ringFloat 5s ease-in-out infinite}
.visual-dot{position:absolute;width:10px;height:10px;border-radius:50%;background:#ef233c;box-shadow:0 0 0 7px #ffe5e9,0 0 25px rgba(239,35,60,.35);animation:dotFloat 3s ease-in-out infinite}.visual-dot.d1{right:4px;top:35px}.visual-dot.d2{left:4px;top:155px;animation-delay:.8s}.visual-dot.d3{right:60px;bottom:0;animation-delay:1.4s}
.pulse-line{left:34%!important;right:3%!important;bottom:28px!important}.pulse-line::before{border-color:#ffc6cc!important}.pulse-line span{border-color:var(--red)!important}

.premium-stats{grid-template-columns:repeat(4,1fr)!important;gap:15px!important}
.admin-stat{min-height:160px!important;padding:22px 18px 19px!important;border-color:#f4dfe2!important;border-radius:24px!important;background:#fff!important;box-shadow:0 14px 36px rgba(34,39,50,.07)!important}
.admin-stat:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(239,35,60,.12)!important}
.admin-stat-icon{background:#fff0f2!important;color:var(--red)!important;border:1px solid #ffe0e4}
.admin-stat b{color:#1b2330!important}.admin-stat span{color:var(--red)!important}
.spark{border-color:#ef5a6a!important}.spark::before{background:linear-gradient(135deg,transparent 0 17%,#ef5a6a 18% 19%,transparent 20% 42%,#ef5a6a 43% 44%,transparent 45% 62%,#ef5a6a 63% 64%,transparent 65%)!important}
.quick-head{margin:8px 2px 13px!important}.quick-head h2{font-size:23px!important;color:#1c2431!important}.quick-head span{color:#89929f!important}
.premium-links{grid-template-columns:1fr 1fr!important;gap:15px!important}
.premium-links a{min-height:88px;background:#fff!important;border-color:#f3dfe2!important;border-radius:21px!important;box-shadow:0 12px 30px rgba(34,39,50,.06)!important}
.quick-icon{background:#fff0f2!important;color:var(--red)!important;border:1px solid #ffe0e4}
.premium-links b{font-size:15px!important;color:#202834!important}.premium-links small{font-size:11px!important;color:#89919d!important}.premium-links strong{color:var(--red)!important}
.overview-card,.system-card{background:#fff!important;border-color:#f3dfe2!important;box-shadow:0 13px 35px rgba(34,39,50,.06)!important}
.overview-card{padding:21px!important}.overview-icon{background:#fff0f2!important;color:var(--red)!important}.week-pill{background:#fff5f6!important;border-color:#ffd3d8!important;color:var(--red)!important}
.chart{background:repeating-linear-gradient(to bottom,#fff 0 30px,#fff6f7 31px)!important}.chart-fill{background:linear-gradient(180deg,rgba(239,35,60,.20),rgba(239,35,60,0))!important}.chart-line{background:var(--red)!important}.chart-line::after{background:#fff!important}.chart-line i{background:var(--red)!important;box-shadow:0 0 0 3px #ffd8de!important}
.system-icon{background:#fff0f2!important;color:var(--red)!important}.up-to-date{color:var(--red)!important;background:#fff4f5!important;border-color:#ffd3d8!important}

@keyframes visualGlow{50%{transform:scale(1.06);opacity:.78}}
@keyframes visualFloat{50%{transform:perspective(900px) rotateY(-5deg) rotateX(1deg) translateY(-8px)}}
@keyframes shieldFloat{50%{transform:translateY(-8px) rotate(2deg)}}
@keyframes ringFloat{50%{transform:rotate(-2deg) scale(1.03)}}

@media(max-width:900px){
  .admin-hero{min-height:590px!important;padding:30px 22px 25px!important}
  .admin-copy{max-width:100%!important}
  .admin-copy h1{font-size:42px!important}
  .admin-copy h1 span{font-size:35px!important}
  .admin-visual{right:50%;transform:translateX(50%) scale(.88);top:265px}
  .pulse-line{left:8%!important;right:4%!important;bottom:20px!important}
  .premium-stats{grid-template-columns:1fr 1fr!important}
}
@media(max-width:520px){
  .admin-main{padding:8px 14px 45px!important}
  .admin-topbar{margin:8px 8px!important}
  .admin-hero{min-height:560px!important;border-radius:26px!important;padding:25px 19px!important}
  .admin-copy h1{font-size:36px!important;letter-spacing:-1.4px!important}
  .admin-copy h1 span{font-size:31px!important}
  .hero-sub{font-size:14px!important;max-width:260px!important}
  .live-pill span{display:none}
  .admin-visual{top:235px;transform:translateX(50%) scale(.72)}
  .pulse-line{bottom:15px!important}
  .premium-stats{gap:10px!important}
  .admin-stat{min-height:135px!important;padding:17px 12px!important;border-radius:20px!important;gap:8px!important}
  .admin-stat-icon{width:42px;height:42px;flex-basis:42px;border-radius:14px;font-size:17px}
  .admin-stat b{font-size:21px!important}.admin-stat span{font-size:9px!important}
  .premium-links{grid-template-columns:1fr!important}
  .premium-links a{min-height:76px!important}
  .overview-card{padding:16px!important}.system-card{padding:15px!important}
}
/* Global animated background */
.anim-aurora{position:absolute;inset:-15%;filter:blur(35px);opacity:.42;mix-blend-mode:multiply}
.anim-aurora i{position:absolute;width:55vw;height:28vw;border-radius:50%;background:radial-gradient(ellipse,rgba(239,35,60,.22),transparent 70%);animation:auroraMove 12s ease-in-out infinite}
.anim-aurora i:nth-child(1){left:0;top:5%;transform:rotate(-12deg)}
.anim-aurora i:nth-child(2){right:0;top:35%;animation-delay:-4s;background:radial-gradient(ellipse,rgba(255,120,135,.20),transparent 70%)}
.anim-aurora i:nth-child(3){left:25%;bottom:0;animation-delay:-8s;background:radial-gradient(ellipse,rgba(217,4,41,.12),transparent 70%)}
@keyframes auroraMove{50%{transform:translate3d(4vw,2vh,0) scale(1.12) rotate(6deg)}}
.anim-settings-card{margin:20px auto;max-width:900px;background:#fff;border:1px solid #f3dfe2;border-radius:28px;padding:24px;box-shadow:0 18px 50px rgba(34,39,50,.08)}
.anim-settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.anim-field label{display:block;font-weight:800;color:#303846;margin-bottom:8px;font-size:13px}.anim-field select,.anim-field input{width:100%;border:1px solid #f0dfe2;background:#fffafb;border-radius:14px;padding:13px 14px;color:#222b38;font:inherit;outline:none}.anim-field select:focus,.anim-field input:focus{border-color:#ef233c;box-shadow:0 0 0 4px #ffe8eb}.anim-save{margin-top:16px;background:linear-gradient(135deg,#ef233c,#ff5b70);color:#fff;border:0;border-radius:15px;padding:13px 20px;font-weight:900;cursor:pointer;box-shadow:0 10px 25px rgba(239,35,60,.2)}.anim-note{color:#7d8794;font-size:12px;margin-top:10px}.anim-preview{height:130px;margin-top:18px;border-radius:20px;background:linear-gradient(135deg,#fff7f8,#fff);border:1px dashed #ffcbd1;display:flex;align-items:center;justify-content:center;color:#8b5560;font-weight:700}
@media(max-width:650px){.anim-settings-grid{grid-template-columns:1fr}.anim-settings-card{padding:18px;border-radius:22px}}
.anim-admin-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;background:#fff;border:1px solid #ffd2d8;color:#ef233c;border-radius:14px;padding:11px 14px;font-weight:900;font-size:12px;box-shadow:0 8px 22px rgba(239,35,60,.08)}.anim-admin-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(239,35,60,.14)}
@media(max-width:520px){.quick-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.anim-admin-btn{font-size:10px;padding:9px 10px}}

/* Premium product media + manager UI */
.media-img{padding:0;overflow:hidden}.media-img img{width:100%;height:100%;display:block;object-fit:cover}.product-video-card{padding:0!important;overflow:hidden;background:#fff0f4!important}.product-video-card .product-video,.product-video-card .product-video-frame{width:100%;height:100%;min-height:170px;aspect-ratio:16/9;display:block;border:0;border-radius:0;background:#fff0f4;object-fit:cover}.product-video-card .video-link{height:100%;min-height:170px;border:0;border-radius:0}.product-video-wrap{margin:20px}.video-label{font-size:11px;font-weight:900;letter-spacing:1.2px;color:#b01855;margin-bottom:9px}.product-video,.product-video-frame{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:18px;background:#fff0f4;box-shadow:0 10px 28px rgba(194,24,91,.08)}.video-link{display:flex;align-items:center;justify-content:center;min-height:90px;border:1px solid #f1ccd8;border-radius:18px;background:#fff8fa;color:#b01855;font-weight:900}.detail h1{margin:18px 20px 7px}.detail>p{margin:0 20px;color:var(--muted);line-height:1.6}.plan-list{margin:20px}.plan{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;border:1px solid #f1dfe4;border-radius:17px;background:#fff8fa;margin:10px 0}.plan>div{display:flex;flex-direction:column;gap:3px}.plan strong{color:#b01855;font-size:19px}.plan button{width:auto;margin:0;padding:11px 17px}.form-help{font-size:11px;color:#8b7a80;line-height:1.5;margin:12px 2px 0}.manager-section{margin-top:26px}.manager-head{display:flex;justify-content:space-between;align-items:end;margin:0 0 12px}.manager-head h2{margin:0;color:#202834}.manager-head p{margin:4px 0 0;color:#8b949f;font-size:12px}.manager-list{display:grid;gap:14px}.manager-card{background:#fff;border:1px solid #f0dfe3;border-radius:22px;padding:18px;box-shadow:var(--shadow)}.manager-card-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:12px}.manager-card-head strong{display:block;color:#202834}.manager-card-head span{display:block;color:#8a939f;font-size:11px;margin-top:4px}.compact{gap:10px}.compact input,.compact textarea{margin:0}.compact textarea{grid-column:1/-1;min-height:85px}.manager-actions{display:flex;gap:10px;margin-top:10px}.manager-actions button{width:auto;margin:0}.manager-card>.danger-btn,.manager-card form+form .danger-btn{margin:10px 0 0;width:auto}.switch{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:#68717c;white-space:nowrap}.switch input{accent-color:#c2185b}.plan-manager{display:grid;grid-template-columns:1.4fr 1fr auto auto;gap:10px;align-items:center}.plan-manager input{margin:0}.plan-product strong{display:block}.plan-product span{font-size:10px;color:#9299a3}.compact-list .manager-card{display:grid;grid-template-columns:1fr auto;gap:8px}.compact-list .manager-card>form:first-child{grid-column:1/-1}.compact-list .manager-card>form:last-child{grid-column:1/-1}.danger-btn{background:#fff!important;color:#c2185b!important;border:1px solid #f1bfd0!important;box-shadow:none!important}.danger-btn:hover{background:#fff5f8!important}.manager-card button{border:0;border-radius:13px;padding:11px 15px;font-weight:900;background:linear-gradient(135deg,#c2185b,#e91e63);color:#fff;box-shadow:0 9px 20px rgba(194,24,91,.15)}
@media(max-width:700px){.plan-manager{grid-template-columns:1fr 1fr}.plan-manager .switch{grid-column:1}.plan-manager button{grid-column:2}.manager-card-head{align-items:flex-start}.manager-actions{flex-wrap:wrap}.compact{grid-template-columns:1fr!important}.product-video-wrap{margin:17px}.detail h1{font-size:26px}.product-img.big{height:210px}}
/* Prevent the user dashboard from feeling vertically displaced after refresh */
@media(max-width:800px){main{padding-top:4px}.hero{margin-top:10px}.hero h1{font-size:31px}.hero p{font-size:14px}}
/* Product marketplace: video-first card + feature list + inline plans */
.product-video-card{height:auto!important;min-height:0!important;aspect-ratio:16/9;position:relative}
.product-video-card .product-video,.product-video-card .product-video-frame{height:100%!important;min-height:0!important;aspect-ratio:auto!important}
.product-video-card .product-video{cursor:pointer}
.product-features{margin:12px 20px 8px;padding:0;list-style:none;display:grid;gap:8px}
.product-features li{position:relative;padding:10px 12px 10px 34px;border:1px solid #f3dfe4;border-radius:12px;background:#fff9fa;color:#4e5967;font-size:13px;line-height:1.35}
.product-features li::before{content:'✓';position:absolute;left:11px;top:9px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#ffe8ed;color:#e91e63;font-size:11px;font-weight:900}
.product-purchase-toggle{cursor:pointer;border:0;font:inherit}
.inline-plans{margin:12px 20px 0;padding:12px;border:1px solid #f3dfe4;border-radius:18px;background:#fff8fa}
.inline-plans[hidden]{display:none!important}
.inline-plan{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #f0dce2;border-radius:14px;background:#fff;margin:8px 0}
.inline-plan div{display:flex;flex-direction:column;gap:3px}.inline-plan b{font-size:14px;color:#27313d}.inline-plan strong{font-size:18px;color:#c2185b}.inline-plan button{width:auto;margin:0;padding:10px 17px;border:0;border-radius:12px;background:linear-gradient(135deg,#ef233c,#ff5064);color:#fff;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(239,35,60,.16)}
.detail-features{margin:14px 20px 18px}
@media(max-width:520px){.product-features li{font-size:12px}.inline-plan{padding:11px}.inline-plan button{padding:9px 14px}}

/* FINAL MOBILE DRAWER FIX: sidebar is a true viewport overlay and never reserves page space */
.sidebar-backdrop{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  z-index:99998!important;
}
.sidebar{
  position:fixed!important;
  inset:0 auto 0 0!important;
  top:0!important;
  bottom:0!important;
  height:100dvh!important;
  width:min(520px,82vw)!important;
  min-width:0!important;
  max-width:520px!important;
  z-index:99999!important;
  margin:0!important;
  transform:translate3d(-105%,0,0)!important;
}
.open .sidebar{transform:translate3d(0,0,0)!important}
.topbar{z-index:100!important}
.open main{position:relative!important;left:0!important;margin-left:0!important;width:auto!important;transform:none!important}
@media(max-width:800px){
  .sidebar{width:min(520px,82vw)!important;min-width:0!important}
}

/* FINAL USER MOBILE DRAWER OVERLAY FIX
   The drawer must overlay the dashboard instead of reserving any layout space.
   It opens directly below the top bar, over the Welcome/marketplace content. */
@media (max-width: 800px){
  .sidebar-backdrop{
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100%!important;
    height:100dvh!important;
    background:transparent!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    opacity:0!important;
    pointer-events:none!important;
    z-index:9998!important;
  }
  .open .sidebar-backdrop{
    opacity:1!important;
    pointer-events:auto!important;
  }
  .sidebar{
    position:fixed!important;
    left:0!important;
    right:auto!important;
    top:88px!important;
    bottom:0!important;
    width:min(390px,82vw)!important;
    height:calc(100dvh - 88px)!important;
    min-width:0!important;
    max-width:390px!important;
    margin:0!important;
    padding:17px 12px 16px!important;
    transform:translate3d(-105%,0,0)!important;
    transition:transform .30s cubic-bezier(.22,.8,.2,1)!important;
    z-index:99999!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    visibility:hidden!important;
  }
  .open .sidebar{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
  }
  body.open main,
  body.open .topbar{
    margin-left:0!important;
    width:auto!important;
    transform:none!important;
  }
  body.open main{
    position:relative!important;
    left:0!important;
  }
}


.video-upload-box{margin-top:12px;padding:12px;border:1px solid #eee;border-radius:14px;background:#fff}.video-upload-box label{display:block;font-weight:700;margin-bottom:8px}.upload-name{font-size:14px;margin-top:8px;word-break:break-word}.upload-status{font-size:14px;margin-top:7px;min-height:18px}.success-text{color:#0a9f55}.error-text{color:#d21f3c}.upload-progress{height:6px;background:#eee;border-radius:99px;overflow:hidden;margin-top:8px}.upload-progress span{display:block;height:100%;width:0%;background:#ff304f;transition:width .15s linear}.video-upload-box input[type=file]{max-width:100%}button:disabled{opacity:.6;cursor:not-allowed}

/* Inline purchase confirmation + instant key reveal */
.purchase-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}
.purchase-modal[hidden]{display:none!important}
.purchase-modal-backdrop{position:absolute;inset:0;background:rgba(22,18,24,.58);backdrop-filter:blur(5px)}
.purchase-dialog{position:relative;width:min(440px,100%);background:#fff;border:1px solid #f3dce2;border-radius:24px;padding:26px 22px 20px;box-shadow:0 24px 70px rgba(80,20,40,.25);text-align:center}
.purchase-close{position:absolute;right:12px;top:10px;width:38px!important;height:38px!important;margin:0!important;padding:0!important;border:0;border-radius:50%;background:#fff3f5!important;color:#c2185b!important;font-size:26px;line-height:1;box-shadow:none!important}
.purchase-icon{width:58px;height:58px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ef233c,#ff5064);color:#fff;font-size:28px;font-weight:900;box-shadow:0 10px 24px rgba(239,35,60,.22)}
.purchase-dialog h2{margin:0 0 8px;color:#202834;font-size:22px}.purchase-dialog p{margin:0 auto;max-width:360px}
.purchase-actions{display:flex;gap:10px;margin-top:20px}.purchase-actions button{flex:1!important;width:auto!important;margin:0!important;padding:13px 12px!important;border-radius:13px!important;font-weight:900!important;cursor:pointer}
.purchase-cancel{background:#fff!important;color:#c2185b!important;border:1px solid #efc8d2!important;box-shadow:none!important}.purchase-confirm{border:0!important;color:#fff!important}
.purchase-modal-status{min-height:20px;margin-top:12px;color:#c2185b;font-size:12px;font-weight:800}
.purchased-key{display:flex!important;flex-direction:column;align-items:flex-start;gap:5px;width:100%}.purchased-key span{color:#0a9f55;font-size:11px;font-weight:900;letter-spacing:.5px}.purchased-key strong{display:block;width:100%;padding:10px 12px;border:1px dashed #b8e3ca;border-radius:10px;background:#f3fff7;color:#137a42;font-size:14px;word-break:break-all;text-align:left}.purchased-key small{color:#7b858f;font-size:11px}

/* Inline purchase + wallet payment modal */
.purchase-open{overflow:hidden}
.purchase-modal[hidden]{display:none!important}
.purchase-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}
.purchase-modal-backdrop{position:absolute;inset:0;background:rgba(2,8,14,.82);backdrop-filter:blur(7px)}
.purchase-dialog{position:relative;width:min(760px,100%);max-height:92vh;overflow:auto;border:1px solid #00f28a;border-radius:30px;background:#080d12;color:#fff;box-shadow:0 0 55px rgba(0,242,138,.22);padding:30px 34px}
.purchase-close{position:absolute;right:18px;top:14px;width:42px;height:42px;border:0;border-radius:50%;background:#141a20;color:#b9c1ca;font-size:28px;cursor:pointer}
.purchase-icon{font-size:40px;margin-bottom:4px}
.purchase-dialog h2{font-size:30px;margin:0 50px 20px 0;color:#fff}
.purchase-summary{background:#020507;border:1px solid rgba(255,255,255,.08);border-radius:25px;padding:20px 22px;margin-bottom:18px}
.purchase-summary>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;color:#9fa8b5;font-size:17px}
.purchase-summary strong{color:#fff;text-align:right}
.purchase-summary .purchase-total{border-top:1px dashed #41464b;margin-top:8px;padding-top:18px;font-size:27px;color:#00f28a}
.purchase-summary .purchase-total strong{color:#00f28a}
.purchase-summary .purchase-balance strong{color:#8bffbf}
.purchase-dialog .muted{color:#9fa8b5}
.purchase-actions{display:flex;gap:12px;margin-top:22px}
.purchase-actions button,.purchase-done{flex:1;min-height:58px;border-radius:18px;font-weight:900;font-size:17px;cursor:pointer}
.purchase-cancel{background:#050709;border:1px solid rgba(255,255,255,.13);color:#aab2bd}
.purchase-confirm,.purchase-done{border:0;background:#00cf70;color:#fff;box-shadow:0 10px 25px rgba(0,207,112,.18)}
.purchase-confirm:disabled{opacity:.55;cursor:wait}
.purchase-modal-status{margin-top:16px;text-align:center;color:#9feec6;min-height:22px}
.purchase-success{margin-top:18px;padding:18px;border-radius:20px;background:rgba(0,207,112,.08);border:1px solid rgba(0,242,138,.35)}
.success-badge{font-weight:900;color:#00f28a;margin-bottom:12px}
.success-key-label{font-size:12px;color:#8f9aa7;font-weight:700;margin-bottom:6px}
.success-key{background:#020507;border:1px dashed #00f28a;border-radius:12px;padding:15px;color:#fff;font-size:18px;word-break:break-all;font-weight:800}
.purchase-done{width:100%;margin-top:14px}
.purchased-key{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid rgba(0,242,138,.35);border-radius:12px;background:rgba(0,242,138,.06)}
.purchased-key span{color:#00f28a;font-size:12px;font-weight:900}.purchased-key strong{word-break:break-all}.purchased-key small{color:#8f9aa7}
@media(max-width:600px){.purchase-dialog{padding:25px 18px;border-radius:25px}.purchase-dialog h2{font-size:25px}.purchase-summary>div{font-size:15px}.purchase-summary .purchase-total{font-size:23px}.purchase-actions{flex-direction:column-reverse}.purchase-actions button{width:100%}}


/* Purchase confirmation: quantity selector + inline FamPay checkout */
.quantity-row{align-items:center!important}.quantity-control{display:flex;align-items:center;gap:10px}.quantity-control button{width:48px!important;height:44px!important;min-width:48px!important;margin:0!important;padding:0!important;border-radius:13px!important;border:1px solid rgba(255,255,255,.12)!important;background:#141a20!important;color:#fff!important;font-size:25px!important;line-height:1!important;box-shadow:none!important}.quantity-control button:last-child{border-color:#00f28a!important;color:#00f28a!important}.quantity-control button:disabled{opacity:.35;cursor:not-allowed}.quantity-control strong{min-width:54px;text-align:center;color:#fff!important;font-size:20px!important}
.purchase-payment{margin-top:18px;padding:20px;border:1px solid rgba(0,242,138,.35);border-radius:22px;background:rgba(0,242,138,.045);text-align:center}.purchase-payment[hidden]{display:none!important}.payment-heading{font-weight:900;color:#00f28a;letter-spacing:.7px;font-size:14px}.payment-amount{font-size:30px;font-weight:950;color:#00f28a;margin:8px 0}.payment-upi{color:#b8c1cc;font-size:14px;word-break:break-all}.payment-qr{display:block;width:min(300px,100%);max-height:300px;object-fit:contain;margin:16px auto;border-radius:16px;background:#fff;padding:10px}.payment-open{display:flex!important;align-items:center;justify-content:center;text-decoration:none;margin-top:10px!important;min-height:52px}.success-key-list{display:flex;flex-direction:column;gap:9px}.success-key{padding:12px;border:1px solid rgba(0,242,138,.3);border-radius:13px;background:rgba(0,242,138,.05);text-align:left}.success-key span{display:block;color:#00f28a;font-size:11px;font-weight:900;margin-bottom:4px}.success-key strong{display:block;color:#fff;word-break:break-all;font-size:14px}
@media(max-width:600px){.purchase-dialog{width:100%;max-height:94vh;padding:22px 15px}.purchase-dialog h2{font-size:24px}.purchase-summary{padding:15px;border-radius:20px}.purchase-summary>div{font-size:14px}.quantity-control button{width:44px!important;min-width:44px!important;height:42px!important}.quantity-control strong{min-width:42px}.payment-qr{width:min(270px,88vw)}}

/* FINAL REFERENCE-MATCH PURCHASE MODAL */
.purchase-modal-backdrop{background:rgba(0,0,0,.78)!important;backdrop-filter:blur(9px)!important;-webkit-backdrop-filter:blur(9px)!important}
.purchase-dialog{width:min(775px,calc(100vw - 28px))!important;max-height:calc(100dvh - 38px)!important;overflow:auto!important;padding:28px 38px 30px!important;border:2px solid #00f28a!important;border-radius:30px!important;background:#070b0f!important;color:#fff!important;box-shadow:0 0 55px rgba(0,242,138,.18)!important;text-align:left!important}
.purchase-title-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid rgba(255,255,255,.12);padding:0 0 22px;margin:0 0 20px}
.purchase-title-row .purchase-icon{width:auto!important;height:auto!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;font-size:38px!important;line-height:1!important}
.purchase-title-row h2{margin:0!important;font-size:32px!important;line-height:1.1!important;letter-spacing:-.4px!important;color:#fff!important}
.purchase-close{right:17px!important;top:13px!important;width:38px!important;height:38px!important;background:#11171d!important;color:#9da7b2!important;border:0!important}
.purchase-summary{margin:0 0 20px!important;padding:20px 24px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:27px!important;background:#020506!important}
.purchase-summary>div{padding:10px 0!important;font-size:18px!important;color:#aeb7c3!important;align-items:center}
.purchase-summary>div>strong{font-size:20px!important;color:#fff!important;max-width:62%;word-break:break-word}
.purchase-summary .purchase-total{margin-top:10px!important;padding-top:20px!important;font-size:29px!important;border-top:1px dashed #3b4248!important;color:#00f28a!important}
.purchase-summary .purchase-total strong{font-size:29px!important;color:#00f28a!important}
.quantity-row{min-height:64px}
.quantity-control{gap:12px!important}
.quantity-control button{width:50px!important;height:50px!important;min-width:50px!important;border-radius:14px!important;background:#11171c!important;border:1px solid rgba(255,255,255,.05)!important;color:#fff!important;font-size:27px!important}
.quantity-control button:last-child{border:2px solid #00f28a!important;color:#00f28a!important;background:#07110d!important}
.quantity-control strong{min-width:58px!important;font-size:22px!important}
.purchase-dialog .muted{color:#8f9aa7!important;font-size:14px!important;text-align:center!important}
.purchase-actions{display:flex!important;gap:14px!important;margin-top:22px!important;flex-direction:column!important}
.purchase-actions button{width:100%!important;min-height:62px!important;border-radius:20px!important;font-size:20px!important;letter-spacing:.4px!important}
.purchase-confirm,.purchase-done{background:#00cf70!important;box-shadow:0 10px 28px rgba(0,207,112,.22)!important}
.purchase-cancel{order:2;background:#020506!important;border:1px solid rgba(255,255,255,.12)!important;color:#aeb6c2!important}
.purchase-payment{background:#07100b!important;border-color:rgba(0,242,138,.4)!important}
@media(max-width:600px){
  .purchase-dialog{width:calc(100vw - 28px)!important;padding:24px 16px 22px!important;border-radius:28px!important}
  .purchase-title-row{gap:12px;padding-bottom:18px;margin-bottom:15px}
  .purchase-title-row .purchase-icon{font-size:32px!important}
  .purchase-title-row h2{font-size:25px!important}
  .purchase-summary{padding:14px 15px!important;border-radius:21px!important}
  .purchase-summary>div{font-size:15px!important;gap:12px!important}
  .purchase-summary>div>strong{font-size:16px!important;max-width:58%!important}
  .purchase-summary .purchase-total{font-size:24px!important;padding-top:16px!important}
  .purchase-summary .purchase-total strong{font-size:24px!important}
  .quantity-control{gap:8px!important}
  .quantity-control button{width:46px!important;height:46px!important;min-width:46px!important}
  .quantity-control strong{min-width:45px!important}
  .purchase-actions button{min-height:58px!important;font-size:18px!important}
}

/* FINAL: Neon Store pink + white purchase modal. Keep the site's existing theme. */
.purchase-modal{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important}
.purchase-modal[hidden]{display:none!important}
.purchase-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(44,20,30,.38)!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important}
.purchase-dialog{position:relative!important;width:min(520px,calc(100vw - 28px))!important;max-height:min(90dvh,760px)!important;overflow:auto!important;padding:24px 20px 20px!important;border:1px solid #f2c8d5!important;border-radius:24px!important;background:#fff!important;color:#202735!important;box-shadow:0 24px 70px rgba(194,55,105,.22)!important;text-align:left!important}
.purchase-title-row{display:flex!important;align-items:center!important;gap:12px!important;border-bottom:1px solid #f5e3e9!important;padding:0 42px 16px 0!important;margin:0 0 16px!important}
.purchase-title-row .purchase-icon{width:48px!important;height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;border-radius:15px!important;background:#fff0f5!important;color:#d81b60!important;box-shadow:none!important;font-size:25px!important;line-height:1!important}
.purchase-title-row h2{margin:0!important;font-size:24px!important;line-height:1.15!important;color:#252a35!important;letter-spacing:-.2px!important}
.purchase-close{right:12px!important;top:12px!important;width:38px!important;height:38px!important;border:1px solid #f0d7df!important;border-radius:12px!important;background:#fff7fa!important;color:#c2185b!important;font-size:25px!important;line-height:1!important;box-shadow:none!important}
.purchase-summary{margin:0 0 14px!important;padding:16px 17px!important;border:1px solid #f0e0e6!important;border-radius:18px!important;background:#fff!important}
.purchase-summary>div{display:flex!important;justify-content:space-between!important;gap:14px!important;padding:9px 0!important;font-size:15px!important;color:#727b88!important;align-items:center!important}
.purchase-summary>div>strong{font-size:15px!important;color:#252b36!important;max-width:60%!important;word-break:break-word!important;text-align:right!important}
.purchase-summary .purchase-total{margin-top:7px!important;padding-top:14px!important;border-top:1px dashed #e9cdd7!important;font-size:21px!important;color:#d81b60!important}
.purchase-summary .purchase-total strong{font-size:22px!important;color:#d81b60!important}
.quantity-control{gap:8px!important}
.quantity-control button{width:42px!important;height:42px!important;min-width:42px!important;border-radius:11px!important;background:#fff!important;border:1px solid #edcad6!important;color:#c2185b!important;font-size:24px!important;box-shadow:0 4px 12px rgba(194,24,91,.08)!important}
.quantity-control button:last-child{border:1px solid #d81b60!important;background:#d81b60!important;color:#fff!important}
.quantity-control strong{min-width:40px!important;color:#252b36!important;font-size:18px!important}
.purchase-dialog .muted{color:#7b8490!important;font-size:13px!important;text-align:center!important}
.purchase-actions{display:flex!important;flex-direction:row!important;gap:10px!important;margin-top:17px!important}
.purchase-actions button,.purchase-done{width:100%!important;min-height:48px!important;border-radius:13px!important;font-size:15px!important;font-weight:900!important;letter-spacing:.2px!important}
.purchase-cancel{order:2!important;background:#fff!important;border:1px solid #eccbd6!important;color:#c2185b!important;box-shadow:none!important}
.purchase-confirm,.purchase-done{order:1!important;border:0!important;background:linear-gradient(135deg,#d81b60,#ec407a)!important;color:#fff!important;box-shadow:0 10px 22px rgba(216,27,96,.20)!important}
.purchase-confirm:disabled{opacity:.6!important}
.purchase-modal-status{margin-top:11px!important;color:#c2185b!important;font-size:12px!important;text-align:center!important}
.purchase-payment{margin-top:15px!important;padding:16px!important;border:1px solid #f0cdd9!important;border-radius:18px!important;background:#fff7fa!important;text-align:center!important}
.payment-heading{color:#c2185b!important;font-weight:900!important;font-size:13px!important}
.payment-amount{font-size:26px!important;color:#d81b60!important;margin:6px 0!important}
.payment-upi{color:#707987!important;font-size:13px!important}
.payment-qr{display:block!important;width:min(270px,78vw)!important;max-height:270px!important;object-fit:contain!important;margin:14px auto!important;border-radius:14px!important;background:#fff!important;padding:8px!important;border:1px solid #eedbe2!important}
.payment-open{background:#d81b60!important;color:#fff!important;border-radius:12px!important}
.purchase-success{margin-top:15px!important;padding:15px!important;border-radius:17px!important;background:#fff7fa!important;border:1px solid #efcbd7!important}
.success-badge{font-weight:900!important;color:#d81b60!important;margin-bottom:10px!important}
.success-key-label{color:#777f8b!important;font-size:11px!important}
.success-key-list{display:flex!important;flex-direction:column!important;gap:8px!important}
.success-key{padding:10px!important;border:1px dashed #e2a9bd!important;border-radius:11px!important;background:#fff!important;text-align:left!important}
.success-key span{display:block!important;color:#c2185b!important;font-size:10px!important;font-weight:900!important;margin-bottom:3px!important}
.success-key strong{display:block!important;color:#252b36!important;word-break:break-all!important;font-size:13px!important}
.purchased-key{border-color:#efc9d5!important;background:#fff7fa!important}.purchased-key span{color:#c2185b!important}.purchased-key strong{border-color:#efc9d5!important;background:#fff!important;color:#252b36!important}
@media(max-width:600px){.purchase-modal{padding:12px!important}.purchase-dialog{width:calc(100vw - 24px)!important;max-height:92dvh!important;padding:20px 14px 16px!important;border-radius:21px!important}.purchase-title-row h2{font-size:21px!important}.purchase-summary{padding:13px 12px!important}.purchase-summary>div{font-size:14px!important}.purchase-summary>div>strong{font-size:14px!important}.purchase-actions{flex-direction:column!important}.purchase-actions button{min-height:50px!important}.purchase-cancel{order:2!important}.purchase-confirm{order:1!important}.payment-qr{width:min(250px,78vw)!important}}

/* Reference-style dashboard/wallet navigation — keep Neon Store pink + white palette */
.topbar{gap:12px!important}
.topbar .brand{margin-left:auto!important}
.top-wallet{display:flex;align-items:center;gap:7px;padding:11px 18px;border:1px solid #ffc9d2;border-radius:999px;background:#fff;color:#222b38;box-shadow:0 8px 22px rgba(239,35,60,.08);font-weight:900}
.top-wallet span{font-size:18px}.top-wallet strong{color:var(--red);font-size:16px}
.topbar .deposit-btn{white-space:nowrap}

/* Right-side drawer like the reference site */
.sidebar{left:auto!important;right:0!important;transform:translate3d(105%,0,0)!important;width:min(430px,86vw)!important;min-width:0!important;border-right:0!important;border-left:1px solid #f0dfe2!important;border-radius:28px 0 0 28px!important;padding:22px 16px 18px!important}
.open .sidebar{transform:translate3d(0,0,0)!important}
.sidebar-nav{gap:7px!important}
.sidebar a{min-height:58px!important;padding:13px 16px!important;border-radius:18px!important;font-size:17px!important;gap:14px!important;background:#fff!important}
.sidebar a span{width:30px!important;flex-basis:30px!important;font-size:22px!important}
.sidebar a.active{background:linear-gradient(100deg,#ef233c,#ff4e62)!important;color:#fff!important}
.sidebar a.active span{filter:none!important}
.sidebar a.how-use{color:var(--red)!important;background:#fff7f8!important;border-color:#ffd6dc!important}
.sidebar a.danger{color:var(--red)!important}
.sidebar-status{margin-top:18px!important}

/* Dashboard cards inspired by reference, without changing site colors */
.reference-stats{grid-template-columns:repeat(4,1fr)!important;gap:15px!important}
.reference-stats .stat-card{min-height:132px!important;padding:20px!important;border-radius:24px!important;display:flex!important;align-items:center!important;gap:15px!important}
.reference-stats .stat-icon{width:54px!important;height:54px!important;min-width:54px!important;border-radius:17px!important;font-size:23px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.reference-stats .stat-card b{font-size:23px!important;display:block!important}
.reference-stats .stat-card span{display:block!important;margin-top:5px!important;font-size:11px!important;letter-spacing:1px!important}
.dashboard-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:4px 0 24px}
.dashboard-quick-actions a{min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-decoration:none;border:1px solid #f0dfe2;border-radius:22px;background:#fff;box-shadow:var(--shadow);color:#273140}
.dashboard-quick-actions a span{font-size:28px}.dashboard-quick-actions a b{font-size:15px}.dashboard-quick-actions a:hover{transform:translateY(-2px);border-color:#ffc4cd;box-shadow:0 16px 34px rgba(239,35,60,.12)}
.dashboard-quick-actions .gold-action{border-color:#eadcae;background:#fffdf5}

/* Wallet page */
.wallet-page-head{text-align:center;padding:28px 0 18px}
.wallet-page-head h1{font-size:38px;margin:16px 0 6px}.wallet-page-head h1 span{color:var(--red)}
.wallet-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:10px 0 22px}
.wallet-stat{min-height:122px;padding:19px;border:1px solid #f0dfe2;border-radius:24px;background:#fff;box-shadow:var(--shadow);display:flex;align-items:center;gap:14px}
.wallet-stat>span{width:52px;height:52px;min-width:52px;border-radius:16px;background:#fff0f3;display:flex;align-items:center;justify-content:center;font-size:23px}
.wallet-stat b{display:block;font-size:22px;color:#202735}.wallet-stat small{display:block;margin-top:5px;color:#7d8794;font-weight:800;letter-spacing:.7px;font-size:10px}
.wallet-stat.pending>span{background:#fff8e7}.wallet-tabs{display:flex;gap:12px;overflow-x:auto;padding:4px 0 14px;scrollbar-width:none}.wallet-tabs::-webkit-scrollbar{display:none}
.wallet-tab{flex:0 0 auto;min-height:56px;padding:0 23px;border-radius:18px;border:1px solid #f0dfe2;background:#fff;color:#5e6875;font-weight:900;font-size:15px}.wallet-tab.active{border-color:#ef233c;color:var(--red);box-shadow:0 10px 25px rgba(239,35,60,.10)}
.wallet-gateway{margin-top:8px!important;padding:30px!important;border-radius:30px!important;border-top:4px solid #ef233c!important}
.wallet-gateway-title{font-size:28px;font-weight:950;color:#222b38;letter-spacing:.5px}.wallet-gateway>p{font-size:16px;line-height:1.7}
.wallet-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0 18px}.wallet-presets button{min-height:50px;border:1px solid #ffc4cd;border-radius:14px;background:#fff7f8!important;color:var(--red)!important;box-shadow:none!important}
.wallet-pay-btn{min-height:58px!important;font-size:17px!important;border-radius:18px!important}
.wallet-check-status{margin:25px 0 12px;padding:22px 4px 4px;border-top:1px dashed #f0dfe2;color:var(--red);font-weight:950;font-size:17px}.wallet-check-status p{margin:8px 0 0;color:#7d8794;font-size:13px;font-weight:500}

@media(max-width:900px){.reference-stats,.wallet-stats{grid-template-columns:repeat(2,1fr)!important}.dashboard-quick-actions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){
 .top-wallet{padding:9px 12px;font-size:13px}.top-wallet span{font-size:15px}.top-wallet strong{font-size:14px}.topbar .deposit-btn{padding:11px 13px;font-size:12px}
 .sidebar{width:82vw!important;max-width:390px!important;border-radius:25px 0 0 25px!important}
 .reference-stats,.wallet-stats{grid-template-columns:repeat(2,1fr)!important;gap:11px!important}.reference-stats .stat-card{min-height:112px!important;padding:14px!important;gap:10px!important}.reference-stats .stat-icon{width:45px!important;height:45px!important;min-width:45px!important;font-size:19px!important}.reference-stats .stat-card b{font-size:17px!important}.reference-stats .stat-card span{font-size:8px!important}
 .dashboard-quick-actions{gap:10px}.dashboard-quick-actions a{min-height:94px;border-radius:18px}.dashboard-quick-actions a span{font-size:24px}.dashboard-quick-actions a b{font-size:13px}
 .wallet-page-head{padding-top:18px}.wallet-page-head h1{font-size:31px}.wallet-stat{min-height:105px;padding:13px;gap:9px;border-radius:19px}.wallet-stat>span{width:42px;height:42px;min-width:42px;font-size:19px}.wallet-stat b{font-size:17px}.wallet-stat small{font-size:8px}.wallet-gateway{padding:22px 16px!important}.wallet-gateway-title{font-size:23px}.wallet-presets{gap:7px}.wallet-presets button{padding:0 5px;font-size:13px}
}
/* Dashboard reference card accents + Bootstrap Icons */
.reference-stats .stat-card{padding-top:26px!important}
.reference-stats .stat-line{position:absolute;left:0;right:0;top:0;height:4px;border-radius:24px 24px 0 0;box-shadow:0 0 14px currentColor;opacity:.95}
.reference-stats .stat-wallet .stat-line{background:#ff4d6d;color:#ff4d6d}.reference-stats .stat-keys .stat-line{background:#8b5cf6;color:#8b5cf6}.reference-stats .stat-spent .stat-line{background:#06b6d4;color:#06b6d4}.reference-stats .stat-account .stat-line{background:#22c55e;color:#22c55e}
.reference-stats .stat-icon{box-shadow:0 0 16px rgba(239,35,60,.16),inset 0 0 0 1px rgba(239,35,60,.06)}
.reference-stats .stat-icon i,.dashboard-quick-actions a span i,.dashboard-quick-actions button span i,.sidebar-nav a span i,.sidebar-footer-nav a span i,.top-wallet i,.deposit-btn i{filter:drop-shadow(0 0 7px currentColor)}
.dashboard-quick-actions button{font:inherit;cursor:pointer;width:100%;border:1px solid #eadcae;border-radius:22px;background:#fffdf5;box-shadow:var(--shadow);color:#273140;min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.dashboard-quick-actions button:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(239,35,60,.12)}
.reseller-dialog .purchase-title-row .purchase-icon{color:#d8a900;background:#fff8d8}
@media(max-width:900px){.reference-stats .stat-card{padding-top:22px!important}}

/* 2026-08-26 BUY KEYS + LEFT DRAWER FINAL */
.sidebar{left:0!important;right:auto!important;transform:translate3d(-105%,0,0)!important;border-left:0!important;border-right:1px solid #f0dfe2!important;border-radius:0 28px 28px 0!important}
.open .sidebar{transform:translate3d(0,0,0)!important}
.buy-hero{margin:22px auto 14px;max-width:1180px;padding:28px 20px 22px;text-align:center;border:1px solid #f1dfe3;border-radius:22px;background:linear-gradient(135deg,#fff,#fff4f6);box-shadow:var(--shadow)}
.buy-hero-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #ffc7cf;border-radius:999px;padding:8px 13px;color:#e92342;font-size:11px;font-weight:900;letter-spacing:1px}
.buy-hero h1{margin:12px 0 4px;font-size:28px;color:#202735}.buy-hero h1 span{color:#ef233c}.buy-hero p{margin:0;color:#7a8490;font-size:13px}
.buy-toolbar{max-width:1180px;margin:0 auto 18px;padding:0 2px}.buy-search{height:48px;display:flex;align-items:center;gap:9px;padding:0 14px;border:1px solid #e8e0e4;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(30,40,54,.06)}.buy-search i{color:#9aa2ad}.buy-search input{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:0!important;width:100%;font-size:14px}.category-tabs{display:flex;gap:8px;overflow:auto;padding:10px 1px 3px;scrollbar-width:none}.category-tabs::-webkit-scrollbar{display:none}.category-tab{flex:0 0 auto;border:1px solid #f0dce1!important;background:#fff!important;color:#596372!important;border-radius:999px!important;padding:9px 14px!important;font-size:10px!important;font-weight:900!important;letter-spacing:.4px!important;box-shadow:none!important;margin:0!important;width:auto!important}.category-tab.active{background:#ef233c!important;color:#fff!important;border-color:#ef233c!important;box-shadow:0 7px 18px rgba(239,35,60,.18)!important}.buy-toolbar + .section-title{margin-top:8px}.product.is-hidden{display:none!important}.no-filter-results{grid-column:1/-1;text-align:center;padding:35px 15px;border:1px dashed #f0ccd4;border-radius:18px;color:#8a939f;background:#fff8fa}

/* 2026-08-26 FINAL POLISH: left drawer + Bootstrap-only icons + neon motion */
.topbar .menu i,.sidebar-close i{filter:drop-shadow(0 0 7px currentColor)}
.sidebar a{isolation:isolate;overflow:visible!important}
.sidebar a::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:20px;
  padding:2px;
  background:conic-gradient(from 0deg, transparent 0 25%, rgba(255,45,104,.05) 32%, #ff3f83 44%, #ff8ab5 50%, #ff3f83 56%, rgba(255,45,104,.05) 68%, transparent 75% 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:menuNanoSpin 2.7s linear infinite;
  pointer-events:none;
  z-index:-1;
  opacity:.95;
}
.sidebar a.disabled-link::before{opacity:.25}
@keyframes menuNanoSpin{to{transform:rotate(360deg)}}

/* Thin glowing top line on every large dashboard/wallet function card */
.reference-stats .stat-card,.wallet-stat,.dashboard-quick-actions a,.dashboard-quick-actions button,.wallet-gateway,.wallet-check-status{
  position:relative;overflow:hidden;
}
.reference-stats .stat-card::before,.wallet-stat::before,.dashboard-quick-actions a::before,.dashboard-quick-actions button::before,.wallet-gateway::before,.wallet-check-status::before{
  content:"";position:absolute;left:0;right:0;top:0;height:4px;border-radius:inherit;
  background:linear-gradient(90deg,#ff2d68,#ff79a8,#ff2d68);
  box-shadow:0 0 14px rgba(255,45,104,.8),0 0 28px rgba(255,45,104,.35);
  animation:neonTopLine 2.4s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes neonTopLine{from{opacity:.65;transform:scaleX(.78);transform-origin:left}to{opacity:1;transform:scaleX(1);transform-origin:right}}
.wallet-stat>span,.dashboard-quick-actions a span,.dashboard-quick-actions button span,.wallet-tab i,.wallet-gateway-title i,.wallet-check-status i{filter:drop-shadow(0 0 7px currentColor) drop-shadow(0 0 13px currentColor)}
.wallet-stat>span i,.dashboard-quick-actions a span i,.dashboard-quick-actions button span i{font-size:inherit}
.wallet-tabs .wallet-tab{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}
.wallet-support-tab{cursor:pointer;color:var(--red)!important}
.wallet-support-tab:hover{transform:translateY(-1px);box-shadow:0 10px 25px rgba(239,35,60,.10)}
.wallet-gateway-title i{color:#ffb000;margin-right:5px}
@media(prefers-reduced-motion:reduce){.sidebar a::before,.reference-stats .stat-card::before,.wallet-stat::before,.dashboard-quick-actions a::before,.dashboard-quick-actions button::before,.wallet-gateway::before,.wallet-check-status::before{animation:none}}
.sidebar a::before{z-index:1}
.sidebar a > *{position:relative;z-index:2}

/* 2026-08-26 USER REQUEST: clean premium pink perimeter motion.
   IMPORTANT: no rotating circle/ring on the hamburger menu or sidebar items. */
.sidebar a::before{ 
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  padding:0!important;
  background:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  animation:none!important;
  pointer-events:none!important;
  z-index:1!important;
  opacity:1!important;
}
.sidebar a::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(90deg,transparent 0%,transparent 28%,rgba(255,45,104,.15) 38%,#ff2d68 50%,rgba(255,121,168,.35) 62%,transparent 72%,transparent 100%);
  background-size:240% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:sidebarEdgeSweep 3.8s ease-in-out infinite;
  pointer-events:none;
  z-index:1;
  opacity:.9;
}
.sidebar a.disabled-link::after{opacity:.22;animation:none}
@keyframes sidebarEdgeSweep{
  0%{background-position:120% 0;opacity:.35}
  45%{background-position:50% 0;opacity:.9}
  100%{background-position:-120% 0;opacity:.35}
}
.sidebar a > *{position:relative;z-index:2}
.sidebar a span i,.sidebar-footer-nav a span i{color:#ff2d68!important;filter:drop-shadow(0 0 5px rgba(255,45,104,.8)) drop-shadow(0 0 12px rgba(255,45,104,.45))!important}
.sidebar a.active span i{color:#fff!important;filter:drop-shadow(0 0 7px rgba(255,255,255,.8))!important}
.sidebar a:hover{box-shadow:0 8px 26px rgba(255,45,104,.11)!important}

/* Premium perimeter motion for the large dashboard/wallet function boxes. */
.reference-stats .stat-card::before,.wallet-stat::before,.dashboard-quick-actions a::before,.dashboard-quick-actions button::before,.wallet-gateway::before,.wallet-check-status::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  height:auto!important;
  width:auto!important;
  border-radius:inherit!important;
  padding:1px!important;
  background:linear-gradient(90deg,transparent 0%,transparent 25%,rgba(255,45,104,.12) 38%,#ff2d68 50%,rgba(255,121,168,.28) 62%,transparent 75%);
  background-size:240% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:boxEdgeSweep 4.2s ease-in-out infinite;
  pointer-events:none!important;
  z-index:1!important;
  opacity:.85!important;
  transform:none!important;
}
@keyframes boxEdgeSweep{
  0%{background-position:120% 0;opacity:.25}
  45%{background-position:50% 0;opacity:.8}
  100%{background-position:-120% 0;opacity:.25}
}
.reference-stats .stat-card > *, .dashboard-quick-actions a > *, .dashboard-quick-actions button > *,.wallet-stat > *, .wallet-gateway > *, .wallet-check-status > *{position:relative;z-index:2}
.reference-stats .stat-icon i,.dashboard-quick-actions a span i,.dashboard-quick-actions button span i,.wallet-stat>span i,.wallet-tab i,.wallet-gateway-title i,.wallet-check-status i,.top-wallet i,.deposit-btn i{
  filter:drop-shadow(0 0 5px currentColor) drop-shadow(0 0 12px currentColor)!important;
}

/* Login/Register: premium glass card + two long pink orbiting highlight lines. */
body.center{position:relative;overflow-x:hidden;background:radial-gradient(circle at 50% 18%,#fff 0%,#fff7f9 42%,#f3f5f8 100%)}
body.center::before,body.center::after{
  content:"";
  position:fixed;
  left:50%;
  width:min(760px,115vw);
  height:2px;
  pointer-events:none;
  z-index:0;
  background:linear-gradient(90deg,transparent,#ff2d68 20%,#ff79a8 50%,#ff2d68 80%,transparent);
  box-shadow:0 0 10px rgba(255,45,104,.75),0 0 25px rgba(255,45,104,.35);
  transform-origin:center;
}
body.center::before{top:27%;animation:authOrbitLine1 5s ease-in-out infinite}
body.center::after{top:73%;animation:authOrbitLine2 6s ease-in-out infinite reverse}
@keyframes authOrbitLine1{0%,100%{transform:translateX(-50%) rotate(-3deg) scaleX(.72);opacity:.35}50%{transform:translateX(-50%) rotate(3deg) scaleX(1);opacity:1}}
@keyframes authOrbitLine2{0%,100%{transform:translateX(-50%) rotate(3deg) scaleX(.7);opacity:.3}50%{transform:translateX(-50%) rotate(-3deg) scaleX(1);opacity:.95}}
.auth-card{position:relative;z-index:2;overflow:hidden!important;background:rgba(255,255,255,.92)!important;border:1px solid rgba(255,45,104,.18)!important;border-radius:28px!important;box-shadow:0 25px 80px rgba(50,25,40,.12),0 0 0 1px rgba(255,121,168,.08)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.auth-card::before{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;
  background:linear-gradient(90deg,transparent 0%,#ff2d68 22%,#ff9abd 50%,#ff2d68 78%,transparent 100%);
  background-size:220% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  animation:authCardSweep 4.5s linear infinite;
  pointer-events:none;opacity:.8;
}
@keyframes authCardSweep{from{background-position:120% 0}to{background-position:-120% 0}}
.auth-card .logo{width:66px;height:66px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;border-radius:20px;background:#fff1f4;color:#ff2d68;font-size:31px;box-shadow:0 0 20px rgba(255,45,104,.2),inset 0 0 18px rgba(255,45,104,.08)}
.auth-card h1{letter-spacing:1.5px}.auth-card h1 span{color:#ff2d68}
.auth-card input{background:rgba(255,255,255,.92)!important;border-color:#f0dfe4!important;box-shadow:0 6px 18px rgba(40,45,60,.04)!important}
.auth-card input:focus{border-color:#ff79a8!important;box-shadow:0 0 0 4px #fff0f5,0 0 16px rgba(255,45,104,.12)!important}
.auth-card button,.auth-card .ghost-btn{position:relative;overflow:hidden}
.auth-card button::after,.auth-card .ghost-btn::after{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(90deg,transparent,#ff79a8,#ff2d68,transparent);background-size:220% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:buttonEdgeSweep 3.2s linear infinite;pointer-events:none
}
@keyframes buttonEdgeSweep{from{background-position:120% 0}to{background-position:-120% 0}}
.auth-card .ghost-btn{border-color:#ffd4df!important;background:#fff8fa!important;color:#d92d56!important;box-shadow:0 8px 22px rgba(255,45,104,.08)!important}
.auth-card .links a{font-weight:900;color:#ff2d68}
@media(max-width:800px){body.center::before{top:21%}body.center::after{top:79%}.auth-card{width:min(560px,calc(100vw - 26px));padding:29px 19px!important}}
@media(prefers-reduced-motion:reduce){.sidebar a::after,.reference-stats .stat-card::before,.wallet-stat::before,.dashboard-quick-actions a::before,.dashboard-quick-actions button::before,.wallet-gateway::before,.wallet-check-status::before,body.center::before,body.center::after,.auth-card::before,.auth-card button::after,.auth-card .ghost-btn::after{animation:none!important}}


/* 2026-08-26 WALLET + PROFILE PINK GLOW FINAL */
:root{--pink:#ff2d68;--pink-2:#ff79a8;--pink-soft:#fff0f5}
/* Dashboard: Bootstrap icons are pink and visibly glowing. */
.dashboard-page .reference-stats .stat-icon i,
.dashboard-page .dashboard-quick-actions span i,
.dashboard-page .top-wallet i,
.dashboard-page .deposit-btn i{color:var(--pink)!important;filter:drop-shadow(0 0 5px var(--pink)) drop-shadow(0 0 13px rgba(255,45,104,.7))!important}
.dashboard-page .reference-stats .stat-icon{color:var(--pink)!important;background:#fff0f5!important}
.dashboard-page .dashboard-quick-actions a span,
.dashboard-page .dashboard-quick-actions button span{color:var(--pink)!important}
.dashboard-page .dashboard-quick-actions .gold-action{border-color:#ffc1d2!important;background:#fff7fa!important}
.dashboard-page .dashboard-quick-actions .gold-action b{color:#273140!important}
/* Wallet: remove remaining dark icon treatment and use the same pink glow. */
.wallet-page-body .wallet-stat>span,
.wallet-page-body .wallet-stat>span i,
.wallet-page-body .wallet-tab i,
.wallet-page-body .wallet-gateway-title i,
.wallet-page-body .wallet-check-status i,
.wallet-page-body .top-wallet i,
.wallet-page-body .deposit-btn i{color:var(--pink)!important;filter:drop-shadow(0 0 5px var(--pink)) drop-shadow(0 0 13px rgba(255,45,104,.65))!important}
.wallet-page-body .wallet-stat>span{background:#fff0f5!important}
.wallet-page-body .wallet-stat.pending>span{background:#fff0f5!important}
.wallet-page-body .wallet-gateway-title{color:#202735!important}
.wallet-page-body .wallet-tabs .wallet-tab{position:relative;overflow:hidden}
.wallet-page-body .wallet-tabs .wallet-tab::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:linear-gradient(90deg,transparent 0%,rgba(255,45,104,.12) 28%,#ff2d68 50%,rgba(255,121,168,.35) 66%,transparent 78%);background-size:240% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:boxEdgeSweep 4.2s ease-in-out infinite;pointer-events:none}
.wallet-page-body .wallet-required-notice{border-color:#ffb8cb!important;background:#fff5f8!important;color:#c2185b!important;box-shadow:0 10px 28px rgba(255,45,104,.08)}
.wallet-page-body .wallet-required-notice i{margin-right:7px;color:var(--pink);filter:drop-shadow(0 0 6px rgba(255,45,104,.65))}
/* Profile: use the same slow pink perimeter sweep as the wallet/auth surfaces. */
.profile-page .panel{position:relative;overflow:hidden;border-color:#f0dfe4!important}
.profile-page .panel::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(90deg,transparent 0%,transparent 25%,rgba(255,45,104,.12) 38%,#ff2d68 50%,rgba(255,121,168,.28) 62%,transparent 75%);background-size:240% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:boxEdgeSweep 4.2s ease-in-out infinite;pointer-events:none;z-index:1;opacity:.85}
.profile-page .panel>*{position:relative;z-index:2}
.profile-page .panel h2{color:#202735}
.profile-page .panel button{position:relative;overflow:hidden}
/* Keep the forbidden rotating menu circle disabled everywhere. */
.sidebar a::before{content:""!important;background:none!important;animation:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){.wallet-page-body .wallet-tabs .wallet-tab::after,.profile-page .panel::before{animation:none!important}}
