/* ═══════════════════════════════════════════════════════════════
   IRIS EVENTS & ADVERTISING
   FILE: assets/css/global.css
   DESC: Shared base styles — variables, reset, layout primitives,
         navbar, footer, buttons, page-hero. Used by ALL pages.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ─────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ───────────────────────────────────────── */
:root {
  --iris:       #7B2FBE;
  --iris-light: #A855F7;
  --iris-glow:  #C084FC;
  --gold:       #F5C518;
  --gold-light: #FFE066;
  --ember:      #FF6B35;
  --deep:       #050508;
  --surface:    #0D0D18;
  --surface2:   #13132A;
  --glass:      rgba(123,47,190,0.08);
  --text:       #F0EDF8;
  --muted:      #8B85A0;
  --white:      #ffffff;
}

/* ─────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--deep);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ─────────────────────────────────────────
   3. CUSTOM CURSOR
   ───────────────────────────────────────── */
.cursor {
  position: fixed; width: 12px; height: 12px;
  background: var(--iris-light); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .1s, background .2s;
  mix-blend-mode: screen;
}
.cursor-trail {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(168,85,247,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: left .12s ease, top .12s ease, width .2s, height .2s;
}

/* ─────────────────────────────────────────
   4. CUSTOM SCROLLBAR
   ───────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--iris); border-radius: 2px; }

/* ─────────────────────────────────────────
   5. NAVBAR — Desktop
   ───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .4s ease;
}
.nav-logo { line-height: 1; }
nav.scrolled {
  background: rgba(5,5,8,0.92);
  backdrop-filter: blur(20px);
  padding: .9rem 4rem;
  border-bottom: 1px solid rgba(123,47,190,0.2);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--iris-glow), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); -webkit-text-fill-color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: rgba(240,237,248,0.75); text-decoration: none;
  font-size: .85rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--iris-light); transition: width .3s;
}
.nav-links a:hover                    { color: var(--white); }
.nav-links a:hover::after             { width: 100%; }
.nav-links a.active                   { color: var(--white); }
.nav-links a.active::after            { width: 100%; }
.nav-cta {
  padding: .6rem 1.6rem;
  background: linear-gradient(135deg, var(--iris), var(--iris-light));
  color: white; text-decoration: none; border-radius: 2px;
  font-size: .8rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all .3s; box-shadow: 0 0 20px rgba(123,47,190,0.4);
  /* FIX: ensure nav-cta text always shows white, override -webkit-text-fill-color
     that leaks from nav-logo gradient on some browsers */
  -webkit-text-fill-color: white;
}
.nav-cta:hover { box-shadow: 0 0 40px rgba(168,85,247,0.6); transform: translateY(-1px); }

/* ─────────────────────────────────────────
   6. MOBILE HAMBURGER BUTTON
   ───────────────────────────────────────── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.hamburger span { width: 24px; height: 2px; background: var(--text); transition: all .3s; border-radius: 1px; }

/* ─────────────────────────────────────────
   7. MOBILE NAV FULLSCREEN OVERLAY
   ───────────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(5,5,8,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem;
  color: var(--text); text-decoration: none; letter-spacing: 0.1em;
  transition: color .3s;
}
.mobile-nav a:hover { color: var(--iris-light); }
.mobile-nav .close-btn {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--text); font-size: 1.8rem; cursor: pointer;
}

/* ─────────────────────────────────────────
   8. TICKER / ANNOUNCEMENT BAR
   ───────────────────────────────────────── */
.ticker {
  background: linear-gradient(90deg, var(--iris), rgba(123,47,190,0.8), var(--iris));
  padding: .7rem 0; overflow: hidden;
  border-top: 1px solid rgba(168,85,247,0.3);
  border-bottom: 1px solid rgba(168,85,247,0.3);
}
.ticker-inner {
  display: flex; gap: 3rem; white-space: nowrap;
}
.ticker-inner span { font-size: .75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.ticker-inner .dot { color: var(--gold); font-size: 1rem; }

/* ─────────────────────────────────────────
   9. SECTION & CONTAINER BASE
   ───────────────────────────────────────── */
section { padding: 7rem 0; position: relative; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 4rem; }

.section-label {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--iris-glow); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--iris-glow); }

h2.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1; letter-spacing: 0.03em;
}
h2.section-title .accent {
  background: linear-gradient(135deg, var(--iris-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ─────────────────────────────────────────
   10. SHARED BUTTONS
   ───────────────────────────────────────── */
.btn-primary {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--iris), var(--iris-light));
  color: white; text-decoration: none; border-radius: 3px;
  font-size: .85rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: all .35s; position: relative; overflow: hidden;
  box-shadow: 0 0 40px rgba(123,47,190,0.5);
  display: inline-block;
  /* FIX: gradient on parent was leaking -webkit-text-fill-color to children */
  -webkit-text-fill-color: white;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--ember));
  opacity: 0; transition: opacity .35s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 60px rgba(168,85,247,0.7); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  padding: 1rem 2.5rem;
  border: 1px solid rgba(168,85,247,0.5);
  color: var(--iris-glow); text-decoration: none; border-radius: 3px;
  font-size: .85rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: all .35s; backdrop-filter: blur(10px);
  display: inline-block;
}
.btn-outline:hover {
  background: rgba(123,47,190,0.15);
  border-color: var(--iris-light); color: var(--white);
  transform: translateY(-3px);
}

/* ─────────────────────────────────────────
   11. FOOTER
   ───────────────────────────────────────── */
footer {
  background: var(--surface2);
  border-top: 1px solid rgba(123,47,190,0.15);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 2rem;
  background: linear-gradient(135deg, var(--iris-glow), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none; letter-spacing: 0.08em;
  display: inline-block; margin-bottom: 1rem;
}
.footer-brand p { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.footer-socials { display: flex; gap: .8rem; margin-top: 1.5rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(123,47,190,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  font-size: .85rem; transition: all .3s;
}
.social-btn:hover { background: rgba(123,47,190,0.2); border-color: var(--iris-light); color: var(--white); transform: translateY(-3px); }
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem;
  letter-spacing: 0.08em; color: var(--white); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: .87rem; transition: color .3s; }
.footer-col ul li a:hover { color: var(--iris-glow); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid rgba(123,47,190,0.1);
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .78rem; color: rgba(139,133,160,0.6); }

/* ─────────────────────────────────────────
   12. PAGE HERO — Inner Pages
   ───────────────────────────────────────── */
.page-hero {
  padding: 10rem 0 5rem;
  position: relative; overflow: hidden;
  background: var(--surface);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(123,47,190,0.3) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(245,197,24,0.1) 0%, transparent 55%),
    var(--surface);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(123,47,190,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,47,190,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--iris-glow); margin-bottom: 1rem;
}
.page-hero-eyebrow::before,
.page-hero-eyebrow::after { content: ''; width: 20px; height: 1px; background: var(--iris-glow); }
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95; letter-spacing: 0.02em;
}
.page-hero h1 .accent {
  background: linear-gradient(135deg, var(--iris-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(240,237,248,0.6); font-style: italic;
  /* FIX: was too close to the title — increased top margin */
  margin-top: 1.8rem;
  max-width: 600px;
}

/* ─────────────────────────────────────────
   13. SHARED UTILITY — Glow Pulse
   ───────────────────────────────────────── */
.glow-pulse { animation: glowPulse 3s ease-in-out infinite; }

/* ─────────────────────────────────────────
   14. SHARED UTILITY — Pills / Tags
   ───────────────────────────────────────── */
.pill {
  padding: .4rem 1rem; border: 1px solid rgba(123,47,190,0.3); border-radius: 20px;
  font-size: .75rem; letter-spacing: 0.08em; color: var(--iris-glow); transition: all .3s;
}
.pill:hover { background: rgba(123,47,190,0.15); border-color: var(--iris-light); color: var(--white); }

/* ─────────────────────────────────────────
   15. SHARED — CTA STRIP
   ───────────────────────────────────────── */
.cta-strip { background: var(--surface2); padding: 5rem 0; text-align: center; }
.cta-strip h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: 0.04em; margin-bottom: 1rem; }
.cta-strip p { color: var(--muted); font-size: 1rem; max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-btns { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
