:root {
  --bg: #060816;
  --panel: #101528;
  --panel-2: #151d35;
  --text: #f3f6ff;
  --muted: #9ba7c7;
  --accent: #6e7cff;
  --accent-2: #9e6bff;
  --line: rgba(255, 255, 255, 0.08);
  --success: #68d391;
  --danger: #ff7676;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(110, 124, 255, 0.18), transparent 30%),
    radial-gradient(circle at right, rgba(158, 107, 255, 0.12), transparent 25%),
    var(--bg);
  color: var(--text);
}

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

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

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(6, 8, 22, 0.8);
  border-bottom: 1px solid var(--line);
}

.site-header .container,
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

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

.nav a:hover {
  color: var(--text);
}

.cart-pill {
  background: var(--accent);
  color: white;
  padding: 6px 10px;
  border-radius: 999px;
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.hero {
  padding: 70px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.section-title {
  font-size: 1.8rem;
  margin: 20px 0 18px;
}

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

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-card-media {
  aspect-ratio: 16 / 10;
  background: #0b1020;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.product-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

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

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
}

.button,
button {
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

.button.secondary,
button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.page-section {
  padding: 36px 0 60px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.main-image {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
}

.main-image img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.gallery img {
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

.stack {
  display: grid;
  gap: 16px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 100px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-row input {
  width: 70px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}

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

.notice {
  padding: 16px;
  border-radius: 16px;
  background: rgba(104, 211, 145, 0.12);
  border: 1px solid rgba(104, 211, 145, 0.35);
}

.error {
  color: var(--danger);
}

.empty-state {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .product-layout,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .site-header .container,
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.gallery-thumb {
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  opacity: 0.82;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
  opacity: 1;
  border-color: rgba(110, 124, 255, 0.7);
  box-shadow: 0 10px 24px rgba(110, 124, 255, 0.18);
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(110, 124, 255, 0.2);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}



.zoom-stage {
  position: relative;
  overflow: hidden;
}

.main-product-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition:
    opacity 0.18s ease,
    transform 0.28s ease,
    filter 0.28s ease;
  opacity: 0.55;
  transform: scale(1);
  will-change: transform, opacity;
}

.main-product-image.is-visible {
  opacity: 1;
}

.main-product-image.zoomed {
  transform: scale(1.08);
}

.premium-gallery {
  margin-top: 14px;
}

.gallery-thumb {
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    background 0.18s ease;
  opacity: 0.84;
}

.gallery-thumb:hover,
.gallery-thumb:focus {
  transform: translateY(-3px);
  opacity: 1;
  border-color: rgba(110, 124, 255, 0.78);
  background: rgba(110, 124, 255, 0.08);
  box-shadow: 0 12px 28px rgba(110, 124, 255, 0.18);
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  background: rgba(110, 124, 255, 0.1);
  box-shadow:
    0 0 0 2px rgba(110, 124, 255, 0.18),
    0 12px 28px rgba(110, 124, 255, 0.12);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}























.button,
button {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.button:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(110, 124, 255, 0.22);
}

.product-card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 124, 255, 0.32);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}














.instructions-list {
  display: grid;
  gap: 20px;
}

.instruction-block {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.instruction-block img {
  display: block;
  width: 100%;
  height: auto;
}



.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.platform-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 124, 255, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}

.platform-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.platform-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-collection {
  padding: 70px 0 20px;
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}

@media (max-width: 900px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}



