/* ═══════════════════════════════════════════
   HASH SHACK — Shared Styles
   ═══════════════════════════════════════════ */
:root {
  --gold:    #c9a84c;
  --amber:   #e8b84b;
  --green:   #3d7a4a;
  --lime:    #7bbf6a;
  --dark:    #0d0d0b;
  --darker:  #080807;
  --card-bg: #141410;
  --text:    #e8e4d8;
  --muted:   #8a8570;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--darker);
  color: var(--text);
  overflow-x: hidden;
}

/* ── CANVAS ── */
#canvas-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: linear-gradient(to bottom, rgba(8,8,7,.97) 0%, rgba(8,8,7,0) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,.08);
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 0;
  background: none;
}
.nav-logo-text {
  font-family: 'Space Mono', monospace;
  font-weight: 700; font-size: 1.1rem;
  color: var(--amber); letter-spacing: .04em;
}
.footer-logo-link { display: inline-block; margin-bottom: .75rem; }
.footer-badge-logo {
  width: 120px; height: 120px;
  object-fit: contain;
  opacity: .92;
  transition: opacity .25s, transform .25s;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}
.footer-badge-logo:hover { opacity: 1; transform: scale(1.04); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: .9rem; font-weight: 500; letter-spacing: .03em;
  transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.btn-cart {
  background: none;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 8px;
  color: var(--gold); padding: .5rem 1rem;
  cursor: pointer; font-family: inherit; font-size: .85rem;
  display: flex; align-items: center; gap: .4rem;
  transition: all .25s;
}
.btn-cart:hover {
  border-color: var(--amber);
  background: rgba(201,168,76,.08);
  color: var(--amber);
}
.cart-count {
  background: var(--gold); color: var(--darker);
  border-radius: 50%; width: 18px; height: 18px;
  font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #a86e1e);
  color: var(--darker); border: none; border-radius: 10px;
  padding: .85rem 2rem; font-family: inherit;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: all .3s; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,.35);
}
.btn-secondary {
  background: rgba(255,255,255,.05); color: var(--text);
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  padding: .85rem 2rem; font-family: inherit;
  font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: all .3s; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }

/* ── PAGE HERO ── */
.page-hero {
  min-height: 40vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative; z-index: 1;
}
.page-hero-eyebrow {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .75rem;
}
.page-hero-title {
  font-family: 'Space Mono', monospace;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.05;
  color: var(--text); margin-bottom: 1rem;
}
.page-hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--lime));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-sub {
  max-width: 580px; color: var(--muted);
  font-size: 1.05rem; line-height: 1.65;
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .75rem;
}
.section-title {
  font-family: 'Space Mono', monospace;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; color: var(--text); line-height: 1.1;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--lime));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CARDS ── */
.product-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; overflow: hidden;
  transition: all .35s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer; position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,.3);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(201,168,76,.12);
}
.product-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--green); color: #fff;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 50px;
}
.product-badge.hot { background: #c0392b; }
.product-badge.new { background: var(--gold); color: var(--darker); }
.product-img-wrap {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: visible;
  perspective: 600px;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1rem;
  transform-style: preserve-3d;
  animation: imgFloat 4s ease-in-out infinite;
  transition: filter .3s ease;
  will-change: transform;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.5));
}
.product-card:hover .product-img-wrap img {
  filter: drop-shadow(0 20px 32px rgba(0,0,0,.7));
  animation-play-state: paused;
}
@keyframes imgFloat {
  0%,100% { transform: translateY(0px) rotateY(0deg); }
  25%      { transform: translateY(-6px) rotateY(4deg); }
  75%      { transform: translateY(-3px) rotateY(-4deg); }
}
.product-icon {
  width: 110px; height: 110px; position: relative;
  transform-style: preserve-3d;
  animation: spin3d 10s linear infinite;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
@keyframes spin3d {
  from { transform: rotateY(0deg) rotateX(15deg); }
  to   { transform: rotateY(360deg) rotateX(15deg); }
}
.product-card:hover .product-icon { animation-duration: 4s; }
.icon-label { font-size: 2.8rem; }
.glow {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 20px;
  border-radius: 50%; filter: blur(12px); opacity: .5;
}
.glow-gold  { background: var(--gold); }
.glow-green { background: var(--lime); }
.glow-amber { background: var(--amber); }
.product-body { padding: 1.25rem 1.5rem 1.5rem; }
.product-origin {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .4rem;
}
.product-name {
  font-family: 'Space Mono', monospace;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); margin-bottom: .5rem;
}
.product-desc {
  font-size: .83rem; color: var(--muted);
  line-height: 1.6; margin-bottom: 1rem;
}
.product-meta {
  display: flex; justify-content: space-between; align-items: center;
}
.product-price {
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem; font-weight: 700; color: var(--amber);
}
.product-price .per { font-size: .72rem; color: var(--muted); }
.stars { font-size: .8rem; color: var(--gold); }
.btn-add {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.4);
  background: rgba(201,168,76,.08); color: var(--gold);
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; font-family: inherit; line-height: 1;
}
.btn-add:hover {
  background: var(--gold); color: var(--darker);
  border-color: var(--gold); transform: scale(1.1);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex; justify-content: center;
  gap: .5rem; flex-wrap: wrap; margin-bottom: 3rem;
}
.filter-btn {
  border: 1px solid rgba(255,255,255,.12);
  background: none; color: var(--muted);
  border-radius: 50px; padding: .45rem 1.2rem;
  font-family: inherit; font-size: .85rem; cursor: pointer;
  transition: all .25s;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--gold); color: var(--amber);
  background: rgba(201,168,76,.08);
}

/* ── MARQUEE ── */
.marquee-strip {
  padding: 1.5rem 0;
  background: rgba(201,168,76,.07);
  border-top: 1px solid rgba(201,168,76,.15);
  border-bottom: 1px solid rgba(201,168,76,.15);
  overflow: hidden; white-space: nowrap;
  position: relative; z-index: 1;
}
.marquee-inner { display: inline-block; animation: marquee 28s linear infinite; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-inner span {
  font-family: 'Space Mono', monospace; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); padding: 0 2rem;
}
.marquee-inner span.sep { color: var(--muted); padding: 0 .5rem; }

/* ── CONTENT SECTIONS ── */
.content-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 5rem 2rem;
}
.content-wrap-narrow {
  max-width: 800px; margin: 0 auto;
  padding: 5rem 2rem;
}
.divider {
  border: none; border-top: 1px solid rgba(255,255,255,.07);
  margin: 3rem 0;
}

/* ── INFO CARD ── */
.info-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 2rem;
  transition: border-color .3s;
}
.info-card:hover { border-color: rgba(201,168,76,.2); }
.info-card h3 {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: .75rem;
}
.info-card p {
  color: var(--muted); font-size: .9rem; line-height: 1.7;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9000;
  background: var(--card-bg);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 12px; padding: 1rem 1.4rem;
  display: flex; align-items: center; gap: .75rem;
  transform: translateY(100px); opacity: 0;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
  font-size: .88rem; color: var(--text);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.3rem; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 3rem 3rem 2rem;
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 2rem; flex-wrap: wrap;
}
.footer-brand p {
  color: var(--muted); font-size: .85rem; line-height: 1.65;
  max-width: 280px; margin-top: .75rem;
}
.footer-links h4 {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  color: var(--muted); text-decoration: none;
  font-size: .88rem; transition: color .2s;
}
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { color: var(--muted); font-size: .78rem; }
.age-gate {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 50px; padding: .3rem .9rem;
  font-size: .75rem; color: var(--gold);
  font-weight: 700; letter-spacing: .05em;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  position: relative; z-index: 1;
  padding: 1rem 2rem 0;
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--muted);
  padding-top: 5.5rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb .sep { color: rgba(255,255,255,.2); }
.breadcrumb .current { color: var(--text); }

/* ── PULSE ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.4); }
}

/* ── RESPONSIVE ── */
@media(max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  footer { padding: 2rem 1.5rem; }
  .content-wrap, .content-wrap-narrow { padding: 3rem 1.25rem; }
}
