/* ═══════════════════════════════════════════════
   Puff Puff Pass — Smoke Shop Demo
   ═══════════════════════════════════════════════ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  --bg: #0a0a0f;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --neon: #00e68a;
  --purple: #a855f7;
  --purple-dim: #7c3aed;
  --gold: #fbbf24;
  --text: #e4e4e7;
  --text-dim: #a1a1aa;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
button { cursor: pointer; font-family: inherit }

/* ─── Header ──────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 1.4rem; font-weight: 800;
  letter-spacing: -0.02em;
}
.logo span { color: var(--neon) }
.logo small {
  display: block; font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); margin-top: -2px;
}

/* Desktop nav */
.nav { display: flex; gap: 28px; align-items: center }
.nav a {
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-dim); transition: color 0.3s;
}
.nav a:hover, .nav a.active { color: var(--neon) }

/* Mobile hamburger */
.menu-btn {
  display: none; background: none; border: none;
  color: var(--text); padding: 8px;
}
.menu-btn svg { width: 24px; height: 24px }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: 64px;
  left: 0; right: 0; bottom: 0; z-index: 99;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(24px);
  padding: 40px 24px; flex-direction: column; gap: 8px;
}
.mobile-nav.open { display: flex }
.mobile-nav a {
  font-size: 1.2rem; font-weight: 600; padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim); transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--neon) }

@media (max-width: 768px) {
  .nav { display: none }
  .menu-btn { display: block }
}

/* ─── Hero ────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 100px 24px 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 30% 40%, rgba(0,230,138,0.08), transparent),
    radial-gradient(ellipse 500px 500px at 70% 60%, rgba(168,85,247,0.08), transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 700px }
.hero-badge {
  display: inline-block; padding: 6px 16px;
  border: 1px solid var(--neon); border-radius: 100px;
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--neon); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero h1 .neon { color: var(--neon) }
.hero h1 .purple { color: var(--purple) }
.hero p {
  font-size: 1.1rem; color: var(--text-dim);
  max-width: 500px; margin: 0 auto 32px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap }

/* ─── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: none; transition: all 0.3s;
}
.btn-primary {
  background: var(--neon); color: #0a0a0f;
  box-shadow: 0 0 24px rgba(0,230,138,0.25);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0,230,138,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--purple);
  background: rgba(168,85,247,0.08);
}
.btn-sm { padding: 10px 20px; font-size: 0.75rem }
.btn-purple {
  background: var(--purple); color: #fff;
  box-shadow: 0 0 24px rgba(168,85,247,0.25);
}
.btn-purple:hover {
  box-shadow: 0 0 40px rgba(168,85,247,0.4);
  transform: translateY(-2px);
}

/* ─── Sections ────────────────────────────────── */
.section {
  padding: 80px 24px;
  max-width: 1200px; margin: 0 auto;
}
.section-label {
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--neon); margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1rem; color: var(--text-dim);
  max-width: 550px; margin-bottom: 48px;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center }
.text-center { text-align: center }

/* ─── Category Cards ──────────────────────────── */
.categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px }
.cat-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--border);
  transition: all 0.4s; cursor: pointer;
}
.cat-card:hover { border-color: var(--neon); transform: translateY(-4px) }
.cat-card-bg {
  position: absolute; inset: 0;
  transition: transform 0.6s;
}
.cat-card:hover .cat-card-bg { transform: scale(1.05) }
.cat-card-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  height: 100%; padding: 24px;
  background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, transparent 60%);
}
.cat-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px }
.cat-card p { font-size: 0.85rem; color: var(--text-dim) }
.cat-icon {
  font-size: 2.5rem; margin-bottom: 8px;
}

/* Category card gradient backgrounds */
.cat-thca .cat-card-bg { background: linear-gradient(135deg, #064e3b 0%, #0a0a0f 100%) }
.cat-vapes .cat-card-bg { background: linear-gradient(135deg, #4c1d95 0%, #0a0a0f 100%) }
.cat-glass .cat-card-bg { background: linear-gradient(135deg, #78350f 0%, #0a0a0f 100%) }

/* ─── Product Grid ────────────────────────────── */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s;
}
.product-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.product-img {
  aspect-ratio: 1; position: relative; overflow: hidden;
}
.product-img-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  transition: transform 0.5s;
}
.product-card:hover .product-img-bg { transform: scale(1.08) }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 8px;
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-new { background: var(--neon); color: #0a0a0f }
.badge-hot { background: #ef4444; color: #fff }
.badge-sale { background: var(--gold); color: #0a0a0f }

.product-info { padding: 16px }
.product-brand {
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--purple); margin-bottom: 4px;
}
.product-name {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 4px; line-height: 1.3;
}
.product-desc {
  font-size: 0.8rem; color: var(--text-dim);
  margin-bottom: 12px; line-height: 1.5;
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-price {
  font-size: 1.2rem; font-weight: 800; color: var(--neon);
}
.product-price .old {
  font-size: 0.85rem; color: var(--text-dim);
  text-decoration: line-through; font-weight: 500;
  margin-left: 6px;
}
.product-cart-btn {
  width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid var(--border);
  background: transparent; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.product-cart-btn:hover {
  background: var(--neon); color: #0a0a0f;
  border-color: var(--neon);
}

/* Product image gradient backgrounds */
.img-thca-1 { background: linear-gradient(135deg, #064e3b, #0d9488) }
.img-thca-2 { background: linear-gradient(135deg, #065f46, #34d399) }
.img-thca-3 { background: linear-gradient(135deg, #14532d, #22c55e) }
.img-thca-4 { background: linear-gradient(135deg, #052e16, #16a34a) }
.img-vape-1 { background: linear-gradient(135deg, #4c1d95, #8b5cf6) }
.img-vape-2 { background: linear-gradient(135deg, #581c87, #a855f7) }
.img-vape-3 { background: linear-gradient(135deg, #3b0764, #c084fc) }
.img-vape-4 { background: linear-gradient(135deg, #2e1065, #7c3aed) }
.img-glass-1 { background: linear-gradient(135deg, #78350f, #f59e0b) }
.img-glass-2 { background: linear-gradient(135deg, #713f12, #eab308) }
.img-glass-3 { background: linear-gradient(135deg, #854d0e, #fbbf24) }
.img-glass-4 { background: linear-gradient(135deg, #92400e, #fb923c) }

/* ─── Features Strip ──────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 60px;
}
.feature {
  text-align: center; padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.feature-icon {
  font-size: 2rem; margin-bottom: 12px;
}
.feature h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px }
.feature p { font-size: 0.8rem; color: var(--text-dim) }

/* ─── Page Hero (for inner pages) ─────────────── */
.page-hero {
  padding: 140px 24px 60px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 60%, rgba(0,230,138,0.06), transparent);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; margin-bottom: 12px;
  position: relative;
}
.page-hero p {
  font-size: 1rem; color: var(--text-dim);
  max-width: 500px; margin: 0 auto;
  position: relative;
}

/* ─── Filter Tabs ─────────────────────────────── */
.filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 18px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
  border: 1px solid var(--border);
  background: transparent; color: var(--text-dim);
  transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--neon); color: var(--neon);
  background: rgba(0,230,138,0.08);
}

/* ─── Age Gate ────────────────────────────────── */
.age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(30px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.age-gate.hidden { display: none }
.age-gate-box {
  text-align: center; max-width: 420px;
}
.age-gate-box h2 {
  font-size: 2rem; font-weight: 800;
  margin-bottom: 8px;
}
.age-gate-box p {
  color: var(--text-dim); margin-bottom: 28px;
}
.age-gate-btns { display: flex; gap: 12px; justify-content: center }
.age-deny {
  font-size: 0.8rem; color: var(--text-dim);
  margin-top: 20px;
}

/* ─── Contact / Info Cards ────────────────────── */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 20px;
}
.info-card {
  padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.info-card h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 16px; color: var(--neon);
}
.info-card p, .info-card li {
  font-size: 0.9rem; color: var(--text-dim);
  line-height: 1.8;
}
.info-card ul { list-style: none }
.info-card li::before {
  content: '→ '; color: var(--purple);
}
.hours-table {
  width: 100%; border-collapse: collapse;
}
.hours-table td {
  padding: 8px 0; font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.hours-table td:last-child {
  text-align: right; color: var(--neon); font-weight: 600;
}

/* ─── Map placeholder ─────────────────────────── */
.map-placeholder {
  width: 100%; height: 300px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 0.9rem;
  margin-top: 40px;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(0.8) invert(0.92) contrast(0.9);
}

/* ─── Footer ──────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-brand {
  font-size: 1.2rem; font-weight: 800; margin-bottom: 8px;
}
.footer-brand span { color: var(--neon) }
.footer p { font-size: 0.8rem; color: var(--text-dim) }
.footer-links {
  display: flex; gap: 24px; justify-content: center;
  margin: 16px 0;
}
.footer-links a {
  font-size: 0.8rem; color: var(--text-dim);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--neon) }
.footer-legal {
  font-size: 0.7rem; color: var(--text-dim);
  margin-top: 24px; opacity: 0.6;
}

/* ─── Promo Banner ────────────────────────────── */
.promo {
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(0,230,138,0.12));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px; text-align: center;
  margin-top: 60px;
}
.promo h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px }
.promo p { color: var(--text-dim); margin-bottom: 24px }

/* ─── Scroll animations ──────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0) }

/* ─── Responsive ──────────────────────────────── */
@media (max-width: 640px) {
  .hero { min-height: 90vh; padding: 100px 20px 40px }
  .section { padding: 60px 20px }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px }
  .product-info { padding: 12px }
  .product-name { font-size: 0.85rem }
  .product-price { font-size: 1rem }
  .product-desc { display: none }
  .product-cart-btn { width: 34px; height: 34px }
  .categories { grid-template-columns: 1fr }
  .features { grid-template-columns: 1fr 1fr }
}
