:root {
    --navy: #0B1128;
    --navy-deep: #060915;
    --gold: #F2B441;
    --gold-dim: #B98A2E;
    --red: #C23B33;
    --chrome: #6FA8C9;
    --cream: #F1E9D8;
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    background: var(--navy);
    color: var(--cream);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 18px;
    line-height: 1.6;
  }

  h1, h2, h3 { margin: 0; }

  .display {
    font-family: 'Bungee Shade', cursive;
    color: var(--gold);
    letter-spacing: 0.02em;
  }

  .heading {
    font-family: 'Bungee', cursive;
    color: var(--gold);
    letter-spacing: 0.01em;
  }

  a { color: inherit; }

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

  /* ---------- Top bar ---------- */

  .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6vw;
    background: rgba(6, 9, 21, 0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(242, 180, 65, 0.25);
  }

  .topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .topbar-brand img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold-dim);
  }

  .topbar-brand span {
    font-family: 'Bungee', cursive;
    color: var(--cream);
    font-size: 18px;
  }

  .etsy-link {
    text-decoration: none;
    font-family: 'Bungee', cursive;
    font-size: 13px;
    color: var(--navy-deep);
    background: var(--gold);
    padding: 10px 18px;
    border-radius: 2px;
    box-shadow: 3px 3px 0 var(--gold-dim);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
  }

  .etsy-link:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--gold-dim);
  }

  /* ---------- Hero ---------- */

  .hero {
    position: relative;
    overflow: hidden;
    padding: 90px 6vw 70px;
    text-align: center;
    background:
      radial-gradient(1px 1px at 10% 20%, var(--cream) 100%, transparent),
      radial-gradient(1px 1px at 80% 15%, var(--cream) 100%, transparent),
      radial-gradient(1.5px 1.5px at 25% 60%, var(--cream) 100%, transparent),
      radial-gradient(1px 1px at 60% 75%, var(--cream) 100%, transparent),
      radial-gradient(1px 1px at 92% 50%, var(--cream) 100%, transparent),
      radial-gradient(1.5px 1.5px at 45% 30%, var(--cream) 100%, transparent),
      radial-gradient(1px 1px at 70% 85%, var(--cream) 100%, transparent),
      radial-gradient(1px 1px at 15% 85%, var(--cream) 100%, transparent),
      linear-gradient(180deg, var(--navy-deep), var(--navy) 70%);
  }

  .starburst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(
      from 0deg,
      rgba(242, 180, 65, 0.12) 0deg 4deg,
      transparent 4deg 12deg
    );
    border-radius: 50%;
    animation: spin 140s linear infinite;
    pointer-events: none;
  }

  @keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }

  @keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .hero-content { position: relative; z-index: 1; }

  .hero-logo {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    object-fit: cover;
    margin: 0 auto 28px;
    box-shadow: 0 0 0 8px rgba(242, 180, 65, 0.08), 0 0 40px rgba(242, 180, 65, 0.25);
  }

  .hero h1 {
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.05;
    margin-bottom: 18px;
  }

  .hero p {
    max-width: 480px;
    margin: 0 auto 34px;
    color: var(--cream);
    opacity: 0.85;
    font-size: 20px;
  }

  .hero-cta {
    display: inline-block;
    text-decoration: none;
    font-family: 'Bungee', cursive;
    font-size: 15px;
    color: var(--navy-deep);
    background: var(--gold);
    padding: 16px 34px;
    border-radius: 2px;
    box-shadow: 4px 4px 0 var(--red);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .hero-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--red);
  }

  /* ---------- Category sections ---------- */

  .category {
    padding: 80px 6vw;
    border-top: 1px solid rgba(242, 180, 65, 0.18);
  }

  .category-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
  }

  .category-head h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 10px;
  }

  .category-head p {
    color: var(--chrome);
    font-size: 19px;
    margin: 0;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
  }

  .product-card {
    position: relative;
    padding: 34px 26px 28px;
    border: 1px solid rgba(242, 180, 65, 0.3);
    background:
      radial-gradient(circle at 1px 1px, rgba(242, 180, 65, 0.08) 1px, transparent 1px) 0 0 / 14px 14px,
      rgba(255, 255, 255, 0.015);
    text-align: center;
  }

  .product-card::before,
  .product-card::after,
  .corner-tl,
  .corner-br {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--gold);
  }

  .product-card::before {
    top: -1px; left: -1px;
    border-right: none; border-bottom: none;
  }

  .product-card::after {
    bottom: -1px; right: -1px;
    border-left: none; border-top: none;
  }

  .product-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
  }

  .product-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .product-card h3 {
    font-family: 'Bungee', cursive;
    color: var(--cream);
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 12px;
    min-height: 46px;
  }

  .product-card p {
    color: var(--cream);
    opacity: 0.75;
    font-size: 17px;
    margin: 0 0 22px;
  }

  .product-link {
    display: inline-block;
    text-decoration: none;
    font-family: 'Bungee', cursive;
    font-size: 12px;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    padding: 10px 20px;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .product-link:hover {
    background: var(--gold);
    color: var(--navy-deep);
  }

  .category--crafting {
    background: linear-gradient(180deg, transparent, rgba(194, 59, 51, 0.05));
  }

  /* ---------- Gadget spec panels ---------- */

  .gadget-panels {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
  }

  .gadget-panel {
    position: relative;
    display: flex;
    gap: 36px;
    padding: 36px;
    border: 1px solid rgba(242, 180, 65, 0.3);
    background: rgba(255, 255, 255, 0.015);
    text-align: left;
  }

  .gadget-panel::before,
  .gadget-panel::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--gold);
  }

  .gadget-panel::before {
    top: -1px; left: -1px;
    border-right: none; border-bottom: none;
  }

  .gadget-panel::after {
    bottom: -1px; right: -1px;
    border-left: none; border-top: none;
  }

  .gadget-panel-icon {
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(242, 180, 65, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
  }

  .gadget-panel-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .gadget-panel-content { flex: 1 1 auto; min-width: 0; }

  .gadget-panel-content h3 {
    font-family: 'Bungee', cursive;
    color: var(--cream);
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .gadget-intro {
    color: var(--cream);
    opacity: 0.8;
    font-size: 17px;
    margin: 0 0 18px;
    max-width: 62ch;
  }

  .feature-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 8px;
  }

  .feature-list li {
    position: relative;
    padding-left: 22px;
    color: var(--chrome);
    font-size: 16px;
  }

  .feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: var(--gold);
  }

  @media (max-width: 620px) {
    .gadget-panel { flex-direction: column; gap: 20px; }
    .gadget-panel-icon { width: 72px; height: 72px; }
  }

  /* ---------- Footer ---------- */

  footer {
    padding: 50px 6vw 40px;
    text-align: center;
    border-top: 1px solid rgba(242, 180, 65, 0.18);
  }

  footer p {
    margin: 0 0 18px;
    color: var(--cream);
    opacity: 0.65;
    font-size: 16px;
  }

  footer .etsy-link {
    display: inline-block;
  }

  .fine-print {
    margin-top: 24px !important;
    font-size: 13px !important;
    opacity: 0.4 !important;
  }

  .flag-icon {
    display: inline-block;
    vertical-align: -2px;
    margin-left: 6px;
    border-radius: 1px;
  }

  @media (max-width: 520px) {
    .topbar-brand span { display: none; }
    .hero { padding: 70px 6vw 56px; }
  }

/* ---------- Detail page: compact hero ---------- */

.hero--page {
  padding: 60px 6vw 50px;
}

.hero--page .hero-content { max-width: 640px; margin: 0 auto; }

.back-link {
  display: inline-block;
  text-decoration: none;
  color: var(--chrome);
  font-size: 15px;
  margin-bottom: 22px;
  opacity: 0.85;
}

.back-link:hover { opacity: 1; }

.hero--page h1 {
  font-size: clamp(32px, 5vw, 52px);
}

/* ---------- Feature blocks ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.feature-block {
  position: relative;
  padding: 28px 26px;
  border: 1px solid rgba(242, 180, 65, 0.3);
  background: rgba(255, 255, 255, 0.015);
}

.feature-block::before,
.feature-block::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
}

.feature-block::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.feature-block::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.feature-block h3 {
  font-family: 'Bungee', cursive;
  color: var(--cream);
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.feature-block p {
  color: var(--cream);
  opacity: 0.78;
  font-size: 16px;
  margin: 0;
}

/* ---------- Comparison panels ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: left;
}

.compare-panel {
  position: relative;
  padding: 30px 28px;
  border: 1px solid rgba(242, 180, 65, 0.35);
  background: rgba(255, 255, 255, 0.02);
  scroll-margin-top: 90px;
}

.compare-panel::before,
.compare-panel::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
}

.compare-panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.compare-panel::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.compare-panel h3 {
  font-family: 'Bungee', cursive;
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 18px;
}

.compare-panel dl {
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.compare-panel dt {
  font-family: 'Bungee', cursive;
  color: var(--chrome);
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.compare-panel dd {
  margin: 0;
  color: var(--cream);
  opacity: 0.85;
  font-size: 16px;
}

.compare-note {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--cream);
  opacity: 0.7;
  font-size: 16px;
}

/* ---------- Why list ---------- */

.why-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 680px;
  display: grid;
  gap: 16px;
  text-align: left;
}

.why-list li {
  position: relative;
  padding-left: 26px;
  color: var(--cream);
  opacity: 0.85;
  font-size: 18px;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--gold);
}

.why-list strong {
  color: var(--cream);
  opacity: 1;
  font-weight: 600;
}

/* ---------- Setup steps ---------- */

.steps-list {
  list-style: none;
  margin: 0 auto 20px;
  padding: 0;
  max-width: 560px;
  display: grid;
  gap: 22px;
  text-align: left;
  counter-reset: step;
}

.steps-list li {
  position: relative;
  padding-left: 52px;
  color: var(--cream);
  opacity: 0.85;
  font-size: 18px;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', cursive;
  color: var(--gold);
  font-size: 15px;
}

/* ---------- Specifications ---------- */

.spec-list {
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: grid;
  gap: 0;
  text-align: left;
}

.spec-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(242, 180, 65, 0.15);
}

.spec-list dt {
  font-family: 'Bungee', cursive;
  color: var(--chrome);
  font-size: 13px;
  line-height: 1.5;
}

.spec-list dd {
  margin: 0;
  color: var(--cream);
  opacity: 0.85;
  font-size: 16px;
}

.detail-section {
  padding: 64px 6vw;
  border-top: 1px solid rgba(242, 180, 65, 0.18);
}

.detail-section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.detail-section-head h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  margin-bottom: 8px;
}

.detail-section-head p {
  color: var(--chrome);
  font-size: 18px;
  margin: 0;
}

.detail-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Gadget panel link pairing ---------- */

.gadget-panel-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.detail-link {
  text-decoration: none;
  color: var(--chrome);
  font-size: 15px;
  border-bottom: 1px solid rgba(111, 168, 201, 0.4);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.detail-link:hover {
  color: var(--cream);
  border-color: var(--cream);
}
