/* ==========================================================================
   HYENA'S COMEDY NIGHTCLUB — Core Styles
   Dark, club-like, bold. Webflow-friendly static build.
   ========================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand palette */
  --purple-900: #200437;
  --purple-700: #4f0c76;
  --purple-500: #6b15c2;
  --red:        #E02B20;
  --red-soft:   #ff4b41;
  --black:      #07020d;
  --white:      #ffffff;

  /* Functional */
  --bg:           #0a0312;
  --bg-elevated:  #150825;
  --bg-card:      rgba(33, 8, 56, 0.55);
  --border:       rgba(139, 92, 246, 0.18);
  --border-glow:  rgba(107, 21, 194, 0.55);
  --text:         #f4eefb;
  --text-muted:   #b9a9d4;
  --text-dim:     #80708f;

  /* Gradients */
  --grad-purple: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-700) 55%, var(--purple-500) 100%);
  --grad-hero:   radial-gradient(120% 90% at 50% 0%, #2c0a4d 0%, #14041f 55%, #07020d 100%);
  --grad-red:    linear-gradient(135deg, #3a0510 0%, #8a1414 60%, var(--red) 100%);

  /* Type */
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing / layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 16px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Bars */
  --nav-h: 104px;
  --warn-h: 40px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.h-xl  { font-size: clamp(2.75rem, 8vw, 6rem); }
.h-lg  { font-size: clamp(2rem, 5.5vw, 3.75rem); }
.h-md  { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
.h-sm  { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-soft);
  display: inline-block;
  margin-bottom: 1rem;
}

.lede { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted); }

.text-grad {
  background: linear-gradient(100deg, #fff 0%, #d3a9ff 50%, var(--purple-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(224, 43, 32, 0.7);
}
.btn--primary:hover { background: var(--red-soft); box-shadow: 0 14px 32px -8px rgba(224, 43, 32, 0.85); }

.btn--purple {
  background: var(--purple-500);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(107, 21, 194, 0.8);
}
.btn--purple:hover { background: #7d22d8; box-shadow: 0 14px 32px -8px rgba(107, 21, 194, 0.95); }

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--border-glow); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.82rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------- 6. WARNING BAR ---------- */
.warnbar {
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  padding: 0.65rem 1rem;
  line-height: 1.35;
  position: relative;
  z-index: 60;
}
.warnbar span { display: inline-block; }

/* ---------- 7. NAVBAR ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10, 3, 18, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 3, 18, 0.92);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.nav__logo img { height: 92px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 0.5rem; }
.nav__links a {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(139,92,246,0.12); }
.nav__cta { margin-left: 0.5rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }

@media (max-width: 880px) {
  .nav { height: 88px; }
  .nav__logo img { height: 72px; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
    background: #150825;
    box-shadow: -24px 0 60px -20px rgba(0,0,0,0.8);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.15rem; padding: 0.9rem 1rem; }
  .nav__cta { margin: 0.5rem 0 0; }
  .nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- 8. CARDS (shared) ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 24px 48px -24px rgba(107, 21, 194, 0.55);
}

/* ---------- 9. PILL BADGE ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(107,21,194,0.22);
  border: 1px solid rgba(139,92,246,0.4);
  color: #d3b3ff;
}
.pill--red { background: rgba(224,43,32,0.18); border-color: rgba(224,43,32,0.5); color: #ff8b82; }

/* ---------- 10. FOOTER ---------- */
.footer { background: var(--black); border-top: 1px solid var(--border); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer__logo img { height: 112px; margin-bottom: 1.1rem; }
.footer__tag { color: var(--text-dim); font-size: 0.9rem; max-width: 280px; }
.footer h4 { font-size: 0.95rem; letter-spacing: 0.14em; color: #fff; margin-bottom: 1.1rem; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--red-soft); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.85rem;
}
.socials { display: flex; gap: 0.65rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text-muted); transition: all 0.25s var(--ease);
}
.socials a:hover { color: #fff; background: var(--purple-500); border-color: var(--purple-500); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- 11. SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 12. UTILITIES ---------- */
.glow-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-glow), transparent); border: 0; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.noise::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.04; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
