/* ============================================================
   7 STAR SMOKE & VAPE — styles for brands.html + flavors.html
   Same design tokens as the homepage.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --black2: #111111;
  --black3: #1a1a1a;
  --purple: #a855f7;
  --purple2: #7c3aed;
  --purple3: #c084fc;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --white: #ffffff;
  --gray: #9ca3af;
  --gray2: #6b7280;
  --yellow: #fbbf24;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
::selection { background: rgba(168,85,247,0.35); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--purple3); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ===== AGE VERIFICATION ===== */
.age-ok .age-overlay { display: none; }
.age-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.age-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.age-box {
  background: var(--white); border-radius: 20px; padding: 48px 40px;
  max-width: 440px; width: 90%; text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  animation: ageIn 0.5s cubic-bezier(0.16,1,0.3,1);
}
@keyframes ageIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.age-box h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem; color: var(--black);
  letter-spacing: 1px; margin-bottom: 12px;
}
.age-box p { color: var(--gray2); font-size: 0.95rem; margin-bottom: 28px; }
.age-btn {
  display: block; width: 100%; padding: 14px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.3s; margin-bottom: 12px;
}
.age-btn-yes { background: var(--black); color: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.age-btn-yes:hover { background: var(--purple); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(168,85,247,0.4); }
.age-btn-no { background: transparent; color: var(--black); border: 1.5px solid #ddd; }
.age-btn-no:hover { background: #f5f5f5; border-color: #bbb; }
.age-terms { color: #999; font-size: 0.7rem; margin-top: 8px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--black); text-align: center;
  padding: 8px 16px; font-size: 0.78rem;
  color: rgba(255,255,255,0.65); border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,10,10,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled { background: rgba(10,10,10,0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem;
  color: var(--white); flex-shrink: 0;
}
.nav-logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--white); letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.3px;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--purple3); }
.nav-cta {
  display: flex; align-items: center; gap: 6px;
  background: var(--white); color: var(--black);
  padding: 9px 18px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; text-decoration: none;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--purple3); color: var(--black); }
.nav-cta svg { width: 14px; height: 14px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; padding: 6px; }
.nav-mobile-menu { display: none; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block; color: rgba(255,255,255,0.7);
  text-decoration: none; padding: 10px 0;
  font-size: 0.9rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-mobile-menu a:hover { color: var(--purple3); }

/* ===== PAGE HEADER ===== */
.page-main { flex: 1 0 auto; }
.page-head { padding: 48px 0 44px; background: var(--black); }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--gray); margin-bottom: 28px;
}
.breadcrumb a { color: var(--gray); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--purple3); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.5; flex-shrink: 0; }
.breadcrumb .current { color: rgba(255,255,255,0.85); }

.page-head-inner { text-align: center; }
.section-label {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--purple3); margin-bottom: 12px;
}
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: 1px; }
.section-sub { color: var(--gray); font-size: 0.92rem; margin-top: 8px; }

/* ===== BRAND GRID (3 per row) ===== */
.brand-section { padding: 0 0 80px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-card {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 1; display: block; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--black3);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.brand-card:hover {
  border-color: rgba(168,85,247,0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(168,85,247,0.12);
}
.brand-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.brand-card:hover img { transform: scale(1.1); }
.brand-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 42%, transparent 100%);
  display: flex; align-items: flex-end; padding: 20px;
}
.brand-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 1px; }
.brand-tagline { font-size: 0.72rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.brand-count {
  font-size: 0.72rem; color: var(--purple3);
  font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-top: 6px;
  display: flex; align-items: center; gap: 5px;
}
.brand-count svg { width: 12px; height: 12px; }

/* ===== FLAVOR GRID ===== */
.flavor-section { padding: 0 0 80px; }
.flavor-banner {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px; aspect-ratio: 21/6; min-height: 180px;
  background: var(--black3);
}
.flavor-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flavor-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.25) 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 40px;
}
.flavor-banner-name { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; letter-spacing: 2px; }
.flavor-banner-tagline { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 6px; }
.flavor-banner-count {
  display: inline-block; margin-top: 14px; align-self: flex-start;
  padding: 5px 16px; border-radius: 50px;
  border: 1px solid rgba(168,85,247,0.4); background: rgba(168,85,247,0.1);
  color: var(--purple3); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}

/* Heading strip above the list */
.flavor-list-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding-bottom: 14px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.flavor-list-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: 2px;
}
.flavor-list-note {
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray); font-weight: 600; white-space: nowrap;
}

/* Text-only flavor cards: color lives in a stripe and a faint tint,
   the flavor name is the whole design. --fc is set per card from JS. */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.flavor-card {
  --fc: 168,85,247;
  position: relative;
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 13px 16px 13px 0;
  border-radius: 12px;
  border: 1px solid rgba(var(--fc), 0.22);
  background:
    linear-gradient(135deg, rgba(var(--fc),0.13) 0%, rgba(var(--fc),0.03) 55%, rgba(255,255,255,0.02) 100%),
    var(--black3);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.3s;
}
.flavor-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: rgb(var(--fc));
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.flavor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--fc), 0.55);
  box-shadow: 0 16px 34px rgba(var(--fc), 0.16);
}
.flavor-card:hover::before { width: 7px; }

.flavor-body { flex: 1; min-width: 0; padding-left: 18px; }
.flavor-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.28rem; line-height: 1.12; letter-spacing: 1.2px;
  color: rgba(255,255,255,0.96);
}
/* Optional per-flavor photo, if one is ever added to the data. */
.flavor-thumb {
  width: 46px; height: 46px; border-radius: 10px; object-fit: cover;
  flex-shrink: 0; margin-left: 18px; border: 1px solid rgba(255,255,255,0.1);
}
.flavor-card:has(.flavor-thumb) .flavor-body { padding-left: 0; }

.flavor-tag {
  flex-shrink: 0;
  padding: 4px 10px; border-radius: 6px;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.flavor-tag-new { background: var(--purple); color: var(--white); }
.flavor-tag-stock { background: #10b981; color: var(--white); }
.flavor-tag-sale { background: #ef4444; color: var(--white); }
.flavor-tag-popular { background: var(--blue); color: var(--white); }
.flavor-tag-deal { background: #f59e0b; color: var(--black); }
.flavor-tag-premium { background: linear-gradient(135deg, var(--purple), var(--blue)); color: var(--white); }

/* ===== EMPTY / NOT FOUND STATE ===== */
.empty-state { text-align: center; padding: 60px 24px 80px; }
.empty-icon {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(59,130,246,0.15));
  display: flex; align-items: center; justify-content: center; color: var(--purple3);
}
.empty-icon svg { width: 30px; height: 30px; }
.empty-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 1px; margin-bottom: 8px; }
.empty-text { color: var(--gray); font-size: 0.9rem; margin-bottom: 24px; }

/* ===== CALL-TO-ACTION BAND ===== */
.cta-band {
  margin-top: 48px; border-radius: 20px;
  border: 1px solid rgba(168,85,247,0.22);
  background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(59,130,246,0.06));
  padding: 40px 32px; text-align: center;
}
.cta-band-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 1px; margin-bottom: 8px; }
.cta-band-text { color: var(--gray); font-size: 0.9rem; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: all 0.35s; border: none; cursor: pointer;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--white); color: var(--black); box-shadow: 0 4px 20px rgba(255,255,255,0.12); }
.btn-primary:hover { background: var(--purple3); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(168,85,247,0.35); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.28); }
.btn-secondary:hover { border-color: var(--purple3); color: var(--purple3); transform: translateY(-3px); }

/* ===== FOOTER ===== */
.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 56px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr; gap: 40px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-logo .nav-logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }
.footer-brand-logo .nav-logo-text { font-size: 1.3rem; }
.footer-desc { font-size: 0.82rem; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.footer-rating-inline { display: flex; align-items: center; gap: 8px; }
.footer-rating-inline svg { width: 14px; height: 14px; }
/* Moved from brands.html + flavors.html */
.footer-rating-text { font-size: 0.78rem; color: var(--gray); }
.footer-col-title {
  font-weight: 700; font-size: 0.95rem; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col-title svg { width: 16px; height: 16px; color: var(--purple3); }
.footer-hours-row {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer-hours-day { color: var(--gray); }
.footer-hours-time { color: rgba(255,255,255,0.8); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: var(--gray);
  margin-bottom: 14px; text-decoration: none;
  transition: color 0.3s; line-height: 1.5;
}
.footer-contact-item:hover { color: var(--white); }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--purple3); flex-shrink: 0; margin-top: 2px; }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); text-decoration: none; transition: all 0.3s;
}
.footer-socials a:hover { background: var(--purple); color: var(--white); transform: translateY(-2px); }
.footer-socials a svg { width: 17px; height: 17px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 0.82rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--purple3); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px; padding-top: 24px; text-align: center;
}
.footer-disclaimer {
  font-size: 0.68rem; color: rgba(255,255,255,0.45);
  line-height: 1.7; max-width: 900px; margin: 0 auto 10px;
}
.footer-copy { font-size: 0.7rem; color: rgba(255,255,255,0.4); }

/* ===== ENTRANCE ANIMATION (pure CSS — no library needed) ===== */
.fade-up { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) backwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flavor-banner { aspect-ratio: 16/7; }
  .flavor-banner-overlay { padding: 0 28px; }
}
@media (max-width: 640px) {
  /* Logo text + CTA + hamburger won't fit side by side — drop to the icon,
     same as the homepage does. */
  .nav-logo-text { display: none; }
  .footer-brand-logo .nav-logo-text { display: block; }
  .nav-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .page-head { padding: 32px 0 32px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { aspect-ratio: 4/3; }
  .flavor-grid { grid-template-columns: 1fr; gap: 10px; }
  .flavor-card { min-height: 58px; }
  .flavor-name { font-size: 1.18rem; }
  /* Stack the heading — the note is too wide to sit beside the title here. */
  .flavor-list-head {
    flex-direction: column; align-items: flex-start;
    gap: 6px; margin-bottom: 18px;
  }
  .flavor-list-note { white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; }
  .flavor-banner { aspect-ratio: 3/2; min-height: 0; }
  .flavor-banner-overlay {
    padding: 0 22px;
    background: linear-gradient(to top, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.6) 60%, rgba(10,10,10,0.35) 100%);
  }
  .cta-band { padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
