@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

/* Hangbuzz Signature Warm Cream & Punchy Coral Theme */
:root {
  --bg: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #F4EFEA;
  --bg-input: #FFFFFF;

  --border-subtle: #EBE5DC;
  --border-accent: rgba(255, 71, 96, 0.35);

  --primary: #FF4760;
  --primary-hover: #E63950;
  --primary-glow: rgba(255, 71, 96, 0.18);
  --primary-tint: rgba(255, 71, 96, 0.08);

  --emerald: #10B981;
  --emerald-tint: rgba(16, 185, 129, 0.12);

  --text-main: #1C1917;
  --text-muted: #57534E;
  --text-dim: #A8A29E;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --card-shadow: 0 16px 40px -8px rgba(28, 25, 23, 0.08), 0 0 0 1px rgba(28, 25, 23, 0.04);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Subtle warm background radial glow */
body::before {
  content: '';
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 71, 96, 0.09) 0%, rgba(255, 159, 67, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Sticky Minimal Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(250, 248, 245, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-buzz-slashes {
  stroke: var(--text-main);
}

.brand-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-main);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.nav-partner-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-partner-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Page Container (Teaser Centered) */
.teaser-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 44px 20px 64px 20px;
  position: relative;
  z-index: 1;
}

.teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-tint);
  color: var(--primary);
  border: 1px solid rgba(255, 71, 96, 0.2);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Refined, Confident Headline */
.teaser-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 6.5vw, 44px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 12px;
}

/* Kinetic Word Rotator (Pure Text, No Oval Background, Zero Clipping) */
.kinetic-wrapper {
  display: inline-block;
  position: relative;
  height: 1.25em;
  vertical-align: bottom;
  text-align: left;
  overflow: visible;
  clip-path: inset(-4px -50px -4px -4px);
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kinetic-word {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--primary);
  font-weight: 900;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-120%);
  pointer-events: none;
  text-shadow: 0 4px 18px rgba(255, 71, 96, 0.18);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.kinetic-word.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.kinetic-word.exit {
  opacity: 0;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 1, 1), opacity 0.2s ease;
}

.teaser-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

/* Living Radar Preview Ticket (Visual Proof of the Product) */
.radar-ticket-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 14px 34px -8px rgba(28, 25, 23, 0.08);
  margin-bottom: 24px;
  text-align: left;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.radar-ticket-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-subtle);
}

.ticket-radar-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.pulse-dot-emerald {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ticket-time {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
}

.ticket-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ticket-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ticket-details {
  flex: 1;
  min-width: 0;
}

.ticket-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-venue {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.avatar-stack-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-stack {
  display: flex;
}

.avatar-bubble {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-left: -7px;
  font-size: 9.5px;
  font-weight: 800;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-bubble:first-child {
  margin-left: 0;
}

.av-blue { background: #3B82F6; }
.av-green { background: #10B981; }
.av-purple { background: #8B5CF6; }

.ticket-spots {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
}

.ticket-tag-btn {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(255, 71, 96, 0.3);
  cursor: pointer;
  transition: transform 0.15s ease;
  user-select: none;
}

.ticket-tag-btn:hover {
  transform: scale(1.04);
}

/* Sleek Single-Line Invite Bar (Never Squeezed or Broken) */
.invite-box {
  width: 100%;
  max-width: 410px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 5px 4px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px -4px rgba(28, 25, 23, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.invite-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 12px 34px -4px rgba(255, 71, 96, 0.2);
}

.invite-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  padding: 8px 6px 8px 0;
}

.invite-input::placeholder {
  color: var(--text-dim);
}

.invite-btn {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 71, 96, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.invite-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.invite-feedback {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--emerald);
  margin-top: 12px;
  display: none;
}

.invite-reassurance {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 10px;
  margin-bottom: 36px;
}

/* Living Radar Dot Indicator */
.radar-pill-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 16px;
}

/* Venue Anchor Pill Link */
.venue-anchor-box {
  margin-top: 26px;
  padding: 8px 18px;
  background: rgba(28, 25, 23, 0.03);
  border-radius: var(--radius-pill);
  border: 1px dashed var(--border-subtle);
  display: inline-block;
  font-size: 12px;
  color: var(--text-muted);
}

.venue-anchor-box a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.venue-anchor-box a:hover {
  text-decoration: underline;
}

/* Clean Footer */
.footer {
  padding: 24px 20px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  width: 100%;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 12px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 11px;
}

/* Shared Venue / Partner Card Layouts (Used in partner.html) */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  color: var(--primary);
  border: 1px solid rgba(255, 71, 96, 0.25);
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.venue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--card-shadow);
  text-align: left;
}

.venue-card-header {
  margin-bottom: 24px;
}

.venue-card-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.venue-card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-group {
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.form-submit-btn {
  width: 100%;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 71, 96, 0.35);
  transition: all 0.2s ease;
  margin-top: 8px;
}

.form-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Mobile Responsiveness specifically tuned to 375px - 430px */
@media (max-width: 480px) {
  .navbar {
    padding: 14px 18px;
  }
  .teaser-container {
    padding: 36px 18px 56px 18px;
  }
  .teaser-title {
    font-size: clamp(28px, 7.5vw, 34px);
    margin-bottom: 14px;
    line-height: 1.24;
  }
  .teaser-sub {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 26px;
    padding: 0 6px;
  }
  .invite-box {
    width: 100%;
    max-width: 100%;
    padding: 4px 5px 4px 16px;
  }
  .invite-input {
    font-size: 14px;
  }
  .invite-btn {
    padding: 10px 16px;
    font-size: 12.5px;
  }
  .invite-reassurance {
    margin-top: 10px;
    margin-bottom: 34px;
    font-size: 11.5px;
  }
  .radar-ticket-card {
    width: 100%;
    max-width: 100%;
    padding: 16px 18px;
    margin-bottom: 24px;
    border-radius: 20px;
  }
  .ticket-title {
    font-size: 14.5px;
  }
  .ticket-venue {
    font-size: 12px;
  }
  .radar-pill-indicator {
    font-size: 11.5px;
    margin-top: 4px;
    margin-bottom: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .venue-card {
    padding: 24px 18px;
  }
}
