/* ==========================================================================
   Duggan Vape — modern redesign concept.
   Black + refined champagne gold, glassmorphism, ambient smoke,
   scroll-reveal animations. Keeps real content/copy/prices/nav
   structure from the live Shopify store; product photography is
   placeholder gradient art (not scraped from the live site).
   ========================================================================== */

:root {
  --black: #07060a;
  --black-2: #0d0b12;
  --charcoal: #17141d;
  --gold: #d4af6a;
  --gold-light: #f3e0ad;
  --gold-dark: #a9803f;
  --purple: #6d3fa0;
  --amber: #ff9a3d;
  --white: #f7f5f2;
  --gray: #b3aeb8;
  --gray-dim: #726d7c;
  --radius: 18px;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Poppins', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---------- Concept banner ---------- */
#concept-banner {
  background: var(--gold);
  color: #201705;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ---------- Logo ---------- */
.header-logo, .age-gate-logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--white);
}
.header-logo span, .age-gate-logo span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #241905;
  box-shadow: 0 6px 24px rgba(212, 175, 106, 0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(212, 175, 106, 0.5); }
.btn-outline {
  border-color: rgba(247, 245, 242, 0.25);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { color: var(--gray); padding: 0.85em 1.4em; }
.btn-ghost:hover { color: var(--white); }
.btn-lg { padding: 1.1em 2.2em; font-size: 0.95rem; }
.btn-sm { padding: 0.6em 1em; font-size: 0.78rem; width: 100%; }

/* ==========================================================================
   Age Gate
   ========================================================================== */
#age-gate {
  position: fixed; inset: 0; z-index: 999;
  background: radial-gradient(circle at 50% 15%, #1a1220 0%, var(--black) 70%);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
#age-gate.hidden { display: none; }
.age-gate-card {
  max-width: 460px; width: 100%; text-align: center;
  padding: 44px 30px; border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 106, 0.2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}
.age-gate-logo { font-size: 2rem; margin-bottom: 22px; }
.age-gate-card h2 { font-size: 1.2rem; margin-bottom: 14px; font-weight: 600; }
.age-gate-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.65; margin-bottom: 28px; }
.age-gate-actions { display: flex; flex-direction: column; gap: 10px; }

/* ==========================================================================
   Ambient smoke background
   ========================================================================== */
.smoke-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--black); }
.smoke-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; mix-blend-mode: screen; }
.blob-1 { width: 50vw; height: 50vw; background: radial-gradient(circle, var(--purple), transparent 70%); top: -10%; left: -10%; animation: drift 24s ease-in-out infinite; }
.blob-2 { width: 40vw; height: 40vw; background: radial-gradient(circle, var(--gold-dark), transparent 70%); top: 30%; right: -12%; opacity: 0.25; animation: drift 28s ease-in-out infinite reverse; }
.blob-3 { width: 45vw; height: 45vw; background: radial-gradient(circle, var(--amber), transparent 75%); bottom: -15%; left: 20%; opacity: 0.18; animation: drift 32s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(5%, 6%) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .smoke-blob { animation: none !important; } }

/* ==========================================================================
   Announcement bar (marquee)
   ========================================================================== */
#announcement-bar {
  background: var(--charcoal);
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 106, 0.15);
  padding: 9px 0;
}
.marquee { display: flex; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee span { padding-right: 40px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--gold-light); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Header
   ========================================================================== */
#site-header {
  position: sticky; top: 33px; z-index: 150;
  background: rgba(7, 6, 10, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  max-width: 1300px; margin: 0 auto; padding: 18px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
#main-nav { display: flex; gap: 30px; align-items: center; }
#main-nav > a, .nav-dropdown > a {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gray); transition: color 0.2s; display: flex; align-items: center; gap: 5px;
}
#main-nav a:hover, .nav-dropdown:hover > a { color: var(--gold-light); }
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: rgba(13, 11, 18, 0.97); border: 1px solid rgba(212, 175, 106, 0.15);
  border-radius: 12px; padding: 10px; min-width: 200px;
  opacity: 0; visibility: hidden; transition: all 0.25s ease;
  backdrop-filter: blur(16px);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.dropdown-menu a { display: block; padding: 9px 14px; font-size: 0.82rem; color: var(--gray); border-radius: 8px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.dropdown-menu a:hover { background: rgba(212, 175, 106, 0.08); color: var(--gold-light); }

.header-logo { text-align: center; font-size: 1.6rem; }
.header-actions { display: flex; justify-content: flex-end; gap: 18px; align-items: center; }
.header-actions button { background: none; border: none; color: var(--white); position: relative; }
.header-actions button:hover { color: var(--gold-light); }
.cart-count {
  position: absolute; top: -8px; right: -8px; background: var(--gold); color: #241905;
  font-size: 0.62rem; font-weight: 800; width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

#nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 30px; height: 30px; background: none; border: none; }
#nav-toggle span { width: 100%; height: 2px; background: var(--white); border-radius: 2px; }

#mobile-nav { display: none; flex-direction: column; padding: 8px 24px 20px; }
#mobile-nav a { padding: 12px 0; font-weight: 600; color: var(--gray); border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }
#mobile-nav.open { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */
#hero {
  position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 60px 24px;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(109, 63, 160, 0.35), transparent 60%),
    linear-gradient(180deg, rgba(18,14,24,0.55) 0%, var(--black) 100%),
    url('photos/hero-smoke.jpg') center 30% / cover no-repeat;
}
.hero-media::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 40%, rgba(212,175,106,0.08), transparent 45%),
                     radial-gradient(circle at 70% 60%, rgba(109,63,160,0.18), transparent 50%);
  filter: blur(4px);
}
.hero-scrim { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, transparent 0%, var(--black) 85%); }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 720px; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero-title { font-family: var(--serif); font-weight: 700; font-size: clamp(3.2rem, 9vw, 6rem); line-height: 1; margin-bottom: 22px; }
.hero-title span { display: block; font-style: italic; background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--gray); font-size: 1.05rem; max-width: 500px; margin: 0 auto 34px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-delivery { font-size: 0.85rem; color: var(--gray-dim); }
.hero-delivery strong { color: var(--gold-light); }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-cue span { display: block; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(-10px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Shared sections
   ========================================================================== */
section { padding: 90px 0; }
.section-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.section-kicker { text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-title { text-align: center; font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 50px; }

/* ---------- Placeholder media gradients ---------- */
/* Real photo media elements (background-image set inline per element) */
.collection-media, .product-media, .featured-media {
  background-size: cover;
  background-position: center;
  background-color: #1a1220;
}

/* ---------- Collections ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.collection-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  border: 1px solid rgba(255,255,255,0.08); transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.collection-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(212, 175, 106, 0.18); }
.collection-media { position: absolute; inset: 0; transition: transform 0.5s ease; }
.collection-card:hover .collection-media { transform: scale(1.08); }
.collection-label {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 55%);
}
.collection-label h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }
.collection-label span { font-size: 0.8rem; color: var(--gold-light); opacity: 0; transform: translateX(-6px); transition: all 0.3s ease; }
.collection-card:hover .collection-label span { opacity: 1; transform: translateX(0); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius);
  padding: 16px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(212, 175, 106, 0.35); box-shadow: 0 18px 40px rgba(0,0,0,0.4); }
.product-media { position: relative; aspect-ratio: 1; border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.badge {
  position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  color: var(--gold-light); font-size: 0.68rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(212,175,106,0.3);
}
.badge-sale { background: var(--amber); color: #2a1400; border-color: transparent; }
.product-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.price { font-size: 0.9rem; color: var(--gold-light); font-weight: 600; margin-bottom: 12px; }
.price .was { color: var(--gray-dim); text-decoration: line-through; font-weight: 400; margin-right: 6px; }
.view-all-wrap { text-align: center; margin-top: 46px; }

/* ---------- Featured ---------- */
.featured-card { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); }
.featured-media { aspect-ratio: 4/3; }
.featured-copy { padding: 20px 40px 20px 0; }
.featured-copy h3 { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; margin: 6px 0 16px; }
.featured-copy p { color: var(--gray); line-height: 1.7; margin-bottom: 26px; }

/* ---------- Trust strip ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.trust-item svg { color: var(--gold); margin-bottom: 14px; }
.trust-item h4 { font-size: 1rem; margin-bottom: 6px; }
.trust-item p { color: var(--gray-dim); font-size: 0.85rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer#contact { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 70px; }
.footer-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px 50px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { color: var(--gray-dim); margin-top: 14px; font-size: 0.87rem; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--gray-dim); font-size: 0.88rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-newsletter form { display: flex; border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; overflow: hidden; margin-bottom: 20px; }
.footer-newsletter input { flex: 1; background: none; border: none; padding: 11px 16px; color: var(--white); font-size: 0.85rem; }
.footer-newsletter input::placeholder { color: var(--gray-dim); }
.footer-newsletter button { background: var(--gold); border: none; padding: 0 18px; color: #241905; font-weight: 700; }
.payment-icons { display: flex; gap: 10px; }
.payment-icons span { font-size: 0.65rem; font-weight: 700; color: var(--gray-dim); border: 1px solid rgba(255,255,255,0.12); padding: 4px 8px; border-radius: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 24px; text-align: center; color: var(--gray-dim); font-size: 0.8rem; }

/* ==========================================================================
   Back to top
   ========================================================================== */
#back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: var(--white);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 90;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--gold); border-color: var(--gold); color: #241905; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .featured-copy { padding: 0 24px 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  #main-nav, .header-inner .header-logo ~ .header-actions svg + svg { display: none; }
  #main-nav { display: none; }
  #nav-toggle { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-newsletter form { max-width: 320px; margin-left: auto; margin-right: auto; }
  .payment-icons { justify-content: center; }
}
