/* Cyber — dark neon storefront: grid, glow, scan, motion. */
.theme-cyber {
  --bg: #04060c;
  --text: #d7fff8;
  --header: #070b16;
  --accent: #00f6ff;
  --cyber-magenta: #ff2ec4;
  --cyber-lime: #b8ff3c;
  --line: rgba(0, 246, 255, 0.22);
  --muted: rgba(215, 255, 248, 0.62);
  --font-heading: "Exo 2", Rajdhani, "Segoe UI", sans-serif;
  --font-body: Rajdhani, "Segoe UI", sans-serif;
  color-scheme: dark;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 500px at 10% -10%, rgba(0, 246, 255, 0.16), transparent 55%),
    radial-gradient(900px 420px at 110% 8%, rgba(255, 46, 196, 0.14), transparent 50%);
}

.theme-cyber .theme-fx {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.theme-cyber .theme-fx-front {
  z-index: 0;
  overflow: hidden;
}

.theme-fx {
  display: none;
}

.theme-cyber main,
.theme-cyber .flashes,
.theme-cyber .page-banner,
.theme-cyber .perks,
.theme-cyber .announcement,
.theme-cyber .site-footer {
  position: relative;
  z-index: 1;
}

.theme-cyber .site-header {
  position: sticky;
  z-index: 20;
  background: rgba(4, 8, 18, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(0, 246, 255, 0.38);
  box-shadow: 0 0 32px rgba(0, 246, 255, 0.12);
}

.theme-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.theme-fx-grid {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -35%;
  height: 70%;
  background-image:
    linear-gradient(rgba(0, 246, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 246, 255, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(480px) rotateX(62deg);
  transform-origin: center bottom;
  animation: cyber-grid 22s linear infinite;
  mask-image: linear-gradient(to top, #000 15%, transparent 85%);
}

.theme-fx-orbs::before,
.theme-fx-orbs::after {
  content: "";
  position: absolute;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.42;
}

.theme-fx-orbs::before {
  top: -8%;
  left: -6%;
  background: #00f6ff;
  animation: cyber-orb-a 14s ease-in-out infinite;
}

.theme-fx-orbs::after {
  right: -8%;
  bottom: 8%;
  background: #ff2ec4;
  animation: cyber-orb-b 18s ease-in-out infinite;
}

.theme-fx-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.16) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.18;
}

.theme-fx-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(transparent, rgba(0, 246, 255, 0.1), transparent);
  animation: cyber-scan 6.5s linear infinite;
}

.theme-fx-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
}

.theme-fx-spot {
  position: fixed;
  top: 0;
  left: 0;
  width: 36vw;
  height: 36vw;
  margin: -18vw 0 0 -18vw;
  background: radial-gradient(circle, rgba(0, 246, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s;
}

.theme-cyber.is-pointer .theme-fx-spot {
  opacity: 0.45;
}

.theme-cyber h1,
.theme-cyber h2,
.theme-cyber h3 {
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: none;
}

.theme-cyber .hero {
  padding-top: 4.8rem;
}

.theme-cyber .hero h1 {
  position: relative;
  color: #f4fffe;
  text-shadow: 0 0 18px rgba(0, 246, 255, 0.4);
}

.theme-cyber .eyebrow {
  color: var(--accent);
  font-family: "Share Tech Mono", ui-monospace, monospace;
  letter-spacing: 0.22em;
}

.theme-cyber .eyebrow::after {
  content: "_";
  animation: cyber-caret 1.1s steps(1) infinite;
}

.theme-cyber .brand span {
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0, 246, 255, 0.55);
}

.theme-cyber .nav a,
.theme-cyber .header-actions a {
  position: relative;
}

.theme-cyber .nav a:hover,
.theme-cyber .header-actions a:hover {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(0, 246, 255, 0.7);
}

.theme-cyber .perks {
  background: linear-gradient(
    90deg,
    rgba(255, 46, 196, 0.22),
    rgba(0, 246, 255, 0.16),
    rgba(255, 46, 196, 0.22)
  );
  background-size: 220% 100%;
  animation: cyber-flow 9s linear infinite;
  border-bottom: 1px solid rgba(0, 246, 255, 0.35);
}

.theme-cyber .announcement {
  background: #05070f;
  color: var(--accent);
  box-shadow: inset 0 0 24px rgba(0, 246, 255, 0.18);
}

.theme-cyber .btn {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 246, 255, 0.85);
  background: linear-gradient(90deg, #00f6ff, #7dffe1 45%, #00f6ff);
  background-size: 200% 100%;
  color: #041016;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(0, 246, 255, 0.45);
  animation: cyber-sheen 2.8s linear infinite;
}

.theme-cyber .btn:hover {
  box-shadow: 0 0 28px rgba(0, 246, 255, 0.7), 0 0 48px rgba(255, 46, 196, 0.25);
}

.theme-cyber .btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0, 246, 255, 0.55);
  box-shadow: none;
  animation: none;
}

.theme-cyber .product-card .thumb,
.theme-cyber .cat-card,
.theme-cyber .summary,
.theme-cyber .ship-card,
.theme-cyber .flash,
.theme-cyber .anon-box,
.theme-cyber .bubble {
  background: rgba(7, 11, 22, 0.86);
  border: 1px solid rgba(0, 246, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 46, 196, 0.08), 0 0 22px rgba(0, 246, 255, 0.08);
}

.theme-cyber .product-card .thumb {
  overflow: hidden;
}

.theme-cyber .product-card:hover .thumb {
  box-shadow: 0 0 28px rgba(0, 246, 255, 0.4), 0 0 42px rgba(255, 46, 196, 0.18);
  border-color: var(--accent);
}

.theme-cyber .product-card:hover img {
  filter: drop-shadow(0 0 10px rgba(0, 246, 255, 0.25));
}

.theme-cyber .ph {
  background: repeating-linear-gradient(
    135deg,
    rgba(0, 246, 255, 0.08),
    rgba(0, 246, 255, 0.08) 8px,
    transparent 8px,
    transparent 16px
  );
}

.theme-cyber .badge.hot {
  background: var(--cyber-magenta);
  box-shadow: 0 0 12px rgba(255, 46, 196, 0.55);
}

.theme-cyber .badge.new,
.theme-cyber .badge.sale {
  background: var(--accent);
  color: #041016;
  box-shadow: 0 0 12px rgba(0, 246, 255, 0.45);
}

.theme-cyber .shop-chip {
  background: rgba(7, 11, 22, 0.9);
  border-color: rgba(0, 246, 255, 0.3);
  border-radius: 2px;
}

.theme-cyber .shop-chip.on {
  background: var(--accent);
  color: #041016;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 246, 255, 0.4);
}

.theme-cyber input,
.theme-cyber select,
.theme-cyber textarea {
  background: #0a101c;
  color: var(--text);
  border-color: rgba(0, 246, 255, 0.28);
  box-shadow: inset 0 0 12px rgba(0, 246, 255, 0.05);
}

.theme-cyber input:focus,
.theme-cyber select:focus,
.theme-cyber textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 246, 255, 0.28);
}

.theme-cyber .price,
.theme-cyber .pay .amount,
.theme-cyber .totals {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(0, 246, 255, 0.45);
}

.theme-cyber .pay .amount {
  animation: cyber-amount 2.4s ease-in-out infinite;
}

.theme-cyber .conf-bar {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 8px rgba(0, 246, 255, 0.15);
}

.theme-cyber .conf-bar i {
  box-shadow: 0 0 12px var(--accent);
}

.theme-cyber .ship-card:has(input:checked),
.theme-cyber .coin-list label:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(0, 246, 255, 0.28);
}

.theme-cyber .step-nav li.on {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 246, 255, 0.6);
}

.theme-cyber .site-footer {
  border-top-color: rgba(0, 246, 255, 0.28);
  background: linear-gradient(transparent, rgba(0, 246, 255, 0.05));
}

.theme-cyber .lightbox {
  background: rgba(2, 4, 10, 0.92);
}

@keyframes cyber-grid {
  to { background-position: 0 56px; }
}

@keyframes cyber-orb-a {
  50% { transform: translate(12vw, 8vh) scale(1.15); }
}

@keyframes cyber-orb-b {
  50% { transform: translate(-10vw, -6vh) scale(1.2); }
}

@keyframes cyber-scan {
  from { transform: translateY(-20%); }
  to { transform: translateY(100vh); }
}

@keyframes cyber-caret {
  50% { opacity: 0; }
}

@keyframes cyber-flow {
  to { background-position: 220% 0; }
}

@keyframes cyber-sheen {
  to { background-position: 200% 0; }
}

@keyframes cyber-amount {
  50% { text-shadow: 0 0 22px rgba(0, 246, 255, 0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .theme-cyber .theme-fx,
  .theme-cyber .eyebrow::after {
    display: none;
  }
  .theme-cyber .perks,
  .theme-cyber .btn,
  .theme-cyber .pay .amount,
  .theme-cyber .product-card:hover img {
    animation: none;
  }
}
