@import url('https://fonts.googleapis.com/css2?family=Bitcount+Single:wght@100..900&family=Manrope:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg:#040405;
  --bg2:#090a0d;
  --panel:rgba(15,16,21,.78);
  --panel2:rgba(22,24,31,.82);
  --line:rgba(255,255,255,.12);
  --line2:rgba(190,210,255,.22);
  --text:#f6f7fb;
  --muted:#a5aab8;
  --muted2:#727886;
  --accent:#dfe7ff;
  --accent2:#87a8ff;
  --good:#8fffc0;
  --bad:#ff8d8d;
  --radius:28px;
  --dot:'Bitcount Single','Courier New',monospace;
  --main:'Manrope','Inter','Segoe UI',Arial,sans-serif;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:var(--main);
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.13),transparent 9%),
    radial-gradient(circle at 84% 18%,rgba(150,180,255,.13),transparent 13%),
    radial-gradient(circle at 62% 76%,rgba(255,255,255,.075),transparent 15%),
    linear-gradient(180deg,#050506 0%,#07080b 46%,#030304 100%);
  overflow-x:hidden;
}
body::before,
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
}
body::before{
  background:
    radial-gradient(circle at 12% 38%,rgba(255,255,255,.10),transparent 4.5%),
    radial-gradient(circle at 93% 58%,rgba(255,255,255,.11),transparent 5.5%),
    radial-gradient(circle at 43% 4%,rgba(255,255,255,.055),transparent 6%),
    radial-gradient(circle at 70% 32%,rgba(116,151,255,.08),transparent 17%);
  filter:blur(13px);
  opacity:.9;
}
body::after{
  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:72px 72px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.65),transparent 72%);
  opacity:.35;
}

.bg-grid,.floating-squares,.particles,.particle,.square,.bg-particles,.p{display:none!important}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 42px));margin:0 auto}
.dot-font,.dot-title,.brand-logo-text,.frosty-heading-title,.frosty-shimmer-title,.balance-word-glitch{
  font-family:var(--dot)!important;
  font-weight:650;
  letter-spacing:.015em;
  text-transform:none;
}

.topbar{
  position:sticky;
  top:18px;
  z-index:50;
  width:min(var(--max),calc(100% - 42px));
  margin:18px auto 0;
  min-height:72px;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  border:1px solid var(--line);
  border-radius:30px;
  background:rgba(8,9,12,.72);
  backdrop-filter:blur(20px);
  box-shadow:0 24px 80px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.08);
}
.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.03em}
.brand-logo-img{width:42px;height:42px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,.16),0 0 28px rgba(140,170,255,.22)}
.brand-logo-text{font-size:20px;line-height:1;color:#fff;text-shadow:0 0 18px rgba(255,255,255,.28)}
.nav{display:flex;align-items:center;justify-content:center;gap:34px;color:#d7d9e2;font-weight:800;font-size:14px}
.nav a{opacity:.82;transition:.18s ease}
.nav a:hover{opacity:1;color:#fff;text-shadow:0 0 16px rgba(255,255,255,.25)}
.top-actions{display:flex;align-items:center;gap:12px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.62);
  border-radius:18px;
  min-height:52px;
  padding:0 28px;
  cursor:pointer;
  color:#06070a;
  background:linear-gradient(180deg,#fff 0%,#dfe2e8 100%);
  box-shadow:0 16px 34px rgba(255,255,255,.12),0 16px 38px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.95);
  font-weight:900;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 22px 52px rgba(255,255,255,.16),0 16px 38px rgba(0,0,0,.45)}
.btn.small{min-height:44px;border-radius:16px;padding:0 22px;font-size:14px}
.btn.full{width:100%}
.btn.ghost,.ghost{
  color:#f5f7ff;
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.btn.ghost:hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.25)}
.btn.danger,.ghost.danger{color:#ffb0b0;border-color:rgba(255,120,120,.25)}

.hero{
  position:relative;
  min-height:calc(100svh - 108px);
  padding:clamp(42px,6.5vh,76px) 0 clamp(70px,10vh,128px);
  display:flex;
  align-items:center;
}
.hero .container{
  width:min(1360px,calc(100% - 64px));
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 24% 44%,rgba(255,255,255,.115),transparent 18%),
    radial-gradient(circle at 78% 46%,rgba(125,158,255,.13),transparent 25%),
    linear-gradient(180deg,transparent 0%,rgba(255,255,255,.012) 58%,transparent 100%);
  filter:blur(4px);
}
.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(400px,0.86fr) minmax(540px,1fr);
  align-items:center;
  justify-content:space-between;
  column-gap:clamp(92px,10vw,168px);
}
.hero-copy{
  max-width:640px;
  justify-self:start;
}
.hero-kicker,
.hero-kicker::before{
  display:none!important;
}
.hero-title{
  margin:0 0 clamp(30px,4vh,44px);
  font-size:clamp(66px,7.25vw,112px);
  line-height:.82;
  color:#fff;
  text-shadow:0 0 26px rgba(255,255,255,.32),0 0 72px rgba(130,165,255,.22);
}
.hero p{
  margin:0;
  max-width:600px;
  color:#c1c7d6;
  font-size:clamp(18px,1.18vw,21px);
  line-height:1.74;
  font-weight:760;
}
.hero-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:clamp(40px,5.7vh,66px);
}
.hero-actions .btn{
  min-height:56px;
  padding:0 34px;
  border-radius:20px;
}
.hero-buy{min-width:212px}
.hero-preview{
  position:relative;
  min-height:clamp(390px,48vh,560px);
  display:grid;
  place-items:center;
  justify-self:end;
  overflow:visible;
  transform:translateY(18px);
}
.hero-preview::before{
  content:"";
  position:absolute;
  width:min(600px,42vw);
  height:min(600px,42vw);
  border-radius:50%;
  background:radial-gradient(circle,rgba(150,178,255,.24),rgba(255,255,255,.055) 35%,transparent 70%);
  filter:blur(20px);
}
.video-frame{
  position:relative;
  z-index:2;
  width:min(720px,46vw);
  aspect-ratio:16/9;
  border:1px solid rgba(225,235,255,.42);
  border-radius:28px;
  background:#050609;
  box-shadow:
    0 56px 165px rgba(0,0,0,.74),
    0 0 120px rgba(120,155,255,.26),
    0 0 34px rgba(255,255,255,.12),
    inset 0 0 0 1px rgba(255,255,255,.08);
  overflow:hidden;
}
.video-frame-tilted{
  transform:perspective(1300px) rotateY(-16deg) rotateX(4deg) rotateZ(-1deg);
  transform-origin:center center;
}
.video-frame::before{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:4;
  pointer-events:none;
  border-radius:30px;
  background:
    linear-gradient(#fff,#fff) left top/72px 2px no-repeat,
    linear-gradient(#fff,#fff) left top/2px 72px no-repeat,
    linear-gradient(#fff,#fff) right top/72px 2px no-repeat,
    linear-gradient(#fff,#fff) right top/2px 72px no-repeat,
    linear-gradient(#fff,#fff) left bottom/72px 2px no-repeat,
    linear-gradient(#fff,#fff) left bottom/2px 72px no-repeat,
    linear-gradient(#fff,#fff) right bottom/72px 2px no-repeat,
    linear-gradient(#fff,#fff) right bottom/2px 72px no-repeat;
  opacity:.78;
  filter:drop-shadow(0 0 12px rgba(255,255,255,.58)) drop-shadow(0 0 24px rgba(130,165,255,.35));
}
.video-frame::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  border-radius:inherit;
  background:
    linear-gradient(90deg,rgba(255,255,255,.08),transparent 18%,transparent 82%,rgba(255,255,255,.06)),
    linear-gradient(180deg,rgba(255,255,255,.10),transparent 22%,transparent 76%,rgba(0,0,0,.18));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    inset 0 0 50px rgba(120,155,255,.08);
}
.video-frame-top{
  display:none!important;
}
.video-slot{
  position:absolute;
  inset:0;
  z-index:2;
  background:#050609;
}
.video-slot iframe,
.video-slot video,
.video-slot embed{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  object-fit:cover;
}

.section{padding:86px 0}
.section-head{text-align:center;max-width:760px;margin:0 auto 34px}
.section h2,.cta h2,.dash-title,.frosty-heading-title{margin:0;color:#fff;font-size:clamp(34px,4vw,58px);line-height:1;text-shadow:0 0 22px rgba(255,255,255,.16)}
.section p,.section-head p,.muted,.frosty-heading-text{color:var(--muted);line-height:1.7;font-weight:700}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.card,.panel,.product,.auth-card,.auth-art,.sidebar,.balance-card,.wallet-card,.shop-balance-card,.config-wallet-card,.modal-box,.admin-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(22,24,31,.82),rgba(9,10,13,.86));
  box-shadow:0 28px 84px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(16px);
}
.card::before,.panel::before,.product::before,.auth-card::before,.auth-art::before,.sidebar::before,.balance-card::before,.admin-card::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);opacity:.75}
.card,.product{padding:28px;min-height:300px;display:flex;flex-direction:column;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.card:hover,.product:hover{transform:translateY(-8px);border-color:rgba(210,224,255,.28);box-shadow:0 34px 100px rgba(0,0,0,.52),0 0 54px rgba(130,165,255,.12),inset 0 1px 0 rgba(255,255,255,.08)}
.card h3,.product h3{margin:0 0 12px;font-size:28px;line-height:1;color:#fff;text-shadow:0 0 18px rgba(255,255,255,.16)}
.card p,.product p{margin:0 0 22px;color:#aab0bf;line-height:1.65;font-weight:700}
.price,.product-price,.accent-price,.balance-amount{margin-top:auto;margin-bottom:22px;color:#fff;font-size:36px;font-weight:900;text-shadow:0 0 22px rgba(255,255,255,.18)}
.old-price{color:#777;text-decoration:line-through}

.video{border:1px solid var(--line);border-radius:30px;overflow:hidden;background:#08090c;box-shadow:0 30px 90px rgba(0,0,0,.5)}
.video iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
.cta{margin:74px auto 90px;padding:38px;border:1px solid var(--line);border-radius:32px;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.025));display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 30px 90px rgba(0,0,0,.38)}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap}

.dash{padding:42px 0 88px}.dash-wrap{width:min(var(--max),calc(100% - 42px));margin:0 auto;display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.content{min-width:0}.sidebar{position:sticky;top:110px;padding:18px;display:grid;gap:10px}.sidebar h2{margin:0 0 8px;font-size:24px;font-family:var(--dot);font-weight:650}.sidebar a{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:15px;color:#c5cad8;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);font-weight:850;transition:.18s ease}.sidebar a:hover,.sidebar a.active{color:#fff;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.20);transform:translateX(3px)}
.frosty-page-heading{margin:6px 0 22px}.frosty-heading-kicker,.account-kicker,.auth-kicker{display:block;margin-bottom:9px;color:#c9d6ff;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.14em}.shop-lead{max-width:760px;margin-top:10px}.account-grid,.admin-grid,.admin-top-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.panel{padding:24px}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}.row:last-child{border-bottom:0}.row span{color:#a5aab8;font-weight:800}.row b{color:#fff}.green{color:var(--good)!important}.red,.error-text{color:var(--bad)!important}
.activation-form,.balance-promo-form,.promo-form,.admin-form,.config-upload-form,.auth-form{display:grid;gap:14px}.activation-form{grid-template-columns:minmax(0,1fr) auto}.input,input,textarea,select{width:100%;min-height:52px;padding:0 16px;border-radius:16px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.055);color:#fff;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}textarea,.area{min-height:128px;padding-top:14px;resize:vertical}.input:focus,input:focus,textarea:focus,select:focus{border-color:rgba(210,224,255,.38);box-shadow:0 0 0 4px rgba(210,224,255,.08)}::placeholder{color:#777d89}.success,.error{margin:14px 0;padding:14px 16px;border-radius:18px;font-weight:850}.success{color:#dfffea;background:rgba(115,255,181,.09);border:1px solid rgba(115,255,181,.22)}.error{color:#ffc1c1;background:rgba(255,110,110,.10);border:1px solid rgba(255,110,110,.24)}

.auth-wrap{padding:70px 0 96px}.auth-shell{width:min(980px,calc(100% - 42px));margin:0 auto;display:grid;grid-template-columns:.95fr 1fr;gap:22px;align-items:stretch}.auth-art,.auth-card{padding:34px}.auth-art{display:flex;flex-direction:column;justify-content:center;min-height:430px}.auth-brand-mini{display:flex;align-items:center;gap:12px;margin-bottom:30px}.auth-logo-mark svg{width:42px;height:42px}.auth-art h1{margin:0 0 16px;font-family:var(--dot);font-size:46px;line-height:1;color:#fff}.auth-art p{margin:0;color:#aab0bf;line-height:1.7;font-weight:750}.auth-card h2{margin:0 0 8px;font-family:var(--dot);font-size:44px}.auth-form label{font-weight:850;color:#dfe3ee}.auth-bottom a{color:#fff;text-decoration:underline;text-underline-offset:4px}.logo-glow,.logo-core{stroke:#fff}.logo-shine{stroke:#dfe7ff}

.balance-card{padding:24px}.balance-hero-card{margin-bottom:20px;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(125,155,255,.08),rgba(12,13,17,.86))}.balance-word-glitch{font-size:32px}.balance-amount{font-size:44px;margin:8px 0 0}.topup-method-tabs,.chips{display:flex;gap:12px;flex-wrap:wrap}.topup-method-card,.chip,.chips button{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);color:#e9ecf5;border-radius:16px;padding:12px 16px;font-weight:900;cursor:pointer}.chip.active,.chips .active{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.25)}.tg-inline-link{color:#fff;text-decoration:underline;text-underline-offset:4px}

.shop-grid,.config-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}.shop-promo-inline{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.promo-price-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.config-card-actions,.admin-user-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}.config-badge,.admin-badge{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.045);color:#dfe4f4;font-weight:900;font-size:12px}.config-badge.owned,.admin-badge.fresh{color:#bfffd8;border-color:rgba(143,255,192,.24);background:rgba(143,255,192,.08)}.config-badge.disabled,.admin-badge.used{color:#ffb6b6;border-color:rgba(255,141,141,.24);background:rgba(255,141,141,.08)}

.admin-table-wrap{overflow:auto;border:1px solid rgba(255,255,255,.10);border-radius:20px}.admin-table{width:100%;border-collapse:collapse;min-width:720px}.admin-table th,.admin-table td{padding:14px;border-bottom:1px solid rgba(255,255,255,.08);text-align:left}.admin-table th{color:#fff;background:rgba(255,255,255,.045)}.admin-users-list{display:grid;gap:12px}.admin-user-card{padding:16px;border:1px solid rgba(255,255,255,.10);border-radius:18px;background:rgba(255,255,255,.035);display:flex;gap:14px;justify-content:space-between;align-items:center}.admin-inline-form{display:flex;gap:10px;align-items:center}.admin-inline-form .input{width:140px}.admin-search{display:flex;gap:10px;margin-bottom:18px}

.modal{position:fixed;inset:0;z-index:100;display:none;place-items:center;padding:20px;background:rgba(0,0,0,.72);backdrop-filter:blur(10px)}.modal.show{display:grid}.modal-box{width:min(520px,100%);padding:24px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}

.footer{border-top:1px solid rgba(255,255,255,.09);background:rgba(5,5,6,.64);backdrop-filter:blur(14px)}.footer-inner{width:min(var(--max),calc(100% - 42px));margin:0 auto;padding:34px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.footer p{color:#858b99;font-weight:700}.footer-cols{display:flex;gap:48px}.footer-cols div{display:grid;gap:8px}.footer-cols b{color:#fff}.footer-cols a{color:#a7adba;font-weight:750}.footer-cols a:hover{color:#fff}

.reveal-up{opacity:1!important;transform:none!important;animation:none!important}.is-visible{opacity:1!important;transform:none!important}

@media(max-width:1000px){
  .hero .container{width:min(100% - 42px,1040px)}.hero-grid{grid-template-columns:1fr;gap:56px}.hero-copy,.hero-preview{justify-self:center}.hero-copy{text-align:left}.hero-preview{min-height:390px;transform:none}.video-frame{width:min(760px,100%)}.video-frame-tilted{transform:perspective(1000px) rotateY(-10deg) rotateX(3deg)}.cards,.shop-grid,.config-shop-grid{grid-template-columns:1fr 1fr}.dash-wrap{grid-template-columns:1fr}.sidebar{position:relative;top:auto}.auth-shell{grid-template-columns:1fr}.account-grid,.admin-grid,.admin-top-grid{grid-template-columns:1fr}.nav{gap:18px}.footer-inner{flex-direction:column}.footer-cols{width:100%;justify-content:space-between}
}
@media(max-width:700px){
  .container,.dash-wrap,.footer-inner,.topbar{width:calc(100% - 24px)}.topbar{top:10px;margin-top:10px;border-radius:22px;flex-wrap:wrap}.brand-logo-img{width:36px;height:36px}.nav{order:3;width:100%;justify-content:center;gap:14px;flex-wrap:wrap;font-size:13px}.top-actions{margin-left:auto}.top-actions .btn{min-height:40px;padding:0 14px}.hero{min-height:auto;padding:62px 0 76px}.hero .container{width:calc(100% - 24px)}.hero-title{font-size:48px}.hero p{font-size:16px;font-weight:720}.hero-actions{align-items:stretch}.hero-actions .btn{width:100%}.video-frame{width:100%;border-radius:24px}.video-frame::before{background:linear-gradient(#fff,#fff) left top/48px 2px no-repeat,linear-gradient(#fff,#fff) left top/2px 48px no-repeat,linear-gradient(#fff,#fff) right top/48px 2px no-repeat,linear-gradient(#fff,#fff) right top/2px 48px no-repeat,linear-gradient(#fff,#fff) left bottom/48px 2px no-repeat,linear-gradient(#fff,#fff) left bottom/2px 48px no-repeat,linear-gradient(#fff,#fff) right bottom/48px 2px no-repeat,linear-gradient(#fff,#fff) right bottom/2px 48px no-repeat}.video-frame-tilted{transform:none}.cards,.shop-grid,.config-shop-grid{grid-template-columns:1fr}.section{padding:52px 0}.cta{display:grid;padding:24px;margin-top:44px}.cta-actions .btn{width:100%}.activation-form,.shop-promo-inline,.admin-search,.admin-inline-form{grid-template-columns:1fr;display:grid}.footer-cols{display:grid;gap:24px}.auth-wrap{padding:44px 0 70px}.auth-art,.auth-card{padding:24px}.auth-art{min-height:auto}.dash{padding-top:24px}
}

/* Pricing section polish */
.pricing-section{
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:clamp(96px,11vh,132px);
  padding-bottom:clamp(150px,16vh,220px);
  scroll-margin-top:0;
}
.tariff-cards{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.tariff-card{
  min-height:330px;
  padding:28px;
}
.tariff-card h3{
  min-height:58px;
  font-size:clamp(23px,1.42vw,30px);
}
.tariff-card p{
  min-height:78px;
}
.tariff-tag{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:28px;
  padding:0 11px;
  margin-bottom:16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.055);
  color:#dfe7ff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  box-shadow:0 0 22px rgba(255,255,255,.06);
}
.tariff-tag.private{
  color:#e9efff;
  border-color:rgba(160,185,255,.26);
  background:rgba(125,155,255,.09);
}
.tariff-tag.ghost{
  color:#ffffff;
  border-color:rgba(255,255,255,.26);
  background:rgba(255,255,255,.09);
}
.video-section{
  padding-top:clamp(130px,15vh,210px);
}

@media(max-width:1000px){
  .pricing-section{
    min-height:auto;
    padding-top:86px;
    padding-bottom:116px;
  }
  .tariff-cards{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:700px){
  .tariff-cards{
    grid-template-columns:1fr;
  }
  .tariff-card h3,
  .tariff-card p{
    min-height:0;
  }
  .video-section{
    padding-top:92px;
  }
}

/* Final dashboard tab tweaks */
.dashboard-shop-card{
  transition:
    transform .36s cubic-bezier(.16,1,.3,1),
    border-color .36s ease,
    box-shadow .36s ease,
    filter .36s ease,
    background .36s ease;
}
.dashboard-shop-card:hover{
  transform:translateY(-10px) scale(1.006);
}
.dashboard-buy-form{
  margin-top:auto;
}
.dashboard-buy-form .btn{
  width:100%;
}
.profile-old-license-form{
  grid-template-columns:minmax(0,1fr) auto;
}
.profile-old-license .success,
.profile-old-license .error{
  margin:0 0 14px;
}
@media(max-width:760px){
  .profile-old-license-form{
    grid-template-columns:1fr;
  }
}


/* Internal dashboard tab content */
.profile-old-panel{
  padding:26px;
  display:grid;
  gap:16px;
}
.profile-old-panel-title{
  color:#fff;
  font-size:clamp(30px,3vw,48px);
  line-height:1;
  text-shadow:0 0 22px rgba(255,255,255,.20);
}
.profile-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.profile-inline-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
}
.profile-old-value.big-value{
  font-size:34px;
  text-shadow:0 0 24px rgba(255,255,255,.22);
}
.dashboard-shop-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.dashboard-shop-card{
  min-height:300px;
  padding:24px;
  display:flex;
  flex-direction:column;
}
.dashboard-shop-card h3{
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(24px,2vw,32px);
  line-height:1;
  text-shadow:0 0 18px rgba(255,255,255,.18);
}
.dashboard-shop-card p{
  margin:0 0 22px;
  color:#aab0bf;
  line-height:1.55;
  font-weight:750;
}
.dashboard-shop-card .price{
  margin-top:auto;
}
@media(max-width:760px){
  .profile-inline-form{
    grid-template-columns:1fr;
  }
  .dashboard-shop-grid{
    grid-template-columns:1fr;
  }
}


/* Dashboard top sections tabs */
.profile-sections-tabs{
  width:100%;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  border-radius:22px;
}
.profile-sections-tabs::-webkit-scrollbar{
  display:none;
}
.profile-sections-tabs .profile-old-tab{
  flex:0 0 auto;
  min-width:max-content;
  padding:0 22px;
}
.profile-sections-tabs .profile-old-tab:not(.active){
  background:rgba(255,255,255,.035);
  border:1px solid transparent;
}
.profile-sections-tabs .profile-old-tab:not(.active):hover{
  color:#fff;
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 0 28px rgba(255,255,255,.08);
}
.profile-old-right{
  align-content:start;
}
@media(max-width:760px){
  .profile-sections-tabs{
    justify-content:flex-start;
    border-radius:18px;
  }
  .profile-sections-tabs .profile-old-tab{
    padding:0 18px;
  }
}


/* Restored old profile content layout */
.profile-old-page{
  padding:clamp(42px,6vh,72px) 0 100px;
}
.profile-old-wrap{
  width:min(1120px,calc(100% - 42px));
  margin:0 auto;
  display:grid;
  grid-template-columns:360px minmax(0,1fr);
  gap:26px;
  align-items:start;
}
.glass{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:28px;
  background:
    radial-gradient(circle at 20% 0%,rgba(255,255,255,.10),transparent 34%),
    linear-gradient(180deg,rgba(22,24,31,.84),rgba(8,9,12,.88));
  box-shadow:
    0 28px 88px rgba(0,0,0,.44),
    inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter:blur(16px);
}
.glass::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);
  opacity:.75;
}
.profile-old-left{
  display:grid;
  gap:18px;
}
.profile-old-summary{
  min-height:116px;
  padding:22px;
  display:grid;
  grid-template-columns:68px minmax(0,1fr) 42px;
  align-items:center;
  gap:16px;
}
.profile-old-avatar{
  width:68px;
  height:68px;
  border-radius:22px;
  display:grid;
  place-items:center;
  color:#08090c;
  background:linear-gradient(180deg,#fff,#dfe4ee);
  box-shadow:0 0 42px rgba(255,255,255,.18),inset 0 1px 0 rgba(255,255,255,.8);
  font-weight:950;
  font-size:22px;
}
.profile-old-lines{
  min-width:0;
  display:grid;
  gap:8px;
}
.profile-old-name{
  color:#fff;
  font-size:32px;
  line-height:1;
  text-shadow:0 0 22px rgba(255,255,255,.24);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-old-sub{
  color:#9da5b8;
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-old-logout{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:16px;
  color:#fff;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.11);
  font-weight:950;
  transition:.2s ease;
}
.profile-old-logout:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.12);
  box-shadow:0 0 28px rgba(255,255,255,.12);
}
.profile-old-license{
  padding:24px;
}
.profile-old-kicker{
  margin-bottom:16px;
  color:#fff;
  font-size:12px;
  font-weight:950;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.profile-old-license-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  margin-bottom:14px;
}
.profile-old-license-form input{
  min-height:54px;
  padding:0 16px;
  border-radius:17px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  color:#fff;
  font-weight:850;
}
.profile-old-license-form input:focus{
  outline:none;
  border-color:rgba(255,255,255,.34);
  box-shadow:0 0 0 4px rgba(255,255,255,.07);
}
.profile-old-muted{
  color:#8f96a8;
  font-weight:750;
  font-size:13px;
  line-height:1.55;
}
.profile-old-right{
  min-width:0;
  display:grid;
  gap:18px;
}
.profile-old-tabs{
  display:flex;
  gap:12px;
  padding:8px;
  width:max-content;
  max-width:100%;
  border:1px solid rgba(255,255,255,.11);
  border-radius:20px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.profile-old-tab{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 24px;
  border-radius:15px;
  color:#aeb7c9;
  font-weight:950;
  transition:.2s ease;
}
.profile-old-tab:hover,
.profile-old-tab.active{
  color:#090a0d;
  background:#fff;
  box-shadow:0 0 34px rgba(255,255,255,.18);
}
.profile-old-grid{
  padding:18px;
  display:grid;
  gap:14px;
}
.profile-old-grid.three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.profile-old-tile{
  min-height:134px;
  padding:20px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.08),transparent 38%),
    rgba(255,255,255,.035);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
}
.profile-old-label{
  color:#9da5b8;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.13em;
}
.profile-old-value{
  color:#fff;
  font-size:18px;
  line-height:1.28;
  font-weight:950;
  overflow-wrap:anywhere;
}
.status-pill{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:950;
}
.status-active{
  color:#bfffd9;
  background:rgba(143,255,192,.10);
  border:1px solid rgba(143,255,192,.24);
  box-shadow:0 0 24px rgba(143,255,192,.10);
}
.status-expired{
  color:#cfd3dd;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.13);
}
.profile-old-download{
  min-height:190px;
  padding:28px;
  display:grid;
  place-items:center;
  text-align:center;
}
.profile-old-download-btn{
  min-width:260px;
}
.btn-disabled{
  opacity:.56;
  pointer-events:none;
  filter:grayscale(.2);
}

@media(max-width:1000px){
  .profile-old-wrap{
    grid-template-columns:1fr;
  }
  .profile-old-left{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .profile-old-wrap{
    width:calc(100% - 24px);
  }
  .profile-old-summary{
    grid-template-columns:56px minmax(0,1fr);
  }
  .profile-old-logout{
    grid-column:1 / -1;
    width:100%;
  }
  .profile-old-license-form{
    grid-template-columns:1fr;
  }
  .profile-old-tabs{
    width:100%;
  }
  .profile-old-tab{
    flex:1;
  }
  .profile-old-grid.three{
    grid-template-columns:1fr;
  }
}


/* Profile sidebar restored classic menu */
.dash-wrap{
  grid-template-columns:310px minmax(0,1fr);
  gap:28px;
}
.profile-menu-old{
  position:sticky;
  top:112px;
  padding:18px;
  gap:0;
  border-radius:30px;
  background:
    radial-gradient(circle at 18% 0%,rgba(255,255,255,.12),transparent 34%),
    linear-gradient(180deg,rgba(23,24,30,.88),rgba(8,9,12,.90));
  border:1px solid rgba(255,255,255,.13);
  box-shadow:
    0 28px 90px rgba(0,0,0,.46),
    0 0 56px rgba(140,170,255,.08),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(18px);
  overflow:hidden;
}
.profile-menu-old::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent) top/100% 1px no-repeat,
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.10),transparent 32%);
  opacity:.9;
}
.profile-menu-head{
  position:relative;
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:4px 2px 18px;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.profile-menu-avatar{
  width:56px;
  height:56px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 0 32px rgba(255,255,255,.10),inset 0 1px 0 rgba(255,255,255,.08);
  overflow:hidden;
}
.profile-menu-avatar img{
  width:44px;
  height:44px;
  border-radius:50%;
  object-fit:cover;
  filter:drop-shadow(0 0 14px rgba(255,255,255,.22));
}
.profile-menu-user{
  min-width:0;
  display:grid;
  gap:4px;
}
.profile-menu-kicker{
  color:#aeb7cc;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.profile-menu-user b{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:24px;
  line-height:1;
  text-shadow:0 0 18px rgba(255,255,255,.24);
}
.profile-menu-user small{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#8f96a8;
  font-weight:800;
  font-size:12px;
}
.profile-menu-status{
  position:relative;
  margin:14px 0;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 14px;
  border-radius:17px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.045);
}
.profile-menu-status span{
  color:#9da5b8;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.profile-menu-status b{
  color:#fff;
  font-size:12px;
  font-weight:950;
  letter-spacing:.14em;
  text-shadow:0 0 18px rgba(255,255,255,.20);
}
.profile-menu-nav,
.profile-menu-bottom{
  position:relative;
  display:grid;
  gap:9px;
}
.profile-menu-bottom{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.09);
}
.sidebar.profile-menu-old a{
  position:relative;
  min-height:48px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:8px;
  padding:0 12px;
  border-radius:16px;
  color:#c7cedd;
  border:1px solid rgba(255,255,255,.075);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.025));
  font-weight:900;
  overflow:hidden;
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    color .22s ease,
    box-shadow .22s ease;
}
.sidebar.profile-menu-old a::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 0% 50%,rgba(255,255,255,.16),transparent 34%),
    linear-gradient(90deg,rgba(255,255,255,.10),transparent 48%);
  opacity:0;
  transition:opacity .22s ease;
  pointer-events:none;
}
.sidebar.profile-menu-old a i{
  position:relative;
  z-index:1;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#fff;
  font-style:normal;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.sidebar.profile-menu-old a span{
  position:relative;
  z-index:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sidebar.profile-menu-old a:hover,
.sidebar.profile-menu-old a.active{
  color:#fff;
  transform:translateX(6px);
  border-color:rgba(255,255,255,.22);
  background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.045));
  box-shadow:0 16px 44px rgba(0,0,0,.32),0 0 36px rgba(255,255,255,.08);
}
.sidebar.profile-menu-old a:hover::before,
.sidebar.profile-menu-old a.active::before{
  opacity:1;
}
.sidebar.profile-menu-old a.active i{
  background:#fff;
  color:#090a0d;
  box-shadow:0 0 24px rgba(255,255,255,.28);
}
.sidebar.profile-menu-old .logout-link{
  color:#ffcbcb;
}
.sidebar.profile-menu-old .logout-link:hover{
  border-color:rgba(255,160,160,.24);
  box-shadow:0 16px 44px rgba(0,0,0,.32),0 0 34px rgba(255,120,120,.10);
}

@media(max-width:1000px){
  .dash-wrap{
    grid-template-columns:1fr;
  }
  .profile-menu-old{
    position:relative;
    top:auto;
  }
  .profile-menu-nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:700px){
  .profile-menu-old{
    padding:14px;
    border-radius:24px;
  }
  .profile-menu-nav{
    grid-template-columns:1fr;
  }
  .profile-menu-user b{
    font-size:22px;
  }
}


/* Tariff card premium hover */
.tariff-card{
  isolation:isolate;
  transform:translateY(0);
  will-change:transform, box-shadow, border-color, filter;
}
.tariff-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:-1;
  border-radius:inherit;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.28),transparent 34%),
    linear-gradient(135deg,rgba(255,255,255,.16),transparent 38%,rgba(255,255,255,.08));
  opacity:0;
  filter:blur(14px);
  transition:opacity .26s ease,filter .26s ease;
  pointer-events:none;
}
.tariff-card:hover{
  transform:translateY(-18px) scale(1.012);
  border-color:rgba(255,255,255,.42);
  filter:brightness(1.06);
  box-shadow:
    0 42px 120px rgba(0,0,0,.64),
    0 0 78px rgba(255,255,255,.20),
    0 0 130px rgba(150,178,255,.18),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.tariff-card:hover::after{
  opacity:1;
  filter:blur(18px);
}
.tariff-card:hover h3{
  text-shadow:
    0 0 18px rgba(255,255,255,.42),
    0 0 40px rgba(255,255,255,.20);
}
.tariff-card:hover .price{
  text-shadow:
    0 0 24px rgba(255,255,255,.42),
    0 0 52px rgba(255,255,255,.20);
}
.tariff-card:hover .tariff-tag{
  border-color:rgba(255,255,255,.34);
  background:rgba(255,255,255,.12);
  box-shadow:0 0 28px rgba(255,255,255,.14);
}

@media(max-width:700px){
  .tariff-card:hover{
    transform:translateY(-10px);
  }
}


/* Brand split: logo toggles menu, text opens home */
.brand-logo-button{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  cursor:pointer;
}
.brand-logo-button:focus-visible,
.brand-logo-text:focus-visible{
  outline:2px solid rgba(255,255,255,.55);
  outline-offset:4px;
}
.brand-logo-text{
  display:inline-flex;
  align-items:center;
  min-height:42px;
}
.brand-logo-text:hover{
  color:#fff;
  text-shadow:0 0 22px rgba(255,255,255,.38),0 0 42px rgba(130,165,255,.22);
}
.topbar.menu-collapsed .brand-logo-button{
  width:46px;
  height:46px;
  flex-basis:46px;
}
.topbar.menu-collapsed .brand-logo-text{
  opacity:0;
  pointer-events:none;
  visibility:hidden;
  max-width:0;
  width:0;
  min-height:0;
  transform:translateX(-12px) scale(.92);
}


/* Animated topbar collapse into logo */
.topbar,
.topbar .brand,
.topbar .nav,
.topbar .top-actions,
.topbar .brand-logo-text,
.topbar .brand-logo-img{
  transition:
    width .46s cubic-bezier(.2,.9,.18,1),
    max-width .46s cubic-bezier(.2,.9,.18,1),
    min-height .46s cubic-bezier(.2,.9,.18,1),
    padding .46s cubic-bezier(.2,.9,.18,1),
    border-radius .46s cubic-bezier(.2,.9,.18,1),
    opacity .24s ease,
    transform .46s cubic-bezier(.2,.9,.18,1),
    filter .46s ease,
    box-shadow .46s ease,
    gap .46s cubic-bezier(.2,.9,.18,1);
}
.topbar{
  overflow:hidden;
}
.brand{
  cursor:pointer;
  user-select:none;
}
.brand-logo-button:hover .brand-logo-img{
  transform:scale(1.05);
  box-shadow:0 0 0 1px rgba(255,255,255,.26),0 0 36px rgba(200,218,255,.34);
}
.topbar.menu-collapsed{
  width:68px;
  min-height:68px;
  padding:10px;
  gap:0;
  border-radius:999px;
  justify-content:center;
  box-shadow:0 22px 80px rgba(0,0,0,.55),0 0 42px rgba(160,190,255,.20),inset 0 1px 0 rgba(255,255,255,.12);
}
.topbar.menu-collapsed .brand{
  gap:0;
  width:46px;
  min-width:46px;
  height:46px;
  justify-content:center;
}
.topbar.menu-collapsed .brand-logo-img{
  width:46px;
  height:46px;
  animation:mahoragoLogoSpin .62s cubic-bezier(.2,.9,.18,1) both;
  filter:drop-shadow(0 0 18px rgba(255,255,255,.30));
}
.topbar.menu-collapsed .brand-logo-text,
.topbar.menu-collapsed .nav,
.topbar.menu-collapsed .top-actions{
  opacity:0;
  pointer-events:none;
  visibility:hidden;
  max-width:0;
  width:0;
  transform:translateX(-12px) scale(.92);
}
.topbar.menu-collapsed .nav,
.topbar.menu-collapsed .top-actions{
  display:flex;
  overflow:hidden;
}
.topbar:not(.menu-collapsed) .brand-logo-img{
  animation:mahoragoLogoSpinBack .52s cubic-bezier(.2,.9,.18,1) both;
}

@keyframes mahoragoLogoSpin{
  0%{transform:rotate(0deg) scale(1)}
  70%{transform:rotate(330deg) scale(1.08)}
  100%{transform:rotate(360deg) scale(1)}
}
@keyframes mahoragoLogoSpinBack{
  0%{transform:rotate(360deg) scale(1.04)}
  100%{transform:rotate(0deg) scale(1)}
}

@media(max-width:700px){
  .topbar.menu-collapsed{
    width:62px;
    min-height:62px;
    padding:8px;
  }
  .topbar.menu-collapsed .brand,
  .topbar.menu-collapsed .brand-logo-img{
    width:44px;
    min-width:44px;
    height:44px;
  }
}


/* Video section title cleanup */
.video-section{
  scroll-margin-top:120px;
}
.video-section .section-head{
  padding-top:24px;
  margin-bottom:22px;
}
.video-section .section-head h2.dot-title{
  font-family:var(--dot)!important;
  font-weight:650!important;
  letter-spacing:.015em!important;
  line-height:1.08!important;
  overflow:visible!important;
  text-transform:none!important;
  text-shadow:0 0 24px rgba(255,255,255,.24),0 0 54px rgba(130,165,255,.16)!important;
}
.video-current-type span{
  display:none!important;
}


/* Current video type label */
.video-current-type{
  position:relative;
  z-index:3;
  width:max-content;
  margin:34px auto -18px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 34px 16px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.028));
  box-shadow:0 24px 80px rgba(0,0,0,.34),0 0 44px rgba(125,155,255,.10),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(16px);
}
.video-current-type::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);
  opacity:.42;
  pointer-events:none;
}
.video-current-type b{
  position:relative;
  color:#fff;
  font-size:clamp(34px,3.3vw,54px);
  line-height:.9;
  text-shadow:0 0 24px rgba(255,255,255,.28),0 0 48px rgba(125,155,255,.18);
}
.video-current-type.is-changing b{
  animation:videoTypeSwitch .34s ease both;
}
@keyframes videoTypeSwitch{
  0%{opacity:0;transform:translateY(8px) scale(.96);filter:blur(5px)}
  100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}

@media(max-width:700px){
  .video-current-type{
    margin:24px auto -8px;
    padding:11px 22px 13px;
  }
  .video-current-type b{
    font-size:34px;
  }
}


/* Video carousel section */
.video-section{
  padding-top:clamp(150px,17vh,230px);
}
.video-carousel{
  position:relative;
  width:min(1180px,100%);
  min-height:clamp(430px,50vw,620px);
  margin:46px auto 0;
  display:grid;
  place-items:center;
  perspective:1300px;
  overflow:visible;
}
.video-card{
  position:absolute;
  border:1px solid rgba(255,255,255,.14);
  border-radius:30px;
  overflow:hidden;
  background:rgba(7,8,11,.92);
  box-shadow:0 32px 90px rgba(0,0,0,.55),0 0 52px rgba(125,155,255,.12),inset 0 1px 0 rgba(255,255,255,.07);
}
.video-card-main{
  z-index:4;
  width:min(820px,72vw);
  aspect-ratio:16/9;
  transform:translateZ(80px);
}
.video-card-main iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.video-card-side{
  z-index:2;
  width:min(390px,30vw);
  aspect-ratio:16/9;
  padding:0;
  cursor:pointer;
  opacity:.62;
  filter:saturate(.75) brightness(.72);
  transition:transform .28s ease,opacity .28s ease,filter .28s ease,border-color .28s ease,box-shadow .28s ease;
}
.video-card-side img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.82;
}
.video-card-side::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.62));
}
.video-card-left{
  left:0;
  transform:translateX(-16%) rotateY(22deg) rotateZ(-2deg) scale(.86);
  transform-origin:right center;
}
.video-card-right{
  right:0;
  transform:translateX(16%) rotateY(-22deg) rotateZ(2deg) scale(.86);
  transform-origin:left center;
}
.video-card-side:hover{
  opacity:1;
  filter:saturate(1) brightness(.95);
  border-color:rgba(255,255,255,.30);
  box-shadow:0 38px 110px rgba(0,0,0,.62),0 0 76px rgba(125,155,255,.24),inset 0 1px 0 rgba(255,255,255,.12);
}
.video-card-left:hover{
  transform:translateX(-10%) rotateY(17deg) rotateZ(-1deg) scale(.92);
}
.video-card-right:hover{
  transform:translateX(10%) rotateY(-17deg) rotateZ(1deg) scale(.92);
}
.video-card-label{
  position:absolute;
  left:18px;
  bottom:16px;
  z-index:2;
  display:inline-flex;
  min-height:34px;
  align-items:center;
  padding:0 13px;
  border-radius:999px;
  color:#fff;
  background:rgba(0,0,0,.48);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(10px);
  font-weight:900;
  font-size:13px;
}
.video-carousel.is-switching .video-card-main{
  animation:videoMainIn .42s ease both;
}
.video-carousel.is-switching .video-card-left{
  animation:videoSideLeft .42s ease both;
}
.video-carousel.is-switching .video-card-right{
  animation:videoSideRight .42s ease both;
}
@keyframes videoMainIn{
  0%{opacity:.82;transform:translateX(90px) translateZ(30px) scale(.94)}
  100%{opacity:1;transform:translateX(0) translateZ(80px) scale(1)}
}
@keyframes videoSideLeft{
  0%{opacity:.95;filter:saturate(1) brightness(.9)}
  100%{opacity:.62;filter:saturate(.75) brightness(.72)}
}
@keyframes videoSideRight{
  0%{opacity:.50}
  50%{opacity:.88}
  100%{opacity:.62}
}
.video-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin:18px auto 0;
}
.video-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  border:0;
  padding:0;
  cursor:pointer;
  background:rgba(255,255,255,.24);
  box-shadow:0 0 18px rgba(255,255,255,.08);
  transition:.2s ease;
}
.video-dot.active{
  width:28px;
  background:#fff;
  box-shadow:0 0 24px rgba(255,255,255,.32);
}

@media(max-width:1000px){
  .video-carousel{
    min-height:540px;
  }
  .video-card-main{
    width:min(760px,100%);
  }
  .video-card-side{
    width:min(310px,42vw);
    bottom:0;
  }
  .video-card-left{
    left:8%;
    transform:translateY(34%) rotateY(10deg) scale(.78);
  }
  .video-card-right{
    right:8%;
    transform:translateY(34%) rotateY(-10deg) scale(.78);
  }
}
@media(max-width:700px){
  .video-carousel{
    min-height:420px;
    margin-top:34px;
  }
  .video-card-main{
    width:100%;
    border-radius:24px;
  }
  .video-card-side{
    width:44%;
    border-radius:18px;
  }
  .video-card-label{
    display:none;
  }
}


/* Fake bass pulse for YouTube iframe preview */
.hero-preview::before{
  animation: mahoragoBassAura 2.15s ease-in-out infinite;
}
.video-frame{
  animation: mahoragoBassFrame 2.15s ease-in-out infinite;
}
.video-frame::before{
  animation: mahoragoBassCorners 2.15s ease-in-out infinite;
}
.video-frame::after{
  animation: mahoragoBassGlass 2.15s ease-in-out infinite;
}

@keyframes mahoragoBassAura{
  0%,100%{
    opacity:.82;
    transform:scale(1);
    filter:blur(20px);
  }
  8%{
    opacity:1;
    transform:scale(1.045);
    filter:blur(18px) saturate(1.18);
  }
  13%{
    opacity:.78;
    transform:scale(.995);
  }
  26%{
    opacity:.96;
    transform:scale(1.03);
    filter:blur(19px) saturate(1.12);
  }
  33%{
    opacity:.76;
    transform:scale(1);
  }
  58%{
    opacity:.93;
    transform:scale(1.025);
  }
  64%{
    opacity:.8;
    transform:scale(1.005);
  }
}

@keyframes mahoragoBassFrame{
  0%,100%{
    box-shadow:
      0 56px 165px rgba(0,0,0,.74),
      0 0 120px rgba(120,155,255,.26),
      0 0 34px rgba(255,255,255,.12),
      inset 0 0 0 1px rgba(255,255,255,.08);
  }
  8%{
    box-shadow:
      0 60px 175px rgba(0,0,0,.78),
      0 0 155px rgba(142,174,255,.42),
      0 0 58px rgba(255,255,255,.22),
      inset 0 0 0 1px rgba(255,255,255,.16);
  }
  13%{
    box-shadow:
      0 54px 155px rgba(0,0,0,.72),
      0 0 110px rgba(120,155,255,.24),
      0 0 28px rgba(255,255,255,.10),
      inset 0 0 0 1px rgba(255,255,255,.07);
  }
  26%{
    box-shadow:
      0 60px 172px rgba(0,0,0,.76),
      0 0 140px rgba(135,168,255,.35),
      0 0 48px rgba(255,255,255,.18),
      inset 0 0 0 1px rgba(255,255,255,.13);
  }
  58%{
    box-shadow:
      0 58px 168px rgba(0,0,0,.75),
      0 0 135px rgba(128,160,255,.32),
      0 0 44px rgba(255,255,255,.16),
      inset 0 0 0 1px rgba(255,255,255,.12);
  }
}

@keyframes mahoragoBassCorners{
  0%,100%{
    opacity:.72;
    filter:drop-shadow(0 0 12px rgba(255,255,255,.52)) drop-shadow(0 0 24px rgba(130,165,255,.30));
  }
  8%{
    opacity:1;
    filter:drop-shadow(0 0 18px rgba(255,255,255,.82)) drop-shadow(0 0 38px rgba(150,180,255,.62));
  }
  13%{
    opacity:.68;
  }
  26%{
    opacity:.92;
    filter:drop-shadow(0 0 16px rgba(255,255,255,.72)) drop-shadow(0 0 32px rgba(145,176,255,.50));
  }
  58%{
    opacity:.88;
    filter:drop-shadow(0 0 15px rgba(255,255,255,.66)) drop-shadow(0 0 30px rgba(135,168,255,.44));
  }
}

@keyframes mahoragoBassGlass{
  0%,100%{
    opacity:.82;
  }
  8%{
    opacity:1;
    background:
      linear-gradient(90deg,rgba(255,255,255,.12),transparent 18%,transparent 82%,rgba(255,255,255,.09)),
      linear-gradient(180deg,rgba(255,255,255,.14),transparent 22%,transparent 76%,rgba(0,0,0,.18));
  }
  13%{
    opacity:.78;
  }
  26%{
    opacity:.94;
  }
  58%{
    opacity:.91;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-preview::before,
  .video-frame,
  .video-frame::before,
  .video-frame::after{
    animation:none!important;
  }
}


.topbar.menu-collapsed .brand-logo-button{justify-content:center;align-items:center}


/* Cabinet single-column wrapper (shop/balance/content/configs) so the horizontal tab strip is full width
   and not squeezed into the old 270px vertical-sidebar grid track. */
.cabinet-solo-page{padding:clamp(42px,6vh,72px) 0 100px}
.cabinet-solo-wrap{width:min(1120px,calc(100% - 42px));margin:0 auto;display:grid;gap:18px;align-content:start;min-width:0}
.cabinet-solo-wrap>.content{min-width:0;display:grid;gap:18px;align-content:start}
@media(max-width:980px){.cabinet-solo-wrap{width:calc(100% - 24px)}}
