:root {
  color-scheme: dark;

  --bg: #0b0f17;
  --bg-2: #0f1624;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.55);

  --primary: #7c5cff;
  --primary-2: #4fe0b1;
  --danger: #ff5277;

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);

  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(
      1200px 600px at 10% -10%,
      rgba(124, 92, 255, 0.25),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 90% 0%,
      rgba(79, 224, 177, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  line-height: 1.55;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, text-decoration-color 160ms ease,
    background-color 160ms ease, border-color 160ms ease, filter 160ms ease;
}

a:hover {
  color: rgba(124, 92, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(124, 92, 255, 0.7);
}

.btn,
.nav-link,
.chip,
.card,
input,
select,
textarea {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease,
    background-color 180ms ease, filter 180ms ease;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.chip:focus-visible {
  outline: 3px solid rgba(124, 92, 255, 0.55);
  outline-offset: 3px;
  border-radius: 999px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.fineprint {
  font-size: 0.9rem;
  color: var(--faint);
}

.promo-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    90deg,
    rgba(124, 92, 255, 0.16),
    rgba(79, 224, 177, 0.1)
  );
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.promo-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.promo-text strong {
  color: rgba(255, 255, 255, 0.95);
}

.promo-code {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
  text-decoration: none;
}

.promo-link:hover {
  text-decoration: none;
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.12);
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 15, 24, 0.95);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  left: 1rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 23, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(79, 224, 177, 0.9));
  box-shadow: var(--shadow-soft);
  color: rgba(11, 15, 23, 0.95);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.32), transparent 55%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.brand-text {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.nav-link {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.nav-link.is-active {
  color: var(--text);
  border-color: rgba(124, 92, 255, 0.55);
  background: rgba(124, 92, 255, 0.14);
}

/* Main structure */
.site-main {
  padding-bottom: 3rem;
}

.section {
  padding: 3rem 0;
}

.section-slim {
  padding: 1.75rem 0;
}

.section-header {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.section-header-slim {
  margin-bottom: 0.85rem;
}

.section-footer {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

.page-head {
  padding: 2.5rem 0 1.25rem;
}

.page-head-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

/* Hero */
.hero {
  padding: 3.25rem 0 1.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-figure {
  box-shadow: var(--shadow);
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.25);
}

.hero-image picture,
.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-image img {
  object-fit: cover;
  object-position: center;
  filter: contrast(1.03) saturate(1.05);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      700px 350px at 20% 10%,
      rgba(124, 92, 255, 0.22),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.hero-links {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.dot {
  color: var(--faint);
}

.inline-link {
  color: rgba(124, 92, 255, 0.95);
}

.inline-link:hover {
  color: rgba(79, 224, 177, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.1px;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn-primary {
  border-color: rgba(124, 92, 255, 0.55);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(79, 224, 177, 0.45));
  color: rgba(11, 15, 23, 0.98);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
}

.btn-small {
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
}

/* Chips / subnav */
.subnav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chip {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.95rem;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.12);
}

/* Cards / grids */
.grid {
  display: grid;
  gap: 1.1rem;
}

.products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reviews-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, 0.2);
}

.card:focus-within {
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.12), var(--shadow-soft);
}

.media-card {
  padding: 0;
}

.card-body {
  padding: 1.05rem;
  display: grid;
  gap: 0.6rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: start;
}

.credits-media {
  overflow: hidden;
}

.credits-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.credits-media figcaption {
  padding: 0.85rem 1rem 1rem;
}

.card-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-media {
  display: block;
  position: relative;
  background: rgba(0, 0, 0, 0.25);
}

.card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease, filter 220ms ease;
}

.product-card:hover .card-media img,
.thumb:hover img {
  transform: scale(1.03);
  filter: contrast(1.02) saturate(1.03);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.16);
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: rgba(230, 226, 255, 0.9);
  font-weight: 650;
  font-size: 0.9rem;
}

.price {
  font-weight: 750;
  color: rgba(79, 224, 177, 0.95);
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  white-space: nowrap;
}

.price-old {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 650;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.card-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

/* Video */
.video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.35);
}

figure.card figcaption {
  padding: 0.9rem 1rem 1.05rem;
}

/* Product page layout */
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: start;
}

.thumbs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thumb img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-panel {
  padding: 1.1rem;
}

.product-panel-header {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.4rem;
}

.product-panel-body {
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.9rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgba(79, 224, 177, 0.95);
  font-weight: 900;
}

.callout {
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.specs {
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.specs div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.specs dt {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.specs dd {
  margin: 0;
  color: var(--muted);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sep {
  color: rgba(255, 255, 255, 0.35);
}

/* Lists */
.list {
  padding: 0.6rem;
  margin: 0;
  list-style: none;
}

.list-item {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  border: 1px solid transparent;
}

.list-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.link-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.link-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Forms */
.form {
  padding: 1.1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

label,
legend {
  font-weight: 650;
  color: rgba(255, 255, 255, 0.85);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(124, 92, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.fieldset {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 0.9rem;
  margin: 1rem 0 0;
  background: rgba(255, 255, 255, 0.02);
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
}

.choice input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.25rem 0 1.2rem;
  background: rgba(11, 15, 23, 0.5);
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  align-items: start;
}

.brand-footer .brand-mark {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-heading {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.footer-bottom {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .page-head-inner {
    align-items: flex-start;
  }

  .subnav {
    justify-content: flex-start;
  }

  .products-grid,
  .category-grid,
  .info-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .credits-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

