:root {
  --bg: #0b0d13;
  --surface: #131722;
  --surface-2: #1b2030;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --fg: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --accent-rgb: 59, 130, 246;
  --accent-contrast: #ffffff;
  --color-discord: #5865f2;
  --font-display: "Outfit", "Manrope", sans-serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

body[data-theme="borough-heights"] {
  --bg: #090d16;
  --surface: #111827;
  --surface-2: #1e293b;
  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --accent-rgb: 59, 130, 246;
  --accent-contrast: #ffffff;
}

body[data-theme="jay-studio"] {
  --bg: #0f0a0c;
  --surface: #181115;
  --surface-2: #261920;
  --accent: #ff2e43;
  --accent-bright: #ff6b7b;
  --accent-rgb: 255, 46, 67;
  --accent-contrast: #ffffff;
}

body[data-theme="allstar-services"] {
  --bg: #09090b;
  --surface: #121215;
  --surface-2: #1c1c21;
  --accent: #f4f4f5;
  --accent-bright: #ffffff;
  --accent-rgb: 244, 244, 245;
  --accent-contrast: #09090b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: clamp(14px, 12.5px + 0.18vw, 16px);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  transition: background-color 0.35s ease;
}

/* Dynamic Ambient Atmosphere */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  transition: background 0.5s ease;
}

.bg-orb-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -120px;
  background: rgba(var(--accent-rgb), 0.18);
}

.bg-orb-2 {
  width: 520px;
  height: 520px;
  top: 120px;
  right: -160px;
  background: rgba(var(--accent-rgb), 0.12);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, transparent 20%, var(--bg) 90%);
}

#ambientCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Glass Surface */
.glass {
  background: rgba(19, 23, 34, 0.76);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--line);
}

body[data-theme="jay-studio"] .glass {
  background: rgba(24, 17, 21, 0.78);
}

body[data-theme="allstar-services"] .glass {
  background: rgba(18, 18, 21, 0.82);
}

/* Top Command Ribbon */
.top-ribbon {
  background: linear-gradient(90deg, #11131a 0%, #191d28 50%, #11131a 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  z-index: 40;
}

.top-ribbon-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--accent-rgb), 0.14) 50%,
    transparent 100%
  );
  animation: ribbonSweep 8s infinite linear;
  pointer-events: none;
}

@keyframes ribbonSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.top-ribbon-inner {
  max-width: 92rem;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.ribbon-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.ribbon-domain {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-bright);
  background: rgba(var(--accent-rgb), 0.14);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
}

.ribbon-sep {
  color: var(--subtle);
}

.ribbon-discord-btn {
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.45);
  color: #e0e7ff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.ribbon-discord-btn:hover {
  background: var(--color-discord);
  color: #fff;
}

/* Main Page Container */
.page-container {
  max-width: 92rem;
  margin: 0 auto;
  padding: 1.15rem 1.5rem 4.5rem;
}

/* Sticky Command Header */
.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 35;
  height: 4.25rem;
  border-radius: 1.1rem;
  padding: 0 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--fg);
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.25);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.header-nav {
  display: flex;
  align-items: center;
  background: rgba(9, 11, 17, 0.65);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0.2rem;
}

@media (max-width: 860px) {
  .header-nav {
    display: none;
  }
}

.nav-pill {
  position: relative;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-pill:hover {
  color: var(--fg);
}

.nav-pill.active {
  color: var(--fg);
  background: rgba(var(--accent-rgb), 0.16);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.38);
}

.nav-glow {
  display: none;
}

.nav-pill.active .nav-glow {
  display: block;
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 0 10px 2px var(--accent-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.discord-header-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.discord-header-btn:hover {
  background: var(--color-discord);
  border-color: var(--color-discord);
  color: #fff;
}

.basket-btn {
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.basket-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.basket-count {
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
  padding: 0.06rem 0.45rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

/* 3-Store Brand Switcher Grid */
.store-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 1.65rem;
}

@media (max-width: 960px) {
  .store-deck {
    grid-template-columns: 1fr;
  }
}

.store-tab-card {
  background: rgba(19, 23, 34, 0.68);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  cursor: pointer;
  text-align: left;
  color: var(--fg);
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.22s ease;
}

.store-tab-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.store-tab-card.active {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.18) 0%, rgba(19, 23, 34, 0.92) 100%);
  border-color: rgba(var(--accent-rgb), 0.65);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(var(--accent-rgb), 0.18);
}

.store-tab-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.store-tab-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-tab-info {
  flex: 1;
  min-width: 0;
}

.store-tab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.store-tab-title {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.store-status-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.chip-blue {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.chip-red {
  background: rgba(255, 46, 67, 0.18);
  color: #fda4af;
  border: 1px solid rgba(255, 46, 67, 0.4);
}

.chip-mono {
  background: rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.store-tab-sub {
  font-size: 0.78rem;
  color: var(--subtle);
  line-height: 1.35;
}

/* Redesigned Showcase Hero */
.hero-showcase {
  position: relative;
  border-radius: 1.5rem;
  padding: 2.4rem 2.6rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-showcase {
    padding: 1.8rem 1.4rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.6rem;
  }
  .hero-badges-row,
  .hero-metrics-bar,
  .hero-cta-row {
    justify-content: center;
  }
}

.hero-logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-halo {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.25;
  filter: blur(60px);
  pointer-events: none;
}

.hero-artwork {
  width: 245px;
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatSlow 5.5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.hero-artwork img {
  width: 245px;
  height: 245px;
  object-fit: contain;
  border-radius: 26px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.65));
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.hero-kicker-pill {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--accent-bright);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  padding: 0.24rem 0.75rem;
  border-radius: 999px;
}

.hero-domain-pill {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 0.65rem;
}

.hero-description {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 48rem;
  margin-bottom: 1.25rem;
}

.hero-metrics-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.metric-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.38rem 0.8rem;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.metric-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-bright);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-accent-pill {
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35);
  transition: all 0.2s ease;
}

.btn-accent-pill:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-accent-pill:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-outline-pill {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-pill:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--accent-bright);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
}

/* Featured Spotlight Section */
.featured-container {
  margin-bottom: 2.8rem;
}

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-bar-left h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.count-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent-bright);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

@media (max-width: 980px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

.featured-card {
  background: linear-gradient(165deg, rgba(var(--accent-rgb), 0.13) 0%, rgba(19, 23, 34, 0.92) 55%);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 1.25rem;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-bright);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 28px rgba(var(--accent-rgb), 0.22);
}

.featured-visual {
  height: 145px;
  border-radius: 0.9rem;
  padding: 1rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 85% 20%, rgba(var(--accent-rgb), 0.38), transparent 65%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 8px, transparent 8px 16px),
    var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.featured-star-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(9, 11, 17, 0.8);
  color: var(--accent-bright);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.featured-logo-mini {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-visual-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  z-index: 2;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

.card-perks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin: 0.65rem 0 1rem;
}

.perk-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

/* Catalog Toolbar & Filter Bar */
.shop-toolbar {
  border-radius: 1.15rem;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  color: var(--accent-bright);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.toolbar-title-col h2,
.section-heading h2,
.faq-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(9, 11, 17, 0.75);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  min-width: 310px;
  color: var(--subtle);
}

@media (max-width: 600px) {
  .search-box {
    min-width: 100%;
  }
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.86rem;
  width: 100%;
}

.shortcut-key {
  font-family: var(--font-mono);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.05rem 0.42rem;
  font-size: 0.72rem;
  color: var(--subtle);
}

.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.filter-pill {
  background: rgba(19, 23, 34, 0.75);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  color: var(--fg);
  border-color: var(--line-strong);
}

.filter-pill.active {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.35);
}

.filter-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.8;
}

/* Standard Categories & Package Cards */
.categories-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.category-block-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.category-block-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.category-block-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 1.15rem;
}

.package-card {
  background: rgba(19, 23, 34, 0.82);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-theme="jay-studio"] .package-card {
  background: rgba(24, 17, 21, 0.84);
}

body[data-theme="allstar-services"] .package-card {
  background: rgba(18, 18, 21, 0.86);
}

.package-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.package-banner {
  position: relative;
  min-height: 88px;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background:
    radial-gradient(circle at 90% 15%, rgba(var(--accent-rgb), 0.28), transparent 65%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 7px,
      transparent 7px,
      transparent 14px
    ),
    var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.package-subtitle-pill {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-bright);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.package-banner-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 2;
}

.package-meta {
  padding: 0 0.15rem;
  flex: 1;
}

.package-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.package-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.package-price {
  font-family: var(--font-mono);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--fg);
}

.package-price small {
  font-size: 0.7rem;
  color: var(--subtle);
}

.package-btns {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-card-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.44rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-card-details:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.btn-card-add {
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.44rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-card-add:hover {
  filter: brightness(1.1);
}

.btn-card-inbasket {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.44rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

/* Important Information Section */
.info-section {
  margin-top: 4rem;
}

.section-heading {
  margin-bottom: 1.15rem;
}

.info-grid-card {
  border-radius: 1.35rem;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

@media (max-width: 768px) {
  .info-grid-card {
    grid-template-columns: 1fr;
  }
}

.info-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1.05rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.info-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.65rem;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.info-item p {
  font-size: 0.84rem;
  color: var(--muted);
}

/* FAQ Section */
.faq-section {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .faq-section {
    grid-template-columns: 1fr;
  }
}

.faq-left {
  border-radius: 1.35rem;
  padding: 1.75rem;
}

.faq-lead {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.65rem 0 1.35rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: rgba(19, 23, 34, 0.76);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  padding: 1.05rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  color: var(--subtle);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
  color: var(--accent-bright);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.8rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tebex-legal {
  max-width: 44rem;
}

.tebex-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-bright);
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
}

.footer-links {
  display: flex;
  gap: 1.15rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent-bright);
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pay-card {
  background: #ffffff;
  color: #111113;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
  border-radius: 5px;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modal & Basket Drawer */
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 13, 0.76);
  backdrop-filter: blur(9px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.details-modal {
  width: 100%;
  max-width: 35rem;
  border-radius: 1.35rem;
  padding: 1.1rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.details-modal > .modal-close-btn {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  z-index: 4;
}

.modal-banner {
  height: 110px;
  border-radius: 0.95rem;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-end;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  background:
    radial-gradient(circle at 80% 20%, rgba(var(--accent-rgb), 0.32), transparent 65%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 8px, transparent 8px 16px),
    var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.modal-body {
  padding: 0 0.35rem 0.35rem;
}

.modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.modal-cat-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.modal-title-row h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-price {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-price small {
  font-size: 0.74rem;
  color: var(--subtle);
}

.modal-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.highlight-pill {
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--fg);
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0.85rem 0;
}

.modal-prose {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.modal-help-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.modal-help-box strong {
  font-size: 0.85rem;
  display: block;
}

.modal-help-box p {
  font-size: 0.78rem;
  color: var(--subtle);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

/* Basket Slide-Over Drawer */
.drawer-backdrop {
  justify-content: flex-end;
  padding: 0;
}

.basket-drawer {
  width: 100%;
  max-width: 26rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border-left: 1px solid var(--line);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.drawer-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.basket-empty {
  margin: auto 0;
  text-align: center;
  padding: 2rem 1rem;
}

.basket-empty h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.basket-empty p {
  color: var(--subtle);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.basket-item-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.6rem;
}

.chrome-banner {
  background: linear-gradient(125deg, rgba(var(--accent-rgb), 0.25) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.basket-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.3rem;
}

.basket-item-cat {
  font-size: 0.74rem;
  color: var(--subtle);
  display: block;
}

.basket-item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
}

.remove-item-btn {
  background: none;
  border: none;
  color: var(--subtle);
  cursor: pointer;
  padding: 0.3rem;
}

.remove-item-btn:hover {
  color: #f87171;
}

.drawer-footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 1.05rem;
}

.drawer-total-row strong {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
}

.drawer-tax-note {
  font-size: 0.75rem;
  color: var(--subtle);
}

.discord-reward-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.discord-reward-card strong {
  display: block;
  font-size: 0.8rem;
}

.discord-reward-card small {
  font-size: 0.72rem;
  color: var(--subtle);
}

.checkout-btn {
  width: 100%;
}

.drawer-lock-note {
  font-size: 0.73rem;
  color: var(--subtle);
  text-align: center;
}

.drawer-badges {
  justify-content: center;
}

/* Toast */
.toast-popup {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(19, 23, 34, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  color: var(--fg);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 80;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.hidden {
  display: none !important;
}
