/*
 * CHAVEE - Private Members Club & Curated Events
 * Core Design System & Stylesheet
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  /* Chavee Brand Colors */
  --color-primary: #1DB954;
  --color-teal: #0E6E78;
  --color-navy: #0D2137;
  --color-bg: #060D14;
  --color-bg-card: rgba(255, 255, 255, 0.04);
  --color-border-glass: rgba(255, 255, 255, 0.08);
  --color-text: #F0F4F8;
  --color-text-muted: #8BA3BB;
  --color-accent: #F4A623;

  /* Legacy variables for compatibility */
  --bg-primary: #060D14;
  --bg-secondary: #0f0f13;
  --bg-surface: rgba(18, 18, 22, 0.7);
  --bg-surface-elevated: rgba(26, 26, 32, 0.85);
  
  --accent-gold: #F4A623;
  --accent-gold-rgb: 244, 166, 35;
  --accent-gold-light: #f3e3b3;
  --accent-gold-dark: #aa851d;
  
  --text-primary: #F0F4F8;
  --text-secondary: #8BA3BB;
  --text-muted: #5e6066;
  
  --border-glass: rgba(244, 166, 35, 0.12);
  --border-glass-hover: rgba(244, 166, 35, 0.3);
  --border-simple: rgba(255, 255, 255, 0.06);
  
  /* Typography */
  --font-serif: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --shadow-gold: 0 8px 32px 0 rgba(244, 166, 35, 0.08);
  --shadow-deep: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
  
  --radius-card: 18px;
  --radius-pill: 999px;
  --font-heading: var(--font-serif);
  --color-primary-dim: rgba(29, 185, 84, 0.14);
  --color-bg-card-hover: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.16);
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Ambient glow blobs */
body::before, body::after {
  content: '';
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.04) 0%, rgba(0,0,0,0) 70%);
  z-index: -2;
  pointer-events: none;
}

body::before {
  top: -100px;
  right: -100px;
}

body::after {
  bottom: -200px;
  left: -200px;
}

/* Subtle luxury noise texture overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3e%3cfilter id='noise'%3e%3cfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3e%3c/filter%3e%3crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3e%3c/svg%3e");
  z-index: -1;
  pointer-events: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
  margin-top: 1rem;
}

h2.section-title.center::after {
  margin-left: auto;
  margin-right: auto;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 1.05rem;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-gold-light);
}

.green-gradient-text {
  background: linear-gradient(135deg, #1DB954, #0E6E78);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- LAYOUT & CONTAINERS --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  --header-height: 70px;
  height: var(--header-height);
  background-color: rgba(7, 7, 9, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-simple);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-gold);
}

.logo-key-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent-gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
}

.nav-item a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-item a:hover, .nav-item.active a {
  color: var(--text-primary);
}

.nav-item a:hover::after, .nav-item.active a::after {
  width: 100%;
}

/* Hamburger Menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  left: 0;
  transition: var(--transition-fast);
}

.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--accent-gold);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--accent-gold);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-sans);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #070709;
  border: 1px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
  color: #070709;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass-hover);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.05);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.05);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* --- PREMIUM CARD COMPONENT (GLASSMORPHISM) --- */
.glass-card {
  background: var(--bg-surface);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-deep);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: skewX(-25deg);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold), var(--shadow-deep);
}

.glass-card:hover::before {
  left: 150%;
  transition: 1s ease-in-out;
}

/* --- INDEX PAGE (HERO) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.hero-headline .highlight {
  color: var(--color-primary);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-top: 1.25rem;
}

/* Animated light beam in hero background */
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.08) 0%, rgba(0,0,0,0) 65%);
  z-index: -1;
  animation: pulse 8s infinite alternate ease-in-out;
}

@keyframes pulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-subtitle {
  font-family: var(--font-sans);
  color: var(--accent-gold);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: block;
}

.hero-desc {
  font-size: 1.25rem;
  max-width: 680px;
  margin: 2rem auto 3rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* --- VALUES / PHILOSOPHY --- */
.philosophy {
  background-color: var(--bg-secondary);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-intro p {
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.value-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  height: 100%;
}


.value-card img {
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  display: block;
  margin-bottom: 0;
  object-fit: cover;
}

.value-card-body {
  padding: 1.75rem 1.75rem 2rem;
}

.value-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--accent-gold-rgb), 0.08);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
  font-size: 1.5rem;
}

.value-card p {
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --- DYNAMIC EXPERIENCE TEASER --- */
.teaser-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.teaser-navigation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.teaser-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 1.8rem;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.teaser-tab-btn h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.teaser-tab-btn p {
  font-size: 0.9rem;
  margin-top: 0.4rem;
  transition: var(--transition-fast);
}

.teaser-tab-btn.active {
  border-color: var(--accent-gold);
  background-color: rgba(var(--accent-gold-rgb), 0.05);
  box-shadow: var(--shadow-gold);
}

.teaser-tab-btn.active h3 {
  color: var(--accent-gold-light);
}

.teaser-tab-btn.active p {
  color: var(--text-primary);
}

.teaser-display {
  position: relative;
  height: 420px;
}

.teaser-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(10px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass-hover);
  box-shadow: var(--shadow-deep);
}

.teaser-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.teaser-panel-overlay {
  background: linear-gradient(to top, rgba(7, 7, 9, 0.95) 0%, rgba(7, 7, 9, 0.4) 60%, transparent 100%);
  padding: 2.5rem;
}

.teaser-panel h4 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.teaser-panel p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.teaser-panel-meta {
  display: flex;
  gap: 1.5rem;
}

.teaser-meta-pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-simple);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  color: var(--accent-gold-light);
}

/* CSS Vector backgrounds for panels */
#panel-lounge {
  background: linear-gradient(135deg, #16120d 0%, #070709 100%);
}
#panel-study {
  background: linear-gradient(135deg, #0d1216 0%, #070709 100%);
}
#panel-vault {
  background: linear-gradient(135deg, #0d1612 0%, #070709 100%);
}

.panel-art-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.panel-art-bg svg {
  width: 80%;
  height: 80%;
  fill: var(--accent-gold);
}

.teaser-panel-overlay {
  position: relative;
  z-index: 1;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background-color: var(--bg-secondary);
  text-align: center;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 280px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: var(--transition-smooth);
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.quote-icon {
  font-size: 3rem;
  color: rgba(var(--accent-gold-rgb), 0.15);
  margin-bottom: 1rem;
  display: inline-block;
  font-family: var(--font-serif);
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  background: rgba(var(--accent-gold-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.author-name {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
}

.author-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background: var(--accent-gold);
  transform: scale(1.3);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-label-teal {
  color: var(--color-teal);
}

.pillar-card {
  background: var(--color-bg-card);
  border: 0.5px solid var(--color-border-glass);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.pillar-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 20px;
  margin-bottom: 1rem;
}

.event-card-featured {
  border: 0.5px solid var(--color-border-glass);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-card);
  background: var(--color-bg-card);
  padding: 2rem;
}

.host-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--color-border-glass);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-bg-card);
  border: 0.5px solid var(--color-border-glass);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: border-color 0.2s;
}

.lang-pill.active {
  border-color: var(--color-primary);
  color: var(--color-text);
}

.lang-pill:hover {
  border-color: var(--color-border-hover);
}

.coming-soon-card {
  background: var(--color-bg-card);
  border: 0.5px solid var(--color-border-glass);
  border-radius: var(--radius-card);
  padding: 2rem;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #060D14;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-glass);
  padding: 11px 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}


/* --- EVENTS PAGE --- */
.events-header {
  padding-top: calc(var(--header-height) + 3rem);
  background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
}

.search-filter-controls {
  max-width: 900px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.search-box-container {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 1.1rem 1.5rem 1.1rem 3.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-fast);
  outline: none;
}

.search-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.search-icon-svg {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  transition: var(--transition-fast);
  pointer-events: none;
}

.search-input:focus + .search-icon-svg {
  fill: var(--accent-gold);
}

.filter-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-simple);
  padding: 0.6rem 1.6rem;
  border-radius: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--border-glass-hover);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent-gold);
  color: #070709;
  border-color: var(--accent-gold);
  font-weight: 500;
}

/* Event List Container */
.events-section {
  min-height: 500px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.event-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-bg-card);
  border: 0.5px solid var(--color-border-glass);
  border-radius: 14px;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Open Events (Green border) */
.event-card.event-open {
  border-color: rgba(29, 185, 84, 0.3);
}

.event-card.event-open:hover {
  border-color: rgba(29, 185, 84, 0.5);
}

/* Coming Soon Events (Subtle white border) */
.event-card.event-coming-soon {
  border-color: rgba(255, 255, 255, 0.06);
}

.event-card.event-coming-soon:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Free Events (Amber border) */
.event-card.event-free {
  border-color: rgba(244, 166, 35, 0.3);
}

.event-card.event-free:hover {
  border-color: rgba(244, 166, 35, 0.5);
}

.event-media {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.event-art-canvas {
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

.event-card:hover .event-art-canvas {
  transform: scale(1.05);
}

.event-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.status-upcoming {
  background-color: rgba(var(--accent-gold-rgb), 0.15);
  color: var(--accent-gold-light);
  border: 1px solid var(--accent-gold);
}

.status-members {
  background-color: rgba(6, 172, 100, 0.15);
  color: #58d68d;
  border: 1px solid rgba(6, 172, 100, 0.4);
}

.status-muted {
  background: rgba(255,255,255,0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(170,170,170,0.35);
}

.status-teal {
  background: rgba(42,187,228,0.15);
  color: #24c7ec;
  border: 1px solid rgba(42,187,228,0.35);
}

.status-amber {
  background: rgba(255,185,0,0.12);
  color: #d18b07;
  border: 1px solid rgba(255,185,0,0.3);
}

.status-affirmative {
  background: rgba(38,161,96,0.14);
  color: #35c986;
  border: 1px solid rgba(38,161,96,0.32);
}

.status-soldout {
  background-color: rgba(231, 76, 60, 0.15);
  color: #f1948a;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

.event-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.event-category-label {
  font-size: 0.75rem;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.event-category-label.text-green {
  color: #1DB954;
}

.event-category-label.text-amber {
  color: #F4A623;
}

.event-category-label.text-teal {
  color: #24c7ec;
}

.event-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-weight: 600;
}

.event-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-details-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-detail-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-gold);
  flex-shrink: 0;
}

.event-price-tag {
  font-weight: 700;
  color: #1DB954;
  font-size: 0.95rem;
  margin: 0.75rem 0;
}

.event-price-free {
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0.75rem 0;
}

.btn-register {
  background: #1DB954;
  color: white;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.9rem;
  width: 100%;
}

.btn-register:hover {
  background: #1aa451;
  transform: translateY(-2px);
}

.btn-register.btn-amber {
  background: #F4A623;
  color: #060D14;
}

.btn-register.btn-amber:hover {
  background: #f5b13d;
}

.btn-notify {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.9rem;
  width: 100%;
}

.btn-notify:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.event-details-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-detail-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-gold);
  flex-shrink: 0;
}

.event-cta-btn {
  margin-top: 1.5rem;
  width: 100%;
}

.no-events-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 0;
}

.no-events-found svg {
  width: 60px;
  height: 60px;
  fill: var(--text-muted);
  margin-bottom: 1.5rem;
}

.no-events-found p {
  font-size: 1.1rem;
}

/* --- MODAL POPUP STYLES --- */
#event-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding: 1rem;
}

#event-modal .modal-inner {
  max-width: 580px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  background: #0a1520;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  animation: modalSlideUp 0.25s ease;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-img-wrap {
  position: relative;
}

.modal-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
}

.modal-body {
  padding: 1.5rem;
}

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.modal-meta-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: rgba(240, 244, 248, 0.6);
}

.modal-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin: 14px 0 8px;
}

.modal-covers-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-covers-list li {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(240, 244, 248, 0.65);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.04);
}

.modal-covers-list li:last-child {
  border-bottom: none;
}

.modal-covers-list li i {
  color: #1DB954;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-hosts-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-host-card {
  flex: 1;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-host-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.modal-gets-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-gets-list li {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(240, 244, 248, 0.65);
}

.modal-gets-list li i {
  color: #0E6E78;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
  padding: 1.25rem;
}

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-price-big {
  font-size: 24px;
  font-weight: 700;
  color: #1DB954;
  font-family: var(--font-heading);
}

.modal-btns {
  display: flex;
  gap: 10px;
}

.modal-pay-btn {
  flex: 2;
  background: #1DB954;
  color: #060D14;
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  display: block;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-pay-btn:hover {
  background: #1aa451;
  transform: translateY(-2px);
}

.modal-cal-btn {
  flex: 1;
  background: transparent;
  border: 0.5px solid rgba(29, 185, 84, 0.4);
  color: #1DB954;
  font-size: 12px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-cal-btn:hover {
  background: rgba(29, 185, 84, 0.08);
  border-color: rgba(29, 185, 84, 0.6);
}

.modal-seats-note {
  font-size: 11px;
  color: rgba(240, 244, 248, 0.3);
  text-align: center;
  margin-top: 10px;
}

/* --- SIGNUP PAGE (MEMBERSHIP FORM) --- */
.signup-section {
  padding-top: calc(var(--header-height) + 2rem);
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.signup-container {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-header h2 {
  margin-bottom: 0.5rem;
}

.signup-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 3.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.signup-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-simple);
  z-index: 1;
  transform: translateY(-50%);
}

.progress-bar-fill {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-gold);
  z-index: 1;
  transform: translateY(-50%);
  transition: var(--transition-smooth);
}

.progress-step-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-simple);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.progress-step-node.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  box-shadow: 0 0 12px rgba(var(--accent-gold-rgb), 0.25);
  background-color: var(--bg-surface-elevated);
}

.progress-step-node.completed {
  border-color: var(--accent-gold);
  background-color: var(--accent-gold);
  color: #070709;
}

/* Progressive multi-step layout */
.form-step {
  display: none;
  animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-field {
  position: relative;
  margin-bottom: 2rem;
}

.form-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: var(--transition-fast);
  transform-origin: left top;
}

.form-input {
  width: 100%;
  padding: 1.1rem 1rem 0.9rem;
  background-color: rgba(255, 255, 255, 0.02);
  border: none;
  border-bottom: 1px solid var(--border-glass);
  border-radius: 4px 4px 0 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus {
  background-color: rgba(255, 255, 255, 0.04);
  border-bottom-color: var(--accent-gold);
}

/* Floating Label Animation triggers */
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  transform: translateY(-1.4rem) scale(0.8);
  color: var(--accent-gold);
}

/* Tags / Interests selector */
.interests-headline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  text-align: center;
}

.tags-selector-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.interest-tag-pill {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-simple);
  color: var(--text-secondary);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  -webkit-user-select: none;
  user-select: none;
}

.interest-tag-pill:hover {
  border-color: var(--border-glass-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.interest-tag-pill.selected {
  background-color: rgba(var(--accent-gold-rgb), 0.08);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.08);
  font-weight: 500;
}

.declaration-box {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-simple);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 2rem;
  cursor: pointer;
}

.checkbox-row input {
  display: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
  margin-top: 0.15rem;
}

.checkbox-row input:checked + .custom-checkbox {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.custom-checkbox::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #070709;
  border-bottom: 2px solid #070709;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: var(--transition-fast);
}

.checkbox-row input:checked + .custom-checkbox::after {
  opacity: 1;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.checkbox-label a {
  text-decoration: underline;
}

/* Navigation buttons in form */
.form-buttons-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-buttons-row .btn {
  flex: 1;
}

/* Error banner / helper */
.validation-error-text {
  color: #ff6b6b;
  font-size: 0.78rem;
  position: absolute;
  bottom: -1.3rem;
  left: 1rem;
  display: none;
}

.form-input.invalid {
  border-bottom-color: #ff6b6b;
}

.form-input.invalid + .form-label {
  color: #ff6b6b;
}

.form-input.invalid ~ .validation-error-text {
  display: block;
}

/* --- THANKYOU PAGE --- */
.thankyou-section {
  padding-top: calc(var(--header-height) + 2rem);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-wrapper {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.success-badge-glow {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(var(--accent-gold-rgb), 0.08);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(var(--accent-gold-rgb), 0.15);
  animation: float 4s infinite alternate ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.thankyou-title {
  margin-bottom: 1rem;
}

.thankyou-desc {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Digital Passport Nominee Card Widget */
.nominee-passport {
  background: linear-gradient(135deg, rgba(26,26,32,0.9) 0%, rgba(14,14,17,0.95) 100%);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  text-align: left;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(var(--accent-gold-rgb), 0.05);
  overflow: hidden;
}

/* Decorative Gold Trim Lines in Card */
.nominee-passport::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(212,175,55,0.06);
  border-radius: 10px;
  pointer-events: none;
}

.passport-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.passport-badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.passport-row-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.passport-cell h5 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.passport-cell p {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 400;
}

.passport-cell.card-id p {
  font-family: monospace;
  letter-spacing: 0.08em;
  color: var(--accent-gold-light);
  font-weight: 600;
}

.passport-footer {
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.passport-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #58d68d;
}

.passport-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #58d68d;
  box-shadow: 0 0 10px rgba(88, 214, 141, 0.5);
  animation: statusPulse 2s infinite alternate;
}

@keyframes statusPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

.passport-watermark {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 150px;
  height: 150px;
  opacity: 0.02;
  transform: rotate(-15deg);
  pointer-events: none;
}

.passport-watermark svg {
  width: 100%;
  height: 100%;
  fill: var(--accent-gold);
}

.thankyou-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* --- FOOTER --- */
footer {
  background-color: #040405;
  border-top: 1px solid var(--border-simple);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-info p {
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 280px;
}

.footer-links-col h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links a.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(240, 244, 248, 0.6);
  font-size: 13px;
  text-transform: none;
}

.footer-links a.footer-social-link:hover {
  color: #1DB954;
  transform: none;
}

.footer-links a.footer-social-link i {
  font-size: 18px;
}

.footer-bottom-socials {
  display: flex;
  gap: 12px;
}

.footer-bottom-socials a {
  color: rgba(240, 244, 248, 0.6);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.footer-bottom-socials a:hover {
  color: #1DB954;
}

/* Icon circles for four pillars */
.icon-circle-green {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(29, 185, 84, 0.15);
  color: #1DB954;
  margin-bottom: 1.25rem;
}

.icon-circle-teal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(14, 110, 120, 0.15);
  color: #0E6E78;
  margin-bottom: 1.25rem;
}

.icon-circle-green i,
.icon-circle-teal i {
  font-size: 20px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
  .teaser-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .teaser-display {
    height: 350px;
  }
  
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
  
  .footer-info {
    grid-column: span 2;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  header {
    background-color: rgba(7, 7, 9, 0.95);
    border-bottom: 1px solid var(--border-simple);
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 3rem 0;
    gap: 2.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.03);
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-item a {
    font-size: 1.1rem;
  }
  
  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
  }
  
  .thankyou-ctas {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
  }
  
  .passport-row-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-info {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   EVENT MODAL POPUP — shared across events.html & skills.html
   ============================================================ */
#event-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 8, 14, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.modal-inner {
  background: linear-gradient(160deg, #0e1a26 0%, #060d14 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
  animation: modalSlideUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,13,20,0) 30%, rgba(6,13,20,0.85) 100%);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(244,166,35,0.18);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.modal-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 10;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.modal-body {
  padding: 1.75rem 2rem;
}

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.modal-meta-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.modal-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.modal-covers-list,
.modal-gets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.modal-covers-list li,
.modal-gets-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.modal-covers-list li i,
.modal-gets-list li i {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.85rem;
}

.modal-hosts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal-host-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  flex: 1 1 240px;
}

.modal-host-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.modal-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.modal-price-big {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.modal-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.modal-pay-btn {
  flex: 1 1 180px;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #070709;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-sans);
}

.modal-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,166,35,0.35);
}

.modal-cal-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.modal-cal-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(244,166,35,0.06);
}

.modal-seats-note {
  font-size: 0.78rem;
  color: rgba(240,244,248,0.38);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ============================================================
   RESPONSIVE LAYOUT & HELPER CLASSES
   ============================================================ */

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

/* Study Sync Grid */
.study-sync-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

/* Language Hub Grid */
.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.col-center-last {
  grid-column: 2 / 3;
}

/* Other Skills Grid */
.other-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Premium Scroll Container */
.lang-scroll-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-glass-hover) rgba(255, 255, 255, 0.02);
  -webkit-overflow-scrolling: touch;
}

.lang-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.lang-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 99px;
}

.lang-scroll-container::-webkit-scrollbar-thumb {
  background-color: var(--border-glass-hover);
  border-radius: 99px;
}

.lang-scroll-container::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent-gold);
}

/* Media Query overrides */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .language-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .col-center-last {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .study-sync-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 1.5rem;
  }
  .study-sync-grid > div:last-child {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .language-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .other-skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Modal responsive stacking */
  .modal-btns {
    flex-direction: column;
    width: 100%;
  }
  .modal-pay-btn, .modal-cal-btn {
    width: 100%;
    flex: 1 1 auto;
    justify-content: center;
  }
  .modal-inner {
    margin: 1rem auto;
    border-radius: 12px;
  }
  .modal-body {
    padding: 1.25rem 1rem;
  }
  .modal-footer {
    padding: 1.25rem 1rem;
  }
  .modal-host-card {
    flex: 1 1 100%;
  }
}

