:root {
  color-scheme: dark;
  --bg: #06080f;
  --panel: rgba(10, 12, 20, 0.92);
  --accent: #ff00e1;
  --accent2: #18f2ff;
  --text: #eae8ff;
  --muted: #8c92a2;
  --border: rgba(255, 0, 225, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: linear-gradient(180deg, #0a0520 0%, #1a0a3d 15%, #2d1b5a 35%, #1a0033 60%, #0a0515 100%);
  pointer-events: none;
  z-index: 0;
}

/* Stars */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60vh;
  background-image:
    radial-gradient(circle 1px at 5% 15%, rgba(255, 255, 255, 1), transparent 1px),
    radial-gradient(circle 0.5px at 8% 8%, rgba(255, 255, 255, 0.8), transparent 0.5px),
    radial-gradient(circle 1.2px at 12% 25%, rgba(255, 255, 255, 0.9), transparent 1.2px),
    radial-gradient(circle 0.8px at 18% 12%, rgba(255, 255, 255, 0.7), transparent 0.8px),
    radial-gradient(circle 1px at 22% 30%, rgba(255, 255, 255, 1), transparent 1px),
    radial-gradient(circle 0.6px at 28% 18%, rgba(255, 255, 255, 0.85), transparent 0.6px),
    radial-gradient(circle 1.1px at 35% 10%, rgba(255, 255, 255, 0.95), transparent 1.1px),
    radial-gradient(circle 0.7px at 42% 28%, rgba(255, 255, 255, 0.75), transparent 0.7px),
    radial-gradient(circle 1px at 48% 15%, rgba(255, 255, 255, 1), transparent 1px),
    radial-gradient(circle 0.5px at 55% 22%, rgba(255, 255, 255, 0.8), transparent 0.5px),
    radial-gradient(circle 1.3px at 62% 12%, rgba(255, 255, 255, 0.92), transparent 1.3px),
    radial-gradient(circle 0.8px at 68% 26%, rgba(255, 255, 255, 0.7), transparent 0.8px),
    radial-gradient(circle 1px at 75% 8%, rgba(255, 255, 255, 1), transparent 1px),
    radial-gradient(circle 0.6px at 82% 20%, rgba(255, 255, 255, 0.85), transparent 0.6px),
    radial-gradient(circle 1.2px at 88% 14%, rgba(255, 255, 255, 0.9), transparent 1.2px),
    radial-gradient(circle 0.7px at 92% 24%, rgba(255, 255, 255, 0.8), transparent 0.7px),
    radial-gradient(circle 1px at 96% 10%, rgba(255, 255, 255, 0.95), transparent 1px),
    radial-gradient(circle 0.5px at 15% 45%, rgba(255, 255, 255, 0.9), transparent 0.5px),
    radial-gradient(circle 0.8px at 45% 35%, rgba(255, 255, 255, 0.85), transparent 0.8px),
    radial-gradient(circle 1px at 70% 42%, rgba(255, 255, 255, 0.92), transparent 1px),
    radial-gradient(circle 0.6px at 25% 50%, rgba(255, 255, 255, 0.8), transparent 0.6px),
    radial-gradient(circle 1.1px at 60% 20%, rgba(255, 255, 255, 0.88), transparent 1.1px),
    radial-gradient(circle 0.7px at 10% 35%, rgba(255, 255, 255, 0.75), transparent 0.7px),
    radial-gradient(circle 0.9px at 85% 38%, rgba(255, 255, 255, 0.87), transparent 0.9px);
  background-size: 100% 100%;
  background-attachment: fixed;
  pointer-events: none;
  z-index: -1;
  animation: twinkleStar 8s ease-in-out infinite;
}

html::before {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68vh;
  background-image:
    linear-gradient(to top, #080b18 0%, #080b18 90%, transparent 90%),
    linear-gradient(to top, #0c1131 0%, #0c1131 86%, transparent 86%),
    linear-gradient(to top, #0a0e28 0%, #0a0e28 88%, transparent 88%),
    linear-gradient(to top, rgba(255, 0, 225, 0.24) 0%, rgba(255, 0, 225, 0.24) 8%, transparent 8%),
    linear-gradient(to top, rgba(24, 242, 255, 0.18) 0%, rgba(24, 242, 255, 0.18) 7%, transparent 7%);
  background-size: 8% 100%, 6% 100%, 5% 100%, 3% 100%, 4% 100%;
  background-position: 4% 0, 15% 0, 28% 0, 14% 0, 19% 0;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -2;
  filter: drop-shadow(0 0 16px rgba(255, 0, 225, 0.1));
}

@keyframes twinkleStar {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Cloud layer */
.site-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.site-shell::before {
  content: "";
  position: fixed;
  top: 10%;
  left: 0;
  right: 0;
  height: 50vh;
  background-image:
    /* Cloud 1 */
    radial-gradient(ellipse 200px 60px at 10% 20%, rgba(255, 0, 225, 0.08) 0%, transparent 70%),
    /* Cloud 2 */
    radial-gradient(ellipse 250px 50px at 35% 15%, rgba(24, 242, 255, 0.07) 0%, transparent 70%),
    /* Cloud 3 */
    radial-gradient(ellipse 180px 55px at 60% 25%, rgba(255, 0, 225, 0.06) 0%, transparent 70%),
    /* Cloud 4 */
    radial-gradient(ellipse 220px 45px at 85% 18%, rgba(24, 242, 255, 0.08) 0%, transparent 70%);
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
  animation: cloudDrift 20s linear infinite;
}

@keyframes cloudDrift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 0;
  }
}

/* Cyberpunk city glow removed so the skyline silhouette remains visible */
.hero {
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 0;
}

.hero-actions input {
  flex: 1 1 240px;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.98rem;
}

.hero-actions input::placeholder {
  color: rgba(234, 232, 255, 0.6);
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(24, 242, 255, 0.24);
  background: rgba(24, 242, 255, 0.12);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.search-btn:hover {
  transform: translateY(-1px);
  background: rgba(24, 242, 255, 0.2);
}

.about-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 225, 0.2);
  background: rgba(255, 0, 225, 0.12);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease;
}

.about-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 0, 225, 0.18);
}

.no-results {
  margin: 40px auto 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  text-align: center;
  color: var(--muted);
}

.terminal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  display: grid;
  place-items: center;
  z-index: 110;
  padding: 20px;
}

.terminal-window {
  width: min(760px, 100%);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(29, 255, 75, 0.25);
  background: #010b00;
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform: translateY(-28vh);
  opacity: 0;
  transition: transform 0.36s ease, opacity 0.36s ease;
}

.terminal-overlay:not(.hidden) .terminal-window {
  transform: translateY(0);
  opacity: 1;
}

.terminal-header {
  padding: 18px 22px;
  background: #021203;
  border-bottom: 1px solid rgba(29, 255, 75, 0.16);
  color: #72ff94;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.terminal-output {
  flex: 1;
  padding: 22px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #8aff93;
  background: #020b01;
  overflow-y: auto;
  white-space: pre-wrap;
  border-top: 1px solid rgba(29, 255, 75, 0.08);
}

.terminal-output::selection {
  background: rgba(29, 255, 75, 0.18);
}

.terminal-warning {
  color: #ff6b6b;
  text-shadow: 0 0 12px rgba(255, 107, 107, 0.6);
  animation: blinkWarning 1s step-start infinite;
}

@keyframes blinkWarning {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0.15;
  }
}

.terminal-close {
  border: none;
  border-top: 1px solid rgba(29, 255, 75, 0.16);
  background: #082005;
  color: #72ff94;
  padding: 16px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.18s ease;
}

.terminal-close:hover {
  background: #0e320c;
}

.hero::after {
  display: none;
}

.about-page {
  padding: 32px 0 0;
}

.about-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.about-header h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 2.5vw, 2.7rem);
}

.about-header p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.back-button {
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 225, 0.2);
  background: rgba(24, 242, 255, 0.12);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease;
}

.back-button:hover {
  transform: translateY(-1px);
  background: rgba(24, 242, 255, 0.18);
}

.team-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-card {
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 20, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.team-avatar {
  width: 100%;
  height: 0;
  padding-top: 100%;
  border-radius: 28px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(255, 0, 225, 0.12), rgba(24, 242, 255, 0.12));
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.team-card h3 {
  margin: 0 0 12px;
}

.team-card p {
  margin: 0 0 20px;
  line-height: 1.75;
  color: var(--muted);
}

.team-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(24, 242, 255, 0.18);
  background: rgba(24, 242, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

@keyframes buildingPulse {
  0% {
    opacity: 1;
    filter: brightness(0.8);
  }
  25% {
    opacity: 1;
    filter: brightness(1.15);
  }
  50% {
    opacity: 0.9;
    filter: brightness(0.6);
  }
  75% {
    opacity: 1;
    filter: brightness(1.05);
  }
  100% {
    opacity: 1;
    filter: brightness(0.8);
  }
}

/* Window lights - 100+ individual lights */
html::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68vh;
  background-image:
    radial-gradient(circle 2.5px at 2% 90%, rgba(255, 0, 225, 1), transparent 2.5px),
    radial-gradient(circle 2px at 2.5% 87%, rgba(24, 242, 255, 0.95), transparent 2px),
    radial-gradient(circle 2px at 3% 84%, rgba(255, 0, 225, 0.85), transparent 2px),
    radial-gradient(circle 2.5px at 3.5% 81%, rgba(24, 242, 255, 1), transparent 2.5px),
    radial-gradient(circle 2px at 4% 88%, rgba(255, 0, 225, 0.9), transparent 2px),
    radial-gradient(circle 2px at 4.5% 85%, rgba(24, 242, 255, 0.8), transparent 2px),
    radial-gradient(circle 2.5px at 5% 82%, rgba(255, 0, 225, 1), transparent 2.5px),
    radial-gradient(circle 2px at 5.5% 89%, rgba(24, 242, 255, 0.9), transparent 2px),
    radial-gradient(circle 2px at 6% 86%, rgba(255, 0, 225, 0.85), transparent 2px),
    radial-gradient(circle 2.5px at 6.5% 83%, rgba(24, 242, 255, 1), transparent 2.5px),
    radial-gradient(circle 2px at 7% 90%, rgba(255, 0, 225, 0.8), transparent 2px),
    radial-gradient(circle 2px at 7.5% 87%, rgba(24, 242, 255, 0.95), transparent 2px),
    radial-gradient(circle 2.5px at 8% 84%, rgba(255, 0, 225, 1), transparent 2.5px),
    radial-gradient(circle 2px at 8.5% 81%, rgba(24, 242, 255, 0.85), transparent 2px),
    radial-gradient(circle 2px at 9% 88%, rgba(255, 0, 225, 0.9), transparent 2px),
    radial-gradient(circle 2.5px at 9.5% 85%, rgba(24, 242, 255, 1), transparent 2.5px),
    radial-gradient(circle 2px at 10% 82%, rgba(255, 0, 225, 0.8), transparent 2px),
    radial-gradient(circle 2px at 11% 89%, rgba(24, 242, 255, 0.9), transparent 2px),
    radial-gradient(circle 2.5px at 12% 86%, rgba(255, 0, 225, 1), transparent 2.5px),
    radial-gradient(circle 2px at 13% 83%, rgba(24, 242, 255, 0.85), transparent 2px),
    radial-gradient(circle 2px at 14% 90%, rgba(255, 0, 225, 0.8), transparent 2px),
    radial-gradient(circle 2.5px at 15% 87%, rgba(24, 242, 255, 1), transparent 2.5px),
    radial-gradient(circle 2px at 16% 84%, rgba(255, 0, 225, 0.9), transparent 2px),
    radial-gradient(circle 2.5px at 18% 91%, rgba(24, 242, 255, 1), transparent 2.5px),
    radial-gradient(circle 2px at 22% 88%, rgba(255, 0, 225, 0.85), transparent 2px),
    radial-gradient(circle 2px at 26% 85%, rgba(24, 242, 255, 0.9), transparent 2px),
    radial-gradient(circle 2.5px at 30% 82%, rgba(255, 0, 225, 1), transparent 2.5px),
    radial-gradient(circle 2px at 34% 89%, rgba(24, 242, 255, 0.8), transparent 2px),
    radial-gradient(circle 2.5px at 38% 86%, rgba(255, 0, 225, 1), transparent 2.5px),
    radial-gradient(circle 2px at 42% 83%, rgba(24, 242, 255, 0.95), transparent 2px),
    radial-gradient(circle 2px at 46% 90%, rgba(255, 0, 225, 0.85), transparent 2px),
    radial-gradient(circle 2.5px at 50% 87%, rgba(24, 242, 255, 1), transparent 2.5px),
    radial-gradient(circle 2px at 54% 84%, rgba(255, 0, 225, 0.9), transparent 2px),
    radial-gradient(circle 2.5px at 58% 91%, rgba(24, 242, 255, 1), transparent 2.5px),
    radial-gradient(circle 2px at 62% 88%, rgba(255, 0, 225, 0.8), transparent 2px),
    radial-gradient(circle 2px at 66% 85%, rgba(24, 242, 255, 0.9), transparent 2px),
    radial-gradient(circle 2.5px at 70% 82%, rgba(255, 0, 225, 1), transparent 2.5px),
    radial-gradient(circle 2px at 74% 89%, rgba(24, 242, 255, 0.85), transparent 2px),
    radial-gradient(circle 2.5px at 78% 86%, rgba(255, 0, 225, 1), transparent 2.5px),
    radial-gradient(circle 2px at 82% 83%, rgba(24, 242, 255, 0.95), transparent 2px),
    radial-gradient(circle 2px at 86% 90%, rgba(255, 0, 225, 0.8), transparent 2px),
    radial-gradient(circle 2.5px at 90% 87%, rgba(24, 242, 255, 1), transparent 2.5px),
    radial-gradient(circle 2px at 94% 84%, rgba(255, 0, 225, 0.9), transparent 2px),
    radial-gradient(circle 2.5px at 98% 91%, rgba(24, 242, 255, 1), transparent 2.5px);
  background-size: 100% 100%;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
  animation: windowFlicker 6s ease-in-out infinite;
}

@keyframes windowFlicker {
  0% {
    opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(255, 0, 225, 0.3));
  }
  25% {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(24, 242, 255, 0.7));
  }
  50% {
    opacity: 0.5;
    filter: drop-shadow(0 0 2px rgba(255, 0, 225, 0.1));
  }
  75% {
    opacity: 0.95;
    filter: drop-shadow(0 0 10px rgba(24, 242, 255, 0.5));
  }
  100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(255, 0, 225, 0.3));
  }
}

.hero {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 28px;
  backdrop-filter: blur(18px);
  background: rgba(1, 2, 10, 0.72);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 0, 225, 0.16), transparent 24%),
    radial-gradient(circle at left, rgba(24, 242, 255, 0.12), transparent 18%);
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
}

.brand-label {
  display: inline-block;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
}

.tagline {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.report-btn {
  margin-top: 24px;
  padding: 14px 28px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(255, 0, 225, 0.08);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease;
  position: relative;
  z-index: 1;
}

.report-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 0, 225, 0.16);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(8, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.product-image {
  width: 100%;
  height: 180px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 0, 225, 0.12), rgba(24, 242, 255, 0.08));
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-card h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
}

.feature-list {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
}

.feature-list li {
  margin-bottom: 8px;
}

.product-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 22px;
}

.price {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent2);
}

.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 0, 225, 0.9), rgba(24, 242, 255, 0.82));
  color: #080a12;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.18s ease;
}

.buy-button:hover {
  transform: translateY(-2px);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.76);
  padding: 24px;
  z-index: 97;
}

.hidden {
  display: none;
}

.modal-panel {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 0, 225, 0.24);
  background: rgba(8, 10, 18, 0.95);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.modal-title {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 1.6rem;
}

.modal-body {
  margin: 0 0 24px;
  color: var(--text);
}

.modal-progress {
  margin: 0 0 20px;
}

.progress-track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 0, 225, 0.22);
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.1s linear;
}

#progressLabel {
  margin: 12px 0 0;
  color: var(--accent2);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 98;
}

.confetti-piece {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor, 0 0 18px rgba(255, 255, 255, 0.08);
  opacity: 0.92;
  animation: spiderCrawl var(--bug-duration, 2.6s) ease-out forwards, spiderGlow 1.1s ease-in-out infinite alternate;
}

/* Spider head */
.confetti-piece::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px currentColor;
}

/* Spider legs using box-shadow radial pattern */
.confetti-piece::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
  box-shadow:
    /* Top-left leg cluster */
    -8px -6px 0 -1px currentColor,
    -6px -8px 0 -1px currentColor,
    /* Top-right leg cluster */
    8px -6px 0 -1px currentColor,
    6px -8px 0 -1px currentColor,
    /* Bottom-right leg cluster */
    8px 6px 0 -1px currentColor,
    6px 8px 0 -1px currentColor,
    /* Bottom-left leg cluster */
    -8px 6px 0 -1px currentColor,
    -6px 8px 0 -1px currentColor,
    /* Additional leg glow */
    0 0 12px currentColor;
}

@keyframes spiderCrawl {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translate(calc(var(--bug-x) * 0.3), calc(var(--bug-y) * 0.3)) scale(0.95);
  }
  50% {
    transform: translate(calc(var(--bug-x) * 0.6), calc(var(--bug-y) * 0.6)) scale(1.05);
  }
  75% {
    transform: translate(calc(var(--bug-x) * 0.85), calc(var(--bug-y) * 0.85)) scale(0.92);
  }
  100% {
    transform: translate(var(--bug-x), var(--bug-y)) scale(0.8);
    opacity: 0.1;
  }
}

@keyframes spiderGlow {
  0% {
    filter: brightness(1) drop-shadow(0 0 8px currentColor);
  }
  100% {
    filter: brightness(1.5) drop-shadow(0 0 16px currentColor);
  }
}

.modal-close {
  padding: 12px 20px;
  border: 1px solid var(--accent2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.cart-icon {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 100;
  cursor: pointer;
  background: rgba(8, 10, 18, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
}

.cart-icon:hover {
  background: rgba(8, 10, 18, 1);
  border-color: var(--accent);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent);
  color: #080a12;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.cart-panel {
  position: fixed;
  right: -450px;
  top: 0;
  width: 420px;
  height: 100vh;
  background: rgba(8, 10, 18, 0.95);
  border-left: 1px solid var(--border);
  backdrop-filter: blur(12px);
  z-index: 99;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.cart-panel.open {
  right: 0;
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(8, 10, 18, 0.95);
}

.cart-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.cart-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
}

.cart-items {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.cart-item {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 16px;
  background: rgba(255, 0, 225, 0.04);
}

.cart-item-name {
  font-weight: 700;
  margin-bottom: 8px;
}

.cart-item-price {
  color: var(--accent2);
  font-weight: 700;
  margin-bottom: 12px;
}

.cart-item-remove {
  background: none;
  border: 1px solid rgba(255, 0, 225, 0.5);
  color: rgba(255, 0, 225, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  background: rgba(255, 0, 225, 0.2);
  border-color: var(--accent);
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: rgba(8, 10, 18, 0.95);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 700;
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 0, 225, 0.9), rgba(24, 242, 255, 0.82));
  color: #080a12;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease;
  font-size: 1rem;
}

.checkout-btn:hover {
  transform: translateY(-2px);
}

.checkout-page {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 98;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.checkout-page.open {
  display: flex;
}

.checkout-container {
  background: rgba(8, 10, 18, 0.98);
  border: 1px solid var(--border);
  border-radius: 28px;
  width: min(600px, 100%);
  padding: 40px;
  backdrop-filter: blur(12px);
  position: relative;
}

.checkout-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.checkout-title {
  font-size: 2rem;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 0, 225, 0.05);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 0, 225, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.order-summary {
  background: rgba(255, 0, 225, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 24px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-weight: 700;
  font-size: 1.2rem;
}

.place-order-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 0, 225, 0.9), rgba(24, 242, 255, 0.82));
  color: #080a12;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.place-order-btn:hover {
  transform: translateY(-2px);
}

.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 101;
  display: none;
  align-items: center;
  justify-content: center;
}

.success-modal.open {
  display: flex;
}

.success-content {
  background: rgba(8, 10, 18, 0.98);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(12px);
  width: min(400px, 100%);
}

.success-content h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--accent2);
}

.success-content p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.success-btn {
  padding: 12px 24px;
  border: 1px solid var(--accent2);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 680px) {
  .site-shell {
    padding: 20px;
  }
  .hero {
    padding: 24px;
  }
  .cart-panel {
    width: 100%;
    right: -100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
#visitor-count {
    color: var(--accent2);
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0;
    text-shadow: 0 0 6px var(--accent2);
    letter-spacing: 1px;
    display: block;
}