/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4285f4;
  --primary-dark: #3367d6;
  --secondary-color: #34a853;
  --accent-color: #ea4335;
  --warning-color: #fbbc05;
  --text-primary: #1a1a1a;
  --text-secondary: #5f6368;
  --text-light: #80868b;
  --background: #ffffff;
  --surface: #f8f9fa;
  --border: #e8eaed;
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
}

body.no-scroll {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.25rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

.logo {
  height: 40px;
  width: auto;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary) !important;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.mobile-menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 1100;
  position: relative;
}

.mobile-menu-button:hover,
.mobile-menu-button:focus-visible {
  background: rgba(66, 133, 244, 0.1);
  outline: none;
}

.mobile-menu-button .bar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
  transform: translate(-50%, calc(-50% + var(--bar-offset, 0)));
}

.mobile-menu-button .bar:nth-child(1) {
  --bar-offset: -12px;
}

.mobile-menu-button .bar:nth-child(2) {
  --bar-offset: 0;
}

.mobile-menu-button.closed .bar:nth-child(2) {
  transform: translate(-15px, -1px);
  --bar-offset: 12px;
}

.mobile-menu-button .bar:nth-child(3) {
  --bar-offset: 12px;
}

.mobile-menu-button.active .bar:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-button.active .bar:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0.4);
}

.mobile-menu-button.active .bar:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 2;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.hero-logo {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(45deg, #fff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-details {
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.detail-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.detail-text {
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.hero-graphic {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-element {
  position: absolute;
  font-size: 3rem;
  opacity: 0.7;
  animation: float 4s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: -1s;
}

.floating-element:nth-child(2) {
  top: 10%;
  right: 30%;
  animation-delay: -2s;
}

.floating-element:nth-child(3) {
  bottom: 30%;
  left: 10%;
  animation-delay: -3s;
}

.floating-element:nth-child(4) {
  bottom: 20%;
  right: 20%;
  animation-delay: -0.5s;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--surface);
}

.about-content {
  text-align: center;
}

.about-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Schedule Section */
.schedule {
  padding: 6rem 0;
}

.schedule-grid {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.schedule-header {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.schedule-header > div {
  padding: 1rem;
  text-align: center;
}

.schedule-row {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.schedule-row:hover {
  background: var(--surface);
}

.time-slot {
  padding: 1rem;
  background: var(--surface);
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.session {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
  cursor: pointer;
  transition: var(--transition);
  border-right: 1px solid var(--border);
}

.session:last-child {
  border-right: none;
}

.session.registration,
.session.opening,
.session.break,
.session.lunch {
  grid-column: span 2;
  text-align: center;
  background: var(--surface);
  border-right: none;
}

.session.sponsor {
  background: linear-gradient(135deg, var(--warning-color), #ffc107);
  color: white;
}

.session.talk.sponsor {
  border-left-color: var(--warning-color);
  background: linear-gradient(
    135deg,
    rgba(251, 188, 5, 0.1),
    rgba(255, 193, 7, 0.05)
  );
}

.session.talk.sponsor:hover {
  background: linear-gradient(
    135deg,
    rgba(251, 188, 5, 0.15),
    rgba(255, 193, 7, 0.1)
  );
}

.session.talk {
  border-left: 4px solid var(--primary-color);
}

.session.talk:hover {
  background: var(--surface);
  transform: translateX(2px);
}

.session-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

.session-video {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
  margin-top: 0.5rem;
  padding: 4px 8px;
  background: rgba(234, 67, 53, 0.1);
  border-radius: 4px;
  transition: var(--transition);
}

.session-video::before {
  content: "▶";
  font-size: 0.7rem;
}

.session-video:hover {
  background: var(--accent-color);
  color: white;
}

/* Speakers Section */
.speakers {
  padding: 6rem 0;
  background: var(--surface);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.speaker-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  cursor: pointer;
}

.speaker-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.speaker-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 600;
}

.speaker-avatar img,
.speaker-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback for missing profile images */
.speaker-avatar
  img[src*="assets/speakers/"]:not([src*=".jpg"]):not([src*=".png"]):not(
    [src*=".webp"]
  ),
.speaker-avatar-large
  img[src*="assets/speakers/"]:not([src*=".jpg"]):not([src*=".png"]):not(
    [src*=".webp"]
  ) {
  display: none;
}

/* The following block creates a strange artifact in the hero area */
/*
.speaker-avatar::after,
.speaker-avatar-large::after {
    content: attr(data-initials);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: 600;
    pointer-events: none;
}
*/

.speaker-name {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.speaker-talk {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.speakers-action {
  text-align: center;
}

/* Venue Section */
.venue {
  padding: 6rem 0;
}

.venue-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.venue-info h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.venue-address {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.address-line {
  margin-bottom: 0.5rem;
}

.venue-details p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.transport-info h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.transport-info ul {
  list-style: none;
  padding: 0;
}

.transport-info li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.map-container {
  height: 400px;
  background: var(--surface);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.map-overlay {
  text-align: center;
  color: var(--text-secondary);
}

/* Gallery Section */
.gallery {
  padding: 6rem 0;
  background: var(--background);
}

.gallery-description {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item {
    aspect-ratio: 4/3;
  }
}

/* Gallery Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-content {
  position: relative;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  background: #000;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s ease;
}

.lightbox.is-open .lightbox-content {
  transform: scale(1) translateY(0);
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  background: #000;
}

.lightbox-caption {
  padding: 0.75rem 1.25rem 1rem;
  color: #f5f5f5;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-index {
  font-weight: 500;
  margin-right: 0.75rem;
  opacity: 0.85;
}

.lightbox-caption-text {
  opacity: 0.9;
}

.lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--warning-color);
  outline: none;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.lightbox-arrow-prev {
  left: 0.75rem;
}

.lightbox-arrow-next {
  right: 0.75rem;
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  background: rgba(0, 0, 0, 0.7);
  outline: none;
}

/* Sponsors Section */
.sponsors {
  padding: 6rem 0;
  background: var(--surface);
}

.sponsors-content {
  text-align: center;
}

.sponsors-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  justify-items: center;
}

.sponsor-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.sponsor-card:hover {
  transform: translateY(-5px);
}

.sponsor-card.gold-sponsor {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border: 3px solid #b8860b;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  animation: goldShimmer 2s infinite alternate;
  max-width: 300px;
  padding: 2.5rem;
}

.sponsor-card.gold-sponsor:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.sponsor-card.silver-sponsor {
  background: linear-gradient(135deg, #c0c0c0, #808080);
  border: 3px solid #808080;
  box-shadow: 0 10px 30px rgba(180, 180, 180, 0.3);
  max-width: 300px;
  padding: 2.5rem;
}

.sponsor-card.silver-sponsor:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(180, 180, 180, 0.5);
}

.sponsor-tier {
  font-size: 0.8rem;
  font-weight: bold;
  color: #b8860b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.sponsor-link {
  text-decoration: none;
  display: inline-block;
}

.sponsor-logo {
  max-width: 150px;
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
  cursor: pointer;
}

.gold-sponsor .sponsor-logo {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.silver-sponsor .sponsor-logo {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sponsor-info {
  text-align: center;
  margin-top: 1rem;
}

.sponsor-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.sponsor-website {
  font-size: 0.9rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sponsor-website:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.gold-sponsor .sponsor-name,
.silver-sponsor .sponsor-name {
  color: #8b4513;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gold-sponsor .sponsor-website,
.silver-sponsor .sponsor-website {
  color: #654321;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gold-sponsor .sponsor-website:hover {
  color: #4a2c17;
  text-decoration: underline;
}

.silver-sponsor .sponsor-website:hover {
  color: #2c2c2c;
  text-decoration: underline;
}

.sponsor-card.bronze-sponsor {
  background: linear-gradient(135deg, #cd7f32, #a0522d);
  border: 3px solid #8b4513;
  box-shadow: 0 8px 25px rgba(205, 127, 50, 0.3);
  max-width: 280px;
  padding: 2rem;
}

.sponsor-card.bronze-sponsor:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 35px rgba(205, 127, 50, 0.4);
}

.bronze-sponsor .sponsor-tier {
  color: #8b4513;
}

.bronze-sponsor .sponsor-name {
  color: white;
}

.bronze-sponsor .sponsor-website {
  color: white;
  opacity: 0.9;
}

.bronze-sponsor .sponsor-website:hover {
  color: white;
  opacity: 1;
  text-decoration: underline;
}

/* GreyFlower specific styling to remove padding */
.sponsor-card img[src*="greyflower-logo"] {
  max-width: 250px;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
}

@keyframes goldShimmer {
  0% {
    background: linear-gradient(135deg, #ffd700, #ffa500);
  }
  100% {
    background: linear-gradient(135deg, #ffa500, #ffd700);
  }
}

@keyframes silverShimmer {
  0% {
    background: linear-gradient(135deg, #c0c0c0, #808080);
  }
  100% {
    background: linear-gradient(135deg, #808080, #c0c0c0);
  }
}

.sponsors-action {
  margin-top: 2rem;
}

/* Legal Content */
.legal-content {
  padding: 4rem 0;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.legal-section ul {
  margin-left: 1.5rem;
  line-height: 1.8;
}

.legal-section ul li {
  margin-bottom: 0.5rem;
}

.contact-info {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
  margin-top: 1rem;
}

.cta-section {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #ccc;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social-icon {
  margin-left: -6px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  background: transparent;
}

.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.8);
}

.footer-social-icon img {
  width: 20px;
  height: 20px;
}

.footer-social-icon.social-x img {
  width: 16px;
  height: 16px;
}

.footer-social-icon.social-bluesky img {
  width: 32px;
  height: 32px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Speakers Detail Page Styles */
.page-hero {
  padding: 120px 0 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.speakers-detail {
  padding: 6rem 0;
}

.speakers-grid-detail {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.speaker-card-detail {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition);
}

.speaker-card-detail:hover {
  box-shadow: var(--shadow-medium);
}

.speaker-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem;
  background: var(--surface);
  align-items: center;
}

.speaker-avatar-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 600;
  flex-shrink: 0;
}

.speaker-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-info h2 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.speaker-title {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.speaker-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-link:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(66, 133, 244, 0.05);
}

.speaker-content {
  padding: 2rem;
}

.talk-info {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.talk-info h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.talk-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.talk-time,
.talk-room {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 16px;
  background: var(--surface);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

.talk-time::before {
  content: "🕒";
}

.talk-room::before {
  content: "📍";
}

.talk-type {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--warning-color);
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(251, 188, 5, 0.1);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  border: 1px solid rgba(251, 188, 5, 0.3);
}

.talk-type::before {
  content: "🎯";
}

.talk-video {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(234, 67, 53, 0.1);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.talk-video::before {
  content: "▶";
}

.talk-video:hover {
  background: var(--accent-color);
  color: white;
}

.sponsor-talk h3 {
  color: var(--warning-color);
}

.speaker-bio {
  margin-bottom: 2rem;
}

.speaker-bio p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.1rem;
}

.talk-abstract h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.talk-abstract p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

.speakers-cta {
  padding: 6rem 0;
  background: var(--surface);
  text-align: center;
}

.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .hero-logo {
    height: 80px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .venue-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .mobile-menu-button {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeInUp 0.3s ease;
    z-index: 1099;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    color: var(--text-primary);
  }

  .hero-title-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-logo {
    height: 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .schedule-grid {
    font-size: 0.9rem;
  }

  .schedule-row {
    grid-template-columns: 110px 1fr;
    grid-auto-rows: auto;
    align-items: stretch;
  }

  .schedule-header {
    grid-template-columns: 110px 1fr;
    grid-auto-rows: auto;
  }

  .schedule-header .track-column {
    grid-column: 2;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .schedule-header .track-column:first-of-type {
    border-top: none;
    padding-top: 1rem;
  }

  .time-slot {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 1rem 0.75rem;
  }

  .schedule-row .session {
    grid-column: 2;
    border-right: none;
    align-items: flex-start;
    padding: 1rem;
  }

  .schedule-row .session + .session {
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
  }

  .schedule-row .session[data-track]::before {
    content: attr(data-track);
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
  }

  .session.registration,
  .session.opening,
  .session.break,
  .session.lunch {
    grid-column: 2;
    border-left: none;
  }

  .speakers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  /* Speaker detail responsive fixes */
  .speaker-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .speaker-avatar-large {
    margin: 0 auto;
  }

  .speaker-info h2 {
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .speaker-title {
    font-size: 1rem;
  }

  .speaker-social {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .social-link {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .talk-info h3 {
    font-size: 1.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .speaker-content {
    padding: 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

  .schedule-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .time-slot {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: auto;
    padding: 0.75rem;
  }

  .session {
    border-right: none;
    min-height: auto;
  }

  /* Additional speaker detail responsive fixes for small screens */
  .speaker-info h2 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .speaker-title {
    font-size: 0.95rem;
  }

  .talk-info h3 {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .talk-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .speaker-bio,
  .talk-abstract {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .speaker-avatar-large {
    width: 100px;
    height: 100px;
  }

  .speaker-content {
    padding: 1rem;
  }

  .social-link {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

/* Thank You Page Styles */
.thank-you-content {
  padding: 4rem 0;
  background: var(--background);
}

.thank-you-card {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  padding: 3rem;
  animation: fadeInUp 0.6s ease-out;
}

.success-icon {
  font-size: 5rem;
  text-align: center;
  margin-bottom: 2rem;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.thank-you-message {
  text-align: center;
  margin-bottom: 3rem;
}

.thank-you-message h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-message .lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.event-details-box {
  background: var(--surface);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 3rem;
  border-left: 4px solid var(--primary-color);
}

.event-details-box h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.detail-item-simple {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-icon-simple {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.detail-item-simple strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.detail-item-simple div {
  color: var(--text-secondary);
  line-height: 1.6;
}

.next-steps {
  margin-bottom: 3rem;
}

.next-steps h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.checklist li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.checklist li a:hover {
  text-decoration: underline;
}

.quick-links {
  margin-bottom: 3rem;
}

.quick-links h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.quick-link-card:hover {
  background: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-light);
  transform: translateY(-2px);
}

.quick-link-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.quick-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quick-link-text strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.quick-link-text span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.contact-section {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--border-radius);
}

.contact-section h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-section p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.contact-section a:hover {
  text-decoration: underline;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Thank You Page Responsive Styles */
@media (max-width: 768px) {
  .thank-you-card {
    padding: 2rem 1.5rem;
  }

  .thank-you-message h2 {
    font-size: 2rem;
  }

  .thank-you-message .lead {
    font-size: 1.1rem;
  }

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

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

  .event-details-box {
    padding: 1.5rem;
  }

  .success-icon {
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  .thank-you-card {
    padding: 1.5rem 1rem;
  }

  .thank-you-message h2 {
    font-size: 1.75rem;
  }

  .event-details-box h3,
  .next-steps h3,
  .quick-links h3,
  .contact-section h3 {
    font-size: 1.25rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}
