:root {
  color-scheme: dark;
  --bg: #070b18;
  --bg-2: #0b1020;
  --panel: #10182d;
  --panel-2: #121d35;
  --line: rgba(248, 250, 252, 0.12);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #18d6ff;
  --violet: #7c3bff;
  --coral: #ff6b4a;
  --lime: #52f3bd;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(24, 214, 255, 0.18), transparent 34%),
    radial-gradient(circle at 85% 5%, rgba(124, 59, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #070b18 0%, #0b1020 48%, #070b18 100%);
  color: var(--text);
  font-family:
    Inter, Sora, Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(248, 250, 252, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.container,
main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border: 1px solid rgba(248, 250, 252, 0.08);
  border-radius: 16px;
  background: #050915;
  box-shadow: 0 0 34px rgba(24, 214, 255, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}

.brand-text {
  white-space: nowrap;
  letter-spacing: 0;
}

.brand-text span,
.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 11px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(24, 214, 255, 0.1);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(24, 214, 255, 0.25);
  outline: none;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(24, 214, 255, 0.32);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--text);
  font-weight: 850;
}

.cart-link::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan);
  border-top: 0;
  border-radius: 2px 2px 4px 4px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  padding: 9px 12px;
  font-weight: 850;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 68px 0 84px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(248, 250, 252, 0.14);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.06);
  color: var(--text);
  padding: 11px 17px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  color: #06101f;
  box-shadow: 0 14px 34px rgba(24, 214, 255, 0.24);
}

.button.secondary {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.button.add-cart,
.button.quick-view {
  min-height: 42px;
  margin-top: auto;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.product-actions .button {
  width: 100%;
  padding-inline: 12px;
}

.button.quick-view {
  background: rgba(248, 250, 252, 0.04);
  color: var(--muted);
}

.button.is-added {
  background: rgba(82, 243, 189, 0.16);
  color: var(--lime);
}

.hero-showcase {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-logo {
  position: absolute;
  inset: 34px 34px auto;
  display: grid;
  place-items: center;
  min-height: 250px;
  border-radius: 16px;
  background: #050915;
  box-shadow: inset 0 0 0 1px rgba(248, 250, 252, 0.08);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: cover;
}

.floating-product {
  position: absolute;
  right: 26px;
  bottom: 28px;
  left: 26px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(7, 11, 24, 0.82);
  padding: 16px;
  backdrop-filter: blur(16px);
}

.floating-product p {
  margin-bottom: 4px;
  color: var(--muted);
}

.pixel-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pixel-field span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cyan);
  opacity: 0.75;
  animation: drift 6s ease-in-out infinite alternate;
}

.pixel-field span:nth-child(1) { left: 8%; top: 18%; }
.pixel-field span:nth-child(2) { left: 16%; top: 34%; background: var(--coral); animation-delay: 0.8s; }
.pixel-field span:nth-child(3) { right: 10%; top: 20%; background: var(--violet); animation-delay: 1.2s; }
.pixel-field span:nth-child(4) { right: 18%; bottom: 22%; background: var(--lime); animation-delay: 1.8s; }

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(14px); }
}

.section {
  padding: 90px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p {
  color: var(--muted);
}

.category-grid,
.product-grid,
.value-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.category-card,
.product-card,
.value-card,
.info-card,
.content-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 45, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.category-card a,
.value-card,
.info-card,
.content-card {
  display: block;
  height: 100%;
  padding: 22px;
}

.category-card,
.product-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 214, 255, 0.38);
  box-shadow: 0 22px 54px rgba(24, 214, 255, 0.1);
}

.category-card p,
.product-card p,
.value-card p,
.info-card p,
.content-card p,
.faq-item p,
li {
  color: var(--muted);
}

.category-icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(24, 214, 255, 0.2), rgba(124, 59, 255, 0.2));
}

.category-icon span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--cyan);
}

.category-icon span:nth-child(1) { left: 12px; top: 12px; }
.category-icon span:nth-child(2) { left: 34px; top: 22px; background: var(--violet); }
.category-icon span:nth-child(3) { left: 20px; top: 42px; background: var(--coral); }
.category-icon span:nth-child(4) { right: 10px; bottom: 10px; background: var(--lime); }

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.product-link {
  display: block;
  padding: 14px 14px 0;
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-kicker {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 16px;
  color: var(--text);
  font-weight: 850;
}

.product-meta span:last-child {
  color: var(--muted);
  font-weight: 700;
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  overflow: hidden;
  border-radius: 14px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, rgba(24, 214, 255, 0.18), rgba(124, 59, 255, 0.16));
}

.product-art::before {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--coral));
  content: "";
  box-shadow: 0 20px 48px rgba(124, 59, 255, 0.36);
}

.product-art.dragon::before,
.product-art.dino::before {
  width: 132px;
  height: 74px;
  border-radius: 999px 44px 999px 44px;
}

.product-art.spinner::before {
  border-radius: 50%;
  mask-image: radial-gradient(circle, transparent 0 28%, #000 29%);
}

.product-art.pot::before {
  width: 112px;
  height: 96px;
  clip-path: polygon(12% 10%, 88% 10%, 74% 100%, 26% 100%);
}

.product-art.nameplate::before {
  width: 140px;
  height: 58px;
  border-radius: 18px;
}

.product-art.astronaut::before,
.product-art.mystery::before {
  border-radius: 50% 50% 40% 40%;
}

.layer {
  position: absolute;
  width: 150px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.layer-one { top: 42%; }
.layer-two { top: 50%; width: 122px; }
.layer-three { top: 58%; width: 92px; }

.pixel {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.p1 { left: 18%; top: 24%; background: var(--cyan); }
.p2 { left: 26%; top: 34%; background: var(--violet); }
.p3 { right: 22%; bottom: 24%; background: var(--coral); }

.custom-band,
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: center;
  border: 1px solid rgba(24, 214, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(24, 214, 255, 0.12), rgba(124, 59, 255, 0.12)),
    rgba(16, 24, 45, 0.78);
  padding: clamp(26px, 5vw, 54px);
}

.newsletter form,
.contact-form {
  display: grid;
  gap: 12px;
}

.newsletter input,
.contact-form input,
.contact-form textarea,
.select-like {
  min-height: 48px;
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: 12px;
  background: rgba(7, 11, 24, 0.78);
  color: var(--text);
  padding: 12px 14px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.page-hero {
  padding: 72px 0 44px;
}

.page-hero h1 {
  max-width: 900px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chip {
  border: 1px solid rgba(24, 214, 255, 0.26);
  border-radius: 999px;
  background: rgba(24, 214, 255, 0.08);
  color: var(--text);
  padding: 9px 13px;
  font-weight: 800;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 36px;
  align-items: start;
  padding: 62px 0;
}

.gallery {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
}

.gallery .product-art {
  min-height: 520px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumb-row span {
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(24, 214, 255, 0.18), rgba(255, 107, 74, 0.14));
}

.detail-copy {
  position: sticky;
  top: 98px;
}

.price {
  color: var(--lime);
  font-size: 1.6rem;
  font-weight: 950;
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.spec-list dt {
  color: var(--muted);
  font-weight: 800;
}

.spec-list dd {
  margin: 0;
  text-align: right;
  font-weight: 850;
}

.detail-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 70px;
}

.detail-sections article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 45, 0.72);
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-item p {
  margin: 12px 0 0;
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: rgba(7, 11, 24, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.fine-print {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .hero,
  .section-heading,
  .custom-band,
  .newsletter,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .container,
  main,
  .header-inner,
  .footer-inner,
  .fine-print {
    width: min(var(--max), calc(100% - 28px));
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    order: 4;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .cart-link {
    justify-content: center;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-showcase {
    min-height: 520px;
  }

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

  .category-grid,
  .product-grid,
  .value-grid,
  .info-grid,
  .detail-sections,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-actions .button,
  .button-row .button {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .brand-text {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .cart-link {
    display: none;
  }

  .hero-logo {
    inset: 22px 18px auto;
  }
}
