:root{
  --bg:#060606;
  --bg-soft:#101010;
  --bg-elev:#151515;
  --surface:#111111;
  --surface-2:#1a1a1a;
  --surface-3:#202020;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.16);
  --line-bright:rgba(255,255,255,.22);
  --text:#f6f7f9;
  --muted:#b8bcc6;
  --muted-2:#8d939e;
  --red:#d71920;
  --red-2:#ff2b34;
  --red-3:#7a0f14;
  --red-4:#3c090c;
  --white:#ffffff;
  --gold-1:#ffd35f;
  --gold-2:#ffab2f;
  --green-1:#69f0ae;
  --green-2:#1bb56c;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --shadow-soft:0 12px 40px rgba(0,0,0,.35);
  --shadow-card:0 18px 42px rgba(0,0,0,.28);
  --radius:24px;
  --radius-sm:14px;
  --container:1240px;
  --ease:cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",system-ui,sans-serif;
  background:linear-gradient(180deg,#050505 0%, #090909 100%);
  color:var(--text);
  overflow-x:hidden;
}
body.app-locked,
body.app-booting{
  overflow:hidden;
}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{background:none}
img{max-width:100%;display:block}

.container{width:min(var(--container), calc(100% - 32px));margin:0 auto}
.hidden{display:none!important}

/* animated global background */
.site-background{
  position:fixed;
  inset:0;
  z-index:-2;
  overflow:hidden;
  pointer-events:none;
  background:
    radial-gradient(circle at top right, rgba(215,25,32,.16), transparent 28%),
    radial-gradient(circle at left center, rgba(255,255,255,.03), transparent 18%),
    linear-gradient(180deg,#050505 0%, #090909 100%);
}
.bg-orb{
  position:absolute;
  border-radius:999px;
  filter:blur(70px);
  opacity:.4;
  mix-blend-mode:screen;
  animation:floatOrb 18s ease-in-out infinite;
}
.bg-orb-1{
  width:360px;
  height:360px;
  top:8%;
  right:4%;
  background:rgba(215,25,32,.20);
}
.bg-orb-2{
  width:300px;
  height:300px;
  bottom:8%;
  left:-4%;
  background:rgba(255,255,255,.06);
  animation-duration:22s;
}
.bg-orb-3{
  width:240px;
  height:240px;
  top:44%;
  left:18%;
  background:rgba(215,25,32,.10);
  animation-duration:20s;
}
.bg-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(180deg, rgba(255,255,255,.55), transparent 85%);
  opacity:.14;
}
.bg-noise{
  position:absolute;
  inset:0;
  opacity:.05;
  background-image:
    radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px);
  background-size:4px 4px;
}

/* loading */
.loading-screen{
  position:fixed;
  inset:0;
  z-index:2000;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at center, rgba(215,25,32,.22), transparent 30%),
    linear-gradient(180deg,#050505 0%, #090909 100%);
  opacity:1;
  visibility:visible;
  transition:opacity .55s var(--ease), visibility .55s var(--ease);
}
.loading-screen.hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.loading-screen-inner{
  display:grid;
  justify-items:center;
  gap:24px;
  text-align:center;
  animation:loadingEnter .7s var(--ease);
}
.loading-logo-wrap{
  width:120px;
  height:120px;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border:1px solid var(--line-strong);
  box-shadow:0 0 40px rgba(215,25,32,.24), inset 0 1px 0 rgba(255,255,255,.08);
  display:grid;
  place-items:center;
  padding:16px;
}
.loading-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  animation:logoPulse 2s infinite ease-in-out;
}
.loading-kicker{
  margin:0;
  font-family:"JetBrains Mono", monospace;
  letter-spacing:.28em;
  color:#ffbfc2;
  font-size:.8rem;
}
.loading-copy{
  display:grid;
  justify-items:center;
  text-align:center;
}
.loading-copy h2{
  margin:6px 0 0;
  font-size:clamp(1.8rem,4vw,2.8rem);
  text-align:center;
}
.loading-bar{
  width:min(260px, 70vw);
  height:8px;
  border-radius:999px;
  overflow:hidden;
  margin:18px auto 0;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
}
.loading-bar span{
  display:block;
  width:40%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(135deg,var(--red),var(--red-2));
  box-shadow:0 0 18px rgba(255,43,52,.3);
  animation:loadingBar 1.4s infinite var(--ease);
}

/* maintenance */
.maintenance-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:30px;
}
.maintenance-shell{
  position:relative;
  width:min(860px, 100%);
  padding:44px 28px;
  border-radius:32px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  text-align:center;
  overflow:hidden;
}
.maintenance-logo-wrap{
  width:112px;
  height:112px;
  margin:0 auto 22px;
  border-radius:28px;
  display:grid;
  place-items:center;
  padding:15px;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border:1px solid var(--line-strong);
}
.maintenance-logo-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.maintenance-shell h1{
  margin:0 0 14px;
  font-size:clamp(2rem,5vw,4rem);
  letter-spacing:-.04em;
}
.maintenance-text{
  max-width:60ch;
  margin:0 auto;
  color:var(--muted);
  line-height:1.8;
}
.maintenance-glow{
  position:absolute;
  inset:auto -10% -30% -10%;
  height:220px;
  background:radial-gradient(circle at center, rgba(215,25,32,.18), transparent 60%);
  pointer-events:none;
}

/* app shell */
#appShell{
  opacity:1;
  transition:opacity .35s var(--ease);
}
#appShell.app-shell-hidden{
  opacity:0;
  pointer-events:none;
}

/* page switching */
.page-section{
  display:none;
  opacity:0;
  transform:translateY(18px);
}
.page-section.is-active{
  display:block;
  animation:pageSwitch .45s var(--ease) both;
}
.page-fade-block{
  animation:blockFade .55s var(--ease) both;
}

/* reveal */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(8,8,8,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  min-height:82px;
  position:relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.brand-logo{
  width:58px;
  height:58px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border:1px solid var(--line-strong);
  display:grid;
  place-items:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  overflow:hidden;
  padding:4px;
}
.brand-logo img{
  width:88%;
  height:88%;
  object-fit:contain;
}
.brand-copy{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.brand-copy strong{
  font-size:1.1rem;
  letter-spacing:.14em;
}
.brand-copy span{
  font-size:.82rem;
  color:var(--muted);
}

.primary-nav{
  display:flex;
  gap:28px;
  align-items:center;
  justify-content:center;
  min-width:0;
}
.nav-link,
.nav-link-anchor,
.nav-dropdown-toggle{
  color:#e9ebf0;
  font-weight:500;
  border:none;
  background:none;
  padding:0;
  cursor:pointer;
  transition:color .2s ease, opacity .2s ease;
}
.nav-link:hover,
.nav-link-anchor:hover,
.nav-dropdown-toggle:hover{
  color:#fff;
}

.nav-dropdown{
  position:relative;
  display:flex;
  align-items:center;
}
.nav-dropdown-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.nav-dropdown-toggle::after{
  content:"▾";
  font-size:.72rem;
  opacity:.8;
  transform:translateY(-1px) rotate(0deg);
  transition:transform .2s ease;
}
.nav-dropdown.is-open .nav-dropdown-toggle::after{
  transform:translateY(-1px) rotate(180deg);
}
.nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 18px);
  left:50%;
  transform:translateX(-50%) translateY(6px);
  min-width:220px;
  padding:10px;
  border-radius:18px;
  border:1px solid var(--line-strong);
  background:
    radial-gradient(circle at top right, rgba(215,25,32,.18), transparent 40%),
    linear-gradient(180deg, rgba(20,20,20,.98), rgba(10,10,10,.98));
  box-shadow:0 18px 40px rgba(0,0,0,.44);
  display:grid;
  gap:6px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index:220;
}
.nav-dropdown.is-open .nav-dropdown-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.nav-dropdown-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  color:#f0f2f6;
  font-weight:600;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.nav-dropdown-item::after{
  content:"↗";
  font-size:.86rem;
  color:#ffbfc2;
}
.nav-dropdown-item:hover{
  background:rgba(255,255,255,.06);
  color:#fff;
  transform:translateX(1px);
}

.header-actions{
  display:flex;
  gap:12px;
  align-items:center;
}
.auth-actions{
  display:flex;
  gap:8px;
  align-items:center;
}
.btn-auth{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  color:#fff;
  border:1px solid var(--line-strong);
  font-weight:700;
}
.btn-auth-danger{
  border-color:rgba(255,78,78,.4);
  color:#ffd7d7;
}

.mobile-header-actions{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.desktop-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.brand-name-long{
  display:none;
}
.btn-auth-compact{
  padding:9px 12px;
  font-size:.82rem;
  min-height:40px;
}

.btn-cart-mini{
  position:relative;
  width:46px;
  min-width:46px;
  height:46px;
  padding:0;
  border-radius:999px;
  overflow:visible;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.cart-btn-inner{
  position:relative;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.cart-icon{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  font-size:1rem;
  line-height:1;
  transform:none;
}

.nav-toggle{
  display:none;
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:28px;
  height:3px;
  background:#fff;
  border-radius:999px;
  margin:5px 0;
}

.btn{
  border:none;
  border-radius:999px;
  padding:13px 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  font-weight:700;
  transition:transform .22s ease, opacity .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.btn:hover{
  transform:translateY(-1px);
}
.btn-primary{
  background:linear-gradient(135deg,var(--red),var(--red-2));
  color:#fff;
  box-shadow:0 14px 30px rgba(215,25,32,.28);
}
.btn-primary:hover{
  box-shadow:0 16px 34px rgba(215,25,32,.34);
}
.btn-secondary{
  background:#fff;
  color:#0d0d0d;
}
.btn-ghost{
  background:rgba(255,255,255,.03);
  color:#fff;
  border:1px solid var(--line-strong);
}
.btn-block{width:100%}

.hero{
  position:relative;
  overflow:hidden;
  padding:74px 0 52px;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 18%, rgba(215,25,32,.18), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 32%);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:center;
}
.eyebrow{
  margin:0 0 12px;
  font-family:"JetBrains Mono", monospace;
  font-size:.78rem;
  letter-spacing:.18em;
  color:#ffbfc2;
  text-transform:uppercase;
}
.hero h1{
  margin:0;
  font-size:clamp(2.7rem, 5vw, 5.4rem);
  line-height:.96;
  letter-spacing:-.045em;
  max-width:11ch;
}
.hero h1 span{
  color:#fff;
  text-shadow:0 0 22px rgba(215,25,32,.26);
}
.hero-text{
  max-width:64ch;
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.78;
  margin:20px 0 0;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:28px 0;
}
.hero-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.hero-point{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid var(--line);
  padding:18px;
  border-radius:18px;
}
.hero-point strong{
  display:block;
  margin-bottom:6px;
}
.hero-point span{
  color:var(--muted);
  font-size:.94rem;
  line-height:1.6;
}

.hero-panel,
.glass-card,
.main-product-card,
.faq-item,
.cart-panel,
.modal-card,
.addon-banner,
.catalog-card,
.details-layout,
.panel-card{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}

.hero-panel{padding:22px}
.hero-panel-top{
  display:flex;
  align-items:center;
  gap:10px;
  color:#dfe3e8;
  font-size:.95rem;
  margin-bottom:18px;
}
.status-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#36df74;
  box-shadow:0 0 18px rgba(54,223,116,.35);
}
.hero-video-wrap{
  height:250px;
  border-radius:24px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.10), transparent 26%),
    linear-gradient(180deg, rgba(215,25,32,.16), rgba(255,255,255,.04));
  display:grid;
  place-items:center;
  overflow:hidden;
}
.hero-video-wrap iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}
.hero-video-fallback{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  padding:26px;
}
.hero-main-logo{
  width:100%;
  height:100%;
  object-fit:contain;
}
.hero-stats{
  display:grid;
  gap:10px;
  margin-top:16px;
}
.hero-stats-single{
  grid-template-columns:1fr;
}
.metric-card{
  background:rgba(0,0,0,.18);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
}
.metric-label{
  display:block;
  color:var(--muted);
  font-size:.82rem;
  margin-bottom:6px;
}
.hero-panel-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:16px;
}

.section{padding:84px 0}
.section-dark{
  background:linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.008));
}
.section-head{
  max-width:860px;
  margin-bottom:28px;
}
.section-head h2{
  margin:0 0 14px;
  font-size:clamp(1.9rem, 4vw, 3.2rem);
  letter-spacing:-.03em;
}
.section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}
.section-head-inline{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end;
}

.desktop-auth-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.mobile-header-actions{
  display:none;
}
.mobile-auth-actions{
  display:flex;
  align-items:center;
  gap:6px;
}

/* leaderboard */
.home-live-section{
  padding-top:10px;
}
.leaderboard-marquee{
  position:relative;
}
.leaderboard-shell{
  border:1px solid rgba(255,255,255,.08);
  border-radius:30px;
  background:
    radial-gradient(circle at right center, rgba(215,25,32,.18), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  box-shadow:var(--shadow-soft);
  padding:18px;
  overflow:hidden;
}
.leaderboard-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:18px;
}
.leaderboard-head h2{
  margin:0;
  font-size:clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing:-.035em;
}
.community-live-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  padding:8px 12px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--red),var(--red-2));
  color:#fff;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.12em;
  box-shadow:0 10px 22px rgba(215,25,32,.24);
}
.leaderboard-row{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:16px;
  align-items:stretch;
}
.leaderboard-pinned{
  position:relative;
  padding:14px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at right center, rgba(215,25,32,.14), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  min-height:190px;
}
.leaderboard-pinned-head{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}
.leaderboard-stream{
  min-width:0;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  overflow:hidden;
}
.leaderboard-stream-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:14px 16px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.leaderboard-stream-head strong{
  font-size:1rem;
}
.leaderboard-stream-head span{
  color:var(--muted);
  font-size:.84rem;
}
.leaderboard-track-shell{
  position:relative;
  overflow:hidden;
  min-height:176px;
}
.leaderboard-track-shell::before,
.leaderboard-track-shell::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:46px;
  z-index:2;
  pointer-events:none;
}
.leaderboard-track-shell::before{
  left:0;
  background:linear-gradient(90deg, rgba(13,13,13,1), rgba(13,13,13,0));
}
.leaderboard-track-shell::after{
  right:0;
  background:linear-gradient(270deg, rgba(13,13,13,1), rgba(13,13,13,0));
}
.leaderboard-track{
  display:flex;
  align-items:stretch;
  gap:14px;
  padding:14px;
  width:max-content;
  will-change:transform;
}
.leaderboard-item{
  flex:0 0 280px;
  min-width:280px;
  display:grid;
  grid-template-columns:52px 1fr auto;
  gap:12px;
  align-items:center;
  padding:14px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012));
}
.leaderboard-avatar{
  width:52px;
  height:52px;
  border-radius:16px;
  object-fit:cover;
  border:1px solid var(--line);
  background:#0b0b0b;
}
.leaderboard-copy{
  min-width:0;
}
.leaderboard-user-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:4px;
}
.leaderboard-copy strong{
  display:block;
}
.leaderboard-asset,
.leaderboard-date{
  display:block;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.42;
}
.leaderboard-price{
  white-space:nowrap;
  font-size:1rem;
  font-weight:900;
  color:#fff;
}

.pinned-badge,
.champion-badge,
.vip-badge,
.chat-user-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.08em;
  white-space:nowrap;
}
.pinned-badge{
  padding:6px 10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
}
.champion-badge{
  padding:6px 10px;
  background:linear-gradient(135deg,#ffcf5a,#ff8d2a);
  color:#160d00;
}
.vip-badge{
  padding:5px 9px;
  background:linear-gradient(135deg,#ffd34f,#ff9d2e);
  color:#221300;
}
.chat-user-badge{
  padding:5px 8px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.09);
  color:#f0f2f6;
}
.chat-user-badge-supporter{
  background:rgba(215,25,32,.14);
  border-color:rgba(255,43,52,.24);
  color:#ffd9dc;
}
.chat-user-badge-free{
  background:rgba(74,188,126,.12);
  border-color:rgba(74,188,126,.28);
  color:#c7ffe0;
}

.top-customer-card{
  min-height:unset;
}
.top-customer-item{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:14px;
  align-items:center;
}
.top-customer-item-pinned{
  padding:0;
  border:0;
  background:none;
}
.top-customer-avatar{
  width:72px;
  height:72px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid var(--line);
  background:#0b0b0b;
}
.top-customer-copy{
  min-width:0;
}
.top-customer-meta-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:6px;
}
.top-customer-copy strong{
  display:block;
  font-size:1.08rem;
  line-height:1.15;
}
.top-customer-asset{
  margin:0 0 8px;
  color:var(--muted);
  line-height:1.45;
}
.top-customer-stats{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.top-customer-total{
  font-weight:900;
  color:#fff;
}
.top-customer-date{
  color:var(--muted);
  font-size:.9rem;
}
.widget-loading{
  color:var(--muted);
}

/* purchase + features */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.purchase-feature-grid{
  grid-template-columns:repeat(5,1fr);
}
.feature-card{
  min-height:220px;
}
.purchase-feature-grid .feature-card{
  position:relative;
  overflow:hidden;
  padding:20px 18px 18px;
  border-radius:22px;
  background:
    radial-gradient(circle at top right, rgba(215,25,32,.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.022));
  box-shadow:var(--shadow-card);
}
.purchase-feature-grid .feature-card::before{
  content:"";
  display:block;
  width:42px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--red),var(--red-2));
  margin-bottom:16px;
  box-shadow:0 0 18px rgba(215,25,32,.26);
}
.purchase-feature-grid .feature-card h3{
  font-size:1.02rem;
  line-height:1.25;
}
.purchase-feature-grid .feature-card p{
  font-size:.93rem;
  line-height:1.72;
}
.glass-card{
  padding:22px;
}
.glass-card h3{margin:0 0 10px}
.glass-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.purchase-section{
  min-height:calc(100vh - 82px);
}
.purchase-features-wrap{
  padding-top:34px;
}
.main-product-card{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:22px;
  padding:24px;
}
.main-product-media{
  min-height:360px;
  border-radius:24px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(255,255,255,.10), transparent 32%),
    linear-gradient(135deg, rgba(215,25,32,.24), rgba(255,255,255,.04));
  display:grid;
  place-items:center;
  padding:24px;
  overflow:hidden;
}
.main-product-media img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.product-media-loading{
  color:var(--muted);
  text-align:center;
}
.main-product-content h3{
  margin:0 0 14px;
  font-size:clamp(2rem, 4vw, 3rem);
  letter-spacing:-.03em;
}
.main-product-content p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}
.main-product-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:22px 0;
}
.price-tile{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:rgba(0,0,0,.14);
}
.price-tile span{
  display:block;
  color:var(--muted);
  margin-bottom:8px;
}
.price-tile strong{
  font-size:1.3rem;
}
.main-product-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* purchase gallery */
.other-packages-section{
  padding-top:30px;
}
.other-packages-shell{
  position:relative;
  overflow:hidden;
}
.other-packages-shell::before,
.other-packages-shell::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:36px;
  z-index:2;
  pointer-events:none;
}
.other-packages-shell::before{
  left:0;
  background:linear-gradient(90deg, rgba(9,9,9,1), rgba(9,9,9,0));
}
.other-packages-shell::after{
  right:0;
  background:linear-gradient(270deg, rgba(9,9,9,1), rgba(9,9,9,0));
}
.other-packages-track{
  display:flex;
  gap:16px;
  overflow:auto;
  padding:6px 4px 10px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.18) transparent;
}
.other-packages-track::-webkit-scrollbar{
  height:10px;
}
.other-packages-track::-webkit-scrollbar-track{
  background:transparent;
}
.other-packages-track::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.16);
  border-radius:999px;
}
.other-package-card{
  flex:0 0 280px;
  scroll-snap-align:start;
  display:grid;
  gap:0;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at top right, rgba(215,25,32,.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow:var(--shadow-card);
  cursor:pointer;
  transition:transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  outline:none;
}
.other-package-card:hover,
.other-package-card:focus-visible{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.18);
  box-shadow:0 22px 46px rgba(0,0,0,.34);
}
.other-package-media{
  height:185px;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at center, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(135deg, rgba(215,25,32,.20), rgba(255,255,255,.03));
  display:grid;
  place-items:center;
  overflow:hidden;
}
.other-package-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.other-package-body{
  padding:16px;
}
.other-package-title{
  display:block;
  margin-bottom:8px;
  font-size:1rem;
  line-height:1.25;
}
.other-package-desc{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.65;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* details */
.details-section{
  min-height:calc(100vh - 82px);
}
.details-page-container{
  max-width:1120px;
}
.details-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}
.details-auth-note{
  color:var(--muted);
  font-size:.96rem;
}
.details-layout{
  padding:30px;
  text-align:left;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at top right, rgba(215,25,32,.16), transparent 26%),
    radial-gradient(circle at top left, rgba(255,255,255,.05), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.details-layout::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.03), transparent 30%),
    linear-gradient(315deg, rgba(215,25,32,.05), transparent 30%);
}
.details-media-top{
  width:min(100%, 860px);
  margin:0 auto 28px;
  min-height:320px;
  border-radius:28px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(255,255,255,.10), transparent 34%),
    linear-gradient(135deg, rgba(215,25,32,.22), rgba(255,255,255,.04));
  display:grid;
  place-items:center;
  padding:24px;
  overflow:hidden;
  box-shadow:0 24px 54px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04);
}
.details-media-gallery{
  width:100%;
  display:grid;
  gap:14px;
}
.details-media-hero{
  width:100%;
  min-height:320px;
  display:grid;
  place-items:center;
}
.details-media-hero img{
  width:100%;
  max-height:440px;
  object-fit:contain;
}
.details-media-thumbs{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.details-thumb-btn{
  width:78px;
  height:78px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  padding:0;
  cursor:pointer;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.details-thumb-btn img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.details-thumb-btn:hover,
.details-thumb-btn.is-active{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.22);
  box-shadow:0 10px 22px rgba(0,0,0,.28);
}
.details-content{
  max-width:860px;
  margin:0 auto;
  position:relative;
  z-index:1;
}
.details-content-enhanced{
  display:grid;
  gap:18px;
}
.details-topline{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  flex-wrap:wrap;
}
.details-content h2{
  margin:0;
  font-size:clamp(2.4rem, 5vw, 4.25rem);
  line-height:.95;
  letter-spacing:-.05em;
  text-shadow:0 0 24px rgba(215,25,32,.14);
  max-width:14ch;
}
.details-price{
  font-size:1.9rem;
  font-weight:900;
  margin:0;
  white-space:nowrap;
  color:#fff;
  text-shadow:0 0 18px rgba(215,25,32,.20);
}
.details-description-wrap{
  position:relative;
  border:1px solid rgba(255,255,255,.07);
  border-radius:24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  padding:22px 22px 18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.details-description{
  color:var(--muted);
  line-height:1.85;
  font-size:1.02rem;
  text-align:left;
}
.details-rich-content{
  text-align:left;
}
.details-rich-content > *:first-child{
  margin-top:0!important;
}
.details-rich-content > *:last-child{
  margin-bottom:0!important;
}
.details-description h1,
.details-description h2,
.details-description h3,
.details-description h4,
.details-description h5,
.details-description h6{
  color:#fff;
  text-align:left;
  line-height:1.2;
  margin:1.2rem 0 .7rem;
  letter-spacing:-.02em;
}
.details-description h1{font-size:2rem}
.details-description h2{font-size:1.65rem}
.details-description h3{font-size:1.35rem}
.details-description h4{font-size:1.15rem}
.details-description p{
  text-align:left;
  color:var(--muted);
  margin:.85rem 0;
}
.details-description strong{
  color:#fff;
  font-weight:800;
}
.details-description em{
  color:#e5e8ee;
}
.details-description a{
  color:#ffd3d5;
  text-decoration:underline;
  text-underline-offset:2px;
}
.details-description ul,
.details-description ol,
.details-list{
  text-align:left!important;
  margin:1rem 0 1rem 1.2rem!important;
  padding-left:1rem!important;
  color:var(--muted);
}
.details-description li{
  text-align:left!important;
  margin-bottom:.55rem;
  line-height:1.72;
}
.details-description img{
  max-width:100%;
  height:auto;
  margin:20px auto;
  border-radius:18px;
  display:block;
  box-shadow:0 18px 36px rgba(0,0,0,.28);
}
.details-description blockquote{
  margin:1rem 0;
  padding:14px 16px;
  border-left:3px solid rgba(255,43,52,.55);
  background:rgba(255,255,255,.03);
  border-radius:14px;
  color:#dfe3e8;
}
.details-description hr{
  border:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  margin:1.4rem 0;
}
.details-meta-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:6px 0 0;
}
.details-meta-grid-enhanced{
  margin:0;
}
.details-meta-card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:rgba(0,0,0,.14);
}
.details-meta-card span{
  display:block;
  color:var(--muted);
  margin-bottom:8px;
}
.details-meta-card strong{
  display:block;
  color:#fff;
  font-size:1.05rem;
}
.details-actions{
  display:flex;
  justify-content:flex-start;
  gap:12px;
  margin-top:4px;
}

/* addons */
.store-tools{
  display:flex;
  gap:12px;
  align-items:center;
}
.search-wrap input,
select,
.contact-form input,
.contact-form textarea{
  width:100%;
  background:#0d0d0d;
  color:#fff;
  border:1px solid var(--line-strong);
  border-radius:14px;
  padding:14px 15px;
  outline:none;
}
.search-wrap input{
  min-width:260px;
}
.search-wrap input:focus,
select:focus,
.contact-form input:focus,
.contact-form textarea:focus{
  border-color:rgba(255,255,255,.26);
  box-shadow:0 0 0 3px rgba(215,25,32,.12);
}

.addon-banner{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  padding:18px 20px;
  margin-bottom:20px;
}
.addon-banner strong{
  display:block;
  margin-bottom:6px;
}
.addon-banner span{
  color:var(--muted);
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}

.catalog-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  transition:transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.catalog-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 48px rgba(0,0,0,.46);
  border-color:rgba(255,255,255,.14);
}
.catalog-thumb{
  position:relative;
  flex:0 0 250px;
  height:250px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(255,255,255,.08), transparent 36%),
    linear-gradient(135deg, rgba(215,25,32,.18), rgba(255,255,255,.03));
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  overflow:hidden;
}
.catalog-thumb-media{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
}
.catalog-thumb img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:center;
  transition:transform .35s var(--ease), filter .3s var(--ease);
}
.catalog-card:hover .catalog-thumb img{
  transform:scale(1.05);
}
.catalog-thumb-media.is-cycling img{
  filter:saturate(1.08);
}
.catalog-hover-chip{
  position:absolute;
  right:10px;
  bottom:10px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.06em;
  backdrop-filter:blur(10px);
  z-index:2;
}
.catalog-body{
  padding:18px 18px 8px;
  display:flex;
  flex-direction:column;
  gap:0;
}
.catalog-kicker{
  font-family:"JetBrains Mono",monospace;
  color:#ffbfc2;
  font-size:.74rem;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.catalog-title{
  margin:10px 0 10px;
  font-size:1.18rem;
  min-height:2.8em;
  line-height:1.2;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.catalog-desc{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:4.95em;
  word-break:break-word;
}
.catalog-footer{
  margin-top:auto;
  padding:16px 18px 18px;
  display:grid;
  gap:14px;
}
.catalog-price-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.catalog-price-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.catalog-price-pill strong{
  font-size:1rem;
  font-weight:900;
  color:#fff;
}
.catalog-price-pill-label{
  font-family:"JetBrains Mono", monospace;
  font-size:.7rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#ffbfc2;
}
.catalog-price-pill.is-free{
  padding:10px 14px;
  font-weight:900;
  color:#180d00;
  background:linear-gradient(135deg, var(--gold-1), var(--gold-2));
  border-color:rgba(255,206,92,.5);
  box-shadow:0 12px 26px rgba(255,171,47,.24);
}
.catalog-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:#fff;
  font-size:.78rem;
  white-space:nowrap;
}
.catalog-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
}
.catalog-actions .btn{
  width:100%;
  min-width:0;
  white-space:nowrap;
}

.product-thumb-fallback{
  color:#fff;
  font-family:"JetBrains Mono", monospace;
  letter-spacing:.15em;
  font-size:.95rem;
  text-align:center;
}

/* contact / faq */
.contact-actions-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.cta-card{
  padding:20px;
  display:flex;
  align-items:flex-start;
  gap:16px;
  min-height:136px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  box-shadow:var(--shadow-soft);
  transition:transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.cta-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.15);
  box-shadow:0 20px 42px rgba(0,0,0,.32);
}
.cta-button{
  width:100%;
  text-align:left;
  border:none;
  color:inherit;
  cursor:pointer;
}
.cta-icon{
  min-width:52px;
  width:52px;
  height:52px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--red),#7b0b10);
  display:grid;
  place-items:center;
  color:#fff;
  box-shadow:
    0 10px 24px rgba(215,25,32,.26),
    inset 0 1px 0 rgba(255,255,255,.10);
  flex:0 0 52px;
}

.cta-icon i{
  font-size:1.2rem;
  line-height:1;
}
.cta-card strong{
  display:block;
  margin-bottom:6px;
}
.cta-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.faq-list{
  display:grid;
  gap:12px;
}
.faq-item{
  padding:20px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:700;
  list-style:none;
  position:relative;
  padding-right:28px;
}
.faq-item summary::-webkit-details-marker{
  display:none;
}
.faq-item summary::after{
  content:"+";
  position:absolute;
  right:0;
  top:0;
  font-size:1.2rem;
  line-height:1;
  color:#ffbfc2;
}
.faq-item[open] summary::after{
  content:"–";
}
.faq-item p{
  margin:14px 0 0;
  color:var(--muted);
  line-height:1.7;
}

.site-footer{
  margin-top:28px;
  border-top:1px solid rgba(255,255,255,.06);
  background:#070707;
}

.footer-top-strip{
  border-bottom:1px solid rgba(255,255,255,.05);
  background:#050505;
}

.footer-top-strip-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:0;
}

.footer-copyright{
  margin:0;
  color:#d5d8de;
  font-size:.95rem;
  line-height:1.5;
}

.footer-payment-badges{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.payment-badge{
  min-width:50px;
  height:34px;
  padding:0 12px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.96);
  color:#111;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 8px 18px rgba(0,0,0,.24);
}

.payment-badge i{
  font-size:1.2rem;
  line-height:1;
}

.footer-tebex-strip{
  border-bottom:1px solid rgba(255,255,255,.05);
  background:#0a0a0a;
}

.footer-tebex-strip-inner{
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.footer-tebex-left{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.footer-tebex-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#d8dde5;
  font-weight:800;
  font-size:1.05rem;
  letter-spacing:.02em;
  white-space:nowrap;
}

.footer-tebex-brand i{
  color:#f3f5f8;
  font-size:1rem;
}

.footer-tebex-copy{
  margin:0;
  color:#eef1f5;
  font-size:.95rem;
  line-height:1.5;
}

.footer-legal-links{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.footer-legal-links a{
  color:#ffffff;
  text-decoration:underline;
  text-underline-offset:3px;
  font-size:.95rem;
  transition:opacity .2s ease, color .2s ease;
  white-space:nowrap;
}

.footer-legal-links a:hover{
  color:#ffd9dc;
}

.footer-legal-link-btn{
  border:none;
  background:none;
  color:#ffffff;
  text-decoration:underline;
  text-underline-offset:3px;
  font-size:.95rem;
  cursor:pointer;
  padding:0;
  transition:color .2s ease, opacity .2s ease;
  white-space:nowrap;
}

.footer-legal-link-btn:hover{
  color:#ffd9dc;
}

.legal-page-section{
  min-height:calc(100vh - 82px);
}

.legal-page-container{
  max-width:1040px;
}

.legal-page-head{
  display:grid;
  gap:10px;
  margin-bottom:20px;
}

.legal-page-head h2{
  margin:0;
  font-size:clamp(2rem, 4vw, 3.4rem);
  letter-spacing:-.04em;
}

.legal-page-card{
  padding:28px;
  border-radius:28px;
  background:
    radial-gradient(circle at top right, rgba(215,25,32,.14), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.legal-rich-content{
  color:var(--muted);
  line-height:1.85;
  font-size:1rem;
}

.legal-rich-content > *:first-child{
  margin-top:0 !important;
}

.legal-rich-content > *:last-child{
  margin-bottom:0 !important;
}

.legal-rich-content h3{
  margin:1.6rem 0 .8rem;
  color:#fff;
  font-size:1.25rem;
  line-height:1.25;
  letter-spacing:-.02em;
}

.legal-rich-content p{
  margin:.9rem 0;
  color:var(--muted);
}

.legal-rich-content strong{
  color:#fff;
}

.legal-rich-content a{
  color:#ffd3d5;
  text-decoration:underline;
  text-underline-offset:2px;
}

@media (max-width: 640px){
  .legal-page-card{
    padding:20px 16px;
    border-radius:22px;
  }

  .footer-legal-link-btn{
    font-size:.9rem;
  }
}

@media (max-width: 1100px){
  .footer-top-strip-inner,
  .footer-tebex-strip-inner,
  .footer-tebex-left{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-top-strip-inner,
  .footer-tebex-strip-inner{
    padding:16px 0;
  }

  .footer-legal-links{
    justify-content:flex-start;
    gap:16px;
  }
}

@media (max-width: 640px){
  .footer-copyright,
  .footer-tebex-copy,
  .footer-legal-links a,
  .footer-legal-content p{
    font-size:.9rem;
  }

  .footer-payment-badges{
    gap:10px;
  }

  .payment-badge{
    min-width:44px;
    height:32px;
    padding:0 10px;
    font-size:.76rem;
  }
}

/* cart */
.cart-badge{
  position:absolute;
  top:0;
  right:0;
  transform:translate(35%, -35%);
  min-width:22px;
  height:22px;
  border-radius:999px;
  padding:0 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#0d0d0d;
  font-size:.76rem;
  font-weight:800;
  line-height:1;
  box-shadow:0 10px 24px rgba(0,0,0,.32);
  border:2px solid #0d0d0d;
  pointer-events:none;
  z-index:2;
}

.cart-drawer{
  position:fixed;
  inset:0;
  z-index:120;
  background:rgba(0,0,0,.62);
  display:none;
  justify-content:flex-end;
  backdrop-filter:blur(6px);
}
.cart-drawer.open{
  display:flex;
  animation:cartBackdropIn .25s ease both;
}
.cart-panel{
  width:min(500px,100%);
  height:100%;
  padding:20px;
  border-radius:0;
  display:flex;
  flex-direction:column;
  background:
    radial-gradient(circle at top right, rgba(215,25,32,.18), transparent 26%),
    linear-gradient(180deg,#111 0%, #0a0a0a 100%);
  border-left:1px solid rgba(255,255,255,.08);
  box-shadow:-20px 0 50px rgba(0,0,0,.45);
  animation:cartSlideIn .34s var(--ease) both;
}
.cart-header,.meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.cart-header{
  margin-bottom:14px;
}
.icon-btn{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid var(--line-strong);
  background:rgba(255,255,255,.03);
  color:#fff;
  cursor:pointer;
  font-size:1.5rem;
  transition:transform .2s ease, border-color .2s ease, background .2s ease;
}
.icon-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.24);
  background:rgba(255,255,255,.06);
}

.btn.is-loading,
.icon-btn.is-loading{
  pointer-events:none;
  opacity:.9;
}

.btn.is-added{
  background:linear-gradient(135deg, var(--green-2), var(--green-1));
  color:#fff;
  box-shadow:0 14px 30px rgba(27,181,108,.24);
}

.btn-spinner{
  width:18px;
  height:18px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.28);
  border-top-color:#fff;
  animation:btnSpin .75s linear infinite;
  display:inline-block;
}

.btn-spinner-sm{
  width:14px;
  height:14px;
  border-width:2px;
}

@keyframes btnSpin{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}

.basket-meta{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:rgba(0,0,0,.18);
  margin-bottom:14px;
}
.meta-row{
  padding:6px 0;
}
.meta-row span{
  color:var(--muted);
}
.basket-items{
  flex:1;
  overflow:auto;
  display:grid;
  gap:12px;
  padding-right:4px;
}
.basket-items-enhanced{
  align-content:start;
}
.basket-item{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:rgba(255,255,255,.03);
}
.basket-item h4{
  margin:0 0 6px;
}
.basket-item p{
  margin:0;
  color:var(--muted);
}
.basket-item-enhanced{
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  gap:14px;
  align-items:stretch;
  padding:14px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow:var(--shadow-card);
}
.basket-item-media{
  width:86px;
  min-width:86px;
  height:86px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at center, rgba(255,255,255,.08), transparent 36%),
    linear-gradient(135deg, rgba(215,25,32,.18), rgba(255,255,255,.03));
  display:grid;
  place-items:center;
}
.basket-item-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.basket-item-fallback{
  font-family:"JetBrains Mono", monospace;
  letter-spacing:.15em;
  font-size:.92rem;
  color:#fff;
}
.basket-item-main{
  min-width:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.basket-item-copy{
  min-width:0;
}
.basket-item-copy h4{
  margin:0 0 8px;
  font-size:1rem;
  line-height:1.3;
}
.basket-item-subtext{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.5;
}
.basket-item-side{
  display:grid;
  justify-items:end;
  gap:10px;
  flex:0 0 auto;
}
.basket-item-price{
  white-space:nowrap;
  font-size:1rem;
  font-weight:900;
}
.basket-remove-btn{
  width:38px;
  height:38px;
  border-radius:12px;
  font-size:1.25rem;
}
.basket-empty-state{
  min-height:240px;
  border:1px dashed rgba(255,255,255,.10);
  border-radius:22px;
  display:grid;
  place-items:center;
  gap:8px;
  padding:28px 18px;
  text-align:center;
  background:rgba(255,255,255,.02);
}
.basket-empty-icon{
  font-size:2rem;
  opacity:.9;
}
.cart-footer{
  padding-top:14px;
  border-top:1px solid var(--line);
}
.total-row strong{
  font-size:1.24rem;
}
.empty-text{
  color:var(--muted);
}

/* modal */
.modal{
  position:fixed;
  inset:0;
  z-index:130;
  background:rgba(0,0,0,.62);
  display:grid;
  place-items:center;
  padding:18px;
}
.modal-card{
  width:min(840px,100%);
  padding:20px;
  position:relative;
}
.modal-card-compact{
  width:min(560px,100%);
}
.modal-close{
  position:absolute;
  top:18px;
  right:18px;
}
.contact-form{
  display:grid;
  gap:14px;
}
.contact-form label{
  display:grid;
  gap:8px;
}

#notification-container{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:200;
  display:grid;
  gap:10px;
}
.notification{
  background:#111;
  border:1px solid var(--line-strong);
  color:#fff;
  padding:14px 16px;
  border-radius:16px;
  box-shadow:var(--shadow);
  animation:notifyIn .25s ease both;
}

/* hidden helper for mobile tools */
.mobile-nav-tools-helper{
  display:none!important;
}

.price-sale-wrap{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.price-old{
  color:var(--muted-2);
  text-decoration:line-through;
  opacity:.9;
  font-weight:700;
}

.price-sale{
  color:#fff;
  font-weight:900;
}

.price-standard{
  color:#fff;
  font-weight:900;
}

.price-sale-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--green-2),var(--green-1));
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  box-shadow:0 10px 22px rgba(27,181,108,.22);
}

/* animations */
@keyframes floatOrb{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  25%{transform:translate3d(18px,-20px,0) scale(1.04)}
  50%{transform:translate3d(-12px,18px,0) scale(.98)}
  75%{transform:translate3d(16px,10px,0) scale(1.03)}
}
@keyframes loadingEnter{
  from{opacity:0; transform:translateY(14px) scale(.98)}
  to{opacity:1; transform:none}
}
@keyframes logoPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.04)}
}
@keyframes loadingBar{
  0%{transform:translateX(-130%)}
  100%{transform:translateX(340%)}
}
@keyframes pageSwitch{
  from{opacity:0; transform:translateY(18px)}
  to{opacity:1; transform:none}
}
@keyframes blockFade{
  from{opacity:0; transform:translateY(12px)}
  to{opacity:1; transform:none}
}
@keyframes cartSlideIn{
  from{transform:translateX(40px); opacity:0}
  to{transform:none; opacity:1}
}
@keyframes cartBackdropIn{
  from{opacity:0}
  to{opacity:1}
}
@keyframes notifyIn{
  from{opacity:0; transform:translateY(10px)}
  to{opacity:1; transform:none}
}

/* responsive */
@media (max-width: 1280px){
  .purchase-feature-grid{
    grid-template-columns:repeat(4,1fr);
  }
}

@media (max-width: 1100px){
  .hero-grid,
  .main-product-card,
  .feature-grid,
  .catalog-grid,
  .contact-actions-grid{
    grid-template-columns:1fr 1fr;
  }

  .purchase-feature-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .hero-points{
    grid-template-columns:1fr;
  }

  .leaderboard-row{
    grid-template-columns:1fr;
  }
}

@media (max-width: 860px){
  .desktop-header-actions{
    display:none;
  }

  .mobile-header-actions{
    display:flex;
    order:2;
    justify-self:end;
    align-items:center;
    gap:6px;
    min-width:0;
  }

  .header-inner{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:10px;
    min-height:82px;
  }

  .brand{
    min-width:0;
    gap:10px;
  }

  .brand-logo{
    width:46px;
    height:46px;
    border-radius:14px;
  }

  .brand-copy{
    min-width:0;
  }

  .brand-copy strong{
    display:block;
    font-size:.95rem;
    letter-spacing:.02em;
    line-height:1.05;
    white-space:normal;
    overflow:hidden;
  }

  .brand-name-short{
    display:none;
  }

  .brand-name-long{
    display:inline;
  }

  .brand-copy span{
    display:none;
  }

  .auth-actions{
    display:flex;
    align-items:center;
    gap:6px;
  }

  .btn-auth-compact{
    padding:8px 10px;
    font-size:.74rem;
    min-height:36px;
  }

  .btn-cart-mini{
    width:36px;
    min-width:36px;
    height:36px;
  }

  .cart-icon{
    width:18px;
    height:18px;
    font-size:.92rem;
  }

  .cart-badge{
    min-width:20px;
    height:20px;
    font-size:.72rem;
    transform:translate(32%, -32%);
  }

  .nav-toggle{
    display:block;
    order:3;
    justify-self:end;
  }

  .primary-nav{
    display:none;
  }

  .primary-nav.open{
    display:flex;
    position:absolute;
    top:82px;
    left:16px;
    right:16px;
    z-index:150;
    flex-direction:column;
    align-items:flex-start;
    padding:18px;
    border-radius:18px;
    background:#0d0d0d;
    border:1px solid var(--line-strong);
    gap:16px;
  }

  .primary-nav.open .nav-link,
  .primary-nav.open .nav-link-anchor,
  .primary-nav.open .nav-dropdown-toggle{
    width:100%;
    text-align:left;
  }

  .nav-dropdown{
    width:100%;
    display:grid;
    gap:10px;
  }

  .nav-dropdown-toggle{
    width:100%;
    justify-content:space-between;
  }

  .nav-dropdown-menu{
    position:static;
    transform:none;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    min-width:0;
    width:100%;
    padding:0;
    background:none;
    border:none;
    box-shadow:none;
    gap:8px;
    max-height:0;
    overflow:hidden;
  }

  .nav-dropdown.is-open .nav-dropdown-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    max-height:320px;
    transform:none;
  }

  .nav-dropdown-item{
    width:100%;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
  }

  .hero-grid,
  .main-product-card,
  .catalog-grid,
  .contact-actions-grid,
  .footer-inner,
  .section-head-inline{
    grid-template-columns:1fr;
    display:grid;
  }

  .hero-stats,
  .hero-panel-actions,
  .feature-grid,
  .purchase-feature-grid,
  .main-product-meta,
  .details-meta-grid{
    grid-template-columns:1fr;
  }

  .store-tools{
    flex-direction:column;
    align-items:stretch;
  }

  .search-wrap input{
    min-width:0;
  }

  .addon-banner{
    grid-template-columns:1fr;
  }

  .details-header{
    flex-direction:column;
    align-items:flex-start;
  }

  .details-topline{
    flex-direction:column;
    align-items:flex-start;
  }

  .details-content h2{
    max-width:none;
  }

  .details-actions{
    justify-content:flex-start;
  }

  .leaderboard-item{
    flex-basis:250px;
    min-width:250px;
    grid-template-columns:46px 1fr;
  }

  .leaderboard-avatar{
    width:46px;
    height:46px;
  }

  .leaderboard-price{
    grid-column:2;
    justify-self:start;
    margin-top:4px;
  }

  .basket-item-enhanced{
    grid-template-columns:72px minmax(0,1fr);
  }

  .basket-item-media{
    width:72px;
    min-width:72px;
    height:72px;
    border-radius:16px;
  }

  .other-package-card{
    flex-basis:250px;
  }
}

@media (max-width: 640px){
  .hero{padding-top:42px}
  .hero h1{max-width:none}
  .container{width:min(var(--container), calc(100% - 20px))}
  .section{padding:68px 0}

  .header-inner{
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:8px;
  }

  .brand{
    gap:8px;
  }

  .brand-logo{
    width:40px;
    height:40px;
    border-radius:12px;
  }

  .brand-copy strong{
    font-size:.82rem;
    line-height:1.05;
    max-width:170px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .auth-actions{
    gap:4px;
  }

  .btn-auth-compact{
    padding:7px 8px;
    font-size:.68rem;
    min-height:34px;
  }

  .btn-cart-mini{
    width:34px;
    min-width:34px;
    height:34px;
  }

  .cart-icon{
    width:16px;
    height:16px;
    font-size:.84rem;
  }

  .cart-badge{
    min-width:18px;
    height:18px;
    padding:0 5px;
    font-size:.66rem;
    transform:translate(30%, -30%);
  }

  .details-layout{padding:20px}
  .details-media-top{
    min-height:220px;
    padding:16px;
  }
  .details-media-hero{
    min-height:220px;
  }
  .details-description-wrap{
    padding:18px 16px 16px;
  }
  .catalog-thumb{
    flex-basis:220px;
    height:220px;
  }

  .leaderboard-shell{
    padding:16px;
    border-radius:24px;
  }

  .top-customer-item{
    grid-template-columns:60px 1fr;
  }

  .top-customer-avatar{
    width:60px;
    height:60px;
    border-radius:16px;
  }

  .leaderboard-stream-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .cart-panel{
    width:100%;
    padding:16px;
  }

  .basket-item-enhanced{
    grid-template-columns:1fr;
  }

  .basket-item-media{
    width:100%;
    min-width:0;
    height:150px;
  }

  .basket-item-main{
    flex-direction:column;
    align-items:flex-start;
  }

  .basket-item-side{
    width:100%;
    justify-items:start;
  }

  .other-packages-track{
    gap:12px;
  }

  .other-package-card{
    flex-basis:220px;
  }

  #notification-container{
    right:12px;
    left:12px;
    bottom:12px;
  }

  .notification{
    width:100%;
  }
}