:root {
  --accent-1: #52b6f6;
  --accent-2: #2f8bff;
  --background: #080d16;
  --surface: #111a29;
  --surface-strong: #172338;
  --text: #f6faff;
  --muted: #9dabc0;
  --success: #58e6b0;
  --radius: 18px;
  --content-width: 1216px;
}

/* Final card-layout override. Keep this block last so the responsive rules
   cannot collapse the secondary plans into narrow columns. */
.shop-heading .shop-section-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 13px 0 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(125, 166, 202, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.shop-heading .shop-section-tab {
  min-width: 0;
  min-height: 44px;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.shop-heading .shop-section-tab:hover {
  border-bottom-color: rgba(82, 182, 246, .42);
  background: linear-gradient(180deg, transparent, rgba(82, 182, 246, .06));
  transform: none;
}
.shop-heading .shop-section-tab.active {
  border-bottom-color: var(--accent-1);
  background: linear-gradient(180deg, transparent, rgba(82, 182, 246, .09));
  box-shadow: none;
}
.shop-heading .shop-section-tab > .shop-section-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.shop-heading .shop-section-tab > strong {
  overflow: hidden;
  color: var(--muted);
  font: 800 11px/1.1 var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-heading .shop-section-tab.active > strong,
.shop-heading .shop-section-tab:hover > strong { color: var(--text); }

.vip-product-grid-club {
  display: grid !important;
  grid-template-columns: minmax(0, 720px) !important;
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  gap: 8px !important;
  margin-inline: auto;
}
.vip-product-grid-club .vip-product-card-featured {
  display: grid !important;
  width: 100% !important;
  grid-column: auto !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
}
.vip-product-grid-club .vip-product-card-secondary {
  display: grid !important;
  width: 100% !important;
  min-width: 0;
  grid-template-columns: 76px minmax(0, 1fr) !important;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body {
  display: grid !important;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 14px;
  padding: 12px 13px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body h3 {
  min-width: 0;
  min-height: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-summary { display: none !important; }
.vip-product-grid-club .vip-product-card-secondary .vip-product-footer {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto;
  padding: 0;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-price {
  min-width: 76px;
  flex: 0 0 auto;
}

@media (max-width: 620px) {
  .shop-heading .shop-section-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
  }
  .shop-heading .shop-section-tab {
    min-width: 0;
    min-height: 42px;
    padding: 8px 5px;
  }
  .shop-heading .shop-section-tab > .shop-section-icon { display: none; }
  .shop-heading .shop-section-tab > strong {
    overflow: visible;
    font-size: 9.5px;
    text-align: center;
    white-space: normal;
  }
  .vip-product-grid-club {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .vip-product-grid-club .vip-product-card-featured {
    display: flex !important;
    grid-template-columns: none !important;
  }
  .vip-product-grid-club .vip-product-card-secondary {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
  }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-body {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
    padding: 10px 11px;
  }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-footer {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-content: space-between;
    gap: 8px;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body, system-ui, sans-serif);
  line-height: 1.5;
}
button, a { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 3px; }
body.drawer-open, body.modal-open { overflow: hidden; }
.ambient { position: fixed; pointer-events: none; z-index: -1; border-radius: 999px; opacity: .22; }
.ambient-one { width: 460px; height: 460px; top: 8vh; left: -230px; background: var(--accent-2); }
.ambient-two { width: 500px; height: 500px; right: -250px; top: 46vh; background: var(--accent-1); opacity: .12; }
.glass { background: linear-gradient(145deg, rgba(21,34,54,.94), rgba(12,22,37,.94)); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.site-header { position: relative; padding: 18px 20px 0; }
.header-inner { max-width: var(--content-width); min-height: 106px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.server-chip, .discord-chip { display: flex; align-items: center; gap: 12px; width: fit-content; padding: 10px 14px; border-radius: 14px; color: var(--text); transition: border-color .2s, transform .2s; }
.server-chip:hover, .discord-chip:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.24); }
.discord-chip { justify-self: end; }
.chip-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: white; background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); box-shadow: 0 0 24px color-mix(in srgb, var(--accent-2), transparent 62%); }
.discord-icon { background: linear-gradient(135deg, #778cff, #4d4bff); }
.chip-copy { display: grid; gap: 1px; text-align: left; }
.chip-copy.align-right { text-align: right; }
.chip-copy strong { font: 700 12px/1.3 Montserrat, sans-serif; }
.chip-copy small { color: var(--muted); font-size: 11px; }
.copy-glyph { color: var(--muted); font-size: 16px; }
.brand { display: grid; justify-items: center; gap: 3px; text-align: center; }
.brand-mark { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 20px; color: white; font: 800 21px Montserrat, sans-serif; letter-spacing: -1px; background: radial-gradient(circle at 30% 20%, #a9e4ff, transparent 26%), linear-gradient(135deg, var(--accent-1), var(--accent-2)); box-shadow: 0 16px 45px color-mix(in srgb, var(--accent-2), transparent 54%); }
.brand-name { font: 800 11px Montserrat, sans-serif; letter-spacing: .18em; }
.main-nav { position: sticky; top: 0; z-index: 20; background: rgba(8,13,22,.96); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-inner { max-width: var(--content-width); min-height: 58px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font: 700 12px Montserrat, sans-serif; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-link.active { box-shadow: inset 0 -2px var(--accent-1); }
.api-state { color: var(--muted); font-size: 11px; }
.api-state.ready { color: var(--success); }
.api-state.error { color: #ffb5b5; }
.cart-button, .primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; color: white; font: 700 12px Montserrat, sans-serif; transition: transform .2s, filter .2s, border-color .2s; }
.cart-button, .primary-button { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-2), transparent 68%); }
.cart-button { padding: 10px 14px; }
.cart-button b { min-width: 19px; padding: 2px 5px; border-radius: 6px; background: rgba(0,0,0,.22); font-size: 10px; }
.primary-button { padding: 12px 17px; }
.secondary-button { padding: 11px 16px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.cart-button:hover, .primary-button:hover, .secondary-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.page-shell { max-width: var(--content-width); margin: 0 auto; padding: 42px 20px 80px; }
.hero { position: relative; min-height: 310px; overflow: hidden; border-radius: 26px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,13,24,.95) 0%, rgba(7,13,24,.70) 50%, rgba(7,13,24,.25) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, black, transparent 75%); }
.hero-glow { position: absolute; width: 580px; height: 580px; top: -250px; right: -90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent-2), transparent 34%), transparent 68%); }
.hero-content { position: relative; z-index: 2; max-width: 620px; padding: 52px 48px; }
.eyebrow, .section-kicker { color: var(--accent-1); font: 800 10px Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: Montserrat, sans-serif; }
h1 { margin-top: 12px; font-size: clamp(35px, 5vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.hero-content > p { max-width: 470px; margin-top: 14px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-ip { margin-top: 20px; color: var(--muted); font-size: 12px; }
.hero-ip span { color: var(--text); font-weight: 700; }
code { color: var(--text); font: 600 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.hero-badge { position: absolute; z-index: 1; right: 10%; top: 50%; display: grid; justify-items: center; transform: translateY(-50%) rotate(-8deg); opacity: .9; }
.hero-badge span { color: rgba(255,255,255,.88); font: 800 106px/1 Montserrat, sans-serif; letter-spacing: -.1em; text-shadow: 0 0 40px color-mix(in srgb, var(--accent-1), transparent 30%); }
.hero-badge small { margin-left: 15px; color: var(--accent-1); font: 800 12px Montserrat, sans-serif; letter-spacing: .42em; }
.intro-section { margin-top: 26px; padding: 27px 30px; border-radius: var(--radius); }
.intro-section h2, .section-heading h2, .support-panel h2 { margin-top: 8px; font-size: clamp(21px, 3vw, 29px); letter-spacing: -.03em; }
.intro-section p, .support-panel p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.section-block { margin-top: 52px; scroll-margin-top: 86px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.text-link { color: var(--accent-1); font: 700 12px Montserrat, sans-serif; }
.text-link:hover { text-decoration: underline; }
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.download-card { min-height: 135px; padding: 19px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s, border-color .2s; }
.download-card:hover, .package-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent-1), transparent 50%); }
.download-card.is-pending { cursor: default; opacity: .82; }
.download-card.is-pending:hover { transform: none; border-color: rgba(255,255,255,.10); }
.download-card.is-pending .download-arrow { color: var(--muted); }
.download-card .download-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--accent-1); background: color-mix(in srgb, var(--accent-1), transparent 86%); font-size: 19px; }
.download-card h3 { margin: 17px 0 2px; font: 700 13px Montserrat, sans-serif; }
.download-card p { color: var(--muted); font-size: 12px; }
.download-arrow { align-self: end; color: var(--accent-1); font-size: 17px; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.package-card { overflow: hidden; border-radius: var(--radius); background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.10); transition: transform .2s, border-color .2s; }
.package-image { position: relative; height: 150px; overflow: hidden; background: radial-gradient(circle at 18% 25%, color-mix(in srgb, var(--accent-1), transparent 28%), transparent 52%), linear-gradient(135deg, var(--surface-strong), var(--background)); }
.package-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.package-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.40)); pointer-events: none; }
.image-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.80); font: 800 42px Montserrat, sans-serif; letter-spacing: -.10em; text-shadow: 0 0 34px color-mix(in srgb, var(--accent-1), transparent 25%); }
.package-body { padding: 17px; }
.package-category { color: var(--accent-1); font: 800 9px Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.package-card h3 { margin-top: 7px; font: 700 16px Montserrat, sans-serif; }
.package-description { min-height: 38px; margin-top: 7px; color: var(--muted); font-size: 12px; }
.package-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; }
.package-price { font: 800 15px Montserrat, sans-serif; }
.package-price small { display: block; color: var(--muted); font: 500 10px var(--font-body, sans-serif); }
.buy-button { padding: 9px 12px; border-radius: 10px; color: white; background: rgba(255,255,255,.09); font: 700 11px Montserrat, sans-serif; }
.buy-button:hover { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); }
.loading-card, .empty-state { grid-column: 1 / -1; padding: 32px; border-radius: var(--radius); color: var(--muted); text-align: center; }
.catalog-heading { align-items: center; }
.category-tabs { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; }
.category-tab { padding: 8px 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.035); font: 700 10px Montserrat, sans-serif; cursor: pointer; }
.category-tab:hover, .category-tab.active { color: white; border-color: color-mix(in srgb, var(--accent-1), transparent 45%); background: color-mix(in srgb, var(--accent-1), transparent 84%); }
.catalog-groups { display: grid; gap: 34px; }
.catalog-group { scroll-margin-top: 95px; }
.catalog-group h3 { margin-bottom: 13px; font: 700 16px Montserrat, sans-serif; }
.catalog-group .package-grid { grid-template-columns: repeat(3, 1fr); }
.support-panel { display: flex; align-items: center; gap: 18px; margin-top: 60px; padding: 24px; border-radius: var(--radius); }
.support-panel .primary-button { margin-left: auto; flex: 0 0 auto; }
.support-icon { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 14px; color: white; background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); font: 800 21px Montserrat, sans-serif; }
.site-footer { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.16); }
.footer-inner { max-width: var(--content-width); margin: 0 auto; padding: 24px 20px 32px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.footer-brand { font: 800 12px Montserrat, sans-serif; letter-spacing: .16em; }
.footer-inner p { margin-top: 6px; color: var(--muted); font-size: 11px; }
.toast { position: fixed; z-index: 80; right: 22px; bottom: 22px; max-width: 340px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: white; background: #162235; box-shadow: 0 12px 40px rgba(0,0,0,.35); font-size: 12px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.cart-drawer { position: fixed; inset: 0; z-index: 70; pointer-events: none; visibility: hidden; }
.cart-drawer.open { pointer-events: auto; visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); opacity: 0; transition: opacity .25s; }
.cart-drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; width: min(430px, 100%); height: 100%; display: flex; flex-direction: column; background: #0d1625; border-left: 1px solid rgba(255,255,255,.12); transform: translateX(100%); transition: transform .25s; }
.cart-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-header { padding: 24px 22px; display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer-header h2 { margin-top: 5px; font-size: 23px; }
.icon-button { width: 34px; height: 34px; border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.07); font-size: 24px; line-height: 1; }
.icon-button:hover { color: white; background: rgba(255,255,255,.14); }
.cart-items { flex: 1; overflow-y: auto; padding: 17px 22px; }
.empty-cart { padding: 35px 0; color: var(--muted); text-align: center; font-size: 13px; }
.cart-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cart-row-thumb { width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; border-radius: 10px; background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); }
.cart-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-thumb span { display: grid; width: 100%; height: 100%; place-items: center; color: white; font: 800 15px Montserrat, sans-serif; letter-spacing: -.08em; }
.cart-row-info { min-width: 0; flex: 1; }
.cart-row-info strong { display: block; overflow: hidden; color: white; font: 700 12px Montserrat, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.cart-row-info small { color: var(--muted); font-size: 11px; }
.cart-row-price { font: 700 12px Montserrat, sans-serif; }
.remove-button { width: 27px; height: 27px; flex: 0 0 27px; border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.06); font-size: 18px; line-height: 1; }
.remove-button:hover { color: white; background: rgba(255,100,120,.18); }
.drawer-footer { padding: 20px 22px 24px; border-top: 1px solid rgba(255,255,255,.08); }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.cart-total strong { color: white; font: 800 19px Montserrat, sans-serif; }
.checkout-button { width: 100%; }
.checkout-button:disabled { cursor: not-allowed; opacity: .45; filter: grayscale(.4); }
.drawer-footer > small { display: block; margin-top: 12px; color: var(--muted); text-align: center; font-size: 10px; }
.package-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.package-modal.open { visibility: visible; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); opacity: 0; transition: opacity .2s; }
.package-modal.open .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; width: min(520px, 100%); max-height: min(720px, calc(100vh - 40px)); overflow-y: auto; padding: 23px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: #0d1625; box-shadow: 0 25px 80px rgba(0,0,0,.45); transform: translateY(12px) scale(.98); transition: transform .2s; }
.package-modal.open .modal-panel { transform: translateY(0) scale(1); }
.modal-header { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.modal-header h2 { margin-top: 6px; font-size: 23px; }
.modal-package-name { margin-top: 10px; color: var(--accent-1); font: 700 13px Montserrat, sans-serif; }
.modal-fields { display: grid; gap: 14px; margin-top: 20px; }
.form-field { display: grid; gap: 6px; }
.form-field > span { color: var(--text); font: 700 12px Montserrat, sans-serif; }
.form-field small { color: var(--muted); font-size: 11px; }
.form-field input, .form-field select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: var(--text); background: rgba(255,255,255,.06); }
.form-field select { appearance: auto; }
.form-field input::placeholder { color: #78879d; }
.modal-help { margin-top: 15px; color: var(--muted); font-size: 11px; }
.form-error { margin-top: 12px; padding: 10px 12px; border: 1px solid rgba(255,130,145,.28); border-radius: 10px; color: #ffc0c8; background: rgba(255,100,120,.10); font-size: 12px; }
.modal-actions { display: flex; justify-content: end; gap: 10px; margin-top: 22px; }
.modal-actions .secondary-button { color: var(--muted); cursor: pointer; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { grid-column: 1 / -1; grid-row: 1; }
  .server-chip { grid-column: 1; grid-row: 2; }
  .discord-chip { grid-column: 2; grid-row: 2; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid, .catalog-group .package-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { right: 4%; opacity: .38; }
}
@media (max-width: 620px) {
  .site-header { padding: 12px 12px 0; }
  .header-inner { gap: 12px; }
  .server-chip, .discord-chip { width: 100%; padding: 8px 10px; }
  .chip-copy strong { font-size: 10px; }
  .chip-copy small { font-size: 10px; }
  .chip-icon { width: 29px; height: 29px; border-radius: 9px; font-size: 12px; }
  .brand-mark { width: 54px; height: 54px; border-radius: 16px; font-size: 17px; }
  .brand-name { font-size: 9px; }
  .nav-inner { padding: 0 12px; }
  .nav-link { padding: 9px 7px; font-size: 10px; }
  .nav-link span { display: none; }
  .api-state { display: none; }
  .cart-button { padding: 9px 10px; font-size: 10px; }
  .page-shell { padding: 24px 12px 58px; }
  .hero-content { padding: 36px 24px; }
  .hero { min-height: 350px; }
  .hero-content > p { font-size: 14px; }
  .hero-badge { right: -4%; top: 73%; }
  .hero-badge span { font-size: 82px; }
  .intro-section { padding: 22px; }
  .download-grid, .package-grid, .catalog-group .package-grid { grid-template-columns: 1fr; }
  .section-heading, .catalog-heading { align-items: start; flex-direction: column; }
  .category-tabs { justify-content: start; }
  .support-panel { align-items: start; flex-wrap: wrap; }
  .support-panel .primary-button { width: 100%; margin-left: 0; }
  .footer-inner { align-items: start; flex-direction: column; }
  .modal-panel { padding: 20px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions button { width: 100%; }
  .cart-row { gap: 8px; }
  .cart-row-price { font-size: 10px; }
}

/* Performance-first polish: stable paints and no permanent blur/filter work. */
:root {
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--background); }
h1, h2, .chip-copy strong, .brand-name, .brand-mark, .nav-link, .cart-button, .primary-button, .secondary-button, .section-kicker, .eyebrow, .package-category, .package-card h3, .package-price, .buy-button, .details-button, .product-price, .product-info h1 { font-family: var(--font-display); }
.ambient { opacity: .18; background: radial-gradient(circle, color-mix(in srgb, var(--accent-2), transparent 35%) 0, transparent 70%); }
.ambient-one { width: 420px; height: 420px; left: -210px; }
.ambient-two { width: 420px; height: 420px; right: -210px; background: radial-gradient(circle, color-mix(in srgb, var(--accent-1), transparent 45%) 0, transparent 70%); }
.hero-glow { opacity: .75; }
.hero-badge span { text-shadow: 0 0 22px color-mix(in srgb, var(--accent-1), transparent 55%); }
.header-tools { display: flex; align-items: center; justify-content: end; gap: 10px; min-width: 0; }
.language-switcher { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(8,15,27,.86); }
.language-icon { display: grid; width: 25px; height: 25px; place-items: center; color: var(--muted); font-size: 14px; }
.language-option { min-height: 25px; padding: 0 8px; border-radius: 999px; color: var(--muted); background: transparent; font: 800 9px var(--font-display); letter-spacing: .03em; }
.language-option:hover, .language-option.active { color: #06111f; background: var(--accent-1); }
.catalog-tools { display: flex; align-items: center; justify-content: end; gap: 9px; flex-wrap: wrap; }
.catalog-search, .catalog-sort { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; color: var(--muted); background: rgba(11,20,34,.86); }
.catalog-search { width: min(270px, 100%); }
.catalog-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font: 600 12px var(--font-body); }
.catalog-search input::placeholder { color: #738198; }
.catalog-sort select { border: 0; outline: 0; color: var(--text); background: transparent; font: 700 11px var(--font-display); cursor: pointer; }
.catalog-sort option { color: var(--text); background: var(--surface); }
.category-navigation { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 8px 0 19px; }
.category-summary { color: var(--muted); font-size: 11px; }
.category-tabs { justify-content: start; max-width: 100%; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.category-tab { white-space: nowrap; }
.category-tab span { display: inline-grid; min-width: 16px; min-height: 16px; margin-left: 4px; place-items: center; border-radius: 999px; color: var(--accent-1); background: rgba(255,255,255,.08); font-size: 9px; }
.catalog-group-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.catalog-group h3 { margin: 5px 0 0; font-size: 19px; }
.category-count { display: grid; min-width: 30px; min-height: 24px; place-items: center; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: var(--accent-1); font: 800 10px var(--font-display); }
.chip-icon, .brand-mark, .cart-button, .primary-button { box-shadow: 0 7px 18px color-mix(in srgb, var(--accent-2), transparent 78%); }
.package-card { display: flex; flex-direction: column; min-width: 0; box-shadow: 0 10px 25px rgba(0,0,0,.16); }
.package-card-media { display: block; }
.package-card-media:focus-visible { outline-offset: -3px; }
.package-image { height: auto; aspect-ratio: 16 / 8.5; }
.package-image img { transition: opacity .2s; }
.package-title-link:hover { color: var(--accent-1); }
.package-body { display: flex; flex: 1; flex-direction: column; }
.package-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.package-footer { align-items: end; margin-top: auto; padding-top: 17px; }
.package-actions { display: flex; align-items: center; justify-content: end; gap: 6px; }
.details-button { padding: 8px 8px; color: var(--accent-1); font: 700 10px var(--font-display); }
.details-button:hover { text-decoration: underline; }
.buy-button { padding: 9px 11px; }
.product-view { min-height: 420px; }
.product-breadcrumb { margin-bottom: 20px; }
.product-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 30px; align-items: stretch; }
.product-visual { overflow: hidden; min-height: 360px; border-radius: 22px; }
.product-image { position: relative; width: 100%; height: 100%; min-height: 360px; background: radial-gradient(circle at 18% 25%, color-mix(in srgb, var(--accent-1), transparent 30%), transparent 52%), linear-gradient(135deg, var(--surface-strong), var(--background)); }
.product-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }
.product-info { display: flex; flex-direction: column; justify-content: center; padding: 14px 3px; }
.product-info h1 { max-width: 680px; margin-top: 10px; font-size: clamp(32px, 5vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.product-price { margin-top: 21px; color: var(--text); font: 800 24px var(--font-display); }
.product-price small { display: block; margin-top: 4px; color: var(--muted); font: 600 11px var(--font-body); }
.product-description { margin-top: 25px; max-width: 650px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10); }
.product-description h2 { font-size: 14px; }
.product-description p { margin-top: 8px; color: var(--muted); font-size: 14px; white-space: pre-line; }
.product-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.product-loading-note { margin-top: 13px; color: var(--muted); font-size: 11px; }
.route-view { min-height: 420px; }
.shop-heading { margin-bottom: 27px; padding: 28px 30px; border-radius: var(--radius); }
.shop-heading h1 { margin-top: 9px; font-size: clamp(28px, 4vw, 44px); }
.shop-heading p { margin-top: 9px; color: var(--muted); font-size: 14px; }
.catalog-shell { padding-bottom: 12px; }
.terms-view { display: grid; gap: 20px; }
.terms-hero { padding: 30px; border-radius: var(--radius); }
.terms-hero h1 { margin-top: 9px; font-size: clamp(30px, 4.5vw, 52px); }
.terms-hero > p { max-width: 700px; margin-top: 11px; color: var(--muted); font-size: 15px; }
.terms-notice { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; max-width: 760px; margin-top: 24px; padding: 15px 16px; border: 1px solid color-mix(in srgb, var(--accent-1), transparent 60%); border-radius: 14px; background: color-mix(in srgb, var(--accent-1), transparent 91%); }
.terms-notice-icon { display: grid; width: 28px; height: 28px; grid-row: span 2; place-items: center; border-radius: 9px; color: #06111f; background: var(--accent-1); font: 900 15px var(--font-display); }
.terms-notice strong { font: 800 12px var(--font-display); }
.terms-notice p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.terms-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 19px; color: var(--muted); font-size: 11px; }
.terms-content { padding: 30px; border-radius: var(--radius); }
.terms-content h2 { margin: 28px 0 9px; color: var(--text); font-size: 21px; letter-spacing: -.02em; }
.terms-content h2:first-child { margin-top: 0; }
.terms-content h3 { margin: 22px 0 8px; color: var(--accent-1); font: 800 14px var(--font-display); }
.terms-content h4 { margin: 17px 0 7px; color: var(--text); font: 800 13px var(--font-display); }
.terms-content p, .terms-content li { color: var(--muted); font-size: 13px; line-height: 1.7; }
.terms-content p { margin: 0 0 11px; }
.terms-content ul, .terms-content ol { margin: 0 0 14px 19px; padding: 0; }
.terms-content li { padding-left: 4px; margin: 3px 0; }
.terms-content strong { color: var(--text); font-weight: 800; }
.terms-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.035); font-size: 11px; line-height: 1.5; cursor: pointer; }
.terms-consent input { width: 16px; height: 16px; flex: 0 0 16px; margin: 1px 0 0; accent-color: var(--accent-1); }
.terms-consent a { color: var(--accent-1); font-weight: 700; }
.terms-consent a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
.section-block, .intro-section, .support-panel { content-visibility: auto; contain-intrinsic-size: 1px 240px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.performance-lite { scroll-behavior: auto !important; }
.performance-lite .ambient { display: none; }
.performance-lite .hero::after { display: none; }
.performance-lite .hero-glow { opacity: .25; }
.performance-lite .glass { box-shadow: none; }
.performance-lite *, .performance-lite *::before, .performance-lite *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
.performance-lite .terms-content, .performance-lite .terms-hero, .performance-lite .shop-heading { contain: layout paint; }

@media (max-width: 900px) {
  .header-tools { grid-column: 2; grid-row: 2; }
  .discord-chip { grid-column: auto; grid-row: auto; width: auto; }
  .category-navigation { align-items: start; flex-direction: column; }
  .category-tabs { width: 100%; }
  .catalog-tools { justify-content: start; width: 100%; }
  .catalog-search { flex: 1 1 220px; }
  .terms-hero, .terms-content { padding: 23px; }
}
@media (max-width: 620px) {
  .header-tools { width: 100%; gap: 6px; }
  .header-tools .discord-chip { flex: 1; min-width: 0; }
  .header-tools .chip-copy { min-width: 0; }
  .header-tools .chip-copy strong, .header-tools .chip-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .language-icon { display: none; }
  .language-option { padding: 0 6px; }
  .catalog-tools { align-items: stretch; }
  .catalog-search, .catalog-sort { flex: 1 1 100%; width: 100%; }
  .product-layout { grid-template-columns: 1fr; gap: 18px; }
  .product-visual, .product-image, .product-image img { min-height: 245px; }
  .product-info { padding: 0; }
  .product-info h1 { font-size: 34px; }
  .product-actions .primary-button, .product-actions .secondary-button { flex: 1 1 100%; }
  .shop-heading { padding: 23px; }
  .terms-notice { grid-template-columns: auto 1fr; }
  .terms-content p, .terms-content li { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
}

/* Shop-level navigation keeps VIP products inside the store instead of creating a top-level tab. */
.shop-section-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.09); }
.shop-section-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.035); font: 800 10px var(--font-display); transition: color .18s, border-color .18s, background .18s; }
.shop-section-tab > span { color: var(--accent-1); font-size: 13px; }
.shop-section-tab > b { display: inline-grid; min-width: 16px; min-height: 16px; place-items: center; border-radius: 999px; color: var(--accent-1); background: rgba(255,255,255,.08); font: 800 9px var(--font-display); }
.shop-section-tab:hover, .shop-section-tab.active { color: var(--text); border-color: color-mix(in srgb, var(--accent-1), transparent 46%); background: color-mix(in srgb, var(--accent-1), transparent 86%); }

/* Support sections: a focused, comparison-first layout rendered inside Shop. */
.vip-view { display: grid; gap: 18px; }
.vip-hero { position: relative; min-height: 218px; overflow: hidden; padding: 36px 40px; border-radius: 26px; }
.vip-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .38; background: linear-gradient(120deg, transparent 20%, color-mix(in srgb, var(--accent-1), transparent 88%) 100%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: auto, 30px 30px, 30px 30px; mask-image: linear-gradient(90deg, black 0%, transparent 86%); }
.vip-hero-copy { position: relative; z-index: 1; max-width: 690px; }
.vip-hero h1, .vip-hero h2 { margin-top: 10px; font-size: clamp(34px, 5vw, 58px); }
.vip-hero p { max-width: 610px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.vip-hero-mark { position: absolute; z-index: 1; right: 7%; top: 50%; display: grid; justify-items: center; transform: translateY(-50%) rotate(-7deg); opacity: .86; }
.vip-hero-mark span { color: rgba(255,255,255,.9); font: 900 clamp(74px, 12vw, 150px)/.8 var(--font-display); letter-spacing: -.13em; text-shadow: 0 0 38px color-mix(in srgb, var(--accent-1), transparent 48%); }
.vip-hero-mark small { margin-left: 18px; color: var(--accent-1); font: 800 11px var(--font-display); letter-spacing: .42em; }
.vip-section-content { display: grid; gap: 19px; }
.vip-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.vip-section-heading h2 { margin-top: 7px; font-size: clamp(23px, 3vw, 31px); }
.vip-section-heading p { max-width: 680px; margin-top: 7px; color: var(--muted); font-size: 13px; }
.vip-product-count, .vip-table-badge { display: inline-grid; min-height: 27px; align-items: center; padding: 0 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: var(--accent-1); background: rgba(255,255,255,.035); font: 800 10px var(--font-display); white-space: nowrap; }
.vip-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 14px; }
.vip-product-card { --vip-color: var(--accent-1); position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid color-mix(in srgb, var(--vip-color), transparent 60%); border-radius: 18px; background: linear-gradient(150deg, color-mix(in srgb, var(--vip-color), transparent 91%), rgba(255,255,255,.025)); transition: transform .18s, border-color .18s; }
.vip-product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--vip-color), transparent 18%); }
.vip-tone-blue { --vip-color: #52b6f6; }
.vip-tone-violet { --vip-color: #a98bff; }
.vip-tone-gold { --vip-color: #f2bd62; }
.vip-tone-rose { --vip-color: #f278b8; }
.vip-tone-green { --vip-color: #7bd67a; }
.vip-product-topline { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 14px 15px 0; }
.vip-product-type { padding: 5px 8px; border: 1px solid color-mix(in srgb, var(--vip-color), transparent 48%); border-radius: 999px; color: var(--vip-color); background: color-mix(in srgb, var(--vip-color), transparent 89%); font: 800 9px var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.vip-product-index { color: color-mix(in srgb, var(--vip-color), white 18%); font: 800 11px ui-monospace, monospace; opacity: .78; }
.vip-product-media { display: block; margin: 10px 14px 0; border-radius: 13px; }
.vip-product-media:focus-visible { outline-offset: 3px; }
.vip-product-image { position: relative; aspect-ratio: 1.35; overflow: hidden; border-radius: 13px; background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--vip-color), transparent 74%), transparent 68%), rgba(2,8,17,.58); }
.vip-product-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.07); border-radius: inherit; }
.vip-product-image img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 14px; }
.vip-product-body { display: flex; flex: 1; flex-direction: column; padding: 16px 16px 17px; }
.vip-product-body h3 { font: 800 18px/1.15 var(--font-display); letter-spacing: -.025em; }
.vip-product-body h3 a:hover { color: var(--vip-color); }
.vip-product-body p { display: -webkit-box; min-height: 40px; overflow: hidden; margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.vip-product-footer { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.vip-product-price { color: var(--text); font: 900 17px var(--font-display); }
.vip-product-price small { display: block; margin-top: 4px; color: var(--muted); font: 600 10px var(--font-body); }
.vip-buy-button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border-radius: 10px; color: #06111f; background: var(--vip-color); font: 900 10px var(--font-display); white-space: nowrap; transition: transform .18s, filter .18s; }
.vip-buy-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.vip-buy-button span { font-size: 14px; line-height: .7; }
.vip-empty { display: grid; justify-items: center; padding: 42px 24px; border-radius: 18px; text-align: center; }
.vip-empty-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: var(--accent-1); background: color-mix(in srgb, var(--accent-1), transparent 84%); font-size: 23px; }
.vip-empty h3 { margin-top: 15px; font: 800 17px var(--font-display); }
.vip-empty p { max-width: 480px; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.vip-subscription-note { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-radius: 14px; }
.vip-subscription-note > span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 9px; color: var(--accent-1); background: color-mix(in srgb, var(--accent-1), transparent 84%); font-size: 18px; }
.vip-subscription-note p { color: var(--muted); font-size: 11px; }
.vip-subscription-note a { color: var(--accent-1); font-weight: 800; }
.vip-subscription-note a:hover { text-decoration: underline; }
.vip-comparison { overflow: hidden; border-radius: 18px; }
.vip-comparison-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 20px 21px 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
.vip-comparison-heading h2 { margin-top: 6px; font-size: 21px; }
.vip-comparison-heading p { margin-top: 5px; color: var(--muted); font-size: 11px; }
.vip-table-wrap { overflow-x: auto; }
.vip-comparison-table { width: 100%; min-width: 690px; border-collapse: collapse; table-layout: fixed; }
.vip-comparison-table th, .vip-comparison-table td { padding: 15px 14px; border-right: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); text-align: center; vertical-align: middle; }
.vip-comparison-table tr > *:last-child { border-right: 0; }
.vip-comparison-table tbody tr:last-child > * { border-bottom: 0; }
.vip-comparison-table thead th { color: var(--text); background: rgba(255,255,255,.025); font: 800 11px var(--font-display); }
.vip-comparison-table thead th:first-child, .vip-comparison-table tbody th { width: 150px; text-align: left; }
.vip-comparison-table thead th:first-child { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.vip-comparison-table thead strong, .vip-comparison-table thead small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vip-comparison-table thead small { margin-top: 4px; color: var(--accent-1); font: 700 10px var(--font-body); }
.vip-comparison-table tbody th { color: var(--muted); background: rgba(255,255,255,.012); font: 700 11px var(--font-body); }
.vip-comparison-table td { color: var(--text); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.vip-check, .vip-cross { display: inline-grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; font: 900 13px var(--font-display); }
.vip-check { color: #07140d; background: var(--success); }
.vip-cross { color: #2b0b12; background: #ff7182; }
.vip-comparison-table td:has(.vip-check), .vip-comparison-table td:has(.vip-cross) { font-size: 0; }

@media (max-width: 900px) {
  .vip-hero { padding: 31px 28px; }
  .vip-hero-mark { right: 3%; opacity: .48; }
}
@media (max-width: 620px) {
  .vip-hero { min-height: 190px; padding: 27px 22px; }
  .vip-hero-mark { display: none; }
  .vip-hero p { font-size: 13px; }
  .vip-section-heading, .vip-comparison-heading { align-items: start; flex-direction: column; }
  .vip-product-grid { grid-template-columns: 1fr; }
  .vip-product-card:hover { transform: none; }
  .vip-comparison-heading { padding: 18px; }
  .vip-comparison-table { min-width: 560px; }
  .shop-section-tabs { gap: 6px; }
  .shop-section-tab { flex: 1 1 calc(50% - 6px); justify-content: center; }
}
/* DMZ CHAMPIONS rebrand: a restrained, high-contrast system with lightweight motion. */
:root {
  --background: #070b12;
  --surface: #0e1725;
  --surface-strong: #142238;
  --surface-elevated: #182a43;
  --line: rgba(174, 213, 255, .13);
  --line-strong: rgba(174, 213, 255, .25);
  --accent-soft: rgba(82, 182, 246, .13);
  --content-width: 1240px;
  --radius: 20px;
}

html { background: var(--background); }
body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% -8%, rgba(82, 182, 246, .15), transparent 28rem),
    radial-gradient(circle at 94% 32%, rgba(47, 139, 255, .10), transparent 30rem),
    linear-gradient(180deg, #09111d 0%, var(--background) 42rem, #060910 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 76%);
  contain: paint;
}

.glass {
  background: linear-gradient(145deg, rgba(18, 31, 50, .94), rgba(10, 18, 30, .94));
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .20);
}
.site-header { padding-top: 22px; }
.header-inner { min-height: 112px; }
.server-chip, .discord-chip { border-color: var(--line); background: rgba(15, 26, 42, .82); }
.server-chip:hover, .discord-chip:hover { border-color: var(--line-strong); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.chip-icon, .brand-mark, .support-icon { box-shadow: 0 8px 22px color-mix(in srgb, var(--accent-2), transparent 78%); }
.brand-mark { border: 1px solid rgba(255,255,255,.20); }
.brand-name { letter-spacing: .22em; }
.main-nav { background: rgba(6, 11, 19, .94); border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.nav-inner { min-height: 62px; }
.nav-links { gap: 5px; }
.nav-link { position: relative; padding: 11px 14px; border: 1px solid transparent; transition: color .22s, background-color .22s, border-color .22s, transform .22s; }
.nav-link::after { content: ""; position: absolute; right: 13px; bottom: 4px; left: 13px; height: 2px; border-radius: 99px; background: var(--accent-1); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
.nav-link:hover { border-color: var(--line); background: rgba(255,255,255,.04); transform: translateY(-1px); }
.nav-link.active { border-color: color-mix(in srgb, var(--accent-1), transparent 72%); background: var(--accent-soft); box-shadow: none; }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.api-state { padding-left: 3px; }
.cart-button, .primary-button { box-shadow: 0 9px 24px color-mix(in srgb, var(--accent-2), transparent 76%); transition: transform .22s, background .22s, box-shadow .22s, border-color .22s; }
.secondary-button { border-color: var(--line); background: rgba(255,255,255,.045); transition: transform .22s, background .22s, border-color .22s; }
.cart-button:hover, .primary-button:hover, .secondary-button:hover { filter: none; transform: translateY(-2px); }
.cart-button:hover, .primary-button:hover { box-shadow: 0 13px 30px color-mix(in srgb, var(--accent-2), transparent 66%); }
.secondary-button:hover { border-color: var(--line-strong); background: rgba(255,255,255,.09); }

.page-shell { padding-top: 52px; padding-bottom: 96px; }
.hero { min-height: 360px; border-radius: 28px; border-color: var(--line-strong); box-shadow: 0 22px 54px rgba(0,0,0,.25); }
.hero::before { background: linear-gradient(102deg, rgba(5, 11, 20, .97) 0%, rgba(6, 14, 26, .79) 54%, rgba(6, 14, 26, .24) 100%); }
.hero::after { opacity: .16; }
.hero-glow { opacity: .58; }
.hero-content { padding: 54px 48px; }
.hero-content h1 { max-width: 710px; font-size: clamp(42px, 7vw, 76px); letter-spacing: -.065em; }
.hero-content > p { max-width: 590px; font-size: 16px; }
.hero-actions { margin-top: 28px; }
.hero-ip { margin-top: 24px; }
.hero-ip code { border-color: var(--line-strong); background: rgba(3,9,17,.66); }
.hero-badge { opacity: .46; }
.hero-badge span { text-shadow: 0 0 22px color-mix(in srgb, var(--accent-1), transparent 66%); }
.intro-section { position: relative; margin-top: 28px; padding: 30px 34px; border-left: 3px solid var(--accent-1); }
.intro-section::after { content: ""; position: absolute; right: 34px; bottom: 0; left: 34px; height: 1px; background: linear-gradient(90deg, var(--accent-1), transparent 72%); opacity: .48; }
.section-block { margin-top: 68px; }
.section-heading { margin-bottom: 22px; }
.section-heading h2, .intro-section h2, .support-panel h2 { letter-spacing: -.045em; }
.section-kicker { letter-spacing: .17em; }
.text-link { transition: color .2s; }
.text-link:hover { color: var(--text); text-decoration: none; }

.download-grid { gap: 15px; }
.download-card { position: relative; overflow: hidden; min-height: 154px; border-color: var(--line); transition: transform .24s ease, border-color .24s ease, background-color .24s ease, box-shadow .24s ease; }
.download-card::after { content: ""; position: absolute; right: 19px; bottom: 17px; left: 19px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--accent-1), transparent); opacity: .45; transform: scaleX(.24); transform-origin: left; transition: opacity .24s, transform .24s; }
.download-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(145deg, rgba(25, 46, 73, .96), rgba(11, 21, 35, .96)); box-shadow: 0 15px 32px rgba(0,0,0,.22); }
.download-card:hover::after { opacity: 1; transform: scaleX(1); }
.download-card.is-pending:hover { transform: none; border-color: var(--line); background: inherit; box-shadow: none; }
.download-card.is-pending:hover::after { opacity: .45; transform: scaleX(.24); }
.download-card .download-icon { border: 1px solid color-mix(in srgb, var(--accent-1), transparent 76%); }
.download-card h3 { letter-spacing: -.02em; }

.package-grid { gap: 18px; }
.package-card { position: relative; border-color: var(--line); border-radius: 20px; background: linear-gradient(150deg, rgba(19, 34, 55, .84), rgba(10, 18, 30, .93)); box-shadow: 0 11px 28px rgba(0,0,0,.16); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.package-card::before { content: ""; position: absolute; top: 0; right: 15%; left: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-1), transparent); opacity: 0; transition: opacity .24s; }
.package-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 18px 34px rgba(0,0,0,.24); }
.package-card:hover::before { opacity: .85; }
.package-image { background: radial-gradient(circle at 50% 25%, color-mix(in srgb, var(--accent-1), transparent 55%), transparent 58%), linear-gradient(135deg, #162944, #09111c); }
.package-image::after { background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.52)); }
.package-body { padding: 19px; }
.package-category { color: var(--accent-1); }
.package-card h3 { font-size: 17px; }
.package-title-link { transition: color .2s; }
.package-description { line-height: 1.6; }
.details-button, .buy-button { transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
.details-button:hover { color: var(--text); }
.buy-button { border: 1px solid var(--line); background: rgba(255,255,255,.07); }
.buy-button:hover { color: #06111f; background: var(--accent-1); transform: translateY(-1px); }
.loading-card, .empty-state { border: 1px dashed var(--line-strong); background: rgba(14, 24, 39, .64); }

.shop-heading { position: relative; overflow: hidden; margin-bottom: 20px; padding: 34px 36px; border-radius: 24px; border-color: var(--line-strong); }
.shop-heading::after { content: ""; position: absolute; top: 0; right: 0; width: 44%; height: 100%; pointer-events: none; background: linear-gradient(110deg, transparent, rgba(82,182,246,.08)); }
.shop-heading > * { position: relative; z-index: 1; }
.shop-heading h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.06em; }
.shop-section-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 27px; padding: 8px; border-radius: 18px; }
.shop-heading .shop-section-tabs { margin-top: 24px; margin-bottom: 0; }
.shop-section-tab { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 13px 14px; border: 1px solid transparent; border-radius: 13px; color: var(--muted); background: rgba(255,255,255,.025); transition: color .22s, background-color .22s, border-color .22s, transform .22s; }
.shop-section-tab > span { display: grid; width: 33px; height: 33px; flex: 0 0 33px; place-items: center; border: 1px solid color-mix(in srgb, var(--accent-1), transparent 78%); border-radius: 10px; color: var(--accent-1); background: color-mix(in srgb, var(--accent-1), transparent 88%); font-size: 17px; }
.shop-section-tab:hover { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.055); transform: translateY(-1px); }
.shop-section-tab.active { color: var(--text); border-color: color-mix(in srgb, var(--accent-1), transparent 54%); background: var(--accent-soft); }
.shop-section-icon { display: grid; width: 33px; height: 33px; flex: 0 0 33px; place-items: center; border: 1px solid color-mix(in srgb, var(--accent-1), transparent 78%); border-radius: 10px; color: var(--accent-1); background: color-mix(in srgb, var(--accent-1), transparent 88%); font-size: 17px; }
.shop-section-tab strong, .shop-section-tab small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-section-tab strong { color: inherit; font: 800 11px var(--font-display); }
.shop-section-tab small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.catalog-shell { padding: 2px 0 12px; }
.catalog-tools { gap: 10px; }
.catalog-search, .catalog-sort { border-color: var(--line); background: rgba(9, 17, 29, .80); transition: border-color .2s, background-color .2s; }
.catalog-search:focus-within, .catalog-sort:focus-within { border-color: color-mix(in srgb, var(--accent-1), transparent 35%); background: rgba(14, 28, 47, .94); }
.category-navigation { margin: 8px 0 22px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-tab { border-color: var(--line); transition: color .2s, border-color .2s, background-color .2s, transform .2s; }
.category-tab:hover { transform: translateY(-1px); }
.catalog-groups { gap: 18px; }
.catalog-group { padding: 23px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(14, 25, 41, .76), rgba(8, 15, 25, .54)); content-visibility: auto; contain-intrinsic-size: 1px 480px; }
.catalog-group-heading { margin-bottom: 18px; }
.catalog-group h3 { font-size: 20px; letter-spacing: -.03em; }
.category-count { border-color: var(--line-strong); }

.vip-view { gap: 22px; margin-top: 5px; }
.vip-hero { border-color: var(--line-strong); box-shadow: 0 18px 38px rgba(0,0,0,.20); }
.vip-product-card { box-shadow: 0 11px 26px rgba(0,0,0,.16); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.vip-product-card:hover { box-shadow: 0 17px 32px rgba(0,0,0,.22); }
.vip-buy-button { transition: transform .2s, background-color .2s, color .2s; }
.vip-buy-button:hover { filter: none; background: color-mix(in srgb, var(--vip-color), white 12%); }
.vip-comparison { border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(0,0,0,.16); }

.product-breadcrumb { padding-bottom: 2px; }
.product-layout { gap: 26px; }
.product-visual { border-color: var(--line-strong); box-shadow: 0 18px 38px rgba(0,0,0,.21); }
.product-image { background: radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--accent-1), transparent 62%), transparent 60%), linear-gradient(135deg, #162944, #09111c); }
.product-image img { object-fit: contain; padding: 34px; }
.product-info { min-height: 360px; padding: 31px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(17, 30, 49, .82), rgba(9, 17, 29, .74)); }
.product-info h1 { font-size: clamp(34px, 5vw, 62px); }
.product-description { border-top-color: var(--line); }

.terms-hero, .terms-content { border-color: var(--line-strong); }
.terms-notice { border-color: color-mix(in srgb, var(--accent-1), transparent 58%); background: color-mix(in srgb, var(--accent-1), transparent 92%); }
.terms-consent { border-color: var(--line); background: rgba(255,255,255,.045); transition: border-color .2s, background-color .2s; }
.terms-consent:hover { border-color: var(--line-strong); background: rgba(255,255,255,.07); }
.support-panel { margin-top: 72px; padding: 27px; border-color: var(--line-strong); }
.site-footer { border-top-color: var(--line); background: rgba(4, 8, 14, .56); }

/* Entry motion is one-shot only; the low-power mode below disables it globally. */
@keyframes dmz-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dmz-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero, .intro-section, #downloads, #downloads-view, #featured, #shop-view, #terms-view, #product-view, #support-panel { animation: dmz-fade-up .46s ease both; }
.intro-section { animation-delay: .05s; }
#downloads { animation-delay: .10s; }
#featured { animation-delay: .15s; }
.package-card, .download-card, .catalog-group, .shop-section-tab, .vip-product-card { animation: dmz-fade-in .34s ease both; }
.package-grid > :nth-child(2), .download-grid > :nth-child(2), .vip-product-grid > :nth-child(2) { animation-delay: .04s; }
.package-grid > :nth-child(3), .download-grid > :nth-child(3), .vip-product-grid > :nth-child(3) { animation-delay: .08s; }
.package-grid > :nth-child(4), .download-grid > :nth-child(4), .vip-product-grid > :nth-child(4) { animation-delay: .12s; }
.package-grid > :nth-child(n+5), .download-grid > :nth-child(n+5), .vip-product-grid > :nth-child(n+5) { animation-delay: .16s; }

.performance-lite body::before { display: none; }
.performance-lite .hero-glow { opacity: .18; }
.performance-lite .package-card, .performance-lite .download-card, .performance-lite .vip-product-card, .performance-lite .product-visual { box-shadow: none; }
.performance-lite .package-card:hover, .performance-lite .download-card:hover, .performance-lite .vip-product-card:hover, .performance-lite .shop-section-tab:hover { transform: none; box-shadow: none; }
.performance-lite .package-card::before, .performance-lite .download-card::after { display: none; }

@media (max-width: 1020px) {
  .shop-section-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero.hero-banner { margin-top: -38px; }
  .page-shell { padding-top: 38px; }
  .hero-content { padding: 45px 35px; }
  .catalog-group { padding: 19px; }
  .product-info { min-height: 0; padding: 25px; }
}
@media (max-width: 620px) {
  body::before { opacity: .10; background-size: 58px 58px; }
  .site-header { padding-top: 14px; }
  .page-shell { padding-top: 27px; padding-bottom: 68px; }
  .hero { min-height: 365px; border-radius: 22px; }
  .hero-content { padding: 37px 24px; }
  .hero-content h1 { font-size: clamp(38px, 13vw, 55px); }
  .intro-section { padding: 24px; }
  .intro-section::after { right: 24px; left: 24px; }
  .section-block { margin-top: 54px; }
  .shop-heading { margin-bottom: 16px; padding: 25px 23px; border-radius: 21px; }
  .shop-section-tabs { grid-template-columns: 1fr; margin-bottom: 21px; }
  .shop-heading .shop-section-tabs { margin-top: 20px; margin-bottom: 0; }
  .shop-section-tab { padding: 12px; }
  .catalog-group { padding: 17px; border-radius: 18px; }
  .support-panel { margin-top: 56px; padding: 22px; }
  .product-info { padding: 22px; border-radius: 19px; }
  .product-image img { padding: 22px; }
}

/* Native select polish: keep the browser menu dark and aligned with the storefront. */
.catalog-sort {
  position: relative;
  min-width: 176px;
  padding-right: 31px;
}
.catalog-sort::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--accent-1);
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-55%);
}
.catalog-sort select {
  width: 100%;
  min-width: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  color: var(--text);
  color-scheme: dark;
}
.catalog-sort option, .catalog-sort optgroup {
  color: #eaf5ff;
  background: #0e1725;
}
.catalog-sort:focus-within::after { color: #b9e9ff; }

@media (max-width: 620px) {
  .catalog-sort { min-width: 0; padding-right: 29px; }
}

/* Brand assets and tactile controls: one cached logo, crisp inline SVG icons, and short hover feedback. */
.ui-icon {
  display: block;
  width: 1.12em;
  height: 1.12em;
  flex: 0 0 auto;
}
.nav-icon { width: 16px; height: 16px; }
.button-arrow { width: 14px; height: 14px; opacity: .82; }
.copy-glyph { display: grid; width: 18px; height: 18px; place-items: center; }
.copy-glyph .ui-icon { width: 16px; height: 16px; }
.language-icon .ui-icon { width: 16px; height: 16px; }
.cart-button .ui-icon { width: 15px; height: 15px; }
.support-icon .ui-icon { width: 21px; height: 21px; }
.download-icon .ui-icon { width: 18px; height: 18px; }
.download-arrow { display: grid; width: 18px; height: 18px; place-items: center; }
.download-arrow .ui-icon { width: 16px; height: 16px; }
.shop-section-tab > span .ui-icon { width: 17px; height: 17px; }
.vip-empty-icon .ui-icon { width: 23px; height: 23px; }
.vip-subscription-note > span .ui-icon { width: 17px; height: 17px; }
.brand-mark.has-logo {
  padding: 6px;
  background-color: #071625;
  background-clip: padding-box;
  background-origin: content-box;
}
.discord-icon { color: #fff; background: #5865f2; box-shadow: 0 0 26px rgba(88,101,242,.42); }
.discord-icon .discord-svg { width: 21px; height: 21px; }
.discord-inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: #9da8ff;
}
.discord-inline-icon .discord-svg { width: 18px; height: 18px; }
.secondary-button .discord-inline-icon { color: #aeb7ff; }
.primary-button .discord-inline-icon { color: #071525; }
.search-icon { display: inline-flex; align-items: center; color: var(--accent-1); }
.search-icon .ui-icon { width: 16px; height: 16px; }
.terms-notice-icon .ui-icon { width: 18px; height: 18px; }
.vip-buy-button .button-icon { width: 14px; height: 14px; }
.buy-button .button-icon { width: 14px; height: 14px; }
.shop-section-tab > span .ui-icon { width: 18px; height: 18px; }
.vip-empty-icon .ui-icon { width: 23px; height: 23px; }
.vip-subscription-note > span .ui-icon { width: 17px; height: 17px; }
.language-icon .ui-icon { width: 16px; height: 16px; }
.brand-mark.has-logo { background-size: contain; background-position: center; background-repeat: no-repeat; }
.footer-discord-link .discord-inline-icon { color: #9da8ff; }
.discord-chip:hover .discord-icon { box-shadow: 0 0 30px rgba(88,101,242,.62); }

/* Dedicated downloads route: the Home preview stays compact while this page
   gives every platform and modpack link a clear, focused destination. */
#downloads-view { max-width: var(--content-width); }
.downloads-page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
  padding: clamp(28px, 5vw, 48px);
  overflow: hidden;
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--accent-1), transparent 82%), transparent 34%),
    linear-gradient(135deg, rgba(14, 31, 52, .94), rgba(8, 16, 28, .88));
}
.downloads-page-hero h1 { margin: 8px 0 10px; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.06em; }
.downloads-page-hero p { max-width: 660px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.downloads-page-mark {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent-1), transparent 55%);
  border-radius: 22px;
  color: var(--accent-1);
  background: color-mix(in srgb, var(--accent-1), transparent 88%);
  box-shadow: 0 0 36px color-mix(in srgb, var(--accent-1), transparent 80%);
}
.downloads-page-mark .ui-icon { width: 31px; height: 31px; }
.downloads-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.downloads-page-grid .download-card { min-height: 178px; padding: 24px; }
.downloads-page-grid .download-card h3 { margin-top: 20px; font-size: 15px; }
.downloads-page-grid .download-card p { max-width: 36em; font-size: 13px; line-height: 1.55; }

@media (max-width: 620px) {
  .downloads-page-hero { align-items: flex-start; padding: 25px 22px; }
  .downloads-page-mark { width: 54px; height: 54px; flex-basis: 54px; border-radius: 16px; }
  .downloads-page-mark .ui-icon { width: 23px; height: 23px; }
  .downloads-page-hero p { font-size: 13px; }
  .downloads-page-grid { grid-template-columns: 1fr; gap: 12px; }
  .downloads-page-grid .download-card { min-height: 150px; padding: 19px; }
}

/* Generated backgrounds are loaded only by the routes that use them. */
.hero.hero-banner {
  width: 100vw;
  max-width: none;
  min-height: 348px;
  margin-top: -52px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background-image: url("dmz-hero-banner.webp");
  background-position: center center;
  background-size: cover;
}
.hero.hero-banner::before {
  background: linear-gradient(90deg, rgba(5, 11, 20, .98) 0%, rgba(5, 11, 20, .84) 31%, rgba(6, 14, 26, .48) 61%, rgba(6, 14, 26, .12) 100%);
}
.hero.hero-banner::after {
  opacity: .12;
}
.hero.hero-banner .hero-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}
.hero.hero-banner .hero-badge {
  right: 11%;
  width: clamp(188px, 21vw, 286px);
  height: clamp(188px, 21vw, 286px);
  opacity: 1;
  transform: translateY(-50%);
}
.hero-logo-stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-shadow: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: dmz-logo-float 4.8s ease-in-out infinite;
}
.hero-logo-stage::before {
  display: none;
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(133, 210, 255, .16);
  border-radius: 25px;
  pointer-events: none;
}
.hero-logo-stage::after {
  display: none;
}
.hero-banner-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.38));
}
@keyframes dmz-logo-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -9px, 0) rotate(1deg); }
}
.shop-heading {
  background-image: url("dmz-shop-background.webp");
  background-position: center center;
  background-size: cover;
}
.vip-hero {
  background-image: url("dmz-ranks-background.webp");
  background-position: center center;
  background-size: cover;
}
@media (max-width: 620px) {
  .hero.hero-banner { min-height: 365px; margin-top: -27px; background-position: 58% center; }
  .hero.hero-banner .hero-badge {
    right: 9%;
    top: auto;
    bottom: 17px;
    width: 132px;
    height: 132px;
    transform: none;
  }
  .hero-logo-stage { padding: 0; border-radius: 0; }
  .shop-heading, .vip-hero { background-position: center center; }
}
.discord-inline-icon:hover { transform: translateY(-1px); }

.footer-discord-link { display: inline-flex; align-items: center; gap: 7px; }
.brand-mark, .chip-icon, .support-icon, .discord-inline-icon { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.brand:hover .brand-mark { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 13px 30px rgba(26, 174, 232, .32); }
.server-chip:hover .server-icon, .discord-chip:hover .discord-icon { transform: translateY(-2px) rotate(2deg); box-shadow: 0 10px 25px rgba(26, 174, 232, .30); }
.support-panel:hover .support-icon { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26, 174, 232, .30); }

.cart-button, .primary-button, .secondary-button, .buy-button, .vip-buy-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}
.cart-button::before, .primary-button::before, .secondary-button::before, .buy-button::before, .vip-buy-button::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -95%;
  left: -40%;
  width: 24%;
  height: 290%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transform: translateX(-170%) rotate(20deg);
  transition: transform .72s cubic-bezier(.2,.7,.2,1);
}
.cart-button::after, .primary-button::after, .secondary-button::after, .buy-button::after, .vip-buy-button::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: inherit;
  opacity: .5;
  transition: opacity .24s ease;
}
.cart-button:hover::before, .primary-button:hover::before, .secondary-button:hover::before, .buy-button:hover::before, .vip-buy-button:hover::before { transform: translateX(720%) rotate(20deg); }
.cart-button:hover::after, .primary-button:hover::after, .secondary-button:hover::after, .buy-button:hover::after, .vip-buy-button:hover::after { opacity: .9; }
.cart-button > *, .primary-button > *, .secondary-button > *, .buy-button > *, .vip-buy-button > * { position: relative; z-index: 1; }
.cart-button:active, .primary-button:active, .secondary-button:active, .buy-button:active, .vip-buy-button:active { transform: translateY(0) scale(.975); }
.checkout-button:disabled { will-change: auto; }
.checkout-button:disabled::before, .checkout-button:disabled::after { display: none; }
.details-button { position: relative; transition: color .2s ease, transform .2s ease; }
.details-button:hover { transform: translateX(2px); }
.details-button::after { content: ""; position: absolute; right: 8px; bottom: 3px; left: 8px; height: 1px; background: var(--accent-1); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.details-button:hover::after { transform: scaleX(1); }

@media (max-width: 620px) {
  .discord-inline-icon { width: 17px; height: 17px; flex-basis: 17px; border-radius: 5px; }
  .brand-mark.has-logo { padding: 5px; }
  .cart-button::before, .primary-button::before, .secondary-button::before, .buy-button::before, .vip-buy-button::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-button::before, .primary-button::before, .secondary-button::before, .buy-button::before, .vip-buy-button::before { display: none; }
}
.performance-lite .cart-button, .performance-lite .primary-button, .performance-lite .secondary-button, .performance-lite .buy-button, .performance-lite .vip-buy-button { will-change: auto; }
.performance-lite .cart-button::before, .performance-lite .primary-button::before, .performance-lite .secondary-button::before, .performance-lite .buy-button::before, .performance-lite .vip-buy-button::before { display: none; }

/* Keep the brand mark steady while the surrounding control responds. */
.brand:hover .brand-mark { transform: translateY(-3px) scale(1.025); }
.discord-chip:hover .discord-icon { box-shadow: 0 0 30px rgba(88,101,242,.62); }

/* The top header is its own branded band, separate from the Home hero. */
.site-header {
  isolation: isolate;
  overflow: hidden;
  background-color: #08111e;
  background-image:
    linear-gradient(90deg, rgba(5, 14, 27, .62), rgba(6, 14, 26, .42) 52%, rgba(5, 14, 27, .66)),
    url("dmz-header-background.webp");
  background-position: center, center 48%;
  background-size: cover, cover;
  border-bottom: 1px solid rgba(174, 213, 255, .10);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(82, 182, 246, .10), transparent 28%, transparent 72%, rgba(47, 139, 255, .10));
}
.site-header::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -210%;
  z-index: -1;
  width: 52%;
  height: 440%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(47, 139, 255, .14), transparent 66%);
  transform: rotate(-10deg);
}
.site-header .header-inner { position: relative; z-index: 1; }

@media (max-width: 620px) {
  .site-header { background-position: center, center 48%; }
}

/* Champion Club: one clear recommendation, with longer plans kept secondary. */
.shop-section-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vip-product-grid-club { grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(190px, 1fr)); align-items: stretch; }
.vip-product-grid-club .vip-product-card-featured {
  border-color: color-mix(in srgb, var(--vip-color), transparent 25%);
  background: linear-gradient(145deg, color-mix(in srgb, var(--vip-color), transparent 84%), rgba(9, 18, 31, .96) 62%);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--vip-color), transparent 84%);
}
.vip-product-grid-club .vip-product-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.13), transparent 30%);
}
.vip-product-grid-club .vip-product-card-featured .vip-product-image { aspect-ratio: 1.55; }
.vip-product-grid-club .vip-product-card-featured .vip-product-body { padding: 19px 19px 20px; }
.vip-product-grid-club .vip-product-card-featured .vip-product-body h3 { font-size: 21px; }
.vip-image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: color-mix(in srgb, var(--vip-color), white 18%); }
.vip-image-placeholder .ui-icon { width: 54px; height: 54px; filter: drop-shadow(0 8px 18px color-mix(in srgb, var(--vip-color), transparent 62%)); }
.vip-product-grid-club .vip-product-card-secondary { opacity: .9; background: linear-gradient(150deg, rgba(18, 31, 50, .78), rgba(8, 15, 25, .84)); }
.vip-product-grid-club .vip-product-card-secondary:hover { opacity: 1; }
.vip-product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  margin-left: auto;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  font: 800 8px var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.vip-product-badge.is-featured { color: #07111b; border-color: transparent; background: var(--vip-color); }

@media (max-width: 1050px) {
  .vip-product-grid-club { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-product-grid-club .vip-product-card-featured { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .shop-section-tabs { grid-template-columns: 1fr; }
  .vip-product-grid-club { grid-template-columns: 1fr; }
  .vip-product-grid-club .vip-product-card-featured { grid-column: auto; }
}

/* Compact product presentation: the featured Club plan leads the page, while
   the remaining plans and single-category products stay easy to scan. */
.vip-product-grid:not(.vip-product-grid-club) {
  grid-template-columns: repeat(auto-fit, minmax(240px, 340px));
  justify-content: center;
}
.vip-product-grid:not(.vip-product-grid-club) .vip-product-card {
  width: 100%;
  max-width: 340px;
}
.vip-product-image {
  height: 172px;
  aspect-ratio: auto;
}
.vip-product-grid-club {
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  align-items: start;
  gap: 16px;
}
.vip-product-grid-club .vip-product-card-featured {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 430px);
}
.vip-product-grid-club .vip-product-card-featured .vip-product-image {
  height: 210px;
  aspect-ratio: auto;
}
.vip-product-grid-club .vip-product-card-secondary {
  width: 100%;
  max-width: 220px;
  justify-self: center;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-image {
  height: 138px;
  aspect-ratio: auto;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body {
  padding: 13px 14px 15px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body h3 {
  font-size: 16px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body p {
  min-height: 34px;
  margin-top: 7px;
  font-size: 11px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-footer {
  gap: 7px;
  padding-top: 13px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-price {
  font-size: 15px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-buy-button {
  padding: 8px 9px;
  font-size: 9px;
}

@media (max-width: 1050px) {
  .vip-product-grid-club {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }
  .vip-product-grid-club .vip-product-card-secondary {
    max-width: none;
  }
}

/* Store polish v2: quieter navigation and compact purchase cards. */
.shop-heading .shop-section-tabs {
  gap: 2px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(125, 166, 202, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.shop-section-tab {
  min-height: 44px;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.shop-section-tab:hover {
  border-bottom-color: rgba(82, 182, 246, .42);
  background: linear-gradient(180deg, transparent, rgba(82, 182, 246, .06));
  transform: none;
}
.shop-section-tab.active {
  border-bottom-color: var(--accent-1);
  background: linear-gradient(180deg, transparent, rgba(82, 182, 246, .09));
  box-shadow: none;
}
.shop-section-tab > .shop-section-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.shop-section-tab > .shop-section-icon .ui-icon {
  width: 15px;
  height: 15px;
}
.shop-section-tab > strong {
  overflow: hidden;
  color: var(--muted);
  font: 800 11px/1.1 var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-section-tab.active > strong,
.shop-section-tab:hover > strong { color: var(--text); }

.vip-section-heading {
  padding: 8px 2px 14px;
  border-bottom: 1px solid rgba(125, 166, 202, .16);
}
.vip-section-heading h2 {
  margin-top: 3px;
  font-size: clamp(24px, 2.3vw, 31px);
}
.vip-section-heading p {
  max-width: 680px;
  margin-top: 5px;
}

.vip-tone-blue,
.vip-tone-violet,
.vip-tone-gold,
.vip-tone-rose,
.vip-tone-green { --vip-color: var(--accent-1); }
.vip-product-card {
  border-color: rgba(107, 157, 199, .24);
  background: linear-gradient(145deg, rgba(13, 26, 43, .96), rgba(7, 14, 25, .98));
  box-shadow: none;
}
.vip-product-card:hover {
  border-color: rgba(82, 182, 246, .56);
  box-shadow: 0 13px 28px rgba(0, 0, 0, .22);
  transform: translateY(-2px);
}
.vip-product-image {
  background: radial-gradient(circle at 50% 42%, rgba(82, 182, 246, .17), transparent 66%), rgba(3, 10, 19, .7);
}
.vip-product-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-1);
  font: 850 9px/1 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.vip-product-body h3 {
  min-width: 0;
  margin: 0;
}
.vip-product-body h3 a {
  display: block;
  overflow-wrap: anywhere;
}
.vip-product-topline,
.vip-product-type { display: none; }
.vip-buy-button {
  color: var(--text);
  border: 1px solid rgba(82, 182, 246, .42);
  background: rgba(82, 182, 246, .08);
  box-shadow: none;
}
.vip-buy-button::before,
.vip-buy-button::after { display: none; }
.vip-buy-button:hover {
  color: #05101c;
  border-color: var(--accent-1);
  background: var(--accent-1);
  box-shadow: 0 8px 18px rgba(44, 152, 229, .2);
  transform: translateY(-1px);
}

/* Monthly remains the clear primary choice. */
.vip-product-grid-club {
  grid-template-columns: 1fr;
  width: min(100%, 720px);
  max-width: 720px;
  gap: 8px;
}
.vip-product-grid-club .vip-product-card-featured {
  width: 100%;
  grid-column: auto;
  grid-template-columns: 150px minmax(0, 1fr);
  border-color: rgba(82, 182, 246, .62);
  background: linear-gradient(135deg, rgba(36, 123, 181, .17), rgba(8, 17, 29, .98) 62%);
}
.vip-product-grid-club .vip-product-card-featured .vip-product-media,
.vip-product-grid-club .vip-product-card-featured .vip-product-image {
  min-height: 158px;
}
.vip-product-grid-club .vip-product-card-featured .vip-product-body {
  padding: 17px 19px;
}
.vip-product-grid-club .vip-product-card-featured .vip-buy-button {
  color: #05101c;
  border-color: transparent;
  background: var(--accent-1);
}

/* Fixed plans are concise rows; the duration is already part of each product name. */
.vip-product-grid-club .vip-product-card-secondary {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 88px;
  border-color: rgba(107, 157, 199, .2);
  background: rgba(8, 17, 29, .9);
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-media,
.vip-product-grid-club .vip-product-card-secondary .vip-product-image {
  height: 100%;
  min-height: 88px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-image .ui-icon {
  width: 29px;
  height: 29px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 13px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body h3 {
  min-height: 0;
  font-size: 15px;
  line-height: 1.25;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-summary { display: none; }
.vip-product-grid-club .vip-product-card-secondary .vip-product-footer {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  gap: 13px;
  padding: 0;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-price {
  min-width: 76px;
  flex: 0 0 auto;
}
.vip-product-grid-club .vip-product-card-secondary .vip-buy-button {
  min-width: 88px;
}
.vip-subscription-note { width: min(100%, 720px); }

/* Ranks and Lumens use the same compact, neutral purchase pattern. */
.vip-product-grid.vip-product-grid-single:not(.vip-product-grid-club) .vip-product-card {
  grid-template-columns: 132px minmax(0, 1fr);
  width: min(100%, 720px);
}
.vip-product-grid-single .vip-product-media,
.vip-product-grid-single .vip-product-image {
  min-height: 148px;
}
.vip-product-grid-single .vip-product-body {
  padding: 16px 18px;
}
.vip-product-grid-single .vip-product-body h3 { font-size: 19px; }

@media (max-width: 620px) {
  .shop-heading .shop-section-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
  }
  .shop-section-tab {
    min-width: 0;
    min-height: 42px;
    padding: 8px 5px;
  }
  .shop-section-tab > .shop-section-icon { display: none; }
  .shop-section-tab > strong {
    font-size: 9.5px;
    text-overflow: clip;
    white-space: normal;
  }
  .vip-section-heading { padding: 6px 1px 12px; }
  .vip-product-grid-club .vip-product-card-featured,
  .vip-product-grid-single .vip-product-card,
  .vip-product-grid.vip-product-grid-single:not(.vip-product-grid-club) .vip-product-card {
    display: flex;
  }
  .vip-product-grid-club .vip-product-card-featured .vip-product-media,
  .vip-product-grid-club .vip-product-card-featured .vip-product-image,
  .vip-product-grid-single .vip-product-media,
  .vip-product-grid-single .vip-product-image {
    height: 112px;
    min-height: 112px;
  }
  .vip-product-grid-club .vip-product-card-secondary {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-body {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 11px;
  }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-footer {
    grid-column: 1;
    grid-row: auto;
    justify-content: space-between;
    gap: 8px;
  }
  .vip-product-grid-club .vip-product-card-secondary .vip-buy-button {
    min-width: 76px;
  }
}
@media (max-width: 620px) {
  .vip-product-grid:not(.vip-product-grid-club) {
    grid-template-columns: minmax(0, 340px);
  }
  .vip-product-grid:not(.vip-product-grid-club) .vip-product-card {
    max-width: 340px;
  }
  .vip-product-image {
    height: 155px;
  }
  .vip-product-grid-club {
    grid-template-columns: minmax(0, 340px);
    max-width: 100%;
  }
  .vip-product-grid-club .vip-product-card-featured {
    grid-column: auto;
    width: 100%;
  }
  .vip-product-grid-club .vip-product-card-secondary {
    max-width: 340px;
  }
  .vip-product-grid-club .vip-product-card-featured .vip-product-image {
    height: 180px;
  }
.vip-product-grid-club .vip-product-card-secondary .vip-product-image {
    height: 155px;
  }
}

/* Cart quantity controls: compact, keyboard-friendly and consistent with the
   existing drawer without changing the Tebex checkout flow. */
.cart-row { align-items: flex-start; }
.cart-row-info { align-self: center; }
.cart-row-meta { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.cart-row-quantity-label { color: var(--muted); font-size: 10px; }
.cart-quantity-control { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.045); }
.quantity-button { display: grid; width: 25px; height: 25px; place-items: center; color: var(--text); background: transparent; font: 800 15px/1 var(--font-body); transition: color .18s, background-color .18s; }
.quantity-button:hover { color: var(--accent-1); background: var(--accent-soft); }
.quantity-button:active { background: color-mix(in srgb, var(--accent-1), transparent 78%); }
.quantity-input { width: 34px; height: 25px; padding: 0; border: 0; outline: 0; color: var(--text); background: transparent; text-align: center; font: 800 11px var(--font-display); }
.quantity-input:focus-visible { box-shadow: inset 0 0 0 1px var(--accent-1); }
.quantity-input::-webkit-outer-spin-button, .quantity-input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.quantity-input { appearance: textfield; }
.cart-fixed-quantity {
  display: inline-grid;
  min-width: 31px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: rgba(255,255,255,.045);
  font: 800 11px var(--font-display);
}
.cart-row-price { align-self: center; white-space: nowrap; }
.cart-row .remove-button { align-self: center; }
.cart-payment-note {
  margin: 0 0 12px;
  padding: 9px 10px;
  border: 1px solid color-mix(in srgb, var(--accent-1), transparent 68%);
  border-radius: 10px;
  color: var(--muted);
  background: color-mix(in srgb, var(--accent-1), transparent 93%);
  font-size: 11px;
  line-height: 1.45;
}

/* Store revamp: compact category-first navigation and product-first cards. */
.shop-heading {
  margin-bottom: 12px;
  padding: 19px 21px 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(12, 24, 42, .96), rgba(7, 14, 25, .92));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}
.shop-heading::after { opacity: .55; }
.shop-heading h1 {
  margin-top: 5px;
  font-size: clamp(27px, 3.4vw, 36px);
  letter-spacing: -.045em;
}
.shop-heading p {
  max-width: 560px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}
.shop-heading .shop-section-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 13px 0 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  background: rgba(2, 9, 18, .5);
}
.shop-section-tab {
  display: flex;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  transform: none;
}
.shop-section-tab:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, .04);
  transform: none;
}
.shop-section-tab.active {
  border-color: color-mix(in srgb, var(--accent-1), transparent 48%);
  background: color-mix(in srgb, var(--accent-1), transparent 87%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}
.shop-section-tab > .shop-section-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent-1), transparent 72%);
  border-radius: 9px;
  color: var(--accent-1);
  background: color-mix(in srgb, var(--accent-1), transparent 89%);
}
.shop-section-tab > .shop-section-copy {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}
.shop-section-copy strong,
.shop-section-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-section-copy strong {
  color: var(--text);
  font: 800 11px var(--font-display);
}
.shop-section-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.vip-view,
.vip-section-content {
  gap: 14px;
  margin-top: 0;
}
.vip-section-heading {
  align-items: center;
  padding: 9px 4px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.vip-section-heading-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}
.vip-heading-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent-1), transparent 68%);
  border-radius: 11px;
  color: var(--accent-1);
  background: color-mix(in srgb, var(--accent-1), transparent 88%);
}
.vip-heading-icon .ui-icon { width: 18px; height: 18px; }
.vip-section-heading h2 {
  margin-top: 2px;
  font-size: clamp(23px, 2.8vw, 29px);
  letter-spacing: -.04em;
}
.vip-section-heading p {
  max-width: 700px;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.5;
}

.vip-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 12px;
}
.vip-product-card {
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--vip-color), transparent 94%), rgba(8, 16, 28, .94));
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}
.vip-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
}
.vip-product-media {
  margin: 0;
  border-radius: 0;
}
.vip-product-image {
  height: 132px;
  aspect-ratio: auto;
  border-radius: 0;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--vip-color), transparent 77%), transparent 67%), rgba(3, 10, 19, .72);
}
.vip-product-image::after { border-radius: 0; }
.vip-product-image img { padding: 12px; }
.vip-product-body {
  padding: 13px 14px 14px;
}
.vip-product-topline {
  justify-content: flex-start;
  margin: 0 0 8px;
  padding: 0;
}
.vip-product-type {
  min-height: 20px;
  padding: 0 7px;
  font-size: 8px;
  letter-spacing: .06em;
}
.vip-product-type.is-featured {
  color: #06111f;
  border-color: transparent;
  background: var(--vip-color);
}
.vip-product-body h3 {
  font-size: 17px;
  line-height: 1.18;
}
.vip-product-body .vip-product-summary {
  display: block;
  min-height: 0;
  overflow: visible;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.48;
  -webkit-line-clamp: unset;
}
.vip-product-footer {
  min-width: 0;
  align-items: center;
  flex-wrap: nowrap;
  gap: 9px;
  padding-top: 13px;
}
.vip-product-price {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 16px;
  white-space: nowrap;
}
.vip-product-price small {
  margin-top: 2px;
  font-size: 9px;
  white-space: nowrap;
}
.vip-buy-button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 9px;
}
.vip-buy-button .button-icon { width: 12px; height: 12px; }

/* A single Rank or Lumen reads as a compact product row, not an oversized card. */
.vip-product-grid-single {
  display: block;
}
.vip-product-grid.vip-product-grid-single:not(.vip-product-grid-club) .vip-product-card {
  display: grid;
  width: min(100%, 720px);
  max-width: none;
  grid-template-columns: 170px minmax(0, 1fr);
  margin-inline: auto;
}
.vip-product-grid-single .vip-product-media,
.vip-product-grid-single .vip-product-image {
  height: 100%;
  min-height: 176px;
}
.vip-product-grid-single .vip-product-body {
  justify-content: center;
  padding: 18px 20px;
}
.vip-product-grid-single .vip-product-body h3 { font-size: 20px; }
.vip-product-grid-single .vip-product-body .vip-product-summary {
  max-width: 470px;
  font-size: 11px;
}

/* Champion Club keeps Monthly prominent and the fixed plans visually secondary. */
.vip-product-grid-club {
  grid-template-columns: repeat(3, minmax(0, 230px));
  max-width: 780px;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  margin-inline: auto;
}
.vip-product-grid-club .vip-product-card-featured {
  display: grid;
  width: min(100%, 620px);
  max-width: none;
  grid-column: 1 / -1;
  grid-template-columns: 180px minmax(0, 1fr);
  justify-self: center;
  border-color: color-mix(in srgb, var(--vip-color), transparent 22%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--vip-color), transparent 86%), rgba(8, 17, 29, .98) 64%);
}
.vip-product-grid-club .vip-product-card-featured .vip-product-media,
.vip-product-grid-club .vip-product-card-featured .vip-product-image {
  height: 100%;
  min-height: 190px;
}
.vip-product-grid-club .vip-product-card-featured .vip-product-body {
  justify-content: center;
  padding: 18px 20px;
}
.vip-product-grid-club .vip-product-card-featured .vip-product-body h3 { font-size: 21px; }
.vip-product-grid-club .vip-product-card-secondary {
  width: 100%;
  max-width: none;
  opacity: 1;
  background: linear-gradient(150deg, color-mix(in srgb, var(--vip-color), transparent 95%), rgba(8, 16, 28, .96));
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-image {
  height: 102px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body {
  padding: 12px 13px 13px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body h3 {
  min-height: 38px;
  font-size: 15px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body .vip-product-summary {
  display: none;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-footer {
  gap: 7px;
  padding-top: 11px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-price { font-size: 15px; }
.vip-product-grid-club .vip-product-card-secondary .vip-buy-button {
  min-height: 32px;
  padding: 7px 9px;
}
.vip-subscription-note {
  width: min(100%, 780px);
  box-sizing: border-box;
  overflow: hidden;
  margin-inline: auto;
  padding: 11px 13px;
  border-radius: 12px;
}
.vip-subscription-note p {
  min-width: 0;
  line-height: 1.45;
}

.vip-comparison {
  border-radius: 15px;
  box-shadow: none;
}
.vip-comparison-heading { padding: 15px 17px 13px; }
.vip-comparison-table th,
.vip-comparison-table td { padding: 10px 9px; }

/* Route pages start close to the navigation instead of inheriting home spacing. */
#shop-view.section-block,
#terms-view.section-block,
#product-view.section-block {
  margin-top: -28px;
}

@media (max-width: 780px) {
  .vip-product-grid-club {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .vip-product-grid-club .vip-product-card-featured {
    grid-column: auto;
  }
  .vip-product-grid-club .vip-product-card-secondary {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-media,
  .vip-product-grid-club .vip-product-card-secondary .vip-product-image {
    height: 100%;
    min-height: 132px;
  }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-body h3 { min-height: 0; }
}

@media (max-width: 620px) {
  .shop-heading { padding: 16px 13px 13px; }
  .shop-heading h1 { font-size: 25px; }
  .shop-heading p { font-size: 11px; }
  .shop-heading .shop-section-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 11px; padding: 4px; }
  .shop-section-tab {
    min-height: 43px;
    justify-content: center;
    padding: 7px 4px;
  }
  .shop-section-tab > .shop-section-icon { display: none; }
  .shop-section-tab > .shop-section-copy { flex: 0 1 auto; text-align: center; }
  .shop-section-copy strong { overflow: visible; font-size: 9px; white-space: normal; }
  .shop-section-copy small { display: none; }
  .vip-section-heading { padding: 7px 1px 12px; }
  .vip-heading-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .vip-section-heading h2 { font-size: 22px; }
  .vip-section-heading p { font-size: 10.5px; }
  .vip-product-grid-single .vip-product-card,
  .vip-product-grid-club .vip-product-card-featured,
  .vip-product-grid-club .vip-product-card-secondary {
    display: flex;
    grid-template-columns: none;
  }
  .vip-product-grid-single .vip-product-media,
  .vip-product-grid-single .vip-product-image,
  .vip-product-grid-club .vip-product-card-featured .vip-product-media,
  .vip-product-grid-club .vip-product-card-featured .vip-product-image,
  .vip-product-grid-club .vip-product-card-secondary .vip-product-media,
  .vip-product-grid-club .vip-product-card-secondary .vip-product-image {
    height: 128px;
    min-height: 128px;
  }
  .vip-product-grid-single .vip-product-body,
  .vip-product-grid-club .vip-product-card-featured .vip-product-body { padding: 14px; }
  .vip-product-grid-club .vip-product-card-featured .vip-product-body h3 { font-size: 18px; }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-body .vip-product-summary { display: block; }
  .vip-product-footer { flex-wrap: wrap; }
  #shop-view.section-block,
  #terms-view.section-block,
  #product-view.section-block {
    margin-top: 0;
  }
}

/* Final layout fix: keep secondary plans wide enough for readable titles. */
.shop-heading .shop-section-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 13px 0 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(125, 166, 202, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.shop-heading .shop-section-tab {
  min-width: 0;
  min-height: 44px;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.shop-heading .shop-section-tab:hover {
  border-bottom-color: rgba(82, 182, 246, .42);
  background: linear-gradient(180deg, transparent, rgba(82, 182, 246, .06));
  transform: none;
}
.shop-heading .shop-section-tab.active {
  border-bottom-color: var(--accent-1);
  background: linear-gradient(180deg, transparent, rgba(82, 182, 246, .09));
  box-shadow: none;
}
.shop-heading .shop-section-tab > .shop-section-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.shop-heading .shop-section-tab > strong {
  overflow: hidden;
  color: var(--muted);
  font: 800 11px/1.1 var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-heading .shop-section-tab.active > strong,
.shop-heading .shop-section-tab:hover > strong { color: var(--text); }

.vip-product-grid-club {
  display: grid !important;
  grid-template-columns: minmax(0, 720px) !important;
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  gap: 8px !important;
  margin-inline: auto;
}
.vip-product-grid-club .vip-product-card-featured {
  display: grid !important;
  width: 100% !important;
  grid-column: auto !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
}
.vip-product-grid-club .vip-product-card-secondary {
  display: grid !important;
  width: 100% !important;
  min-width: 0;
  grid-template-columns: 76px minmax(0, 1fr) !important;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body {
  display: grid !important;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 14px;
  padding: 12px 13px;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-body h3 {
  min-width: 0;
  min-height: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-summary { display: none !important; }
.vip-product-grid-club .vip-product-card-secondary .vip-product-footer {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto;
  padding: 0;
}
.vip-product-grid-club .vip-product-card-secondary .vip-product-price {
  min-width: 76px;
  flex: 0 0 auto;
}

@media (max-width: 620px) {
  .shop-heading .shop-section-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; }
  .shop-heading .shop-section-tab { min-width: 0; min-height: 42px; padding: 8px 5px; }
  .shop-heading .shop-section-tab > .shop-section-icon { display: none; }
  .shop-heading .shop-section-tab > strong { overflow: visible; font-size: 9.5px; text-align: center; white-space: normal; }
  .vip-product-grid-club { grid-template-columns: minmax(0, 1fr) !important; }
  .vip-product-grid-club .vip-product-card-featured { display: flex !important; grid-template-columns: none !important; }
  .vip-product-grid-club .vip-product-card-secondary { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) !important; }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-body { grid-template-columns: minmax(0, 1fr) !important; gap: 8px; padding: 10px 11px; }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-footer { grid-column: 1 !important; grid-row: auto !important; justify-content: space-between; gap: 8px; }
}

/* Keep quantity controls legible without letting them expand the cart layout. */
.quantity-input { width: 54px; }
.package-quantity-field input {
  border-color: rgba(82, 182, 246, .38);
  background: rgba(82, 182, 246, .08);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.package-quantity-field input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(82, 182, 246, .12);
}
