:root {
  --bg: #080b0e;
  --bg-soft: #0d1115;
  --panel: rgba(16, 21, 26, 0.94);
  --panel-2: #11171c;
  --panel-3: #151c22;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(155, 238, 219, 0.24);
  --text: #f4f7f8;
  --muted: #7e8a91;
  --muted-2: #aab3b8;
  --accent: #9beedb;
  --accent-strong: #69d8c1;
  --accent-dark: #21443f;
  --danger: #ff7373;
  --sidebar: 294px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 4%, rgba(155,238,219,.06), transparent 26%),
    radial-gradient(circle at 45% 52%, rgba(155,238,219,.025), transparent 35%),
    linear-gradient(180deg, #0a0d10 0%, #07090b 100%);
}

.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar);
  flex: 0 0 var(--sidebar);
  border-right: 1px solid var(--border);
  background: rgba(8, 11, 14, 0.92);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 30;
}
.sidebar-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 22px 34px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(155,238,219,.18) transparent;
}
.sidebar-close { display: none; }

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; width: max-content; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #07100f;
  font-weight: 900;
  font-size: 24px;
  background: linear-gradient(135deg, #d8fff6, var(--accent) 48%, #55cbb4);
  box-shadow: 0 0 30px rgba(155,238,219,.12), inset 0 0 0 1px rgba(255,255,255,.45);
}
.brand strong { display: block; font-size: 21px; letter-spacing: .18em; line-height: 1; }
.brand span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .34em; }

.quick-actions { display: grid; gap: 9px; margin-bottom: 28px; }
.quick-action {
  min-height: 54px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  border-radius: 11px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  transition: .18s ease;
}
.quick-action:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.13); background: #141b20; }
.quick-action.primary { background: linear-gradient(135deg, rgba(155,238,219,.14), rgba(155,238,219,.06)); border-color: var(--border-strong); }
.quick-icon {
  width: 33px; height: 33px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255,255,255,.05); color: var(--accent); font-weight: 900; font-size: 15px;
}
.quick-action small, .quick-action strong { display: block; }
.quick-action small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .13em; margin-bottom: 2px; }
.quick-action strong { font-size: 13px; }

.nav-heading { margin: 0 9px 9px; color: #556067; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.category-nav { display: grid; gap: 2px; }
.nav-item {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  border-radius: 9px;
  color: #8e9aa1;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: .17s ease;
}
.nav-item span { width: 18px; text-align: center; color: #69757c; font-size: 13px; }
.nav-item:hover { color: #dce3e6; background: rgba(255,255,255,.025); }
.nav-item.active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(155,238,219,.115), rgba(155,238,219,.02));
  border-color: rgba(155,238,219,.08);
  box-shadow: inset 2px 0 0 var(--accent);
}
.nav-item.active span { color: var(--accent); }

.side-card {
  margin-top: 28px;
  background: rgba(16,21,26,.72);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
}
.side-card-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.side-card-title h3 { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.live-dot { color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.live-dot::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--accent); display:inline-block; margin-right:5px; box-shadow:0 0 9px var(--accent); }
.payment-list { display: grid; gap: 8px; }
.payment { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; }
.payment-avatar { width: 32px; height: 32px; border-radius: 8px; display:grid; place-items:center; font-size:10px; font-weight:800; color:#07100f; background: linear-gradient(135deg, #d8fff6, #7edeca); }
.payment strong { display:block; font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:115px; }
.payment small { display:block; color:#5f6a70; font-size:8px; margin-top:3px; }
.payment-price { font-size:9px; color:#aab3b8; font-weight:700; }
.gift-input-wrap { display:flex; background:#0b0f12; border:1px solid var(--border); border-radius:9px; overflow:hidden; }
.gift-input-wrap input { min-width:0; flex:1; border:0; outline:0; background:transparent; color:#dce3e6; padding:10px; font-size:10px; }
.gift-input-wrap button { border:0; background:rgba(155,238,219,.1); color:var(--accent); font-size:9px; font-weight:800; padding:0 11px; cursor:pointer; }
.gift-result { min-height: 12px; margin: 7px 2px 0; font-size: 9px; color: var(--muted); }

.main-content { width: calc(100% - var(--sidebar)); min-width: 0; padding: 0 42px 28px; }
.topbar { height: 82px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(255,255,255,.045); margin-bottom: 28px; }
.crumb { color:#606a70; font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.crumb span { color:var(--accent); }
.topbar-actions { display:flex; gap:9px; align-items:center; }
.signin-button, .basket-button {
  border: 1px solid var(--border);
  background: rgba(16,21,26,.82);
  border-radius: 10px;
  min-height: 43px;
  cursor: pointer;
  transition: .18s ease;
}
.signin-button:hover, .basket-button:hover { border-color: rgba(255,255,255,.14); transform: translateY(-1px); }
.signin-button { padding: 8px 13px 8px 12px; display:grid; grid-template-columns:auto 1fr; column-gap:8px; align-items:center; text-align:left; font-size:10px; font-weight:700; }
.signin-button .status-dot { width:7px; height:7px; border-radius:50%; background:var(--accent); grid-row:1/3; box-shadow:0 0 10px rgba(155,238,219,.65); }
.signin-button small { color:#5d686f; font-size:8px; font-weight:600; }
.basket-button { display:flex; align-items:center; gap:8px; padding: 0 10px 0 12px; font-size:10px; }
.basket-button svg, .basket-mobile svg { width:16px; fill:none; stroke:currentColor; stroke-width:1.6; }
.basket-button strong { color:var(--accent); font-size:10px; margin-left:3px; }
.basket-count { min-width:20px; height:20px; border-radius:7px; background:rgba(155,238,219,.12); color:var(--accent); display:grid; place-items:center; font-size:9px; font-weight:800; }

.hero {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  border: 1px solid rgba(155,238,219,.12);
  border-radius: 18px;
  background: linear-gradient(105deg, #11191c 0%, #0f1518 58%, #0a1012 100%);
  box-shadow: var(--shadow);
}
.hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(155,238,219,.03), transparent 45%); }
.hero-grid { position:absolute; inset:0; opacity:.22; background-image: linear-gradient(rgba(155,238,219,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(155,238,219,.06) 1px, transparent 1px); background-size:34px 34px; mask-image:linear-gradient(to right, black, transparent 78%); }
.hero-glow { position:absolute; width:480px; height:480px; right:-160px; top:-165px; border-radius:50%; background:radial-gradient(circle, rgba(155,238,219,.16), rgba(155,238,219,.025) 42%, transparent 69%); filter: blur(2px); }
.hero-content { position:relative; z-index:3; padding: 46px 54px; max-width:620px; }
.sale-pill { width:max-content; padding:6px 9px; border:1px solid rgba(155,238,219,.15); border-radius:999px; color:#aab6b9; background:rgba(155,238,219,.035); font-size:8px; font-weight:800; letter-spacing:.15em; }
.sale-pill span { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--accent); margin-right:7px; box-shadow:0 0 10px var(--accent); }
.hero h1 { margin: 16px 0 8px; font-size: 48px; line-height: .98; letter-spacing:-.055em; }
.hero p { max-width:460px; margin:0; color:#88949a; font-size:12px; line-height:1.7; }
.hero p strong { color:var(--accent); }
.countdown { display:flex; align-items:flex-start; gap:12px; margin-top:26px; }
.countdown div { min-width:46px; }
.countdown strong { display:block; font-size:20px; line-height:1; letter-spacing:-.04em; }
.countdown span { display:block; margin-top:6px; color:#59656b; font-size:7px; text-transform:uppercase; letter-spacing:.12em; font-weight:800; }
.countdown i { font-style:normal; color:#3d474c; font-size:16px; line-height:17px; }
.hero-button { margin-top:26px; border:1px solid rgba(155,238,219,.28); background:var(--accent); color:#07100f; padding:11px 15px; border-radius:9px; font-size:10px; font-weight:800; cursor:pointer; box-shadow:0 8px 25px rgba(155,238,219,.12); }
.hero-button span { margin-left:18px; }
.hero-button:hover { background:#b2f5e6; }
.hero-emblem { position:absolute; right:7%; top:50%; transform:translateY(-50%) rotate(-7deg); width:196px; height:196px; border-radius:42px; display:grid; place-items:center; border:1px solid rgba(155,238,219,.11); background:linear-gradient(145deg, rgba(155,238,219,.08), rgba(155,238,219,.01)); color:rgba(155,238,219,.78); font-size:112px; font-weight:900; text-shadow:0 0 45px rgba(155,238,219,.15); box-shadow: inset 0 0 45px rgba(155,238,219,.03), 0 0 80px rgba(0,0,0,.25); }

.store-section { padding: 48px 0 26px; }
.section-heading { display:flex; align-items:flex-end; gap:24px; margin-bottom:22px; }
.section-heading > div:first-child { flex:0 0 auto; }
.eyebrow { display:block; color:#68757b; text-transform:uppercase; letter-spacing:.14em; font-size:8px; font-weight:800; margin-bottom:7px; }
.section-heading h2 { margin:0; font-size:23px; letter-spacing:-.035em; }
.section-rule { height:1px; flex:1; background:linear-gradient(90deg, rgba(255,255,255,.08), transparent); margin-bottom:8px; }

.featured-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; }
.category-card {
  min-height: 162px;
  position:relative;
  overflow:hidden;
  padding:18px;
  border:1px solid var(--border);
  border-radius:14px;
  background:linear-gradient(145deg, #12181d, #0d1216);
  cursor:pointer;
  transition:.2s ease;
}
.category-card:hover { transform:translateY(-3px); border-color:rgba(155,238,219,.16); box-shadow:0 16px 28px rgba(0,0,0,.18); }
.category-card::after { content:""; position:absolute; width:120px; height:120px; right:-36px; bottom:-43px; border-radius:50%; background:radial-gradient(circle, rgba(155,238,219,.13), transparent 68%); }
.category-card .card-icon { width:34px; height:34px; border-radius:9px; display:grid; place-items:center; background:rgba(155,238,219,.08); border:1px solid rgba(155,238,219,.08); color:var(--accent); font-weight:800; }
.category-card h3 { margin:32px 0 5px; font-size:13px; }
.category-card p { margin:0; color:#69757b; font-size:9px; line-height:1.5; }
.category-card .card-arrow { position:absolute; right:15px; top:15px; color:#4b565c; font-size:15px; transition:.18s ease; }
.category-card:hover .card-arrow { color:var(--accent); transform:translate(2px,-2px); }

.info-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
.info-card { display:flex; gap:15px; min-height:145px; padding:20px; border:1px solid var(--border); border-radius:14px; background:rgba(15,20,24,.72); }
.info-icon { flex:0 0 38px; height:38px; border-radius:10px; display:grid; place-items:center; background:rgba(155,238,219,.07); color:var(--accent); }
.info-card h3 { margin:2px 0 7px; font-size:12px; }
.info-card p { margin:0; max-width:520px; color:#68747a; font-size:9px; line-height:1.7; }
.info-card a { display:inline-block; margin-top:12px; color:#9ba5aa; font-size:9px; font-weight:700; }
.info-card a span { color:var(--accent); margin-left:6px; }

.product-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 320px));
  justify-content:start;
  align-items:start;
  gap:18px;
}
.product-card {
  position:relative;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(155,238,219,.07), transparent 28%),
    linear-gradient(145deg, #12181d, #0d1216);
  transition:.22s ease;
  cursor:pointer;
}
.product-card::after {
  content:"";
  position:absolute;
  inset:auto -48px -62px auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(155,238,219,.18), transparent 70%);
  opacity:.55;
  pointer-events:none;
}
.product-card:hover,
.product-card:focus-visible {
  transform:translateY(-4px);
  border-color:rgba(155,238,219,.18);
  box-shadow:0 20px 36px rgba(0,0,0,.28);
}
.product-card:focus-visible { outline:2px solid rgba(155,238,219,.3); outline-offset:3px; }
.product-visual { height:220px; position:relative; display:grid; place-items:center; overflow:hidden; background:radial-gradient(circle at 50% 40%, rgba(155,238,219,.18), rgba(155,238,219,.02) 38%, rgba(0,0,0,.14) 72%), linear-gradient(145deg,#12191d,#0b0f12); border-bottom:1px solid var(--border); }
.product-visual::before { content:""; position:absolute; inset:0; opacity:.22; 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:22px 22px; }
.product-symbol { position:relative; z-index:1; width:92px; height:92px; border-radius:26px; display:grid; place-items:center; font-size:44px; font-weight:900; color:var(--accent); background:rgba(155,238,219,.035); border:1px solid rgba(155,238,219,.11); box-shadow:0 0 45px rgba(155,238,219,.05); }
.product-visual.has-image {
  padding: 14px 16px 12px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-origin: content-box;
  background-clip: padding-box;
  background-color: #0d1216;
}
.product-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(5,8,10,.02) 0%, rgba(5,8,10,.16) 55%, rgba(5,8,10,.76) 100%);
}
.product-badge {
  position:absolute;
  left:16px;
  top:16px;
  z-index:2;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(8,12,14,.66);
  border:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(12px);
  color:#dbe4e7;
  font-size:8px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.product-price-chip {
  position:absolute;
  right:16px;
  bottom:16px;
  z-index:2;
  padding:9px 12px;
  border-radius:12px;
  background:rgba(8,12,14,.82);
  border:1px solid rgba(155,238,219,.14);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  text-align:right;
}
.product-price-chip strong { display:block; font-size:14px; letter-spacing:-.03em; }
.product-price-chip span { display:block; margin-top:3px; color:#8f9ba1; font-size:7px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.product-body { position:relative; z-index:1; padding:18px; }
.product-tag { display:inline-flex; padding:5px 8px; border-radius:999px; background:rgba(155,238,219,.07); color:var(--accent); font-size:7px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.product-card h3 { margin:12px 0 8px; font-size:17px; letter-spacing:-.03em; }
.product-card p { min-height:44px; margin:0; color:#708087; font-size:10px; line-height:1.65; }
.product-bottom { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:18px; }
.product-price { font-size:16px; font-weight:800; letter-spacing:-.03em; }
.product-price small { display:block; color:#667178; font-size:8px; font-weight:700; margin-top:4px; letter-spacing:.12em; text-transform:uppercase; }
.product-view {
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(155,238,219,.18);
  background:rgba(155,238,219,.08);
  color:var(--accent);
  border-radius:11px;
  padding:10px 13px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  transition:.17s ease;
}
.product-view span { color:#c5f8ed; font-size:12px; }
.product-card:hover .product-view,
.product-card:focus-visible .product-view { background:rgba(155,238,219,.14); border-color:rgba(155,238,219,.28); }

footer { min-height:110px; border-top:1px solid var(--border); margin-top:24px; display:flex; align-items:center; gap:28px; color:#59646a; }
.footer-brand { display:flex; align-items:center; gap:9px; min-width:max-content; }
.brand-mark.small { width:31px; height:31px; border-radius:9px; font-size:16px; }
.footer-brand strong { display:block; color:#aab3b7; font-size:10px; letter-spacing:.14em; }
.footer-brand span { display:block; margin-top:3px; font-size:7px; }
footer p { flex:1; font-size:8px; line-height:1.6; }
.footer-links { display:flex; gap:16px; font-size:8px; font-weight:700; }
.footer-links a:hover { color:var(--accent); }

.overlay { position:fixed; inset:0; z-index:70; background:rgba(0,0,0,.62); backdrop-filter:blur(3px); opacity:0; pointer-events:none; transition:.2s ease; }
.overlay.show { opacity:1; pointer-events:auto; }
.basket-drawer { position:fixed; right:0; top:0; bottom:0; width:min(420px, 92vw); z-index:80; background:#0d1216; border-left:1px solid var(--border); box-shadow:-30px 0 60px rgba(0,0,0,.35); transform:translateX(102%); transition:.25s ease; display:flex; flex-direction:column; padding:25px; }
.basket-drawer.open { transform:none; }
.drawer-header { display:flex; align-items:flex-start; justify-content:space-between; padding-bottom:20px; border-bottom:1px solid var(--border); }
.drawer-header h2 { margin:0; font-size:24px; }
.drawer-close, .modal-close { border:0; background:rgba(255,255,255,.04); width:34px; height:34px; border-radius:9px; cursor:pointer; color:#869198; font-size:20px; }
.currency-row { display:flex; align-items:center; justify-content:space-between; padding:15px 0; border-bottom:1px solid var(--border); font-size:10px; color:#778389; }
.currency-row select { border:1px solid var(--border); background:#11171c; color:#d7dfe2; outline:0; border-radius:8px; padding:8px 25px 8px 10px; font-size:9px; }
.basket-items { display:grid; gap:9px; padding:15px 0; overflow:auto; }
.basket-item { display:grid; grid-template-columns:44px 1fr auto; gap:11px; align-items:center; padding:10px; background:#11171c; border:1px solid var(--border); border-radius:10px; }
.basket-item-icon { width:44px; height:44px; border-radius:9px; display:grid; place-items:center; background:rgba(155,238,219,.07); color:var(--accent); font-weight:900; }
.basket-item strong { display:block; font-size:10px; }
.basket-item small { color:#69757b; font-size:8px; }
.remove-item { border:0; background:transparent; color:#5d676d; cursor:pointer; font-size:16px; }
.remove-item:hover { color:var(--danger); }
.basket-empty { margin:auto 0; text-align:center; color:#69757b; }
.empty-icon { width:62px; height:62px; margin:0 auto 15px; border-radius:18px; display:grid; place-items:center; background:#11171c; border:1px solid var(--border); filter:grayscale(1); opacity:.75; }
.basket-empty h3 { color:#b9c2c6; font-size:13px; margin:0 0 6px; }
.basket-empty p { font-size:9px; margin:0; }
.basket-summary { margin-top:auto; padding-top:17px; border-top:1px solid var(--border); }
.basket-summary > div { display:flex; justify-content:space-between; font-size:10px; color:#778389; margin-bottom:12px; }
.basket-summary strong { color:var(--text); font-size:15px; }
.checkout-button { width:100%; height:44px; border:0; border-radius:9px; background:var(--accent); color:#07100f; font-size:10px; font-weight:900; cursor:pointer; }
.checkout-button span { float:right; margin-right:4px; }
.basket-summary small { display:block; text-align:center; color:#505b61; font-size:7px; line-height:1.45; margin-top:9px; }

.modal { position:fixed; z-index:90; left:50%; top:50%; width:min(400px, calc(100vw - 32px)); transform:translate(-50%,-48%) scale(.97); padding:30px; border:1px solid var(--border); border-radius:17px; background:#0f1519; box-shadow:0 30px 80px rgba(0,0,0,.45); opacity:0; pointer-events:none; transition:.2s ease; text-align:center; }
.modal.show { opacity:1; pointer-events:auto; transform:translate(-50%,-50%) scale(1); }
.modal-close { position:absolute; right:13px; top:13px; }
.modal-icon { width:60px; height:60px; margin:4px auto 18px; border-radius:17px; display:grid; place-items:center; background:linear-gradient(135deg,#d8fff6,var(--accent)); color:#07100f; font-size:30px; font-weight:900; }
.modal h2 { margin:4px 0 9px; font-size:21px; }
.modal p { margin:0 auto 20px; max-width:290px; color:#748087; font-size:9px; line-height:1.7; }
.connect-button { width:100%; height:42px; border:1px solid rgba(155,238,219,.2); border-radius:9px; background:rgba(155,238,219,.09); color:var(--accent); font-size:10px; font-weight:800; cursor:pointer; }

.package-modal {
  position:fixed;
  inset:50% auto auto 50%;
  z-index:95;
  width:min(1080px, calc(100vw - 36px));
  transform:translate(-50%, -48%) scale(.98);
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(155,238,219,.04), transparent 24%),
    linear-gradient(145deg, rgba(17,23,29,.97), rgba(12,17,21,.98));
  box-shadow:0 42px 120px rgba(0,0,0,.52);
  opacity:0;
  pointer-events:none;
  transition:.22s ease;
}
.package-modal.show {
  opacity:1;
  pointer-events:auto;
  transform:translate(-50%, -50%) scale(1);
}
.package-modal-layout {
  display:grid;
  grid-template-columns:minmax(280px, 340px) minmax(0, 1fr);
  min-height:min(680px, calc(100vh - 72px));
}
.package-modal-close {
  position:absolute;
  right:18px;
  top:18px;
  z-index:4;
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(10px);
}
.package-modal-panel {
  display:flex;
  flex-direction:column;
  border-right:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg, rgba(21,28,34,.95), rgba(14,19,24,.98));
}
.package-modal-media {
  position:relative;
  min-height:340px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  padding:22px;
  background:
    linear-gradient(180deg, rgba(6,10,12,.12), rgba(6,10,12,.72)),
    radial-gradient(circle at 50% 22%, rgba(155,238,219,.18), transparent 44%),
    linear-gradient(145deg, #12191d, #0b0f12);
  border-bottom:1px solid rgba(255,255,255,.07);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.package-modal-media.has-image {
  background-size: 100% 100%, 100% 100%, contain;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-origin: border-box, border-box, content-box;
  background-clip: border-box, border-box, content-box;
}
.package-modal-media::after {
  content:"";
  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:28px 28px;
  opacity:.28;
  pointer-events:none;
}
.package-modal-symbol {
  position:relative;
  z-index:1;
  width:112px;
  height:112px;
  border-radius:32px;
  display:grid;
  place-items:center;
  background:rgba(8,12,14,.62);
  border:1px solid rgba(155,238,219,.14);
  color:var(--accent);
  font-size:54px;
  font-weight:900;
  box-shadow:0 18px 34px rgba(0,0,0,.32);
}
.package-modal-badge {
  position:absolute;
  top:20px;
  left:20px;
  z-index:1;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(8,12,14,.72);
  border:1px solid rgba(255,255,255,.08);
  color:#dce4e7;
  font-size:8px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.package-modal-summary { padding:24px 22px 24px; }
.package-modal-tag {
  display:inline-flex;
  margin-bottom:12px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(155,238,219,.08);
  color:var(--accent);
  font-size:8px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.package-modal-summary h2 {
  margin:0;
  font-size:31px;
  line-height:1;
  letter-spacing:-.05em;
}
.package-modal-category {
  margin:10px 0 0;
  color:#7f8b91;
  font-size:11px;
  line-height:1.6;
}
.package-modal-pricing {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:22px 0 20px;
  padding:18px 0;
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.package-modal-price-current {
  display:block;
  font-size:30px;
  font-weight:900;
  letter-spacing:-.05em;
}
.package-modal-price-compare {
  display:block;
  margin-top:8px;
  color:#7a858c;
  font-size:11px;
  text-decoration:line-through;
}
.package-modal-discount {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:82px;
  min-height:34px;
  padding:0 12px;
  border-radius:12px;
  background:rgba(255, 110, 110, .14);
  border:1px solid rgba(255, 110, 110, .18);
  color:#ff9f9f;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.package-modal-purchase {
  width:100%;
  min-height:48px;
  border:1px solid rgba(155,238,219,.25);
  border-radius:13px;
  background:linear-gradient(135deg, rgba(155,238,219,.16), rgba(155,238,219,.1));
  color:#d8fff6;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  cursor:pointer;
  transition:.18s ease;
}
.package-modal-purchase:hover { background:linear-gradient(135deg, rgba(155,238,219,.24), rgba(155,238,219,.16)); }
.package-modal-meta {
  margin:14px 0 0;
  color:#6f7a81;
  font-size:9px;
  line-height:1.8;
}
.package-modal-content {
  padding:34px 34px 30px;
  overflow:auto;
}
.package-modal-lead {
  margin:4px 0 20px;
  max-width:700px;
  font-size:26px;
  line-height:1.1;
  letter-spacing:-.04em;
}
.package-modal-description {
  display:grid;
  gap:14px;
  max-height:min(460px, calc(100vh - 280px));
  overflow:auto;
  padding-right:6px;
  scrollbar-width:thin;
  scrollbar-color:rgba(155,238,219,.22) transparent;
}
.package-modal-description::-webkit-scrollbar { width:10px; }
.package-modal-description::-webkit-scrollbar-track { background:transparent; }
.package-modal-description::-webkit-scrollbar-thumb {
  border-radius:999px;
  background:linear-gradient(180deg, rgba(155,238,219,.24), rgba(155,238,219,.08));
  border:2px solid transparent;
  background-clip:padding-box;
}
.package-modal-item {
  display:grid;
  grid-template-columns:42px minmax(0, 1fr);
  gap:14px;
  align-items:start;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.018));
  color:#d4dde0;
  font-size:11px;
  line-height:1.8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.package-modal-item strong { color:#f4f7f8; }
.perk-item-icon {
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:#dce5e8;
  font-size:16px;
  font-weight:900;
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}
.perk-item-copy { min-width:0; }
.perk-item-label {
  display:inline-flex;
  margin-bottom:6px;
  padding:4px 7px;
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#95a0a7;
  font-size:7px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.perk-item-text {
  color:#d8e0e3;
  font-size:11px;
  line-height:1.75;
}
.perk-item-text a { white-space:nowrap; }
.perk-color-word {
  color:var(--perk-color);
  font-weight:800;
  text-shadow:0 0 18px color-mix(in srgb, var(--perk-color) 28%, transparent);
}
.package-modal-item a {
  color:var(--accent);
  font-weight:800;
  text-decoration:none;
}
.package-modal-item a:hover { text-decoration:underline; }
.package-modal-item--identity {
  border-color:rgba(181, 134, 255, .2);
  background:linear-gradient(180deg, rgba(181,134,255,.08), rgba(255,255,255,.02));
}
.package-modal-item--identity .perk-item-icon,
.package-modal-item--identity .perk-item-label {
  color:#cfb3ff;
  border-color:rgba(181,134,255,.18);
  background:rgba(181,134,255,.12);
}
.package-modal-item--community {
  border-color:rgba(105, 145, 255, .18);
  background:linear-gradient(180deg, rgba(105,145,255,.08), rgba(255,255,255,.02));
}
.package-modal-item--community .perk-item-icon,
.package-modal-item--community .perk-item-label {
  color:#a7bbff;
  border-color:rgba(105,145,255,.18);
  background:rgba(105,145,255,.12);
}
.package-modal-item--economy {
  border-color:rgba(86, 214, 138, .18);
  background:linear-gradient(180deg, rgba(86,214,138,.08), rgba(255,255,255,.02));
}
.package-modal-item--economy .perk-item-icon,
.package-modal-item--economy .perk-item-label {
  color:#8df2b2;
  border-color:rgba(86,214,138,.2);
  background:rgba(86,214,138,.12);
}
.package-modal-item--vehicle {
  border-color:rgba(94, 228, 208, .18);
  background:linear-gradient(180deg, rgba(94,228,208,.08), rgba(255,255,255,.02));
}
.package-modal-item--vehicle .perk-item-icon,
.package-modal-item--vehicle .perk-item-label {
  color:#9ff7e9;
  border-color:rgba(94,228,208,.18);
  background:rgba(94,228,208,.12);
}
.package-modal-item--air {
  border-color:rgba(115, 204, 255, .2);
  background:linear-gradient(180deg, rgba(115,204,255,.08), rgba(255,255,255,.02));
}
.package-modal-item--air .perk-item-icon,
.package-modal-item--air .perk-item-label {
  color:#aee4ff;
  border-color:rgba(115,204,255,.22);
  background:rgba(115,204,255,.12);
}
.package-modal-item--combat {
  border-color:rgba(255, 130, 130, .18);
  background:linear-gradient(180deg, rgba(255,130,130,.08), rgba(255,255,255,.02));
}
.package-modal-item--combat .perk-item-icon,
.package-modal-item--combat .perk-item-label {
  color:#ffb0b0;
  border-color:rgba(255,130,130,.2);
  background:rgba(255,130,130,.12);
}
.package-modal-item--location {
  border-color:rgba(255, 185, 95, .18);
  background:linear-gradient(180deg, rgba(255,185,95,.08), rgba(255,255,255,.02));
}
.package-modal-item--location .perk-item-icon,
.package-modal-item--location .perk-item-label {
  color:#ffd08d;
  border-color:rgba(255,185,95,.2);
  background:rgba(255,185,95,.12);
}
.package-modal-item--premium {
  border-color:rgba(255, 214, 102, .18);
  background:linear-gradient(180deg, rgba(255,214,102,.08), rgba(255,255,255,.02));
}
.package-modal-item--premium .perk-item-icon,
.package-modal-item--premium .perk-item-label {
  color:#ffe39c;
  border-color:rgba(255,214,102,.2);
  background:rgba(255,214,102,.12);
}
.package-modal-item--access {
  border-color:rgba(155,238,219,.16);
  background:linear-gradient(180deg, rgba(155,238,219,.07), rgba(255,255,255,.02));
}
.package-modal-item--access .perk-item-icon,
.package-modal-item--access .perk-item-label {
  color:#bdf7ea;
  border-color:rgba(155,238,219,.18);
  background:rgba(155,238,219,.12);
}
.package-modal-item--guide {
  border-color:rgba(114, 170, 255, .16);
  background:linear-gradient(180deg, rgba(114,170,255,.07), rgba(255,255,255,.02));
}
.package-modal-item--guide .perk-item-icon,
.package-modal-item--guide .perk-item-label {
  color:#bdd1ff;
  border-color:rgba(114,170,255,.18);
  background:rgba(114,170,255,.12);
}
.package-modal-note {
  margin-top:18px;
  padding:16px 18px;
  border:1px solid rgba(255, 115, 115, .14);
  border-radius:14px;
  background:rgba(255, 115, 115, .07);
  color:#ff9d9d;
  font-size:10px;
  line-height:1.8;
}

.toast { position:fixed; left:50%; bottom:25px; z-index:110; transform:translate(-50%,20px); padding:11px 14px; border:1px solid var(--border-strong); border-radius:9px; background:#11181c; color:#dbe2e5; box-shadow:var(--shadow); font-size:9px; opacity:0; pointer-events:none; transition:.2s ease; }
.toast.show { opacity:1; transform:translate(-50%,0); }
.hidden { display:none !important; }
.mobile-header { display:none; }

@media (max-width: 1180px) {
  :root { --sidebar: 260px; }
  .main-content { padding-left:28px; padding-right:28px; }
  .featured-grid { grid-template-columns:repeat(2,1fr); }
  .product-grid { grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); }
  .hero-emblem { right:3%; width:160px; height:160px; font-size:90px; }
  .package-modal { width:min(980px, calc(100vw - 28px)); }
  .package-modal-layout { grid-template-columns:minmax(260px, 320px) minmax(0, 1fr); }
  .package-modal-content { padding:28px; }
}

@media (max-width: 860px) {
  .mobile-header { position:sticky; top:0; z-index:50; height:62px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; background:rgba(8,11,14,.94); backdrop-filter:blur(18px); border-bottom:1px solid var(--border); }
  .icon-button { width:36px; height:36px; display:grid; align-content:center; gap:4px; padding:0 10px; border:1px solid var(--border); border-radius:9px; background:#101519; }
  .icon-button span { display:block; height:1px; background:#a9b2b6; }
  .mobile-logo { font-size:16px; font-weight:900; letter-spacing:.2em; }
  .basket-mobile { position:relative; width:38px; height:38px; border:1px solid var(--border); border-radius:9px; background:#101519; display:grid; place-items:center; }
  .basket-mobile .basket-count { position:absolute; right:-6px; top:-6px; width:18px; min-width:18px; height:18px; border-radius:50%; background:var(--accent); color:#07100f; }
  .sidebar { position:fixed; left:0; top:0; bottom:0; width:min(300px,88vw); transform:translateX(-102%); transition:.25s ease; box-shadow:30px 0 60px rgba(0,0,0,.35); }
  .sidebar.open { transform:none; }
  .sidebar-inner { padding-top:25px; }
  .sidebar-close { display:block; position:absolute; right:16px; top:17px; border:0; background:transparent; color:#7e8a91; font-size:24px; cursor:pointer; }
  .main-content { width:100%; padding:0 16px 22px; }
  .topbar { display:none; }
  .hero { margin-top:18px; min-height:360px; }
  .hero-content { padding:35px 28px; max-width:100%; }
  .hero h1 { font-size:40px; }
  .hero-emblem { opacity:.22; right:-30px; top:58%; }
  .store-section { padding-top:34px; }
  footer { flex-wrap:wrap; padding-top:25px; }
  footer p { min-width:60%; }
  .package-modal { width:min(760px, calc(100vw - 22px)); }
  .package-modal-layout { grid-template-columns:1fr; min-height:auto; }
  .package-modal-panel { border-right:0; border-bottom:1px solid rgba(255,255,255,.07); }
  .package-modal-media { min-height:250px; }
  .package-modal-summary h2 { font-size:28px; }
  .package-modal-content { max-height:46vh; }
  .package-modal-description { max-height:min(320px, calc(100vh - 470px)); }
}

@media (max-width: 590px) {
  .featured-grid, .info-grid { grid-template-columns:1fr; }
  .product-grid { grid-template-columns:minmax(0, 1fr); gap:16px; }
  .hero { min-height:395px; }
  .hero-content { padding:34px 22px; }
  .hero h1 { font-size:36px; }
  .hero p { max-width:82%; }
  .countdown { gap:8px; }
  .countdown div { min-width:39px; }
  .countdown strong { font-size:18px; }
  .hero-emblem { width:140px; height:140px; font-size:82px; right:-50px; top:62%; }
  .category-card { min-height:145px; }
  .section-heading { gap:14px; }
  footer { display:grid; gap:18px; }
  .footer-links { justify-content:flex-start; }
  .product-visual { height:200px; }
  .package-modal {
    width:calc(100vw - 16px);
    border-radius:22px;
  }
  .package-modal-close {
    right:12px;
    top:12px;
    width:38px;
    height:38px;
  }
  .package-modal-media { min-height:210px; padding:16px; }
  .package-modal-symbol {
    width:92px;
    height:92px;
    border-radius:24px;
    font-size:46px;
  }
  .package-modal-summary,
  .package-modal-content { padding:20px 18px 18px; }
  .package-modal-pricing { align-items:flex-start; flex-direction:column; }
  .package-modal-price-current { font-size:26px; }
  .package-modal-lead { font-size:22px; }
  .package-modal-description { max-height:min(260px, calc(100vh - 430px)); }
  .package-modal-item,
  .package-modal-note { font-size:10px; }
}

/* Tebex Headless integration additions */
.store-status {
  margin: 22px 28px 0;
  padding: 14px 16px;
  border: 1px solid rgba(155, 238, 219, .2);
  background: rgba(155, 238, 219, .055);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8fff5;
  font-size: 13px;
}
.store-status.error {
  border-color: rgba(255, 190, 90, .28);
  background: rgba(255, 190, 90, .07);
  color: #ffe4b3;
  flex-wrap: wrap;
}
.store-status code {
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(0,0,0,.28);
  font-size: 11px;
}
.status-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(155,238,219,.25);
  border-top-color: currentColor;
  animation: onyx-spin .75s linear infinite;
}
@keyframes onyx-spin { to { transform: rotate(360deg); } }
.status-dot.connected { box-shadow: 0 0 10px currentColor; }
.payment-empty,
.empty-products {
  padding: 15px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  line-height: 1.5;
}
.empty-products {
  grid-column: 1 / -1;
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 12px;
  text-align: center;
}
.product-visual.has-image,
.basket-item-icon.has-image,
.payment-avatar[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.purchase-button:disabled,
.package-modal-purchase:disabled,
.checkout-button:disabled,
.connect-button:disabled {
  opacity: .65;
  cursor: wait;
}
.currency-row strong {
  color: #9beedb;
  font-size: 12px;
  letter-spacing: .08em;
}
.toast[data-type="error"] { border-color: rgba(255, 91, 91, .45); }
.toast[data-type="success"] { border-color: rgba(155, 238, 219, .45); }
.setup-card { cursor: default; }
