* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* Hide scrollbars everywhere (scrolling itself still works via wheel/touch/keyboard) */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }

:root {
  --bg: #0a0707;
  --panel: #120a0a;
  --card: #170d0d;
  --border: rgba(220,38,38,0.22);
  --red: #dc2626;
  --red-bright: #ef4444;
  --red-dim: #7f1d1d;
  --text: #f3efef;
  --muted: #b7a5a5;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,4,4,0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(220,38,38,0.12);
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: #fff;
}
.brand-icon { width: 22px; height: 22px; stroke: var(--red-bright); flex-shrink: 0; }
.brand-text { display: inline-flex; align-items: center; }
.brand-highlight {
  color: var(--red-bright);
  margin-right: 6px;
}

.top-nav { display: flex; align-items: center; gap: 36px; margin-left: 48px; }
.top-nav a { color: var(--text); font-weight: 700; font-size: 17px; transition: color 0.15s; }
.top-nav a:hover { color: var(--red-bright); }
.top-nav a.nav-highlight {
  color: #fff;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), #9c1c1c);
  box-shadow: 0 3px 12px rgba(220,38,38,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.top-nav a.nav-highlight:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 5px 16px rgba(220,38,38,0.55); }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  color: var(--text);
  cursor: pointer;
  margin-right: 14px;
  flex-shrink: 0;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.btn-primary { background: linear-gradient(180deg, var(--red), #9c1c1c); color: #fff; box-shadow: 0 8px 20px rgba(220,38,38,0.35); }
.btn-lg { padding: 15px 32px; font-size: 15.5px; }
.btn-ghost { background: rgba(220,38,38,0.08); color: var(--red-bright); border: 1px solid var(--border); }
.btn-white { background: #fff; color: #7f1d1d; }
.btn-dark { background: #1a0d0d; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn.full { width: 100%; margin-bottom: 22px; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }

.auth-area { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.admin-badge-link {
  display: flex; align-items: center; gap: 6px;
  margin-left: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), #9c1c1c);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(220,38,38,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.admin-badge-link:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220,38,38,0.55); }
.admin-badge-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-discord { background: linear-gradient(180deg, var(--red), #9c1c1c); color: #fff; }
.btn-logout { background: rgba(220,38,38,0.08); color: var(--red-bright); border: 1px solid var(--border); }
.profile-wrap { position: relative; }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.user-chip:hover { background: rgba(255,255,255,0.08); }
.user-chip .avatar-img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; }
.user-chip .chevron { width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 2; }
.user-chip[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  max-width: calc(100vw - 32px);
  background: #150a0a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 60;
}
.profile-dropdown-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.profile-dropdown-header .avatar-img.lg { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.dropdown-username { font-weight: 700; font-size: 15px; }
.dropdown-member-for { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

.profile-dropdown-roles {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 16px;
  max-height: 140px;
  overflow-y: auto;
}
.role-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--muted);
}
.role-pill-empty { color: var(--muted); font-size: 12.5px; }

/* ---------- cart ---------- */
.cart-wrap { position: relative; margin-left: auto; }
.cart-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.cart-btn:hover { background: rgba(255,255,255,0.08); }
.cart-btn svg { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 1.8; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--red-bright);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  max-width: calc(100vw - 32px);
  background: #150a0a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 60;
}
.cart-items { display: flex; flex-direction: column; gap: 12px; max-height: 260px; overflow-y: auto; margin-bottom: 14px; }
.cart-item { display: flex; align-items: center; gap: 10px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { display: block; font-size: 13.5px; font-weight: 700; }
.cart-item-price { display: block; font-size: 11.5px; color: var(--muted); }
.cart-item-qty { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.qty-btn {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.qty-btn:hover { background: rgba(255,255,255,0.1); }
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 18px; line-height: 1;
}
.cart-item-remove:hover { color: var(--red-bright); }
.cart-empty { color: var(--muted); font-size: 13px; text-align: center; padding: 12px 0; }
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 14.5px;
  padding-top: 12px; margin-bottom: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
#cartCheckoutBtn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 90px 24px 110px;
  background:
    radial-gradient(circle at 50% 0%, rgba(220,38,38,0.22), transparent 55%),
    linear-gradient(160deg, #150707 0%, #0a0505 60%, #060303 100%);
}
.pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(220,38,38,0.1);
  border: 1px solid var(--border);
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 1.05;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 0 40px rgba(220,38,38,0.3);
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 44px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-stat-value { font-size: 22px; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; }
.hero-stat-owners .hero-stat-value { font-size: 14.5px; font-weight: 700; color: var(--red-bright); }
.hero-title-accent { color: var(--red-bright); text-shadow: 0 0 40px rgba(220,38,38,0.55); }
.hero-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-scroll {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}
.hero-scroll svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ---------- ecosystem ---------- */
.ecosystem { padding: 90px 48px; }
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.ecosystem-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 28px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  transition: border-color 0.2s, transform 0.2s;
}
.ecosystem-tile:hover { border-color: var(--red-bright); transform: translateY(-3px); }
.ecosystem-tile:hover .ecosystem-icon-wrap { background: rgba(220,38,38,0.18); border-color: var(--red-bright); }
.ecosystem-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.25);
  transition: background 0.2s, border-color 0.2s;
}
.ecosystem-icon { width: 21px; height: 21px; stroke: var(--red-bright); flex-shrink: 0; }

/* ---------- faq page ---------- */
.faq-page { max-width: 860px; margin: 0 auto; padding: 60px 24px 100px; }
.faq-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.faq-pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(220,38,38,0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.faq-pill:hover { color: var(--text); }
.faq-pill.active { background: linear-gradient(180deg, var(--red), #9c1c1c); color: #fff; border-color: transparent; }
.faq-group { margin-bottom: 44px; }
.faq-group h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--red-bright);
  margin-bottom: 16px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
}
.faq-caret { color: var(--red-bright); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-caret { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-answer { max-height: 240px; }
.faq-answer p { padding: 0 20px 18px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- partners page ---------- */
.partners-page { max-width: 1100px; margin: 0 auto; padding: 60px 24px 100px; }
.partners-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.partner-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.partner-card-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
}
.partner-card-body { flex: 1; min-width: 0; }
.partner-card-body h4 { font-size: 16px; margin-bottom: 4px; }
.partner-card-body p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }

/* ---------- partners (static, evenly-spaced strip) ---------- */
.partners-strip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 36px 48px;
  min-height: 128px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, #0d0606, #090404);
}
/* Absolutely positioned, with its width set inline by app.js to fit
   whichever name is currently showing (capped at 420px), so a long name
   grows the box -- and its right-edge divider -- smoothly to the right
   instead of the text sliding inside a fixed box. Taking it out of flow
   this way also means the logo row (which anchors off a fixed margin-left
   below, not off this box) never shifts regardless of how wide this gets. */
.partners-powering {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 260px;
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: width 0.4s ease;
}
.powering-label { font-size: 14.5px; color: var(--muted); }
.powering-name {
  display: block;
  font-size: 23px; font-weight: 800; color: var(--red-bright);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.powering-name.typing::after {
  content: "|";
  margin-left: 2px;
  animation: powering-caret-blink 0.8s steps(1, start) infinite;
}
@keyframes powering-caret-blink {
  50% { opacity: 0; }
}
#poweringJoinBtn { align-self: flex-start; margin-top: 4px; }

.partners-marquee { flex: 1; margin-left: 348px; }
.partners-marquee-track {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}
.partner-logo {
  height: 78px; width: 180px;
  object-fit: contain;
  opacity: 0.55;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.partner-logo:hover { opacity: 0.85; }
.partner-logo.active {
  opacity: 1;
  filter: drop-shadow(0 0 16px rgba(220,38,38,0.7));
}

/* ---------- section head ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; padding: 0 24px; }
.badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(220,38,38,0.1);
  border: 1px solid var(--border);
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.subtitle { color: var(--muted); line-height: 1.6; font-size: 15px; }

/* ---------- features ---------- */
.features { padding: 90px 24px; }
.feature-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature-item svg { width: 26px; height: 26px; stroke: var(--red-bright); fill: none; stroke-width: 1.6; margin-bottom: 16px; }
.feature-item h4 { font-size: 16.5px; margin-bottom: 8px; }
.feature-item p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; }
.feature-item a { color: var(--red-bright); font-weight: 700; font-size: 13.5px; }

/* ---------- carousel ---------- */
.carousel-section { padding: 20px 24px 90px; }
.carousel {
  max-width: 1100px; margin: 0 auto;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 340px;
}
.carousel-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(.65,0,.35,1);
}
.slide {
  width: 25%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  position: relative;
}
.slide-1 { background: linear-gradient(135deg, #3a0a0a, #120404); }
.slide-2 { background: linear-gradient(135deg, #4a1010, #1a0505); }
.slide-3 { background: linear-gradient(135deg, #5c1414, #200606); }
.slide-4 { background: linear-gradient(135deg, #2a0808, #0d0303); }
.slide::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(220,38,38,0.25), transparent 60%);
}
.slide-copy { position: relative; z-index: 1; max-width: 460px; }
.slide-kicker { display: inline-block; color: var(--red-bright); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.slide-copy h3 { font-family: 'Bebas Neue', sans-serif; font-size: 38px; line-height: 1.1; color: #fff; margin-bottom: 12px; letter-spacing: 0.5px; }

.mp-slide { background: #0f0909; overflow: hidden; }
.mp-slide video, .mp-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mp-slide::before { background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0.1) 55%, transparent 75%); }
.mp-slide .slide-copy h3 { font-size: 26px; }
.slide-copy p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}
.carousel-arrow:hover { background: rgba(220,38,38,0.5); }
.carousel-arrow.left { left: 18px; }
.carousel-arrow.right { right: 18px; }

.carousel-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 2;
}
.carousel-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.carousel-dots span.active { background: var(--red-bright); transform: scale(1.3); }

/* ---------- shop page ---------- */
.shop-page { max-width: 1280px; margin: 0 auto; padding: 60px 24px 100px; }
.previews-page { max-width: 1280px; margin: 0 auto; padding: 60px 24px 100px; }
.vouches-page { max-width: 900px; margin: 0 auto; padding: 60px 24px 100px; }
.vouch-form-wrap { margin-bottom: 32px; }
.vouch-stars { color: var(--red-bright); font-size: 13px; margin-left: 8px; }
.previews-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.previews-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(220,38,38,0.06);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.previews-tab:hover { color: var(--text); }
.previews-tab.active {
  background: linear-gradient(180deg, var(--red), #9c1c1c);
  color: #fff;
  border-color: transparent;
}
.shop-layout { display: flex; align-items: flex-start; gap: 32px; }
/* Sticky (not fixed) so it scrolls naturally with the page, holding at
   "top" once it reaches it, and scrolling away again once its container
   (.shop-layout) ends -- unlike position:fixed, it can never end up
   floating alone over blank space once the grid runs out below it. */
.shop-sidebar {
  position: sticky;
  top: 90px;
  align-self: flex-start;
  z-index: 5;
  width: 190px;
  flex-shrink: 0;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.shop-sidebar-btn {
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(220,38,38,0.06);
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.shop-sidebar-btn:hover { color: var(--text); }
.shop-sidebar-btn.active {
  background: linear-gradient(180deg, var(--red), #9c1c1c);
  color: #fff;
  border-color: transparent;
}
.shop-sidebar-btn.soon { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.soon-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 2px 6px;
}
.shop-sidebar-btn.active .soon-badge { color: #fff; background: rgba(0,0,0,0.25); }

.marketplace-tabs {
  display: flex;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 24px;
}
.marketplace-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(220,38,38,0.06);
  color: var(--muted);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s;
}
.marketplace-tab:hover { color: var(--text); }
.marketplace-tab.active {
  background: linear-gradient(180deg, var(--red), #9c1c1c);
  color: #fff;
  border-color: transparent;
}

.coming-soon-panel {
  max-width: 480px;
  margin: 40px auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.coming-soon-icon { font-size: 40px; display: block; margin-bottom: 16px; }
.coming-soon-panel h3 { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 0.5px; margin-bottom: 10px; }
.coming-soon-panel p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 20px; }
.tutorials-page { max-width: 860px; margin: 0 auto; padding: 60px 24px 100px; }
/* The sidebar is fixed (out of flow), so this reserves its own space
   instead of relying on flex to leave room for it. */
.shop-main { flex: 1; min-width: 0; }
.shop-results-count { color: var(--muted); font-size: 12.5px; margin-bottom: 16px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.shop-item {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.shop-item-media { height: 150px; background: #0f0909; position: relative; }
.shop-item-tag {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(220,38,38,0.4);
  color: var(--red-bright);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.shop-item-media img, .shop-item-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.shop-media-controls {
  position: absolute;
  bottom: 8px; right: 8px;
  display: flex; gap: 6px;
}
.shop-sound-btn, .shop-fullscreen-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.shop-sound-btn:hover, .shop-fullscreen-btn:hover { background: rgba(220,38,38,0.7); }
.shop-sound-btn.is-playing { background: rgba(220,38,38,0.85); }
.shop-sound-btn svg, .shop-fullscreen-btn svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; }
.shop-sound-btn .eq-bar { fill: #fff; stroke: none; transform-origin: center; animation: shop-eq-bounce 0.9s ease-in-out infinite; }
.shop-sound-btn .eq-bar-2 { animation-delay: 0.15s; }
.shop-sound-btn .eq-bar-3 { animation-delay: 0.3s; }
@keyframes shop-eq-bounce {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
.shop-item-info { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.shop-item-actions { display: flex; gap: 8px; margin-top: auto; }
.shop-item-actions .purchase-btn { flex: 1; }
.shop-item-info h4 { font-size: 15px; margin-bottom: 6px; }
.shop-item-price { display: block; color: var(--red-bright); font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.shop-item-seller { display: block; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.shop-item-details { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin-bottom: 14px; white-space: pre-line; }
.shop-empty { text-align: center; color: var(--muted); padding: 60px 0; }
.marketplace-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.shop-search {
  flex: 1;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.shop-search:focus { outline: none; border-color: var(--red); }
.marketplace-toolbar-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.shop-sort, .shop-filter-select {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
}
.shop-item { cursor: pointer; }

/* ---------- purchase ticket page ---------- */
.ticket-page { max-width: 720px; margin: 0 auto; padding: 60px 24px 100px; }
.ticket-page .section-head { padding: 0; margin: 40px auto 40px; }
.ticket-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ticket-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.ticket-header h2 { font-size: 19px; margin-bottom: 4px; }
.ticket-price { color: var(--red-bright); font-weight: 700; font-size: 13.5px; }
.ticket-messages {
  height: 420px;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.ticket-msg {
  max-width: 78%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 14px;
  align-self: flex-start;
}
.ticket-msg.mine { align-self: flex-end; background: linear-gradient(180deg, var(--red), #9c1c1c); border-color: transparent; }
.ticket-msg.system { align-self: center; background: transparent; border: none; color: var(--muted); font-size: 12.5px; text-align: center; max-width: 100%; }
.ticket-msg-author { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.ticket-msg.mine .ticket-msg-author { color: rgba(255,255,255,0.75); }
.ticket-msg p { font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.ticket-composer { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }
.ticket-composer textarea {
  flex: 1; resize: none; height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.ticket-composer textarea:focus { outline: none; border-color: var(--red); }

.my-tickets-list { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin: 0 auto; }
.my-ticket-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 0.15s, transform 0.15s;
}
.my-ticket-row:hover { border-color: var(--red); transform: translateY(-1px); }
.my-ticket-row h4 { font-size: 16px; margin-bottom: 4px; }
.my-ticket-row .shop-item-seller { margin-bottom: 0; }
.my-ticket-row .shop-item-price { margin-bottom: 0; }

/* ---------- generic confirm modal (e.g. "join this promo's server?") ---------- */
.confirm-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  padding: 24px;
}
.confirm-modal {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
}
.confirm-modal p { font-size: 16px; font-weight: 600; margin-bottom: 22px; }
.confirm-modal-actions { display: flex; gap: 12px; }
.confirm-modal-actions .btn { flex: 1; }

/* ---------- admin panel ---------- */
.admin-page { max-width: 860px; margin: 0 auto; padding: 60px 24px 100px; }
.admin-section { margin-bottom: 48px; }
.admin-section h3 { font-size: 20px; margin-bottom: 18px; }
.admin-form {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.admin-form input[type="text"], .admin-form input[type="url"] {
  flex: 1; min-width: 160px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.admin-form input[type="file"] { flex: 1; min-width: 160px; font-size: 13px; color: var(--muted); }
.admin-list { display: flex; flex-direction: column; gap: 12px; }
.admin-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.admin-row h4 { font-size: 15px; margin-bottom: 4px; }
.admin-row .shop-item-seller { margin-bottom: 0; }
.admin-row-media { display: flex; align-items: center; gap: 14px; }
.admin-row-media img, .admin-row-media video {
  width: 64px; height: 44px;
  object-fit: cover;
  border-radius: 8px;
  background: #0f0909;
}
.admin-row-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.admin-hint { color: var(--muted); font-size: 12.5px; margin-bottom: 14px; margin-top: -8px; }
.admin-badge {
  display: inline-block;
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.admin-badge-fail { background: rgba(220,38,38,0.18); color: var(--red-bright); }
.admin-row-actions-wrap { flex-wrap: wrap; row-gap: 8px; justify-content: flex-end; }
.admin-role-select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 12.5px;
}
.admin-form textarea {
  flex: 1 1 100%; min-height: 80px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
.admin-form select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
/* A translucent background on a native <select> only tints the box itself --
   the OS-drawn dropdown popup behind it stays whatever the browser's default
   is (white), because there's no dark page behind that popup layer to show
   through. color-scheme + solid backgrounds on every option fixes both the
   closed box and the open list across every select on the site. */
select { color-scheme: dark; }
select option { background: var(--card); color: var(--text); }
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13px;
}
.admin-table th, .admin-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table th { color: var(--muted); font-weight: 700; font-size: 11.5px; text-transform: uppercase; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-stat-row { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-stat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px;
  flex: 1;
  min-width: 180px;
}
.admin-stat h4 { font-size: 24px; color: var(--red-bright); margin-bottom: 4px; }
.admin-stat span { color: var(--muted); font-size: 12.5px; }

/* ---------- shop item detail modal ---------- */
.shop-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: 24px;
}
.shop-modal {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
}
.shop-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.shop-modal-close:hover { background: rgba(220,38,38,0.7); }
.shop-modal-media { width: 100%; max-height: 420px; background: #0f0909; position: relative; }
.shop-modal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.shop-modal-arrow:hover { background: rgba(220,38,38,0.6); }
.shop-modal-arrow.left { left: 14px; }
.shop-modal-arrow.right { right: 14px; }
.shop-modal-info .shop-item-tag { position: static; display: inline-block; margin-bottom: 12px; }
.shop-modal-counter { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 6px; }
.shop-modal-media img, .shop-modal-media video {
  width: 100%; max-height: 420px;
  object-fit: contain;
  display: block;
}
.shop-modal-info { padding: 22px; }
.shop-modal-info h3 { font-size: 21px; margin-bottom: 8px; }
.shop-modal-info .shop-item-price { font-size: 15px; margin-bottom: 4px; }
.shop-modal-info .shop-item-seller { font-size: 13px; margin-bottom: 14px; }
.shop-modal-info .shop-item-details { font-size: 13.5px; margin-bottom: 18px; }

/* ---------- pricing ---------- */
.pricing { padding: 90px 24px; background: linear-gradient(180deg, transparent, rgba(220,38,38,0.04), transparent); }
.pricing-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  align-items: center;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.price-card.featured {
  background: linear-gradient(180deg, #2a0a0a, #150505);
  border-color: var(--red-bright);
  box-shadow: 0 20px 50px rgba(220,38,38,0.3);
  transform: scale(1.05);
}
.price-tag { display: block; color: var(--red-bright); font-weight: 800; font-size: 13px; letter-spacing: 1px; margin-bottom: 14px; }
.price-tag em { display: inline-block; margin-left: 8px; background: var(--red-bright); color: #fff; font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; }
.price-amt { font-size: 40px; font-weight: 800; margin-bottom: 22px; }
.price-amt span { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-actions { display: flex; gap: 10px; margin-bottom: 22px; }
.price-actions .btn { flex: 1; padding-left: 8px; padding-right: 8px; font-size: 12.5px; }
.price-preview {
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f0909;
  margin-bottom: 22px;
  cursor: pointer;
}
.price-preview video { width: 100%; height: 100%; object-fit: cover; display: block; }
.price-preview-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}
.price-preview-arrow:hover { background: rgba(220,38,38,0.6); }
.price-preview-arrow.left { left: 8px; }
.price-preview-arrow.right { right: 8px; }
.price-preview-from {
  position: absolute;
  top: 8px; left: 8px;
  max-width: calc(100% - 16px);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price-preview-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.price-preview-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}
.price-preview-dots span.active { background: var(--red-bright); }
.price-card ul li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); font-size: 13.5px; }
.price-card ul li:first-child { border-top: none; }
.price-card ul li::before { content: "✓ "; color: var(--red-bright); font-weight: 800; }
.price-card.featured ul li::before { color: #fff; }
.price-card.featured ul li { color: #ddc9c9; }

/* ---------- testimonials ---------- */
.testimonials { padding: 90px 24px; }
.testimonial-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.t-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #5b1414);
  font-weight: 800;
  margin-bottom: 18px;
}
.testimonial-card h4 { font-size: 16px; margin-bottom: 10px; }
.testimonial-card p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ---------- cta ---------- */
.cta {
  text-align: center;
  padding: 100px 24px;
  background: radial-gradient(circle at 50% 100%, rgba(220,38,38,0.25), transparent 60%);
}
.cta h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(32px, 6vw, 52px); margin-bottom: 14px; letter-spacing: 1px; }
.cta p { color: var(--muted); margin-bottom: 30px; }

/* ---------- footer ---------- */
.site-footer {
  padding: 56px 48px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #060303;
}
.footer-cols { display: flex; gap: 48px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-brand p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.footer-col { flex: 1 1 150px; }
.footer-col h4 { font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: 0.5px; color: #fff; margin-bottom: 16px; }
.footer-col a, .footer-nav a { display: block; color: var(--muted); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.footer-col a:hover, .footer-nav a:hover { color: var(--text); }
.footer-nav { display: flex; gap: 28px; }
.footer-bottom {
  max-width: 1200px; margin: 36px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted); font-size: 12.5px; text-align: center;
}

/* ---------- pack finder ---------- */
.pack-finder-page { max-width: 900px; margin: 0 auto; padding: 60px 24px 100px; }
.pf-tier-note {
  max-width: 700px; margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  background: rgba(220,38,38,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
}
.pf-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pf-upload:hover, .pf-upload.drag-active { border-color: var(--red-bright); background: rgba(220,38,38,0.05); }
.pf-upload-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pf-upload-inner svg { width: 40px; height: 40px; stroke: var(--red-bright); }
.pf-upload-inner p { font-size: 15px; }
.pf-upload-hint { color: var(--muted); font-size: 12.5px; }
.pf-status { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }
.pf-results { margin-top: 40px; }
.pf-results-count { color: var(--muted); font-size: 12.5px; margin-bottom: 16px; }
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.pf-item {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.pf-item:hover { border-color: var(--red-bright); transform: translateY(-3px); }
.pf-item-media { position: relative; height: 130px; background: #0f0909; }
.pf-item-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-item-tier {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(220,38,38,0.4);
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.pf-item-info { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.pf-item-similarity { font-weight: 700; font-size: 13px; }
.pf-item-open { color: var(--muted); font-size: 12px; }
.pf-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-header { flex-wrap: wrap; row-gap: 14px; }
  .top-nav {
    display: none;
    order: 10;
    width: 100%;
    flex-direction: column;
    gap: 2px;
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .top-nav.open { display: flex; }
  .top-nav a { padding: 10px 6px; }
  .feature-grid, .pricing-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .site-header, .site-footer { padding: 16px 20px; }
  .partners-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partners-powering {
    position: static;
    transform: none;
    border-right: none;
    padding-right: 0;
    width: auto !important;
  }
  .partners-marquee { margin-left: 0; }
  .partners-marquee-track { flex-wrap: wrap; justify-content: flex-start; gap: 28px; }
  .partner-logo { height: 56px; width: 128px; }
  .hero { padding: 64px 20px 72px; }
  .hero-stats { gap: 28px; margin-bottom: 36px; }
  .features, .pricing, .testimonials { padding: 60px 20px; }
  .cta { padding: 70px 20px; }
  .carousel-section { padding: 16px 16px 60px; }
  .section-head { margin-bottom: 32px; padding: 0 16px; }
  .ecosystem { padding: 60px 20px; }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { gap: 32px; }
  .partners-cards-grid { grid-template-columns: 1fr; }
  .faq-page { padding: 40px 16px 70px; }
  .marketplace-toolbar { flex-direction: column; align-items: stretch; }
  .marketplace-toolbar-filters { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .slide-copy h3 { font-size: 28px; }
  .carousel { height: 400px; }
  .site-header { padding: 14px 16px; }
  .auth-area { gap: 6px; }
  .user-chip .uname { display: none; }
  .user-chip { padding: 6px; }
  .admin-badge-link { margin-left: 8px; padding: 8px; }
  .admin-badge-link .admin-badge-label { display: none; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { font-size: 14.5px; }
  .hero-stats { gap: 20px; }
  .shop-page { padding: 40px 16px 70px; }
  .shop-layout { flex-direction: column; gap: 20px; }
  .shop-sidebar {
    position: sticky;
    top: 66px;
    z-index: 10;
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    background: var(--bg);
    padding: 8px 0;
    gap: 8px;
  }
  .shop-sidebar-btn { flex-shrink: 0; padding: 8px 16px; font-size: 13px; }
  .shop-main { margin-left: 0; }
  .shop-modal-media, .shop-modal-media img, .shop-modal-media video { max-height: 260px; }
  .ticket-page { padding: 40px 16px 70px; }
  .ticket-messages { height: 320px; padding: 16px; }
  .ticket-header { padding: 16px; }
  .ticket-composer { padding: 12px 16px; }
  .ticket-msg { max-width: 90%; }
}
