/* =========================================================
   TEDxThiagarajar College of Engineering — Master Stylesheet
   Theme: "WE ARE THE SYSTEM"
   ========================================================= */

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

/* ===== CSS VARIABLES / DESIGN TOKENS ===== */
:root {
  --red: #EB0028;
  --red-dark: #C4001F;
  --red-glow: rgba(235, 0, 40, 0.25);
  --red-glow-strong: rgba(235, 0, 40, 0.5);
  --gold: #FFB800;
  --gold-glow: rgba(255, 184, 0, 0.2);
  --black: #0A0A0A;
  --off-black: #111111;
  --dark: #161616;
  --dark-elevated: #1F1F1F;
  --card-bg: #1A1A1A;
  --card-hover: #222222;
  --border: #2B2B2B;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(235, 0, 40, 0.6);
  --white: #FFFFFF;
  --off-white: #EDEDED;
  --subtle: #A0A0A0;
  --muted: #666666;
  --nav-h: 74px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--black);
}

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

/* ===== UTILITIES & TYPOGRAPHY ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.section-title strong {
  font-weight: 800;
  color: var(--white);
}

.section-title .red-text {
  color: var(--red);
  font-weight: 800;
}

.red-line {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin-top: 14px;
  border-radius: var(--radius-full);
}

.page-header {
  padding: calc(var(--nav-h) + 48px) 0 40px;
  background: radial-gradient(circle at 50% 0%, rgba(235, 0, 40, 0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.page-header-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-desc {
  margin-top: 16px;
  color: var(--subtle);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVIGATION ===== */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

nav.site-nav.scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom-color: rgba(235, 0, 40, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-tedx {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

.brand-tedx span {
  color: var(--red);
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.brand-college {
  font-size: 11px;
  line-height: 1.25;
  color: var(--subtle);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-college strong {
  color: var(--off-white);
  display: block;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--subtle);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  border-radius: var(--radius-full);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  box-shadow: 0 4px 16px var(--red-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover {
  background: #ff1a40;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--red-glow-strong);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 8px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(14, 14, 14, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease;
  z-index: 999;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--subtle);
}

.mobile-menu a.active, .mobile-menu a:hover {
  color: var(--white);
  background: var(--dark);
}

.mobile-menu .nav-cta {
  text-align: center;
  justify-content: center;
  margin-top: 8px;
}

/* ===== HERO (HOME) ===== */
.hero-section {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(235, 0, 40, 0.15) 0%, transparent 60%);
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(235, 0, 40, 0.1);
  border: 1px solid rgba(235, 0, 40, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(235, 0, 40, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(235, 0, 40, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(235, 0, 40, 0); }
}

.hero-title-main {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-theme-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--off-white);
  max-width: 780px;
  margin-bottom: 32px;
  line-height: 1.4;
}

.hero-theme-quote strong {
  font-weight: 700;
  color: var(--red);
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 16px 24px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 36px;
  width: fit-content;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-meta-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(235, 0, 40, 0.12);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.hero-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hero-meta-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px var(--red-glow);
}

.btn-primary:hover {
  background: #ff1a40;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--red-glow-strong);
}

.btn-secondary {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background: var(--dark-elevated);
  border-color: var(--subtle);
  transform: translateY(-2px);
}

/* Live Seat Counter Pill */
.seat-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.seat-counter-pill .pulse-gold {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* Countdown Clock */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 480px;
  margin-top: 36px;
}

.countdown-box {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
}

.countdown-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.countdown-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ===== QUICK FEATURE CARDS (HOME) ===== */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 60px 0;
}

.quick-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border);
  transition: var(--transition);
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  background: var(--card-hover);
}

.quick-card:hover::before {
  background: var(--red);
}

.quick-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(235, 0, 40, 0.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.quick-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.quick-card p {
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.quick-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quick-card-link:hover {
  gap: 10px;
}

/* ===== TEAM SECTION & MEMBER CARDS ===== */
.team-wrapper {
  padding: 50px 0 80px;
}

.team-subheading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 48px 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.team-subheading span.badge-count {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* 1. Advisors Prominent Row */
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.advisor-card {
  background: linear-gradient(145deg, #1C1A14 0%, #151515 100%);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.advisor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.advisor-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(255, 184, 0, 0.15);
}

.advisor-badge-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255, 184, 0, 0.15);
  color: var(--gold);
  border: 1px solid rgba(255, 184, 0, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.advisor-photo-wrap {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  padding: 4px;
  background: var(--dark);
  box-shadow: 0 0 20px var(--gold-glow);
  position: relative;
}

.advisor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.advisor-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.advisor-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 2. Organizer Showcase Card */
.organizer-showcase {
  background: linear-gradient(135deg, rgba(235, 0, 40, 0.08) 0%, var(--dark) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(235, 0, 40, 0.1);
}

.organizer-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
}

.organizer-photo-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--red);
  padding: 4px;
  background: var(--dark);
  flex-shrink: 0;
  box-shadow: 0 0 24px var(--red-glow);
}

.organizer-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.organizer-details h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin: 6px 0;
}

.organizer-license-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.organizer-bio-text {
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.7;
  max-width: 680px;
}

/* 3. Sub-Team Member Cards (8 per sub-team) */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.member-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  background: var(--card-hover);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.member-card.is-head {
  border-color: rgba(235, 0, 40, 0.4);
  background: linear-gradient(180deg, rgba(235, 0, 40, 0.08) 0%, var(--card-bg) 100%);
}

.member-card.is-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}

.head-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.member-photo-frame {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: var(--dark);
  margin-bottom: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  padding: 3px;
  transition: var(--transition);
}

.member-card:hover .member-photo-frame {
  border-color: var(--red);
  transform: scale(1.04);
}

.member-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.member-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
}

.member-dept-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-year {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ===== SPEAKERS PAGE & CARDS ===== */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin: 40px 0 80px;
}

.speaker-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.speaker-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}

.speaker-photo-container {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.speaker-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-photo-container img {
  transform: scale(1.05);
}

.speaker-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--card-bg) 0%, transparent 60%);
}

.speaker-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.speaker-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.speaker-name-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.speaker-designation-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.speaker-talk-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--red);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 14px;
}

.speaker-talk-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.speaker-talk-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--off-white);
  line-height: 1.4;
}

.speaker-bio-desc {
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.65;
  margin-top: auto;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.pillar-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  opacity: 0.8;
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 13.5px;
  color: var(--subtle);
  line-height: 1.6;
}

.about-quote-banner {
  background: linear-gradient(135deg, rgba(235, 0, 40, 0.1) 0%, var(--dark) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 48px;
  margin: 50px 0;
  text-align: center;
}

.about-quote-banner blockquote {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--off-white);
  max-width: 900px;
  margin: 0 auto;
}

.about-quote-banner cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 20px;
}

/* ===== CONTACT & VENUE PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0 80px;
}

.venue-info-box {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.venue-info-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.venue-address-text {
  font-size: 15px;
  color: var(--subtle);
  line-height: 1.8;
  margin-bottom: 24px;
}

.venue-map-frame {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
}

.venue-map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.transit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.transit-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.transit-card .label {
  font-size: 9px;
  margin-bottom: 4px;
}

.transit-card strong {
  display: block;
  font-size: 13px;
  color: var(--white);
}

.transit-card span {
  font-size: 11px;
  color: var(--muted);
}

/* FAQ Accordion */
.faq-wrap {
  margin-top: 40px;
}

.faq-card {
  border-bottom: 1px solid var(--border);
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-btn:hover {
  color: var(--red);
}

.faq-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--subtle);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-card.active .faq-icon-circle {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 0 20px;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.7;
}

.faq-card.active .faq-answer {
  max-height: 250px;
}

/* ===== REGISTRATION MODAL ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #141414;
  border: 1px solid rgba(235, 0, 40, 0.3);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--red-glow);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.modal-close-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--white);
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-submit-btn {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  box-shadow: 0 6px 20px var(--red-glow);
}

.form-submit-btn:hover {
  background: #ff1a40;
  box-shadow: 0 8px 24px var(--red-glow-strong);
}

/* Ticket Display Inside Modal */
.ticket-success-view {
  display: none;
  text-align: center;
}

.ticket-pass-box {
  background: #1C1C1C;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 20px 0;
  position: relative;
}

.ticket-pass-box::before {
  content: 'OFFICIAL PASS';
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: var(--red);
  color: var(--white);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.ticket-qr-wrap {
  width: 160px;
  height: 160px;
  background: #FFFFFF;
  padding: 8px;
  border-radius: var(--radius-sm);
  margin: 14px auto;
}

.ticket-qr-wrap img {
  width: 100%;
  height: 100%;
}

.ticket-id-code {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin: 6px 0;
}

/* ===== FOOTER ===== */
footer.site-footer {
  margin-top: auto;
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h4 {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand h4 span {
  color: var(--red);
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: var(--subtle);
}

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .team-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .advisors-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 650px;
    margin: 0 auto 36px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .organizer-showcase {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .organizer-showcase::before {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
  }
  .team-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .venue-info-box {
    padding: 24px 18px;
  }
  .venue-info-box h3 {
    font-size: 1.25rem;
  }
  .transit-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .faq-btn {
    font-size: 14px;
    padding: 16px 0;
    gap: 12px;
  }
  .faq-answer-inner {
    font-size: 13px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .advisors-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto 36px;
  }
  .team-cards-grid {
    grid-template-columns: 1fr;
  }
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    gap: 16px;
  }
  .venue-info-box {
    padding: 18px 14px;
  }
  .venue-info-box h3 {
    font-size: 1.1rem;
  }
  .venue-address-text {
    font-size: 13px;
  }
  .venue-map-frame {
    height: 200px;
  }
  .transit-list {
    grid-template-columns: 1fr;
  }
  .transit-card {
    padding: 12px;
  }
  .faq-btn {
    font-size: 13px;
    padding: 14px 0;
  }
  .seat-counter-pill {
    font-size: 11px;
    padding: 6px 14px;
    gap: 8px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
