/* GenAI Wednesday Munich - Main Stylesheet */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0309, U+0323, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #6C3AED;
  --primary-light: #8B5CF6;
  --accent: #F59E0B;
  --dark: #0F0A1A;
  --dark-surface: #1A1128;
  --dark-card: #231736;
  --text: #E8E0F0;
  --text-muted: #A89BBE;
  --gradient: linear-gradient(135deg, #6C3AED, #EC4899, #F59E0B);
  --gradient-subtle: linear-gradient(135deg, rgba(108,58,237,0.15), rgba(236,72,153,0.15));
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.05rem;
  overflow-x: hidden;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #FFFFFF;
  text-shadow: 0 0 40px rgba(108,58,237,0.3);
}
.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,58,237,0.4); }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-outline { border: 2px solid var(--primary-light); color: var(--primary-light); background: transparent; }
.btn-outline:hover { background: var(--primary-light); color: #fff; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  z-index: 10000;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* Navigation */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,10,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108,58,237,0.15);
  padding: 12px 0;
  transition: background 0.3s;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.navbar-logo img { height: 40px; border-radius: 50%; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(108,58,237,0.12) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(236,72,153,0.08) 0%, transparent 50%);
  animation: heroGlow 15s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-5%, 5%); }
}
.hero-content { position: relative; z-index: 1; text-align: center; width: 100%; }
.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(108,58,237,0.3);
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.15;
  padding-bottom: 0.05em;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: -20px auto 40px;
  line-height: 1.8;
  font-style: italic;
  opacity: 0.85;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}
.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat p { font-size: 0.9rem; color: var(--text-muted); }

/* Featured / Latest Videos */
.featured-section {
  padding: 60px 0 20px;
  background: var(--dark);
}
.featured-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.featured-card {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(108,58,237,0.25);
}
.featured-card-stacked {
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px rgba(108,58,237,0.1);
  position: relative;
  overflow: hidden;
}
.featured-card-stacked h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: var(--text);
}
.featured-card-stacked .featured-video {
  margin: 16px 0;
}
.featured-card-stacked .featured-teaser {
  margin-bottom: 20px;
}
.featured-badge {
  display: inline-block;
  background: var(--gradient-subtle);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(108,58,237,0.3);
}
.featured-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.featured-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.featured-thumbnail {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.featured-video:hover .featured-thumbnail {
  transform: scale(1.03);
}
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(108,58,237,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.featured-video:hover .play-overlay {
  background: rgba(108,58,237,1);
  transform: translate(-50%, -50%) scale(1.1);
}
.featured-info h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text);
}
.featured-speakers {
  font-size: 1.1rem;
  color: #A78BFA;
  margin-bottom: 16px;
  font-weight: 600;
}
.featured-teaser {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .featured-scroll {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .featured-scroll .featured-card {
    width: 100%;
  }
  .featured-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .featured-card {
    padding: 24px;
  }
  .featured-info h2 {
    font-size: 1.4rem;
  }
  .play-overlay {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Upcoming Event */
#upcoming { background: var(--dark-surface); }
.upcoming-card {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid rgba(108,58,237,0.2);
  text-align: center;
}
.upcoming-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #FFFFFF;
}
.upcoming-card .date {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.luma-embed-wrapper {
  margin-top: 32px;
}

/* Upcoming card — featured event layout (photo on left, text on right) */
.upcoming-card-featured {
  text-align: left;
  padding: 40px;
}
.upcoming-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
.upcoming-photo-wrap {
  display: flex;
  justify-content: center;
}
.upcoming-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-light);
  box-shadow: 0 12px 40px rgba(108,58,237,0.35);
}
.upcoming-text { min-width: 0; }
.upcoming-card-featured .date-badge {
  display: inline-block;
  margin-bottom: 16px;
}
.upcoming-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #FFFFFF;
}
.upcoming-speaker {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 6px;
}
.upcoming-speaker .upcoming-role {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1rem;
}
.upcoming-meta {
  color: var(--text-muted);
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.upcoming-blurb {
  color: var(--text-muted);
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.upcoming-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.upcoming-footnote {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 32px 0 0;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.upcoming-footnote a { color: #8B5CF6; font-weight: 600; }

/* Why Now Section */
.why-now-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}
.why-now-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.why-now-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.why-now-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.why-now-item p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* FAQ Section */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(108,58,237,0.12);
  padding: 0;
}
.faq-item summary {
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary-light);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  padding: 0 0 20px;
}
.faq-item a { color: var(--primary-light); }

/* Why Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.why-card {
  background: var(--dark-card);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(108,58,237,0.12);
  transition: transform 0.3s, border-color 0.3s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--primary-light); }
.why-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}
.why-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: #FFFFFF; }
.why-card p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

/* Events */
.events-timeline { display: flex; flex-direction: column; gap: 24px; }
.event-card {
  display: flex;
  gap: 24px;
  background: var(--dark-card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(108,58,237,0.12);
  transition: border-color 0.3s, transform 0.2s;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.event-card:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.event-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}
.event-date .month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}
.event-date .day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.event-date .year {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.event-speaker-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}
.event-info { flex: 1; }
.event-info h3 { font-size: 1.3rem; margin-bottom: 6px; color: #FFFFFF; }
.event-info .speaker-name { color: var(--primary-light); font-weight: 600; font-size: 1.1rem; }
.event-info .speaker-role { color: var(--text-muted); font-size: 1rem; }
.event-links { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.event-link {
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(139,92,246,0.4);
  color: #B794F6;
  transition: background 0.2s;
}
.event-link:hover { background: rgba(108,58,237,0.2); color: #FFFFFF; }

/* Impressions */
#impressions { background: var(--dark-surface); }
.video-wrapper {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(108,58,237,0.2);
}
.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 9/16;
  display: block;
}

/* Join */
.join-card {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  border: 1px solid rgba(108,58,237,0.2);
  position: relative;
  overflow: hidden;
}
.join-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}
.join-card h2 { font-size: 2rem; margin-bottom: 16px; color: #FFFFFF; }
.join-card p { color: var(--text-muted); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.join-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--dark-card);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(108,58,237,0.12);
  transition: transform 0.3s;
}
.team-card:hover { transform: translateY(-4px); }
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--primary);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--text-muted); font-size: 1rem; margin-bottom: 12px; }
.team-card .bio { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Speaker Quotes */
.speaker-quote {
  border-left: 4px solid var(--primary);
  margin: 20px 0;
  padding: 16px 24px;
  background: rgba(108,58,237,0.08);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

/* Resource Cards */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.resource-card {
  background: var(--dark-card);
  border: 1px solid rgba(108,58,237,0.15);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: block;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108,58,237,0.2);
  border-color: var(--primary-light);
}
.resource-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.resource-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 8px;
}
.resource-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--dark-surface);
  border-top: 1px solid rgba(108,58,237,0.15);
  padding: 48px 0 24px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand { max-width: 300px; }
.footer-brand img { height: 40px; border-radius: 50%; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 1rem; }
.footer-links h4 { font-size: 1rem; margin-bottom: 12px; color: var(--text); }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 8px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid rgba(108,58,237,0.1);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Event Detail Page */
.event-detail { padding-top: 100px; }
.event-hero {
  text-align: left;
  padding: 60px 0;
}
.event-hero .date-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  background: rgba(245,158,11,0.15);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.event-hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 24px; }
.event-speaker-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.event-speaker-detail img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.event-speaker-detail .info h3 { font-size: 1.2rem; }
.event-speaker-detail .info p { color: var(--text-muted); font-size: 0.95rem; }
.event-hero .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 24px;
}
.event-hero .btn-row .btn-invite {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  opacity: 0.7;
  border: none;
  background: none;
  padding: 0;
  text-decoration: underline;
  color: var(--text-muted);
}
.event-hero .btn-row .btn-invite:hover { opacity: 1; }
.event-hero .btn-row-wrapper {
  position: relative;
  padding-right: 120px;
}
@media (max-width: 768px) {
  .event-hero .btn-row-wrapper { padding-right: 0; }
  .event-hero .btn-row .btn-invite { position: static; transform: none; margin-top: 8px; }
}
.event-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.event-content h2 { font-size: 1.5rem; margin: 32px 0 16px; color: var(--text); }
.event-content p { color: var(--text-muted); margin-bottom: 16px; }
.event-content ul { list-style: none; margin-bottom: 24px; }
.event-content ul li {
  padding: 8px 0;
  position: relative;
  color: var(--text-muted);
}
.event-content ul.emoji-list li { padding-left: 0; }
.event-content ul.emoji-list li::before { content: none; }
.event-video {
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(108,58,237,0.2);
}
.event-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
}

/* Partner Section */
.partner-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--dark-card);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid rgba(108,58,237,0.15);
  max-width: 700px;
  margin: 0 auto;
}
.partner-logo {
  flex-shrink: 0;
}
.partner-info h3 { font-size: 1.3rem; margin-bottom: 12px; }
.partner-info h3 a { color: var(--text); text-decoration: none; }
.partner-info h3 a:hover { color: var(--primary-light); }
.partner-info p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; }
@media (max-width: 768px) {
  .partner-card { flex-direction: column; text-align: center; padding: 32px 20px; }
}

/* Sponsor logos on detail pages */
.sponsor-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.sponsor-logos a {
  display: inline-block;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.sponsor-logos a:hover { opacity: 1; }
.sponsor-logos img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.sponsor-logos img[alt="jambit"] {
  height: 36px;
}
.sponsor-logos img[alt="CompuSafe"] {
  height: 44px;
}

/* Slides Card */
.slides-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: rgba(108,58,237,0.05);
  border: 1px solid rgba(108,58,237,0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}
.slides-preview {
  position: relative;
  flex-shrink: 0;
  width: 160px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.slides-preview:hover { transform: scale(1.03); }
.slides-preview img {
  width: 100%;
  display: block;
}
.slides-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slides-badge {
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}
.slides-label {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}
.slides-info h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }
.slides-info p { color: var(--text-muted); font-size: 0.95rem; }
/* Video container — responsive 16:9 */
.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: 24px 0 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.slides-hero {
  margin: 32px 0;
  position: relative;
  max-width: 900px;
}
.slides-preview-large {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.slides-preview-large:hover { transform: scale(1.01); }
.slides-preview-large .slides-overlay {
  padding: 16px 24px;
}
.slides-preview-large .slides-badge {
  font-size: 0.85rem;
  padding: 4px 12px;
}
.slides-preview-large .slides-label {
  font-size: 1rem;
}
@media (max-width: 768px) {
  .slides-card { flex-direction: column; }
  .slides-preview { width: 100%; }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .hero-stats { gap: 30px; }
  .hero-stat-number { font-size: 2rem; }
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--dark);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(108,58,237,0.15);
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-stat-number { font-size: 1.8rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 2rem; }
  .event-card { flex-direction: column; text-align: center; }
  .upcoming-card { padding: 32px 20px; }
  .upcoming-card-featured { padding: 32px 20px; text-align: center; }
  .upcoming-grid { grid-template-columns: 1fr; gap: 20px; }
  .upcoming-photo { width: 140px; height: 140px; }
  .upcoming-title { font-size: 1.5rem; }
  .upcoming-actions { justify-content: center; }
  .join-card { padding: 40px 20px; }
  .footer-content { flex-direction: column; }
  .event-hero h1 { font-size: 1.8rem; }
}

/* Tech stack table */
.tech-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  background: var(--dark-card);
  border: 1px solid rgba(108,58,237,0.15);
  border-radius: 12px;
  overflow: hidden;
}
.tech-table thead tr {
  background: rgba(108,58,237,0.1);
}
.tech-table th {
  text-align: left;
  padding: 14px 20px;
  color: #8B5CF6;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(139,92,246,0.25);
}
.tech-table td {
  padding: 14px 20px;
}
.tech-table td:first-child {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.tech-table td:last-child {
  color: var(--text-muted);
}
.tech-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.tech-table tbody tr:hover {
  background: rgba(108,58,237,0.06);
}
.tech-table tbody tr:last-child {
  border-bottom: none;
}

/* Tag pills for event detail pages */
.event-tags { margin-bottom: 24px; }
.event-tags .tag-pill {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  margin: 2px 0;
}
.event-tags .tag-pill:hover {
  background: rgba(108,58,237,0.2);
  color: var(--primary-light);
  border-color: var(--primary);
}

/* Lite YouTube Embed */
.lite-youtube {
  position: relative;
  cursor: pointer;
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  margin: 24px 0 40px;
  aspect-ratio: 16/9;
  background: #000;
}
.lite-youtube img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lite-youtube .lite-youtube-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(255,0,0,0.8);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  pointer-events: none;
}
.lite-youtube:hover .lite-youtube-play {
  background: rgba(255,0,0,1);
}
.lite-youtube .lite-youtube-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.lite-youtube iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
