:root {
  --bg-deep: #0a0b12;
  --bg: #10121c;
  --bg-elevated: #161928;
  --bg-card: #1a1e30;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0f7;
  --text-muted: #9aa3b8;
  --text-dim: #6b7389;
  --accent: #ff3d7f;
  --accent-2: #00e5c0;
  --accent-glow: rgba(255, 61, 127, 0.35);
  --accent-2-glow: rgba(0, 229, 192, 0.25);
  --radius: 14px;
  --radius-sm: 10px;
  --transition: 0.2s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}
a { color: var(--accent-2); }
img, video { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
header.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #fff 30%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}
.header-badge {
  color: var(--text-muted);
  font-size: 0.85rem;
}

main { padding: 2.5rem 0 4rem; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.gallery-thumbs button {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 64px;
  height: 64px;
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color var(--transition);
}
.gallery-thumbs button.is-active { border-color: var(--accent-2); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 1.5rem;
}
.buy-box h1 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.price {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0.25rem 0 1rem;
}
.short-desc { color: var(--text-muted); margin-bottom: 1.25rem; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.qty-row label { color: var(--text-muted); font-size: 0.9rem; }
.qty-row select {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow var(--transition), opacity var(--transition);
}
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), #e11d6a);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.trust-list {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  list-style: none;
  padding-left: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.trust-list li { margin-bottom: 0.4rem; padding-left: 1.4rem; position: relative; }
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}

section.details { margin-top: 3.5rem; }
section.details h2 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}
.features-grid li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
}
.description-text { color: var(--text-muted); }

/* Checkout form (revealed inline) */
#checkout-panel {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
#checkout-panel[hidden] { display: none; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 480px) {
  .form-grid { grid-template-columns: 1fr; }
}
label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
input, select {
  width: 100%;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-2-glow);
}

.notice {
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.notice.info { background: rgba(0, 229, 192, 0.1); color: var(--accent-2); }
.notice.error { background: rgba(255, 61, 127, 0.12); color: var(--accent); }

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.confirm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 560px;
  margin: 3rem auto;
  text-align: center;
}
.confirm-card h1 { margin-top: 0; }
.order-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  text-align: left;
}
.order-table td { padding: 0.5rem; border-bottom: 1px solid var(--border); }

.track-form {
  max-width: 420px;
  margin: 3rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

/* Customer reviews */
section.reviews { margin-top: 3.5rem; }
section.reviews h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.review-stars { color: var(--accent-3, #ffc14d); letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.review-title { font-weight: 700; margin: 0 0 0.35rem; font-size: 0.95rem; }
.review-body { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin: 0 0 0.6rem; }
.review-footer { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-dim); }

/* Background atmosphere — same as supremeretrogaming.com */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 61, 127, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(0, 229, 192, 0.12), transparent 45%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(255, 193, 77, 0.08), transparent 50%),
    var(--bg-deep);
  pointer-events: none;
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

textarea {
  width: 100%;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  font-family: inherit;
  resize: vertical;
}
textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-2-glow);
}
.write-review {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.write-review h3 { font-size: 1.05rem; margin-bottom: 1rem; }
