:root {
  color-scheme: dark;
  --ink: #06101f;
  --panel: #0b1b30;
  --panel-2: #102640;
  --text: #f7f5ef;
  --muted: #a6b5c8;
  --blue: #24b7ff;
  --cyan: #55f4ef;
  --gold: #f2c14e;
  --red: #ff6b6b;
  --line: rgba(255, 255, 255, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(85, 244, 239, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 244, 239, .025) 1px, transparent 1px),
    radial-gradient(circle at 15% 0%, rgba(36, 183, 255, .22), transparent 28rem),
    var(--ink);
  background-size: 64px 64px, 64px 64px, auto, auto;
  color: var(--text);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
button, select, input { font: inherit; }
button, .button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.15rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
button:hover, .button:hover { filter: brightness(1.08); }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
button[disabled] { opacity: .55; cursor: wait; }
.button.secondary { background: transparent; border: 1px solid var(--line); }
.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 16, 31, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 950; letter-spacing: .08em; }
.brand span { display: grid; line-height: 1; }
.brand small { color: var(--gold); font-size: .55rem; letter-spacing: .2em; margin-top: .22rem; }
.brand-mark {
  width: 43px; height: 43px; object-fit: contain; display: block;
  filter: drop-shadow(0 0 12px rgba(85, 244, 239, .28));
}
.nav-links { display: flex; align-items: center; gap: 1rem; }
.cart-link { text-decoration: none; font-weight: 800; }
.cart-count { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; margin-left: .25rem; border-radius: 99px; background: var(--blue); }
.hero {
  min-height: min(760px, calc(100vh - 72px));
  padding: clamp(4rem, 9vw, 7rem) 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { color: var(--gold); font-weight: 900; letter-spacing: .13em; text-transform: uppercase; font-size: .78rem; }
h1 { font-size: clamp(3.2rem, 8vw, 7rem); line-height: .87; letter-spacing: -.07em; margin: .35rem 0 1.4rem; }
.hero p { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-signal {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-signal::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(36, 183, 255, .18), transparent 65%);
  filter: blur(6px);
  z-index: -2;
}
.hero-signal img {
  width: min(86%, 430px);
  filter: drop-shadow(0 0 34px rgba(85, 244, 239, .24));
}
.signal-ring {
  position: absolute;
  border: 1px solid rgba(85, 244, 239, .22);
  border-radius: 50%;
  z-index: -1;
}
.ring-one { inset: 4%; }
.ring-two { inset: 16%; border-color: rgba(242, 193, 78, .26); }
.signal-label {
  position: absolute;
  bottom: 3%;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .28em;
}
.trust-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; color: var(--muted); font-size: .9rem; }
.trust-row span { border: 1px solid var(--line); border-radius: 999px; padding: .4rem .7rem; }
.brand-story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  margin-bottom: 5rem;
}
.brand-story > div { padding: 1.5rem; border-right: 1px solid var(--line); }
.brand-story > div:last-child { border-right: 0; }
.brand-story span { color: var(--gold); font: 900 .72rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.brand-story strong { display: block; margin-top: .65rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .07em; }
.brand-story p, .section-heading p { color: var(--muted); margin: .45rem 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 2rem 0 1.2rem; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.04em; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; padding-bottom: 5rem; }
.product-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.product-card::before {
  content: "OFFICIAL FAMUS";
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  padding: .3rem .5rem;
  border-radius: 999px;
  background: rgba(6, 16, 31, .82);
  border: 1px solid rgba(85, 244, 239, .35);
  color: var(--cyan);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.product-image { aspect-ratio: 1; width: 100%; object-fit: cover; background: var(--panel-2); display: block; }
.product-body { padding: 1rem; }
.product-body h3 { margin: 0 0 .3rem; font-size: 1.2rem; }
.price { color: var(--gold); font-size: 1.2rem; font-weight: 900; }
.product-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: .9rem 0; }
label { display: grid; gap: .3rem; color: var(--muted); font-size: .82rem; font-weight: 700; }
select, input {
  width: 100%; min-height: 44px; padding: .6rem .7rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--ink); color: var(--text);
}
.product-card button { width: 100%; }
.status, .empty, .notice { background: var(--panel); border: 1px solid var(--line); padding: 1.2rem; border-radius: 16px; color: var(--muted); }
.notice strong { color: var(--text); }
.error { color: #ffd0d0; border-color: rgba(255, 107, 107, .5); }
.cart-layout { display: grid; grid-template-columns: 1.6fr .8fr; gap: 1.5rem; padding: 4rem 0 7rem; }
.cart-list { display: grid; gap: .8rem; }
.cart-item { display: grid; grid-template-columns: 86px 1fr auto; gap: 1rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: .8rem; }
.cart-item img { width: 86px; height: 86px; object-fit: cover; border-radius: 10px; }
.summary { align-self: start; position: sticky; top: 95px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.summary button { width: 100%; margin-top: 1rem; }
.fine { color: var(--muted); font-size: .82rem; }
.order-wrap, .policy-wrap { max-width: 760px; padding: 5rem 0 8rem; }
.order-card { margin-top: 1.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.2rem, 4vw, 2rem); }
.order-state { color: var(--gold); font-size: 1.5rem; font-weight: 900; text-transform: capitalize; }
.policy-wrap h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { padding: 2rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.toast { position: fixed; inset: auto 1rem 1rem auto; background: var(--gold); color: var(--ink); font-weight: 900; border-radius: 12px; padding: .8rem 1rem; z-index: 30; }

@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-signal { max-width: 420px; width: 75%; margin: -1rem auto 0; }
  .brand-story { grid-template-columns: 1fr; }
  .brand-story > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-story > div:last-child { border-bottom: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .nav-links > a:not(.cart-link) { display: none; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item > button { grid-column: 2; justify-self: start; }
  .product-controls { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
