/* ================================
   COASTAL GREEN — SHARED STYLES
   ================================ */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Dancing+Script:wght@700&family=Oswald:wght@400;500;700&family=Barlow:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0a0a0a;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

:root {
  --teal: #2d4f56;
  --teal-dark: #1e3a3f;
  --teal-light: #3a6068;
  --purple: #7a1b5c;
  --purple-dark: #5e1347;
  --grad: linear-gradient(90deg, #7a1b5c 0%, #2d4f56 100%);
  --grad-hover: linear-gradient(90deg, #8f2270 0%, #3a6068 100%);
  --font-display: 'Anton', 'Oswald', sans-serif;
  --font-cursive: 'Dancing Script', cursive;
  --font-body: 'Barlow', sans-serif;
}

/* ========================
   AGE GATE
======================== */
#age-gate {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.ag-modal {
  background: #fff;
  color: #111;
  text-align: center;
  padding: 52px 48px 44px;
  max-width: 480px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  animation: agPop 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes agPop {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.ag-logo-wrap {
  margin-bottom: 28px;
}
.ag-logo-wrap img {
  height: 80px; width: auto; margin: 0 auto;
  /* invert white logo to dark for light background */
  filter: invert(1) hue-rotate(180deg) saturate(1.6) brightness(0.55);
}
#age-gate h2 {
  font-family: var(--font-display);
  font-size: 42px; letter-spacing: 2px;
  color: #111; margin-bottom: 14px;
}
#age-gate p {
  color: #666; font-size: 15px;
  margin-bottom: 36px; line-height: 1.6;
}
.ag-btns {
  display: flex; gap: 0;
  justify-content: center;
}
.ag-btn {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: 3px; padding: 18px 0;
  flex: 1; cursor: pointer;
  transition: all 0.2s; text-transform: uppercase;
  border: none;
  display: block; text-align: center; text-decoration: none;
  line-height: 1;
}
.ag-btn-yes {
  background: linear-gradient(90deg, #7a1b5c 0%, #2d4f56 100%) !important;
  color: #fff !important;
}
.ag-btn-yes:hover { background: linear-gradient(90deg, #8f2270 0%, #3a6068 100%) !important; }
.ag-btn-no {
  background: #1a1a1a !important;
  color: #fff !important;
}
.ag-btn-no:hover { background: #000 !important; }
#age-gate small {
  color: #aaa; font-size: 11px;
  margin-top: 20px; display: block;
  line-height: 1.7; max-width: 360px; margin-left: auto; margin-right: auto;
}

/* ========================
   NAVBAR
======================== */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px; height: 70px;
  background: rgba(0,0,0,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  transition: background 0.4s;
}
.nav-left { display: flex; align-items: center; gap: 22px; }
.hamburger {
  background: var(--purple); width: 42px; height: 42px;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; cursor: pointer; flex-shrink: 0; transition: background 0.2s;
}
.hamburger:hover { background: var(--purple-dark); }
.hamburger span { width: 18px; height: 2px; background: #fff; display: block; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-links {
  display: flex; gap: 28px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 1.5px;
}
.nav-links a, .nav-links .nav-drop {
  color: rgba(255,255,255,0.85); cursor: pointer; transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after, .nav-links .nav-drop::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--grad); transition: width 0.25s;
}
.nav-links a:hover, .nav-links .nav-drop:hover { color: #fff; }
.nav-links a:hover::after, .nav-links .nav-drop:hover::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { width: 100%; }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 70px; left: 0; width: 280px;
  height: calc(100vh - 70px); background: #0f0f0f;
  border-right: 1px solid rgba(255,255,255,0.08);
  z-index: 999; padding: 30px 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a, .mobile-menu .mm-item {
  display: block; padding: 14px 30px;
  font-family: var(--font-display); font-size: 16px;
  letter-spacing: 2px; color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover, .mobile-menu .mm-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.mobile-menu .mm-sub {
  padding: 10px 30px 10px 46px; font-size: 13px;
  letter-spacing: 1.5px; color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: block;
}
.mobile-menu .mm-sub:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.04); }
.overlay { display: none; position: fixed; inset: 0; top: 70px; background: rgba(0,0,0,0.5); z-index: 998; }
.overlay.open { display: block; }

/* ========================
   BUTTONS
======================== */
.btn {
  font-family: var(--font-display); letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 44px; font-size: 17px; cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-block;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.35); }
.btn:active { transform: translateY(0); }
.btn-grad { background: var(--grad); color: #fff; }
.btn-grad:hover { background: var(--grad-hover); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-purple { background: var(--purple); color: #fff; border-color: transparent; }
.btn-purple:hover { background: var(--purple-dark); }
.btn-teal-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-teal-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ========================
   PAGE HERO (inner pages)
======================== */
.page-hero {
  padding: 140px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.72); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero .eyebrow {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 6px;
  color: rgba(255,255,255,0.5); margin-bottom: 14px; text-transform: uppercase;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 90px);
  letter-spacing: 3px; line-height: 0.95;
  margin-bottom: 20px;
}
.page-hero .cursive {
  font-family: var(--font-cursive); font-size: clamp(22px, 3vw, 36px);
  color: rgba(255,255,255,0.7); font-weight: 400;
}

/* ========================
   SECTION UTILITIES
======================== */
.section-label {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 5px;
  color: rgba(255,255,255,0.4); margin-bottom: 12px; text-transform: uppercase;
  display: block; text-align: center;
}
.section-title { text-align: center;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px); letter-spacing: 2px;
}
.divider {
  width: 60px; height: 3px; background: var(--grad); margin: 20px auto 0;
}

/* ========================
   TICKER
======================== */
.ticker-wrap { background: var(--grad); overflow: hidden; white-space: nowrap; padding: 12px 0; }
.ticker-track { display: inline-flex; animation: ticker 50s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 3px;
  padding: 0 36px; display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.9);
}
.ticker-dot { width: 5px; height: 5px; background: rgba(255,255,255,0.5); border-radius: 50%; flex-shrink: 0; }

/* ========================
   FOOTER
======================== */
.footer { background: #050505; border-top: 1px solid #1a1a1a; padding: 60px 40px 36px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px; max-width: 1100px; margin: 0 auto 50px;
}
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.8; max-width: 260px; margin-top: 16px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 3px;
  color: rgba(255,255,255,0.4); margin-bottom: 20px; text-transform: uppercase;
}
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1a1a1a; padding-top: 28px;
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); line-height: 1.7; }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.2); text-align: right; }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .page-hero { padding: 110px 20px 60px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
}
