:root {
  --bg0: #071427;
  --bg1: #0b1f3e;
  --card: rgba(255, 255, 255, 0.92);
  --text: #0b1220;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.12);
  --brand0: #0f2b5e;
  --brand1: #1a6cb3;
  --brand2: #00a8b5;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(2, 8, 23, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(26, 108, 179, 0.25), transparent 60%),
    radial-gradient(900px 700px at 80% 0%, rgba(0, 168, 181, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg0), #050a14);
  color: var(--white);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(5, 10, 20, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

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

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 10px;
  border-radius: 10px;
  transition: background 150ms ease, color 150ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.98);
}

.nav-cta {
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #062033;
  font-weight: 700;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  margin: 6px 0;
}

.hero {
  position: relative;
  padding: 54px 0 30px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transform: scale(1.02);
}

.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 25% 15%, rgba(26, 108, 179, 0.18), transparent 60%),
    radial-gradient(900px 520px at 75% 20%, rgba(0, 168, 181, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(5, 10, 20, 0.30), rgba(5, 10, 20, 0.78));
}

.no-hero-video .hero-video {
  display: none;
}

.no-hero-video .hero-poster {
  opacity: 0.85;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(15, 43, 94, 0.28), transparent 65%),
    radial-gradient(900px 500px at 75% 25%, rgba(26, 108, 179, 0.20), transparent 70%),
    radial-gradient(700px 450px at 60% 70%, rgba(0, 168, 181, 0.12), transparent 70%);
  opacity: 1;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
  z-index: 1;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 168, 181, 0.16);
  border: 1px solid rgba(0, 168, 181, 0.28);
}

.badge.subtle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.3px;
}

.hero-subtitle {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.meta {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.chair-tile {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  width: fit-content;
}

.chair-photo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.chair-name {
  font-weight: 950;
  letter-spacing: -0.2px;
}

.chair-role {
  margin-top: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.76);
}

.meta-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 12px;
}

.meta-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.meta-value {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.countdown {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 10px;
}

.countdown-num {
  font-weight: 950;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.countdown-label {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 120ms ease, background 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  border-color: rgba(0, 168, 181, 0.35);
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #062033;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  background: var(--card);
  border-radius: 18px;
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.hero-card-top {
  padding: 18px 18px 10px;
  background: linear-gradient(135deg, rgba(26, 108, 179, 0.12), rgba(0, 168, 181, 0.08));
  border-bottom: 1px solid var(--line);
}

.hero-card-top h2 {
  margin: 0;
  font-size: 16px;
}

.hero-card-top p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.checklist {
  margin: 0;
  padding: 14px 18px 18px;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  color: #1f2a44;
  line-height: 1.45;
  font-size: 13px;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
}

.section {
  padding: 44px 0;
}

.section.bg {
  position: relative;
  overflow: hidden;
}

.section.bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  opacity: 0.18;
  transform: scale(1.02);
}

.section.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 20% 20%, rgba(26, 108, 179, 0.12), transparent 62%),
    radial-gradient(900px 520px at 80% 25%, rgba(0, 168, 181, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(5, 10, 20, 0.84), rgba(5, 10, 20, 0.96));
}

.section.bg > .container {
  position: relative;
  z-index: 1;
}

.section.section-alt.bg {
  background: transparent;
}

.bg-videos {
  --section-bg: url('/images/backgrounds/bg-videos.jpg');
}

.bg-gallery {
  --section-bg: url('/images/backgrounds/bg-gallery.jpg');
}

.bg-about {
  --section-bg: url('/images/backgrounds/bg-about.jpg');
}

.bg-agenda {
  --section-bg: url('/images/backgrounds/bg-agenda.jpg');
}

.bg-committee {
  --section-bg: url('/images/backgrounds/bg-committee.jpg');
}

.bg-venue {
  --section-bg: url('/images/backgrounds/bg-venue.jpg');
}

.bg-sponsors {
  --section-bg: url('/images/backgrounds/bg-sponsors.jpg');
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.2px;
}

.section-head p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 72ch;
  line-height: 1.6;
}

.grid-2 {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
}

.panel h3 {
  margin: 0;
  font-size: 16px;
}

.panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.bullets {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.agenda {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.agenda-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.session {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px 14px;
}

.session.break {
  background: rgba(0, 168, 181, 0.08);
  border-color: rgba(0, 168, 181, 0.18);
}

.session-time {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.session-title {
  margin-top: 8px;
  font-weight: 950;
  letter-spacing: -0.2px;
}

.session-desc {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
  font-size: 13px;
}

.session-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  cursor: pointer;
}

.mini:hover {
  background: rgba(255, 255, 255, 0.12);
}

.toast {
  margin-top: 14px;
  display: none;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1220;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.toast.show {
  display: block;
}

.video-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.video-tile {
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

.video-thumb {
  height: 150px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.video-meta {
  padding: 12px 12px 14px;
}

.video-title {
  font-weight: 950;
  letter-spacing: -0.2px;
}

.video-desc {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.play {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  right: 12px;
  top: 12px;
  background: rgba(5, 10, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.video-tile {
  position: relative;
}

.play::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 18px;
  width: 0;
  height: 0;
  border-left: 14px solid rgba(255, 255, 255, 0.95);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.carousel {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
}

.carousel-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
}

.carousel-btn.prev::before {
  transform: rotate(-135deg);
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 10px;
  padding: 10px;
  transform: translateX(0px);
  transition: transform 220ms ease;
}

.carousel-slide {
  height: 220px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

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

.speaker-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.speaker {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.speaker.wide {
  grid-column: span 1;
  padding: 16px;
}

.speaker-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.speaker-body {
  padding: 14px 14px 16px;
}

.speaker-name {
  font-weight: 950;
}

.speaker-role {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.speaker-desc {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 13px;
}

.map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 14px;
}

.venue-images {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 12px;
}

.venue-images img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.modal,
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal.open,
.lightbox.open {
  display: block;
}

.modal-backdrop,
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
}

.modal-panel {
  position: relative;
  width: min(980px, calc(100% - 28px));
  margin: 70px auto;
  background: rgba(5, 10, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
}

.modal-head {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-title {
  font-weight: 900;
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
}

.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 11px;
  width: 2px;
  height: 16px;
  background: rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-body {
  padding: 14px;
}

.ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-panel {
  position: relative;
  width: min(1100px, calc(100% - 28px));
  margin: 70px auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 10, 20, 0.92);
}

.lightbox-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 10, 20, 0.55);
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 12px;
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.agenda-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.agenda-row:first-child {
  border-top: 0;
}

.agenda-row.break {
  background: rgba(0, 168, 181, 0.08);
}

.time {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.item .title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
}

.item .desc {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  font-size: 13px;
}

.sponsor-main {
  margin-top: 18px;
}

.sponsor-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sponsor-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.sponsor-card.main {
  min-height: 130px;
  background: linear-gradient(135deg, rgba(26, 108, 179, 0.18), rgba(0, 168, 181, 0.12));
  border-color: rgba(0, 168, 181, 0.22);
}

.sponsor-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.sponsor-name {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 10, 20, 0.7);
}

.footer-inner {
  padding: 22px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-title {
  font-weight: 900;
}

.footer-sub {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  font-size: 13px;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  display: grid;
  gap: 6px;
  text-align: right;
}

.mt-14 {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .meta {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .agenda-cards {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .speaker-grid {
    grid-template-columns: 1fr;
  }
  .venue-images {
    grid-template-columns: 1fr;
  }
  .venue-images img {
    height: 220px;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .nav {
    position: fixed;
    top: 62px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(5, 10, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 12px;
  }

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

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

  .footer-meta {
    text-align: left;
  }
}
