/* ============================================================
   BoggleBots — Cyberpunk Suave · Glassmorphism · Modern Dark
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #0A0A0F;
  --bg-elevated: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(0, 240, 255, 0.45);
  --cyan: #00F0FF;
  --purple: #A855F7;
  --violet: #8B5CF6;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #F87171;
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --font-display: 'Chakra Petch', system-ui, sans-serif;
  --font-body: 'Rajdhani', system-ui, sans-serif;
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4);
  --glow-cyan-strong: 0 0 32px rgba(0, 240, 255, 0.65);
  --glow-purple: 0 0 24px rgba(168, 85, 247, 0.35);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- Ambient background ---------- */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(139, 92, 246, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(0, 240, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 10% 60%, rgba(168, 85, 247, 0.07), transparent 50%),
    var(--bg);
}

.bg-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
}

.bg-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}

/* Floating particles (CSS stars) */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  opacity: 0.35;
  animation: drift linear infinite;
}

.particle:nth-child(odd) {
  background: var(--purple);
  box-shadow: 0 0 6px var(--purple);
}

@keyframes drift {
  0% { transform: translateY(100vh) scale(0.6); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.35; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.text-gradient {
  background: linear-gradient(135deg, #F8FAFC 0%, #00F0FF 55%, #A855F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  max-width: 32rem;
  margin-inline: auto;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(168, 85, 247, 0.25));
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: grid;
  place-items: center;
  box-shadow: var(--glow-cyan);
}

.logo-mark svg { width: 20px; height: 20px; }

.logo span span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  min-width: 36px;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover { color: var(--text); }

.lang-btn.is-active {
  color: #041016;
  background: linear-gradient(135deg, #00D4E0, #00F0FF);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}


.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover { background: var(--bg-elevated); }

  .nav-actions .btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00D4E0, #00F0FF);
  color: #041016;
  box-shadow: var(--glow-cyan);
  border: 1px solid rgba(0, 240, 255, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan-strong);
}

.btn-secondary {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: var(--glow-purple);
}

.btn-ghost {
  color: var(--text-muted);
  padding-inline: 0.75rem;
}

.btn-ghost:hover { color: var(--cyan); }

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

.btn-block { width: 100%; }

.btn:active { transform: translateY(0); }

/* ---------- Glass card ---------- */
.glass {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}

.glass-hover {
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.glass-hover:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 240, 255, 0.12);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-cyan {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.badge-purple {
  color: #E9D5FF;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

.badge-green {
  color: var(--success);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 4rem;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.hero h1 {
  font-size: clamp(48px, 9vw, 96px);
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.hero .lead { margin-bottom: 2rem; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-trust strong { color: var(--text); font-weight: 600; }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin-inline: auto;
}

.hero-orb {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(0, 240, 255, 0.35), transparent 45%),
    radial-gradient(circle at 70% 65%, rgba(168, 85, 247, 0.4), transparent 50%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 60px rgba(0, 240, 255, 0.08),
    0 0 80px rgba(139, 92, 246, 0.25);
  animation: orb-pulse 6s ease-in-out infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.hero-ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.25);
  animation: spin 40s linear infinite;
}

.hero-ring-2 {
  inset: -2%;
  border-color: rgba(168, 85, 247, 0.2);
  animation-direction: reverse;
  animation-duration: 55s;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(78%, 280px);
  padding: 1.25rem;
  z-index: 2;
}

.hero-panel .panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.hero-panel .panel-row:last-child { border-bottom: none; }

.hero-panel .status {
  color: var(--success);
  font-weight: 600;
}

.float-chip {
  position: absolute;
  z-index: 3;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  animation: float-y 5s ease-in-out infinite;
}

.float-chip-1 { top: 8%; left: 0; animation-delay: 0s; }
.float-chip-2 { bottom: 14%; right: 0; animation-delay: 1.2s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Hero product carousel ---------- */
.hero-carousel {
  position: absolute;
  inset: -2% -14% -4%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  perspective: 1050px;
  user-select: none;
  touch-action: pan-y;
}

.hero-carousel-scene {
  position: relative;
  height: 380px;
  transform-style: preserve-3d;
  cursor: grab;
}

.hero-carousel-scene:active {
  cursor: grabbing;
}

.hero-carousel-stage {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 168px;
  height: 230px;
  margin: -115px 0 0 -84px;
  transform-style: preserve-3d;
  transform: rotateX(-8deg) rotateY(0deg);
  transition: transform 0.8s cubic-bezier(.2,.75,.25,1);
  will-change: transform;
}

.hero-carousel.is-dragging .hero-carousel-stage {
  transition: none;
}

.hero-slide {
  --card-accent: 0, 240, 255;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: opacity 0.45s ease, filter 0.45s ease;
  will-change: transform;
}

.hero-slide-game-minecraft { --card-accent: 163, 230, 53; }
.hero-slide-game-fivem { --card-accent: 168, 85, 247; }
.hero-slide-game-wow { --card-accent: 245, 158, 11; }
.hero-slide-game-osrs { --card-accent: 212, 165, 74; }

.hero-slide-link {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 1rem;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(var(--card-accent), 0.2), transparent 38%),
    linear-gradient(165deg, rgba(19, 24, 40, 0.97), rgba(5, 7, 13, 0.98));
  border: 1px solid rgba(var(--card-accent), 0.42);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 28px rgba(var(--card-accent), 0.13);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  transform: translateZ(1px);
}

.hero-slide.is-front .hero-slide-link {
  border-color: rgba(var(--card-accent), 0.85);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 38px rgba(var(--card-accent), 0.35);
}

.hero-slide-shine {
  position: absolute;
  inset: -60% -80%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 43%, rgba(255,255,255,.13) 50%, transparent 57%);
  transform: translateX(-30%);
  transition: transform 0.65s ease;
}

.hero-slide-link:hover .hero-slide-shine {
  transform: translateX(30%);
}

.hero-slide-game {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.hero-slide-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: rgb(var(--card-accent));
  background: rgba(var(--card-accent), 0.12);
  border: 1px solid rgba(var(--card-accent), 0.48);
  box-shadow: 0 0 22px rgba(var(--card-accent), 0.22);
}

.hero-slide-game-name {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgb(var(--card-accent));
}

.hero-slide-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 78px;
}

.hero-slide-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.25;
  color: var(--text);
}

.hero-slide-tag {
  display: -webkit-box;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-slide-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: rgb(var(--card-accent));
}

.hero-slide-view {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text);
}

.hero-carousel-core {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 48%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 50%;
  color: var(--cyan);
  background: radial-gradient(circle at 35% 30%, rgba(0,240,255,.22), rgba(168,85,247,.12) 48%, rgba(5,7,13,.94) 72%);
  border: 1px solid rgba(0,240,255,.28);
  box-shadow: 0 0 55px rgba(0,240,255,.2), 0 0 90px rgba(168,85,247,.13);
  transform: translateZ(-15px);
}

.hero-carousel-core span {
  font-family: var(--font-display);
  font-size: .58rem;
  letter-spacing: .06em;
}

.hero-carousel-ground {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 68%;
  width: 540px;
  height: 280px;
  margin: -140px 0 0 -270px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,240,255,.12), rgba(168,85,247,.06) 38%, transparent 68%);
  transform: rotateX(72deg) translateZ(-70px);
  filter: blur(2px);
}

.hero-carousel-controls {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: -0.25rem;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-carousel-arrow {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
  background: rgba(8,11,19,.7);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.hero-carousel-arrow:hover {
  color: var(--cyan);
  border-color: rgba(0,240,255,.55);
  transform: scale(1.08);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 18px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0,240,255,.55);
}

.hero-carousel-hint {
  margin: .6rem 0 0;
  color: rgba(255,255,255,.42);
  font-size: .68rem;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 899px) {
  .hero-visual {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1.25;
  }
  .hero-carousel {
    inset: -8% -5% -10%;
  }
  .hero-carousel-scene {
    height: 330px;
    transform: scale(.88);
  }
}

@media (max-width: 540px) {
  .hero-carousel-scene {
    transform: scale(.74);
  }
  .hero-carousel-controls {
    margin-top: -1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-stage {
    transition-duration: .01ms;
  }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Premium game navigation ---------- */
.market-nav {
  padding: 1rem 0 1.5rem;
}

.market-nav-shell {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) + 6px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.market-nav-copy {
  max-width: 760px;
}

.market-nav-copy .eyebrow {
  margin-bottom: 0.45rem;
}

.market-nav-copy h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.market-nav-copy p:last-child {
  color: var(--text-muted);
  max-width: 760px;
}

.game-filter-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.game-filter-chip {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  font: 600 0.84rem/1 var(--font-body);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.game-filter-chip:hover,
.game-filter-chip.is-active {
  color: var(--text);
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.42);
  transform: translateY(-1px);
}

.game-filter-chip svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.game-filter-select {
  display: none;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.game-filter-select select {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 0.9rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 12px;
  font: 600 0.95rem/1.2 var(--font-body);
}

@media (max-width: 700px) {
  .market-nav {
    padding-top: 0;
  }

  .game-filter-chips {
    display: none;
  }

  .game-filter-select {
    display: grid;
  }
}

/* ---------- Nichos / Campos de batalla ---------- */
.niches {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.niches-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .niches-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.niche-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
  padding: 1.75rem 1.6rem 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.niche-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
  z-index: 1;
}

.niche-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  pointer-events: none;
  opacity: 0.45;
  filter: blur(40px);
  transition: opacity 0.35s var(--ease);
}

.niche-roblox .niche-glow {
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.35), rgba(239, 68, 68, 0.2), transparent 70%);
}

.niche-minecraft .niche-glow {
  background: radial-gradient(circle at 50% 0%, rgba(163, 230, 53, 0.4), transparent 70%);
}

.niche-fivem .niche-glow {
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.45), transparent 70%);
}

.niche-wow .niche-glow {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.42), transparent 70%);
}

.niche-osrs .niche-glow {
  background: radial-gradient(circle at 50% 0%, rgba(212, 165, 74, 0.42), transparent 70%);
}

.niche-fps .niche-glow {
  background: radial-gradient(circle at 50% 0%, rgba(244, 63, 94, 0.42), rgba(168, 85, 247, 0.18), transparent 70%);
}

.niche-ffxiv .niche-glow {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.45), rgba(56, 189, 248, 0.18), transparent 70%);
}

.niche-card:hover {
  transform: translateY(-8px);
}

.niche-roblox:hover {
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(0, 240, 255, 0.25);
}

.niche-minecraft:hover {
  border-color: rgba(163, 230, 53, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(163, 230, 53, 0.28);
}

.niche-fivem:hover {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(168, 85, 247, 0.3);
}

.niche-wow:hover {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(245, 158, 11, 0.28);
}

.niche-osrs:hover {
  border-color: rgba(212, 165, 74, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(212, 165, 74, 0.28);
}

.niche-fps:hover {
  border-color: rgba(244, 63, 94, 0.58);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(244, 63, 94, 0.28);
}

.niche-ffxiv:hover {
  border-color: rgba(99, 102, 241, 0.58);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(99, 102, 241, 0.3);
}

.niche-card:hover .niche-glow { opacity: 0.75; }

.niche-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.niche-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
}

.niche-roblox .niche-icon { color: #00F0FF; box-shadow: 0 0 20px rgba(0, 240, 255, 0.25); }
.niche-minecraft .niche-icon { color: #A3E635; box-shadow: 0 0 20px rgba(163, 230, 53, 0.25); }
.niche-fivem .niche-icon { color: #A855F7; box-shadow: 0 0 20px rgba(168, 85, 247, 0.3); }
.niche-wow .niche-icon { color: #F59E0B; box-shadow: 0 0 20px rgba(245, 158, 11, 0.28); }
.niche-osrs .niche-icon { color: #D4A54A; box-shadow: 0 0 20px rgba(212, 165, 74, 0.28); }
.niche-fps .niche-icon { color: #FB7185; box-shadow: 0 0 20px rgba(244, 63, 94, 0.3); }
.niche-ffxiv .niche-icon { color: #818CF8; box-shadow: 0 0 20px rgba(99, 102, 241, 0.32); }

.niche-badge {
  display: inline-flex;
  align-items: center;
  max-width: 58%;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.25;
  text-transform: uppercase;
}

.niche-roblox .niche-badge {
  color: #00F0FF;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.niche-minecraft .niche-badge {
  color: #A3E635;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.4);
}

.niche-fivem .niche-badge {
  color: #E9D5FF;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.niche-wow .niche-badge {
  color: #FDE68A;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.42);
}

.niche-osrs .niche-badge {
  color: #F5D98A;
  background: rgba(212, 165, 74, 0.14);
  border: 1px solid rgba(212, 165, 74, 0.42);
}

.niche-fps .niche-badge {
  color: #FECDD3;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.42);
}

.niche-ffxiv .niche-badge {
  color: #C7D2FE;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.44);
}

.niche-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  margin: 0.15rem 0 0;
}

.niche-card > p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  flex: 1;
  margin: 0;
}

.niche-btn {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  font-weight: 700;
}

.niche-btn-roblox {
  background: linear-gradient(135deg, #00D4E0, #00F0FF);
  color: #041016;
  border: 1px solid rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.niche-btn-roblox:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.55);
}

.niche-btn-minecraft {
  background: linear-gradient(135deg, #84CC16, #A3E635);
  color: #0a1405;
  border: 1px solid rgba(163, 230, 53, 0.65);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.35);
}

.niche-btn-minecraft:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(163, 230, 53, 0.55);
}

.niche-btn-fivem {
  background: linear-gradient(135deg, #9333EA, #A855F7);
  color: #F8FAFC;
  border: 1px solid rgba(168, 85, 247, 0.65);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.niche-btn-fivem:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.6);
}

/* ---------- Product cards ---------- */
.products-grid {
  display: grid;
  gap: 1.25rem;
}

.products-grid-featured.is-filtered {
  grid-template-columns: minmax(0, 430px);
  justify-content: center;
}

@media (min-width: 1180px) {
  .products-grid-featured:not(.is-filtered) {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.product-card[hidden] {
  display: none !important;
}

.product-card-featured {
  min-height: 300px;
  border-color: rgba(255, 255, 255, 0.11);
}

.product-game {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.55rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-game:hover {
  color: var(--text);
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan);
}

.product-icon svg { width: 26px; height: 26px; }

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.product-card p {
  color: var(--text-muted);
  font-size: 1rem;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.price small {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-ring {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.25rem;
  position: relative;
}

.step-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.step-ring .track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3;
}

.step-ring .progress {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 283;
  transition: stroke-dashoffset 1.2s var(--ease);
}

.step-ring .progress-cyan { stroke: var(--cyan); }
.step-ring .progress-purple { stroke: var(--purple); }
.step-ring .progress-mix { stroke: url(#grad-mix); }

.step-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- Features strip ---------- */
.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}

.feature {
  padding: 1.35rem;
}

.feature svg {
  width: 28px;
  height: 28px;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item.active { border-color: rgba(0, 240, 255, 0.35); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--cyan);
  transition: transform 0.3s var(--ease);
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-a-inner {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 3rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(168, 85, 247, 0.12)),
    var(--bg-elevated);
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 28rem;
  margin-inline: auto;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 0.95rem;
  max-width: 22rem;
}

.footer h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 2.5rem) 0 2rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: 0.4; }

.product-detail {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.product-media {
  aspect-ratio: 1;
  padding: 2rem;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.product-media-inner {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 25%, rgba(0, 240, 255, 0.3), transparent 50%),
    radial-gradient(circle at 70% 75%, rgba(168, 85, 247, 0.35), transparent 50%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: var(--glow-purple);
  animation: orb-pulse 7s ease-in-out infinite;
}

.product-media-inner svg {
  width: 48%;
  height: 48%;
  color: var(--cyan);
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

.product-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.75rem 0 1rem;
}

.product-info .lead { margin-bottom: 1.5rem; }

.product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-price-row .price { font-size: 2rem; color: var(--cyan); }

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
}

.product-features li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--cyan);
  margin-top: 0.15rem;
}

.buy-box {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.qty-control button {
  width: 40px;
  height: 40px;
  color: var(--text);
  transition: background 0.2s;
}

.qty-control button:hover { background: rgba(255, 255, 255, 0.06); }

.qty-control input {
  width: 48px;
  text-align: center;
  background: transparent;
  border: none;
  border-inline: 1px solid var(--border);
  height: 40px;
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }

.specs {
  margin-top: 3rem;
}

.specs-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

.spec-row dt { color: var(--text-muted); }
.spec-row dd { font-weight: 600; text-align: right; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-layout {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 4rem;
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.form-card,
.summary-card {
  padding: 1.75rem;
}

.form-card h2,
.summary-card h2 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12);
}

.field textarea { min-height: 100px; resize: vertical; }

.summary-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.summary-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.15), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.summary-thumb svg { width: 28px; height: 28px; }

.summary-item h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.summary-item p { color: var(--text-muted); font-size: 0.9rem; }

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 1rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.summary-total span:last-child { color: var(--cyan); }

.secure-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  justify-content: center;
}

.secure-note svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pay-chip {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- Reveal animations (progressive enhancement) ---------- */
/* Siempre visibles: la animación no oculta contenido */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

html.js-anim .reveal.visible {
  animation: reveal-in 0.7s var(--ease) both;
}

@keyframes reveal-in {
  from {
    opacity: 0.35;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal.visible {
    animation: none;
  }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

::selection {
  background: rgba(0, 240, 255, 0.25);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
