* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

:root {
  --bg: #070611;
  --bg-2: #0d0a1a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #cbc4e6;
  --purple: #8e45ff;
  --pink: #d84fff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius: 26px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(142, 69, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(216, 79, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #05040d 0%, #080713 40%, #06050f 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

.section {
  padding: 78px 0;
}

.section.small {
  padding-top: 34px;
}

.page-top-space {
  padding-top: 24px;
}

.glow-bg::before,
.glow-bg::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(130px);
  opacity: 0.14;
  pointer-events: none;
}

.glow-bg::before {
  top: -90px;
  left: -70px;
  background: var(--purple);
}

.glow-bg::after {
  right: -70px;
  bottom: -80px;
  background: var(--pink);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 7, 18, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.brand span {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  position: relative;
  transition: 0.2s ease;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  border-radius: 999px;
  transition: width 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 800;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-size: 0.78rem;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.15rem;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 16px;
  padding: 14px 22px;
  font-weight: 800;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  box-shadow: 0 14px 28px rgba(142, 69, 255, 0.28);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* HERO */
.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.98;
  margin-bottom: 18px;
  max-width: 620px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 28px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #f2eeff;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card,
.feature-card,
.category-card,
.product-card,
.info-card,
.panel,
.text-box,
.contact-box,
.trade-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
  position: relative;
}

.hero-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(216, 79, 255, 0.2), transparent 30%),
    radial-gradient(circle at bottom right, rgba(142, 69, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #1a1430, #100d1d);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.floating-note {
  position: absolute;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(6, 6, 14, 0.92);
  border: 1px solid var(--border);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.note-top {
  top: 14px;
  right: -10px;
}

.note-bottom {
  bottom: 16px;
  left: -12px;
}

/* SECTION HEAD */
.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  margin-bottom: 10px;
  line-height: 1.05;
}

.section-head p {
  color: var(--muted);
  max-width: 760px;
  line-height: 1.7;
}

/* GRIDS */
.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
}

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

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

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

/* FEATURE CARDS */
.feature-card,
.info-card,
.text-box,
.contact-box,
.trade-card {
  padding: 22px;
}

.feature-card h3,
.info-card h3,
.trade-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.feature-card p,
.info-card p,
.text-box p,
.contact-box p,
.trade-card p {
  color: var(--muted);
  line-height: 1.7;
}

/* CATEGORY CARDS */
.category-card {
  overflow: hidden;
  transition: 0.22s ease;
}

.category-card:hover,
.product-card:hover,
.feature-card:hover,
.info-card:hover {
  transform: translateY(-4px);
}

.category-image {
  width: 100%;
  aspect-ratio: 4 / 4.1;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(216, 79, 255, 0.2), transparent 30%),
    radial-gradient(circle at bottom right, rgba(142, 69, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #1a1430, #120f21);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: 185px;
  max-height: 185px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
  transition: transform 0.28s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.06);
}

.category-content {
  padding: 20px;
}

.category-content h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.category-content p {
  color: var(--muted);
  line-height: 1.75;
}

/* PRODUCT CARDS */
.product-card {
  overflow: hidden;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(216, 79, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(142, 69, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #1a1430, #120f21);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-content {
  padding: 20px;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #f0eaff;
  border: 1px solid var(--border);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-meta h3 {
  font-size: 1rem;
  line-height: 1.1;
  max-width: 190px;
}

.price {
  font-weight: 900;
  font-size: 1.05rem;
  white-space: nowrap;
}

.product-content p {
  color: var(--muted);
  line-height: 1.7;
  min-height: 84px;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.product-actions .btn {
  flex: 1;
}

/* DETAIL PAGES */
.detail-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.panel {
  padding: 22px;
}

.detail-image {
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(216, 79, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(142, 69, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #1a1430, #120f21);
  border-radius: 24px;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-panel h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.detail-panel .price {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.detail-panel p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.feature-list {
  padding-left: 18px;
  margin-bottom: 24px;
}

.feature-list li {
  color: var(--muted);
  margin-bottom: 10px;
}

.detail-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer a:hover {
  color: white;
}

/* MISC */
.reveal {
  opacity: 1;
  transform: none;
}

.newsletter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.newsletter input {
  flex: 1 1 280px;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.07);
  color: white;
  padding: 0 16px;
}

.newsletter input::placeholder {
  color: #c7bfdc;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.contact-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

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

  .note-top,
  .note-bottom {
    position: static;
    display: inline-block;
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  .navbar {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-buttons,
  .detail-buttons,
  .product-actions {
    flex-direction: column;
  }

  .hero-buttons .btn,
  .detail-buttons .btn,
  .product-actions .btn {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .product-content p {
    min-height: auto;
  }
}