/* d:/flowcheats/kaapei-services/public/styles.css
 * Kaapei Services — NexMods-inspired Obsidian & Crimson Interactive Design
 */
:root {
  --bg: #08080a;
  --bg-soft: #0e0d11;
  --surface: rgba(18, 16, 20, 0.82);
  --surface-solid: #131115;
  --surface-hi: #1b171d;
  --border: rgba(255, 255, 255, 0.08);
  --border-red: rgba(239, 68, 68, 0.38);
  --text: #ffffff;
  --muted: #a1a1aa;
  --subtle: #71717a;
  --red: #e11d38;
  --red-bright: #ff2442;
  --red-glow: rgba(255, 36, 66, 0.42);
  --gold: #f5b942;
  --ok: #22c55e;
  --warn: #f59e0b;
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Interactive Background Canvas + Ambient Crimson Glows */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.7;
}
.ambient-orbs {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}
.ambient-orbs::before,
.ambient-orbs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.3;
  animation: orbFloat 18s ease-in-out infinite alternate;
}
.ambient-orbs::before {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, #e11d38, transparent 70%);
}
.ambient-orbs::after {
  width: 480px; height: 480px;
  bottom: -180px; left: -120px;
  background: radial-gradient(circle, #991b1b, transparent 70%);
  animation-delay: -9s;
}
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-36px, 28px) scale(1.07); }
  100% { transform: translate(28px, -22px) scale(0.96); }
}

#cursorGlow {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 36, 66, 0.11), transparent 62%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

h1, h2, h3 { font-family: "Outfit", sans-serif; letter-spacing: -0.025em; }
.txt-red { color: var(--red-bright); }
a { color: #fda4af; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }

#fx-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 95;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #991b1b, #ff2442, #fb7185);
  box-shadow: 0 0 12px var(--red-glow);
}

/* Flash Sale Top Strip */
.top-promo {
  background: linear-gradient(90deg, #450a0a, #be123c 50%, #450a0a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  padding: 8px 0;
}
.top-promo-in { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.countdown-chip {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px; font-weight: 700;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45); color: #fff;
}
.top-promo a {
  color: #fff; font-weight: 600; padding: 2px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Festive Twinkling Christmas Lights Strip under Navbar (NexMods-style bulbs + sockets) */
.xmas-lights {
  position: relative;
  height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 22px;
  overflow: hidden;
  pointer-events: none;
  z-index: 44;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.92) 0%, transparent 100%);
}
.xmas-lights span {
  position: relative;
  width: 7px;
  height: 12px;
  border-radius: 4px 4px 50% 50%;
  margin-top: 3px;
  animation: twinkle 2.6s ease-in-out infinite alternate;
}
.xmas-lights span::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 1px;
  width: 5px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: #27272a;
}
.xmas-lights span:nth-child(5n+1) { background: #ff2e4c; box-shadow: 0 3px 14px 2px rgba(255, 46, 76, 0.85); animation-delay: 0s; }
.xmas-lights span:nth-child(5n+2) { background: #fde047; box-shadow: 0 3px 14px 2px rgba(253, 224, 71, 0.8); animation-delay: 0.5s; }
.xmas-lights span:nth-child(5n+3) { background: #34d399; box-shadow: 0 3px 14px 2px rgba(52, 211, 153, 0.8); animation-delay: 1.0s; }
.xmas-lights span:nth-child(5n+4) { background: #38bdf8; box-shadow: 0 3px 14px 2px rgba(56, 189, 248, 0.85); animation-delay: 1.5s; }
.xmas-lights span:nth-child(5n+5) { background: #f472b6; box-shadow: 0 3px 14px 2px rgba(244, 114, 182, 0.8); animation-delay: 2.0s; }
@keyframes twinkle {
  0% { opacity: 0.42; filter: brightness(0.85); }
  100% { opacity: 1; filter: brightness(1.2); }
}

/* NexMods-style Clean Sticky Top Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s, border-color 0.25s;
}
.nav.scrolled { background: rgba(8, 8, 10, 0.95); border-bottom-color: rgba(255, 36, 66, 0.22); }
.nav .container { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 900; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--red-bright), #881337);
  box-shadow: 0 0 20px rgba(255, 36, 66, 0.42);
}
.logo-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.santa-hat {
  position: absolute;
  top: -12px;
  left: -9px;
  width: 28px;
  height: 24px;
  transform: rotate(-18deg);
  pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.75));
  z-index: 2;
}
.brand-logo {
  width: 38px; height: 38px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(255, 36, 66, 0.45);
  box-shadow: 0 0 18px rgba(255, 36, 66, 0.35);
  flex-shrink: 0;
}
.brand .dot-ext { color: var(--red-bright); }
.brand small { font-weight: 500; color: var(--muted); font-size: 12px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}
.nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-links a.cheat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fecdd3;
  background: rgba(255, 36, 66, 0.13);
  border: 1px solid rgba(255, 36, 66, 0.34);
}
.nav-links a.cheat-pill:hover { background: rgba(255, 36, 66, 0.24); color: #fff; }

.nav-right, .nav .right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.16s, color 0.16s;
}
.nav-search-btn:hover { border-color: var(--border-red); color: #fff; }
.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  display: grid; place-items: center;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
.nav-icon-btn:hover { border-color: var(--border-red); background: rgba(255, 36, 66, 0.14); color: #fff; transform: translateY(-1px); }

@media (max-width: 920px) { .nav-links, .nav-search-btn { display: none; } }

/* Buttons & Inputs */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 11px;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--red-bright), #be123c);
  box-shadow: 0 10px 26px rgba(255, 36, 66, 0.34);
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-22deg);
  transition: left 0.55s ease;
}
.btn:hover::after { left: 160%; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 34px rgba(255, 36, 66, 0.48); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  box-shadow: none;
  color: #fff;
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--border-red); }
.btn.discord { background: linear-gradient(135deg, #5865f2, #4752c4); box-shadow: 0 10px 24px rgba(88, 101, 242, 0.32); }
.btn.ok { background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 10px 22px rgba(34, 197, 94, 0.28); }
.btn.danger { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.4); box-shadow: none; color: #fca5a5; }
.btn.sm { padding: 7px 13px; font-size: 13px; border-radius: 10px; }
.btn.lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn.block { width: 100%; }

input, select, textarea {
  font: inherit; font-size: 14px; color: #fff;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 11px; padding: 11px 14px; width: 100%;
  transition: border-color 0.18s, box-shadow 0.18s;
}
select option { background: #141217; color: #fff; }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(255, 36, 66, 0.2);
}
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; font-weight: 500; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  background: rgba(255, 36, 66, 0.14); color: #fecdd3; border: 1px solid rgba(255, 36, 66, 0.34);
}
.pill.ok { background: rgba(34, 197, 94, 0.12); color: #86efac; border-color: rgba(34, 197, 94, 0.32); }
.pill.warn { background: rgba(245, 158, 11, 0.12); color: #fcd34d; border-color: rgba(245, 158, 11, 0.32); }
.pill.err { background: rgba(239, 68, 68, 0.16); color: #fca5a5; border-color: rgba(239, 68, 68, 0.4); }
.pill.blue { background: rgba(59, 130, 246, 0.14); color: #bfdbfe; border-color: rgba(59, 130, 246, 0.34); }

/* ═══ NEXMODS-INSPIRED HERO + ANIMATED KAAPEI BANNER BACKDROP ═══ */
.hero-banner-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.32;
  filter: saturate(1.15) contrast(1.06);
}
.hero-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.72) 48%, rgba(8, 8, 10, 0.52) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.35) 0%, rgba(8, 8, 10, 0.96) 100%);
}
.hero-sec {
  padding: 58px 0 42px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.hero-sec h1 {
  font-size: clamp(42px, 5.6vw, 66px);
  line-height: 1.03;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero-sec h1 .rot-word {
  display: inline-block;
  color: var(--red-bright);
  text-shadow: 0 0 38px rgba(255, 36, 66, 0.32);
  transition: opacity 0.25s, transform 0.25s, filter 0.25s;
}
.hero-sec h1 .rot-word.out { opacity: 0; transform: translateY(10px); filter: blur(6px); }

.hero-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 520px;
  margin: 0 0 26px;
}

/* NexMods signature Hero Search Bar with Ctrl K badge */
.hero-search {
  position: relative;
  max-width: 470px;
  margin-bottom: 20px;
}
.hero-search input {
  height: 50px;
  padding: 0 72px 0 44px;
  border-radius: 13px;
  background: rgba(18, 16, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14.5px;
}
.hero-search .s-ico {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  color: var(--red-bright);
  pointer-events: none;
}
.hero-search .kbd {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 7px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-stats {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.hero-stats > div b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}
.hero-stats > div b small { font-size: 16px; color: var(--muted); font-weight: 600; }
.hero-stats > div span { font-size: 13px; color: var(--muted); }

/* Interactive 3D Floating Showcase Card (our signature motion!) */
.showcase-wrap { perspective: 1100px; }
.showcase-card {
  position: relative;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(30, 16, 22, 0.9), rgba(11, 10, 13, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.72), 0 0 60px rgba(255, 36, 66, 0.16);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, border-color 0.25s;
}
.showcase-card:hover { border-color: rgba(255, 36, 66, 0.45); }
.showcase-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.showcase-dots { display: flex; gap: 6px; }
.showcase-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.showcase-dots i:first-child { background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); }
.showcase-pills { display: flex; gap: 6px; }
.sc-btn {
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font: inherit; font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: 8px; cursor: pointer; transition: all 0.16s;
}
.sc-btn.on { background: rgba(255, 36, 66, 0.2); border-color: var(--border-red); color: #fff; }
.showcase-stage {
  min-height: 205px; padding: 16px; border-radius: 15px;
  background: rgba(6, 5, 8, 0.76); border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; flex-direction: column; justify-content: space-between;
}
.sc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px; font-size: 13px;
}
.sc-row:last-child { margin-bottom: 0; }
.sc-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; margin-top: 10px; }
.sc-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #dc2626, #ff2442); animation: barPulse 3s ease-in-out infinite; }
@keyframes barPulse { 0%, 100% { width: 64%; } 50% { width: 92%; } }

/* NexMods Signature 4-Column Glass Trust Strip */
.trust-bar {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 18px;
  background: rgba(16, 15, 19, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  overflow: hidden;
}
.trust-cell {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 22px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.trust-cell:last-child { border-right: 0; }
.trust-cell:hover { background: rgba(255, 36, 66, 0.05); }
.trust-ico {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 36, 66, 0.12);
  border: 1px solid rgba(255, 36, 66, 0.28);
  color: var(--red-bright);
  font-size: 16px;
}
.trust-cell b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.trust-cell span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
@media (max-width: 920px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-cell { border-bottom: 1px solid var(--border); }
}
@media (max-width: 540px) { .trust-bar { grid-template-columns: 1fr; } }

/* Infinite Marquee */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 11, 14, 0.65);
  overflow: hidden;
  padding: 13px 0;
  margin-top: 28px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 38px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; letter-spacing: 0.04em; }
.marquee-item i { width: 5px; height: 5px; border-radius: 50%; background: var(--red-bright); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══ BEST SELLERS CAROUSEL (NEXMODS SIGNATURE SECTION) ═══ */
section.block-sec { padding: 66px 0; }
.center-head { text-align: center; margin-bottom: 34px; }
.center-head h2 { font-size: clamp(32px, 4.2vw, 44px); font-weight: 800; margin: 0 0 8px; }
.center-head p { color: var(--muted); margin: 0; font-size: 15.5px; }

.carousel-shell { position: relative; }
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 15px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px 14px;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (max-width: 1060px) { .carousel-track { grid-auto-columns: calc(33.33% - 14px); } }
@media (max-width: 760px) { .carousel-track { grid-auto-columns: calc(50% - 10px); } }
@media (max-width: 500px) { .carousel-track { grid-auto-columns: 86%; } }

.car-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 13, 17, 0.92);
  color: #fff;
  font-size: 18px;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
.car-arrow:hover { border-color: var(--red-bright); background: rgba(255, 36, 66, 0.22); transform: translateY(-50%) scale(1.06); }
.car-arrow.prev { left: -16px; }
.car-arrow.next { right: -16px; }
@media (max-width: 760px) { .car-arrow { display: none; } }

/* NexMods-style Vertical Box-Art Product Cards */
.nex-card {
  position: relative;
  scroll-snap-align: start;
  border-radius: 20px;
  background: linear-gradient(180deg, #141217, #0e0d11);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.24s, box-shadow 0.28s;
  isolation: isolate;
}
.nex-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 36, 66, 0.15), transparent 50%);
}
.nex-card:hover::before { opacity: 1; }
.nex-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 36, 66, 0.48);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.68), 0 0 36px rgba(255, 36, 66, 0.16);
}

.nex-art {
  position: relative;
  height: 228px;
  padding-top: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 36, 66, 0.18), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, #151218, #0b0a0e);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nex-art img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nex-card:hover .nex-art img { transform: scale(1.06); }

/* Sleek Glowing Vector Emblem Frame (clean replacement for striped boxes) */
.art-emblem {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 36, 66, 0.16), rgba(16, 12, 16, 0.92));
  border: 1px solid rgba(255, 36, 66, 0.35);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.65),
    0 0 36px rgba(255, 36, 66, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.32s, box-shadow 0.32s;
}
.art-emblem::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 32px;
  border: 1px solid rgba(255, 36, 66, 0.14);
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.nex-card:hover .art-emblem {
  transform: translateY(-4px) scale(1.06);
  border-color: rgba(255, 36, 66, 0.72);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.72),
    0 0 48px rgba(255, 36, 66, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.nex-card:hover .art-emblem::after {
  transform: scale(1.07);
  opacity: 0.9;
}
.art-emblem svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 12px rgba(255, 36, 66, 0.45));
}
.art-label {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.nex-badge-sale {
  position: absolute;
  top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.03em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(15, 10, 12, 0.88);
  border: 1px solid rgba(255, 36, 66, 0.45);
  color: #fff;
}
.nex-badge-sale::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); }

.nex-badge-gold {
  position: absolute;
  top: 12px; right: 12px; z-index: 3;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(24, 18, 10, 0.88);
  border: 1px solid rgba(245, 185, 66, 0.45);
  color: var(--gold);
}

.nex-body {
  padding: 18px 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nex-body h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #fff; }
.nex-price { margin: 4px 0 6px; font-size: 16px; font-weight: 700; color: var(--red-bright); }
.nex-price s { color: var(--subtle); font-weight: 500; font-size: 13px; margin-left: 6px; }
.nex-meta { font-size: 12.5px; color: var(--subtle); margin-bottom: 14px; }
.nex-foot { margin-top: auto; }

/* ═══ CATALOG SECTION (SLIDING TABS + 4-COL GRID) ═══ */
.catalog-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px;
}
.catalog-header h2 { font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; margin: 0 0 4px; }
.catalog-header p { margin: 0; color: var(--muted); font-size: 15px; }

.catalog-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 26px;
}
.segmented {
  position: relative; display: inline-flex; padding: 5px; border-radius: 14px;
  background: rgba(18, 16, 20, 0.92); border: 1px solid var(--border);
}
.seg-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 10px;
  background: linear-gradient(135deg, var(--red-bright), #be123c);
  box-shadow: 0 6px 20px rgba(255, 36, 66, 0.42);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}
.catalog-tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: color 0.2s;
}
.catalog-tab.active { color: #fff; }
.catalog-tab .count { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }

.search-box { position: relative; width: 260px; max-width: 100%; }
.search-box input { padding-left: 36px; border-radius: 12px; background: rgba(18, 16, 20, 0.85); }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }

.cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: -10px 0 24px;
}
.cat-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(18, 16, 20, 0.85);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.cat-pill:hover { color: #fff; border-color: var(--border-red); }
.cat-pill.on {
  color: #fff;
  background: rgba(255, 36, 66, 0.22);
  border-color: var(--red-bright);
  box-shadow: 0 0 18px rgba(255, 36, 66, 0.28);
}

.partner-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 24px; margin-bottom: 26px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 36, 66, 0.16), rgba(16, 14, 18, 0.94));
  border: 1px solid rgba(255, 36, 66, 0.34);
}
.partner-banner h3 { margin: 0 0 4px; font-size: 18px; }
.partner-banner p { margin: 0; color: var(--muted); font-size: 14px; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .grid-4 { grid-template-columns: 1fr; } }

/* Reviews, FAQ, CTA, Footer */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.review-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px;
  transition: transform 0.2s, border-color 0.2s;
}
.review-card:hover { transform: translateY(-3px); border-color: rgba(255, 36, 66, 0.34); }
.rev-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rev-user { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--red-bright), #7f1d1d); }
.stars { color: var(--red-bright); letter-spacing: 2px; font-size: 13px; }
.rev-text { color: #d4d4d8; font-size: 14px; margin: 0 0 14px; }
.rev-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--subtle); }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 18px 20px; margin-bottom: 10px; }
details[open] { border-color: rgba(255, 36, 66, 0.34); }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: "+"; color: var(--red-bright); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }

.discord-cta {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 38px; border-radius: 24px;
  border: 1px solid rgba(255, 36, 66, 0.38);
  background:
    linear-gradient(95deg, rgba(10, 8, 12, 0.94) 15%, rgba(16, 10, 14, 0.76) 60%, rgba(10, 8, 12, 0.88) 100%),
    url("/img/banner.gif") center / cover no-repeat;
}
.discord-cta h2 { margin: 0 0 6px; font-size: 28px; }
.discord-cta p { margin: 0; color: var(--muted); max-width: 540px; }

footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 40px 0 54px; color: var(--muted); font-size: 14px; }
footer .container { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; }
footer .cols { display: flex; gap: 50px; flex-wrap: wrap; }
footer h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
footer .cols a { display: block; color: var(--muted); margin: 6px 0; }
footer .cols a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ═══ MODAL & CHECKOUT ═══ */
.modal {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 18px;
  background: rgba(4, 3, 5, 0.84); backdrop-filter: blur(10px); animation: fadeIn 0.18s ease;
}
.modal .box {
  width: min(600px, 100%); max-height: calc(100vh - 36px); overflow: auto;
  background: var(--surface-solid); border: 1px solid rgba(255, 36, 66, 0.38);
  border-radius: 22px; box-shadow: var(--shadow); animation: modalPop 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
.modal .head { display: flex; gap: 14px; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal .head h3 { margin: 0; font-size: 20px; }
.modal .head .x { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; }
.modal .content { padding: 22px 24px; }

.plans { display: grid; gap: 9px; margin-bottom: 14px; }
.plan {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: 13px; cursor: pointer;
}
.plan:hover { border-color: rgba(255, 36, 66, 0.45); }
.plan.on { border-color: var(--red-bright); background: rgba(255, 36, 66, 0.12); }
.plan input { width: auto; accent-color: var(--red-bright); }
.plan .r { margin-left: auto; text-align: right; }
.plan .r s { color: var(--subtle); font-size: 12px; display: block; }

.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 14px; }
.pay-opt {
  padding: 13px 15px; border-radius: 13px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02); cursor: pointer; text-align: left; color: #fff; font: inherit;
}
.pay-opt.on { border-color: var(--red-bright); background: rgba(255, 36, 66, 0.15); }
.pay-opt b { display: block; font-size: 14px; }
.pay-opt span { font-size: 12px; color: var(--muted); }

.coin-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 8px 0 12px; }
.coin-btn { padding: 9px 6px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.coin-btn.on { border-color: var(--red-bright); background: rgba(255, 36, 66, 0.22); color: #fff; }

.row { display: flex; gap: 10px; align-items: center; }
.summary { margin-top: 16px; padding: 14px 16px; border-radius: 13px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); font-size: 14px; }
.summary div { display: flex; justify-content: space-between; margin: 4px 0; color: var(--muted); }
.summary .total { color: #fff; font-weight: 800; font-size: 18px; border-top: 1px solid var(--border); padding-top: 8px; margin-top: 8px; }
.crypto-box { background: rgba(255, 36, 66, 0.08); border: 1px solid var(--border-red); border-radius: 15px; padding: 16px; margin: 12px 0; }
.crypto-qr-wrap { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.crypto-qr { width: 132px; height: 132px; background: #fff; border-radius: 12px; padding: 8px; flex-shrink: 0; }
.copy-field { display: flex; gap: 8px; align-items: center; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; word-break: break-all; margin: 6px 0; }
.copy-field button { margin-left: auto; flex-shrink: 0; }
.ticket-preview { white-space: pre-wrap; background: #09070a; border: 1px dashed var(--border-red); border-radius: 13px; padding: 14px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: #fecdd3; margin: 12px 0; }

/* ═══ DASHBOARD ═══ */
.page { padding: 36px 0 44px; }
.page h1 { font-size: 30px; margin: 0 0 6px; }
.page .lead { color: var(--muted); margin: 0 0 22px; }
.panel { background: var(--surface); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 18px; padding: 24px; margin-bottom: 18px; }
.panel h2 { font-size: 19px; margin: 0 0 4px; }
.panel .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.stat.highlight { border-color: var(--red-bright); background: linear-gradient(155deg, rgba(255, 36, 66, 0.18), var(--surface)); }
.stat span { font-size: 13px; color: var(--muted); }
.stat b { display: block; font-size: 28px; margin-top: 4px; }
.stat small { color: var(--subtle); font-size: 12px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.tabs button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; padding: 10px 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: #fff; border-color: var(--red-bright); }
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }
.upload-zone { border: 1.5px dashed var(--border-red); border-radius: 14px; padding: 18px; text-align: center; background: rgba(255, 36, 66, 0.05); cursor: pointer; }
.upload-zone:hover { border-color: var(--red-bright); background: rgba(255, 36, 66, 0.1); }
.upload-preview { max-height: 150px; border-radius: 10px; margin: 10px auto 0; border: 1px solid var(--border-red); }
.msg { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin: 12px 0; }
.msg.err { background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }
.msg.ok { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.35); color: #86efac; }
.msg.info { background: rgba(255, 36, 66, 0.1); border: 1px solid var(--border-red); color: #fecdd3; }
.auth { max-width: 430px; margin: 54px auto; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 95; background: var(--surface-solid); border: 1px solid var(--red-bright); padding: 10px 18px; border-radius: 12px; box-shadow: var(--shadow); font-size: 14px; color: #fff; }
.empty { color: var(--muted); text-align: center; padding: 30px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
