:root {
  --bg: #0a0a0a;
  --panel: #121212;
  --text: #f6f6f6;
  --muted: #b7b7b7;
  --pink: #ff2ad4;
  --blue: #00c8ff;
  --green: #39ff14;
  --border: #2a2a2a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 200, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(255, 42, 212, 0.14), transparent 32%),
    linear-gradient(180deg, #0a0a0a 0%, #090909 100%);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(circle, #fff 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  z-index: -1;
}

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.logo {
  font-family: "Bungee", cursive;
  font-size: 2rem;
  color: var(--green);
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.6);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 700;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--pink);
  color: #090909;
  font-size: 0.8rem;
}

.hero {
  padding: 4rem 0 3rem;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.hero h1 {
  margin: 0;
  font-family: "Bungee", cursive;
  font-size: clamp(2.4rem, 10vw, 5.3rem);
  line-height: 0.95;
  color: #fff;
  text-shadow:
    0 0 18px rgba(255, 42, 212, 0.45),
    0 0 26px rgba(0, 200, 255, 0.25);
}

.hero-copy {
  max-width: 48ch;
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #070707;
  box-shadow: 0 8px 26px rgba(255, 42, 212, 0.35);
}

.btn-secondary {
  background: #1f1f1f;
  border: 1px solid var(--border);
}

.featured,
.page-main {
  padding-bottom: 3rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.section-header h1,
.section-header h2 {
  margin: 0;
}

.link {
  color: var(--blue);
  font-weight: 700;
}

.featured-card {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  background: linear-gradient(145deg, #121212, #181818);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.featured-content .price {
  color: var(--green);
  font-weight: 800;
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.product-card-content {
  padding: 1rem;
}

.price {
  color: var(--green);
  font-weight: 800;
}

.product-detail {
  display: grid;
  gap: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.size-picker label {
  background: #1b1b1b;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.size-picker input {
  margin-right: 0.35rem;
}

.cart-items {
  display: grid;
  gap: 0.8rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.8rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.cart-item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
}

.cart-summary {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #111;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-controls button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: #202020;
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
}

.empty-state {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.footer-wrap {
  padding: 1.2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 700px) {
  .featured-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

  .product-detail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 1.2rem;
  }
}

@media (min-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
