/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  z-index: 10000;
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #4285f4;
  outline-offset: 2px;
}

:root {
  color-scheme: light;
  --gdg-blue: #4285F4;
  --gdg-red: #EA4335;
  --gdg-yellow: #FBBC04;
  --gdg-green: #34A853;
  --bg-dark: #090d16;
  --bg-card: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --text-main: #0f172a;
  --text-muted: #475569;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Google Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: #0f172a;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

    /* Background Video Container */
    .hero-video-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      pointer-events: none;
      z-index: 0;
    }

    .hero-poster-picture,
    .hero-poster-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 1;
      filter: saturate(1.15) brightness(1.02);
      z-index: 0;
    }

    .hero-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 1;
      filter: saturate(1.15) brightness(1.02);
      z-index: 1;
      transition: opacity 0.5s ease;
    }

    .video-overlay-light-dark {
      position: absolute;
      inset: 0;
      background: rgba(9, 13, 22, 0.38);
      z-index: 2;
    }

    .video-overlay-gradient-h {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 50%, rgba(9, 13, 22, 0.45) 0%, rgba(9, 13, 22, 0.15) 65%, transparent 100%);
      z-index: 3;
    }

    .video-overlay-gradient-v {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(9, 13, 22, 0.25) 0%, transparent 40%, rgba(9, 13, 22, 0.45) 100%);
      z-index: 4;
    }

    /* Navigation Bar */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      width: 100%;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      backdrop-filter: blur(16px);
      background: rgba(255, 255, 255, 0.95);
      color: #1e1e1e;
      box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    }

    .nav-container {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0.9rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      z-index: 2;
      flex: 0 0 auto;
    }

    .nav-logo-svg {
      height: 36px;
      width: auto;
      display: block;
    }

    .nav-logo:hover .nav-logo-svg {
      transform: none;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      flex: 1 1 auto;
    }

    .nav-menu-link {
      color: #000000;
      text-decoration: none;
      font-size: 0.92rem;
      font-weight: 600;
      padding: 0.55rem 1rem;
      border-radius: 100px;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      transition: color 0.2s ease, background-color 0.2s ease;
    }

    .nav-menu-link:hover {
      color: #ff7daf;
      background: transparent;
    }

    .nav-menu .nav-menu-link-game {
      color: #1e1e1e;
      background: #ffd427;
      box-shadow: inset 0 0 0 1px #1e1e1e;
    }

    .nav-menu .nav-menu-link-game:hover {
      color: #1e1e1e;
      background: #ffe7a5;
    }

    .nav-menu .nav-menu-link[aria-current="location"] {
      color: #1e1e1e;
      background: #ff7daf;
      box-shadow: inset 0 0 0 1px #1e1e1e;
    }

    .nav-menu-link:focus-visible {
      outline: 2px solid #1e1e1e;
      outline-offset: 3px;
    }

    .nav-menu-link-disabled {
      position: relative;
      color: #525252;
      opacity: 0.85;
      cursor: not-allowed;
      user-select: none;
    }

    .nav-menu-link-disabled:hover {
      color: #525252 !important;
      text-decoration: none !important;
    }

    /* Custom "Coming Soon" Tooltip (Below text, inside header) */
    .nav-menu-link-disabled::after {
      content: "Coming Soon";
      position: absolute;
      top: calc(100% - 5px);
      left: 50%;
      transform: translateX(-50%) translateY(2px);
      background: #0f172a;
      color: #ffffff;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      padding: 0.2rem 0.5rem;
      border-radius: 5px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 1000;
      line-height: 1.2;
    }

    .nav-menu-link-disabled:hover::after {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    .nav-right-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.75rem;
      z-index: 2;
      flex: 0 0 auto;
    }

    /* Mobile Hamburger Menu Toggle Button */
    .mobile-menu-toggle {
      display: none;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      z-index: 1001;
    }

    .hamburger-line {
      display: block;
      width: 22px;
      height: 2px;
      background-color: #000000;
      border-radius: 2px;
      transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    }

    /* Animated Hamburger Icon when Active (X shape) */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
      opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .nav-link {
      padding: 0.55rem 1.25rem;
      border-radius: 100px;
      border: 1px solid #cbd5e1;
      background: #ffffff;
      color: #1e1e1e;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      backdrop-filter: blur(8px);
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .nav-link:hover {
      border-color: #000000;
      background: #f1f5f9;
      color: #000000;
    }

    .nav-link-primary {
      background: #1e1e1e;
      color: #ffffff;
      border: none;
      border-radius: 100px;
      padding: 14px 32px;
      font-weight: 700;
      font-size: 15px;
      letter-spacing: -0.01em;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .nav-link-primary:hover {
      background: #ff7daf;
      color: #000000;
      transform: none;
      box-shadow: none;
    }

    /* Hero Section */
    .hero-section {
      position: relative;
      min-height: calc(100vh - 80px);
      display: flex;
      align-items: center;
      padding: 5rem 1.5rem;
      background-color: #090d16;
      color: #f8fafc;
    }

    .hero-container {
      position: relative;
      z-index: 20;
      max-width: 1140px;
      margin: 0 auto;
      width: 100%;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .hero-tagline-link {
      display: inline-block;
      font-size: 0.95rem;
      font-weight: 600;
      text-transform: none;
      letter-spacing: normal;
      color: var(--gdg-blue);
      text-decoration: none;
      margin-bottom: 1.25rem;
      transition: color 0.2s ease;
    }

    .hero-tagline-link:hover {
      color: #669df6;
      text-decoration: underline;
    }

    .hero-title {
      font-size: clamp(3rem, 8.5vw, 6rem);
      font-weight: 800;
      line-height: 0.95;
      letter-spacing: -0.03em;
      max-width: 950px;
      margin: 0 auto;
      color: #ffffff;
      text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    }

    .title-dimmed {
      color: #f9ab00;
      opacity: 1;
      font-weight: 800;
    }

    .hero-desc {
      font-size: clamp(1.05rem, 2vw, 1.35rem);
      color: #ffffff;
      font-weight: 400;
      max-width: 850px;
      margin: 1.75rem auto 0;
      line-height: 1.6;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    }

    .hero-teaser-link {
      position: absolute;
      bottom: 2rem;
      right: 2.5rem;
      z-index: 25;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      color: #ffffff;
      font-size: 0.98rem;
      font-weight: 300;
      text-decoration: none;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
      transition: color 0.2s ease;
      cursor: pointer;
      background: transparent;
      border: none;
      padding: 0;
    }

    .hero-teaser-link:hover {
      color: #f9ab00;
      text-decoration: none;
    }

    .hero-teaser-link .teaser-icon-svg {
      width: 18px;
      height: 18px;
      fill: #ffffff;
      stroke: none;
      transition: fill 0.2s ease, transform 0.2s ease;
    }

    .hero-teaser-link:hover .teaser-icon-svg {
      fill: #f9ab00;
      transform: scale(1.15);
    }

    .event-details-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      margin: 2.25rem auto 0;
      font-size: 0.98rem;
      font-weight: 300;
      color: #ffffff;
      background: transparent;
      padding: 0;
      border-radius: 0;
      border: none;
      backdrop-filter: none;
    }

    .detail-item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      color: #ffffff;
      font-weight: 300;
      text-decoration: none;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }

    .detail-item-link {
      transition: color 0.2s ease;
    }

    .detail-item-link:hover {
      color: #f9ab00;
      text-decoration: none;
    }

    .icon-svg {
      width: 18px;
      height: 18px;
      stroke: #ffffff;
      stroke-width: 1.75;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: stroke 0.2s ease;
    }

    .detail-item-link:hover .icon-svg {
      stroke: #f9ab00;
    }

    .detail-divider {
      width: 1px;
      height: 1.25rem;
      background-color: rgba(255, 255, 255, 0.25);
    }

    /* Action Buttons */
    .cta-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 1.75rem;
      margin: 2.5rem auto 0;
    }

    /* ==========================================
       UNIFIED BUTTON DESIGN SYSTEM
       ========================================== */
    .btn,
    .nav-link-primary,
    .btn-solid,
    .btn-negative,
    .btn-outlined,
    .btn-sponsor {
      height: 48px;
      min-height: 48px;
      max-height: 48px;
      line-height: 44px;
      padding: 0 28px;
      border-radius: 9999px;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.01em;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-sizing: border-box;
      box-shadow: none !important;
      transform: none !important;
      transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
      cursor: pointer;
    }

    .btn:hover,
    .nav-link-primary:hover,
    .btn-solid:hover,
    .btn-negative:hover,
    .btn-outlined:hover,
    .btn-sponsor:hover {
      box-shadow: none !important;
      transform: none !important; /* No Y-lift / bounce on hover */
    }

    /* 1) Solid Black Buttons (e.g. Header & Countdown Get Your Ticket) -> Pink (#ff7daf) on Hover */
    .btn-solid,
    .nav-link-primary {
      background-color: #000000;
      color: #ffffff;
      border: 2px solid #000000;
    }

    .btn-solid:hover,
    .nav-link-primary:hover {
      background-color: #ff7daf; /* Pink hover color */
      color: #000000; /* Black text on pink */
      border-color: #ff7daf;
      transform: none !important;
    }

    /* 2) Unique White Negative Hero Button ("Get Your Ticket" in DevFest Gaborone 2026 section) */
    .btn-negative {
      background-color: #ffffff;
      color: #000000;
      border: 2px solid #ffffff;
    }

    .btn-negative:hover {
      background-color: #ff7daf; /* Pink hover color */
      color: #000000; /* Black text on pink */
      border-color: #ff7daf;
      transform: none !important;
    }

    /* 2) Transparent Outlined Buttons (Stroke-only, background stays transparent on hover, stroke and text turn Pink #ff7daf) */
    /* Light Section Variant (Black stroke & black text -> Pink stroke & pink text on hover) */
    .btn-outlined {
      background: transparent !important;
      color: #000000;
      border: 2px solid #000000;
      backdrop-filter: none;
    }

    .btn-outlined:hover {
      background: transparent !important;
      color: #ff7daf; /* Pink text */
      border-color: #ff7daf; /* Pink stroke */
      transform: none !important;
    }

    /* Dark/Hero Section Variant (White stroke & white text -> Pink stroke & pink text on hover) */
    .hero-section .btn-outlined,
    .btn-outlined-dark {
      background: transparent !important;
      color: #ffffff;
      border: 2px solid #ffffff;
    }

    .hero-section .btn-outlined:hover,
    .btn-outlined-dark:hover {
      background: transparent !important;
      color: #ff7daf; /* Pink text */
      border-color: #ff7daf; /* Pink stroke */
      transform: none !important;
    }

    .link-blue {
      color: #4285f4;
      font-weight: 600;
      font-size: 1.05rem;
      text-decoration: none;
      transition: color 0.2s ease, text-decoration 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      cursor: pointer;
    }

    .link-blue:hover {
      color: #ff7daf;
      text-decoration: none !important;
    }

    /* Section Styles (Light Theme for Content below Hero) */
    section:not(.hero-section) {
      position: relative;
      border-top: none;
      padding: 5rem 1.5rem;
      scroll-margin-top: 80px;
      background-color: #ffffff;
      color: #0f172a;
    }

    #agenda,
    #gallery,
    #cfp,
    #countdown,
    #venue {
      background-color: #f0f0f0;
    }

    #about,
    #speakers,
    #partners,
    #team {
      background-color: #ffffff;
    }

    .coming-soon-tag {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 0.35rem 0.85rem;
      border-radius: 9999px;
      background: #e2e8f0;
      color: #64748b;
      border: 1px solid #cbd5e1;
    }

    .section-container {
      max-width: 1140px;
      margin: 0 auto;
    }

    .section-tag {
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: none;
      letter-spacing: normal;
      color: #64748b;
      margin-bottom: 0.5rem;
    }

    .section-heading {
      font-size: clamp(2.25rem, 5vw, 3.25rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.1;
      max-width: 750px;
      color: #0f172a;
    }

    .section-subheading-title {
      font-size: clamp(1.75rem, 3.75vw, 2.25rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.2;
      max-width: 750px;
      color: #0f172a;
    }

    .section-subtext {
      font-size: 1.1rem;
      color: #475569;
      margin-top: 1rem;
      max-width: 1050px;
      line-height: 1.6;
      text-align: center;
    }

    /* Countdown Section Layout (Centered & Compact) */
    .countdown-layout-grid,
    .countdown-layout-centered {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      margin: 0 auto;
    }

    .countdown-grid {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1.35rem;
      margin-top: 1.75rem;
      flex-wrap: nowrap;
    }

    .timer-box {
      background: #ffffff;
      border: 2px solid #000000;
      border-radius: 16px;
      padding: 1rem 0.65rem;
      width: 108px;
      text-align: center;
      box-shadow: none;
      transition: none;
      box-sizing: border-box;
    }

    .timer-box:hover {
      transform: none;
      box-shadow: none;
    }

    @keyframes countPulse {

      0%,
      100% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.03);
      }
    }

    .timer-num {
      font-size: clamp(24px, 4vw, 44px);
      font-weight: 800;
      letter-spacing: -0.03em;
      color: #0f172a;
      line-height: 1;
      animation: 1s ease-in-out countPulse;
    }

    .timer-lbl {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: #64748b;
      margin-top: 0.4rem;
      font-weight: 700;
    }

    /* Countdown Picture Card */
    .countdown-img-card {
      display: flex;
      justify-content: center;
      align-items: center;
      background: #ffffff;
      border: 2px solid #000000;
      border-radius: 28px;
      padding: 0.85rem;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
      transition: all 0.3s ease;
    }

    .countdown-hero-img {
      width: 100%;
      height: auto;
      max-height: 420px;
      object-fit: contain;
      border-radius: 20px;
      transition: transform 0.3s ease;
    }

    .countdown-img-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    }

    .countdown-hero-img:hover {
      transform: scale(1.02);
    }

    .kori-inner-frame {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.85rem;
    }

    .kori-icon-wrapper {
      font-size: 4.5rem;
      line-height: 1;
      filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
      animation: floatKori 3s ease-in-out infinite alternate;
    }

    @keyframes floatKori {
      from {
        transform: translateY(0);
      }

      to {
        transform: translateY(-8px);
      }
    }

    .kori-title {
      font-weight: 700;
      font-size: 1.25rem;
      color: #0f172a;
    }

    .kori-sub {
      font-size: 0.88rem;
      color: #64748b;
      max-width: 250px;
      line-height: 1.5;
    }

    /* About Feature Cards Grid */
    .about-cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.75rem;
      margin-top: 2.5rem;
    }

    @media (max-width: 900px) {
      .about-cards-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .about-cards-grid {
        grid-template-columns: 1fr;
      }
    }

    .about-feature-card {
      background: #ffffff;
      border: 2px solid #000000;
      border-radius: 20px;
      padding: 2.25rem 1.75rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      box-shadow: none;
      transition: none;
    }

    .about-feature-card:hover {
      transform: none;
      box-shadow: none;
      background: #ffffff;
      border: 2px solid #000000;
    }

    .about-card-icon {
      height: 60px;
      width: auto;
      display: block;
      margin: 0 auto 1.5rem auto;
      object-fit: contain;
    }

    .about-card-title {
      font-size: 1.18rem;
      font-weight: 700;
      color: #1e1e1e;
      line-height: 1.25;
    }

    .about-card-desc {
      font-size: 0.95rem;
      color: #475569;
      margin-top: 0.75rem;
      line-height: 1.6;
    }

    .pillar-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: #0f172a;
    }

    .pillar-desc {
      font-size: 0.95rem;
      color: #475569;
      margin-top: 0.5rem;
      line-height: 1.5;
    }

    /* Dual Cards Grid */
    .dual-cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }

    .info-card {
      background: #ffffff;
      border-radius: 16px;
      padding: 2.25rem 2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1.25rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    .card-cfp {
      border: 1px solid rgba(251, 188, 4, 0.4);
    }

    .card-sponsor {
      border: 1px solid rgba(52, 168, 83, 0.4);
    }

    .card-badge-yellow {
      color: #b45309;
      font-weight: 700;
      font-size: 1.15rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .card-badge-green {
      color: #15803d;
      font-weight: 700;
      font-size: 1.15rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .card-text {
      font-size: 1rem;
      color: #475569;
      line-height: 1.6;
    }

    .card-highlight {
      color: #0f172a;
      font-weight: 700;
    }

    /* 4-Card Photo Gallery Grid Carousel */
    .gallery-grid-carousel {
      position: relative;
      margin-top: 2.5rem;
      display: flex;
      align-items: center;
      gap: 1.25rem;
    }

    .gallery-cards-grid {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.25rem;
      transition: opacity 0.25s ease;
    }

    @media (max-width: 900px) {
      .gallery-cards-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .gallery-grid-carousel {
        gap: 0.5rem;
      }

      .gallery-cards-grid {
        grid-template-columns: 1fr;
      }

      .gallery-nav-btn {
        padding: 0.25rem;
      }

      .gallery-nav-btn svg {
        width: 28px;
        height: 28px;
      }
    }

    .gallery-photo-card {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      aspect-ratio: 4 / 3;
      background: #090d16;
      border: 2px solid #000000;
      box-shadow: none;
      cursor: pointer;
      transition: border-color 0.2s ease;
    }

    .gallery-photo-card:hover {
      transform: none;
      box-shadow: none;
      border-color: #ff7daf;
    }

    .gallery-photo-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

    .gallery-photo-card:hover img {
      transform: none;
    }

    .gallery-nav-btn {
      background: transparent;
      border: none;
      box-shadow: none;
      color: #0f172a;
      padding: 0.5rem;
      width: auto;
      height: auto;
      min-width: auto;
      border-radius: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: color 0.2s ease, transform 0.2s ease;
      user-select: none;
    }

    .gallery-nav-btn:hover {
      background: transparent;
      border: none;
      color: #ff7daf;
      transform: scale(1.2);
      box-shadow: none;
    }

    /* Lightbox Modal (Full-Screen View Mode) */
    .lightbox-modal {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: rgba(5, 7, 13, 0.96);
      backdrop-filter: blur(16px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .lightbox-modal.active {
      opacity: 1;
      pointer-events: auto;
    }

    .lightbox-header {
      position: absolute;
      top: 0;
      right: 0;
      padding: 1.5rem 2rem;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      z-index: 10010;
    }

    .lightbox-close-btn {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #ffffff;
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .lightbox-close-btn:hover {
      background: rgba(239, 68, 68, 0.8);
      border-color: #ef4444;
      transform: rotate(90deg);
    }

    .lightbox-stage {
      position: relative;
      width: 90vw;
      height: 80vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lightbox-img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
      transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .lightbox-nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #ffffff;
      font-size: 1.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10010;
      transition: all 0.2s ease;
    }

    .lightbox-nav-btn:hover {
      background: rgba(255, 255, 255, 0.25);
      border-color: rgba(255, 255, 255, 0.6);
      color: #ffffff;
      transform: translateY(-50%) scale(1.05);
    }

    .lightbox-nav-prev {
      left: 1.5rem;
    }

    .lightbox-nav-next {
      right: 1.5rem;
    }

    /* Full-Size Prominent Partner Logos Grid */
    .partners-full-grid {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 1.25rem 3.5rem;
      margin-top: 2rem;
    }

    .partner-full-link {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.5rem;
      text-decoration: none;
      transition: transform 0.25s ease;
      background: transparent;
      border: none;
      box-shadow: none;
    }

    .partner-full-link:hover {
      transform: translateY(-4px);
    }

    .partner-full-img {
      width: 220px;
      max-width: 100%;
      height: auto;
      object-fit: contain;
      filter: brightness(1);
    }

    .partner-full-img-lg {
      width: 290px;
    }

    .btn-sponsor {
      border: 2px solid #1e1e1e;
      background: #ffffff;
      color: #1e1e1e;
      font-weight: 700;
      transition: all 0.2s ease;
    }

    .btn-sponsor:hover {
      border-color: #ff7daf !important;
      color: #000000 !important;
      background: #ff7daf !important;
      transform: none !important;
      box-shadow: none !important;
    }

    /* Footer */
    footer {
      border-top: none;
      padding: 2rem 1.5rem;
      background: #ffffff;
      color: #0f172a;
    }

    .footer-container {
      max-width: 1140px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.25rem;
      text-align: center;
    }

    @media (min-width: 640px) {
      .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
      }

      .footer-left {
        flex: 0 0 auto;
      }

      .footer-right {
        flex: 0 0 auto;
      }
    }

    .footer-sub {
      color: #64748b;
      font-size: 0.92rem;
      margin-top: 0;
    }

    .footer-gdg-logo-link {
      display: inline-flex;
      align-items: center;
      transition: transform 0.25s ease;
    }

    .footer-gdg-logo-link:hover {
      transform: translateY(-4px);
    }

    .footer-org-link {
      color: var(--gdg-blue);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.2s ease;
    }

    .footer-org-link:hover {
      color: #ff7daf;
      text-decoration: none !important;
    }

    .footer-social-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 9999px;
      background: #ffffff;
      border: 2px solid #000000;
      color: #0f172a;
      text-decoration: none;
      transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
      box-shadow: none;
    }

    .footer-social-btn:hover {
      background: #ff7daf !important;
      border-color: #ff7daf !important;
      color: #000000 !important;
      transform: none !important;
      box-shadow: none !important;
    }

    /* Mini-Game Section */
    .game-section {
      text-align: center;
      scroll-margin-top: 80px;
    }

    .game-wrapper {
      max-width: 800px;
      margin: 2rem auto 0;
      border-radius: 20px;
      overflow: hidden;
      /* Own compositing layer, so the rounded clip around the animating iframe doesn't flicker */
      isolation: isolate;
      transform: translateZ(0);
      border: 1px solid rgba(0, 0, 0, 0.1);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
      aspect-ratio: 16 / 9;
    }

    .game-wrapper iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
    }

    .game-hint {
      margin-top: 1rem;
      font-size: 0.88rem;
      font-weight: 500;
      color: #475569;
    }

    /* Leaderboard & High Score Submit Form */
    .leaderboard-container {
      max-width: 800px;
      margin: 2rem auto 0;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .score-submit-card {
      background: linear-gradient(135deg, rgba(66, 133, 244, 0.08) 0%, rgba(52, 168, 83, 0.08) 100%);
      border: 1px solid rgba(66, 133, 244, 0.3);
      border-radius: 16px;
      padding: 1.5rem;
      text-align: center;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
      animation: fadeIn 0.3s ease;
    }

    .score-submit-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: #0f172a;
    }

    .score-submit-details {
      font-size: 0.95rem;
      color: #475569;
      margin: 0.35rem 0 1rem;
    }

    .score-submit-form {
      display: flex;
      justify-content: center;
      gap: 0.75rem;
      flex-wrap: wrap;
      max-width: 480px;
      margin: 0 auto;
    }

    .player-name-input {
      flex: 1;
      min-width: 220px;
      padding: 0.75rem 1.25rem;
      border-radius: 9999px;
      border: 1px solid rgba(0, 0, 0, 0.15);
      background: #ffffff;
      font-family: inherit;
      font-size: 0.95rem;
      color: #0f172a;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .player-name-input:focus {
      border-color: var(--gdg-blue);
      box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
    }

    .submit-score-btn {
      padding: 0.75rem 1.5rem;
      font-size: 0.95rem;
    }

    .score-submit-msg {
      font-size: 0.88rem;
      font-weight: 600;
      margin-top: 0.75rem;
      color: #16a34a;
    }

    .leaderboard-card {
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 18px;
      padding: 1.75rem;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
      text-align: left;
    }

    .leaderboard-header {
      margin-bottom: 1.25rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .leaderboard-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: #0f172a;
    }

    .leaderboard-subtitle {
      font-size: 0.85rem;
      color: #64748b;
    }

    .leaderboard-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .leaderboard-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1.25rem;
      border-radius: 12px;
      background: #f8fafc;
      transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .leaderboard-row:hover {
      transform: translateX(4px);
    }

    .leaderboard-row.rank-1 {
      background: rgba(251, 188, 4, 0.15);
      border: 1px solid rgba(251, 188, 4, 0.4);
    }

    .leaderboard-row.rank-2 {
      background: rgba(226, 232, 240, 0.8);
      border: 1px solid rgba(203, 213, 225, 0.6);
    }

    .leaderboard-row.rank-3 {
      background: rgba(217, 119, 6, 0.1);
      border: 1px solid rgba(217, 119, 6, 0.3);
    }

    .leaderboard-player {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 600;
      color: #0f172a;
    }

    .leaderboard-rank {
      font-size: 1.1rem;
      min-width: 28px;
      text-align: center;
    }

    .leaderboard-stats {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      font-weight: 700;
    }

    .leaderboard-score {
      color: var(--gdg-blue);
      font-size: 1.05rem;
    }

    .leaderboard-bagels {
      color: #d97706;
      font-size: 0.92rem;
    }

    .leaderboard-empty {
      text-align: center;
      padding: 2rem 1rem;
      color: #94a3b8;
      font-size: 0.95rem;
    }

    @media (max-width: 640px) {
      .game-wrapper {
        max-width: 100%;
        aspect-ratio: 4 / 5;
        border-radius: 14px;
      }
    }

    /* Mini-Game Section */
    .game-section {
      text-align: center;
    }

    .game-wrapper {
      max-width: 800px;
      margin: 2rem auto 0;
      border-radius: 20px;
      overflow: hidden;
      /* Own compositing layer, so the rounded clip around the animating iframe doesn't flicker */
      isolation: isolate;
      transform: translateZ(0);
      border: 1px solid rgba(0, 0, 0, 0.1);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
      aspect-ratio: 16 / 9;
    }

    .game-wrapper iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
    }

    .game-hint {
      margin-top: 1rem;
      font-size: 0.88rem;
      font-weight: 500;
      color: #475569;
    }

    /* Leaderboard & High Score Submit Form */
    .leaderboard-container {
      max-width: 800px;
      margin: 2rem auto 0;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .score-submit-card {
      background: linear-gradient(135deg, rgba(66, 133, 244, 0.08) 0%, rgba(52, 168, 83, 0.08) 100%);
      border: 1px solid rgba(66, 133, 244, 0.3);
      border-radius: 16px;
      padding: 1.5rem;
      text-align: center;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
      animation: fadeIn 0.3s ease;
    }

    .score-submit-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: #0f172a;
    }

    .score-submit-details {
      font-size: 0.95rem;
      color: #475569;
      margin: 0.35rem 0 1rem;
    }

    .score-submit-form {
      display: flex;
      justify-content: center;
      gap: 0.75rem;
      flex-wrap: wrap;
      max-width: 480px;
      margin: 0 auto;
    }

    .player-name-input {
      flex: 1;
      min-width: 220px;
      padding: 0.75rem 1.25rem;
      border-radius: 9999px;
      border: 1px solid rgba(0, 0, 0, 0.15);
      background: #ffffff;
      font-family: inherit;
      font-size: 0.95rem;
      color: #0f172a;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .player-name-input:focus {
      border-color: var(--gdg-blue);
      box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
    }

    .submit-score-btn {
      padding: 0.75rem 1.5rem;
      font-size: 0.95rem;
    }

    .score-submit-msg {
      font-size: 0.88rem;
      font-weight: 600;
      margin-top: 0.75rem;
      color: #16a34a;
    }

    .leaderboard-card {
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 18px;
      padding: 1.75rem;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
      text-align: left;
    }

    .leaderboard-header {
      margin-bottom: 1.25rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .leaderboard-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: #0f172a;
    }

    .leaderboard-subtitle {
      font-size: 0.85rem;
      color: #64748b;
    }

    .leaderboard-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .leaderboard-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1.25rem;
      border-radius: 12px;
      background: #f8fafc;
      transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .leaderboard-row:hover {
      transform: translateX(4px);
    }

    .leaderboard-row.rank-1 {
      background: rgba(251, 188, 4, 0.15);
      border: 1px solid rgba(251, 188, 4, 0.4);
    }

    .leaderboard-row.rank-2 {
      background: rgba(226, 232, 240, 0.8);
      border: 1px solid rgba(203, 213, 225, 0.6);
    }

    .leaderboard-row.rank-3 {
      background: rgba(217, 119, 6, 0.1);
      border: 1px solid rgba(217, 119, 6, 0.3);
    }

    .leaderboard-player {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 600;
      color: #0f172a;
    }

    .leaderboard-rank {
      font-size: 1.1rem;
      min-width: 28px;
      text-align: center;
    }

    .leaderboard-stats {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      font-weight: 700;
    }

    .leaderboard-score {
      color: var(--gdg-blue);
      font-size: 1.05rem;
    }

    .leaderboard-bagels {
      color: #d97706;
      font-size: 0.92rem;
    }

    .leaderboard-empty {
      text-align: center;
      padding: 2rem 1rem;
      color: #94a3b8;
      font-size: 0.95rem;
    }

    @media (max-width: 640px) {
      .game-wrapper {
        max-width: 100%;
        aspect-ratio: 4 / 5;
        border-radius: 14px;
      }
    }

    /* Mobile Responsive Polish & Hamburger Menu Dropdown */
    @media (max-width: 900px) {
      .countdown-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

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

      .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
      }

      .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
      }

      .nav-menu-link {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 0.65rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 100px;
        color: #0f172a;
        transition: color 0.2s ease;
      }

      .nav-menu-link:hover,
      .nav-menu-link:focus {
        color: #ff7daf;
      }

      .nav-menu-link:last-child {
        border-bottom: none;
      }
    }

    @media (max-width: 768px) {
      section {
        padding: 3.5rem 1.25rem;
      }

      .partners-full-grid {
        gap: 2.5rem 2rem;
      }

      .partner-full-img {
        width: 180px;
        max-width: 100%;
        height: auto;
      }

      .partner-full-img-lg {
        width: 230px;
      }

      .countdown-grid {
        flex-wrap: wrap;
        justify-content: center;
      }

      @media (max-width: 480px) {
        .countdown-grid {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 0.75rem;
          width: 100%;
          max-width: 240px;
        }

        .timer-box {
          width: 100%;
        }
      }

      .gallery-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.5rem;
      }

      .event-details-row {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
      }

      .detail-divider {
        display: none;
      }
    }

    @media (max-width: 640px) {
      .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }

      .nav-right-actions {
        width: auto;
        justify-content: flex-end;
        gap: 0.5rem;
      }

      .nav-link-primary {
        padding: 0 16px;
        height: 40px;
        min-height: 40px;
        max-height: 40px;
        line-height: 36px;
        font-size: 13px;
      }

      .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
      }

      .hero-section {
        padding: 3rem 1.25rem;
      }

      .hero-teaser-link {
        bottom: 1.25rem;
        right: 1.25rem;
        font-size: 0.9rem;
      }

      .cta-row {
        flex-direction: column;
        width: 100%;
      }

      .btn {
        width: 100%;
      }

      .info-card {
        padding: 1.5rem 1.25rem;
      }
    }

    /* Teaser Video Lightbox Modal */
    .teaser-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(9, 13, 22, 0.94);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      z-index: 99999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      padding: 1.5rem;
      box-sizing: border-box;
    }

    .teaser-modal-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .teaser-modal-content {
      position: relative;
      width: 100%;
      max-width: 960px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .teaser-video-player {
      width: 100%;
      max-height: 80vh;
      border-radius: 16px;
      background: #000000;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
      outline: none;
    }

    .teaser-close-btn {
      position: absolute;
      top: -46px;
      right: 0;
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: #ffffff;
      width: 36px;
      height: 36px;
      border-radius: 9999px;
      font-size: 1.4rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      line-height: 1;
    }

    .teaser-close-btn:hover {
      background: #ff7daf;
      border-color: #ff7daf;
      color: #000000;
    }

/* ==========================================
   Agenda Section Styles
   ========================================== */
.agenda-header-wrapper {
  text-align: center;
  margin-bottom: 2.5rem;
}

.agenda-stages-row {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: #f0f0f0;
  padding: 0.5rem 0 1rem 0;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 140px repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.agenda-time-column-header {
  /* Empty spacer for alignment with time column */
}

.agenda-stage-card {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 16px;
  padding: 1.1rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.stage-card-kgotla {
  background: #E8F0FE;
  color: #0f172a;
}

.stage-card-kgotla .agenda-stage-title {
  color: #0f172a;
}

.stage-card-baobab {
  background: #E6F4EA;
  color: #0f172a;
}

.stage-card-baobab .agenda-stage-title {
  color: #0f172a;
}

.stage-card-workshop {
  background: #FEF7E0;
  color: #0f172a;
}

.stage-card-workshop .agenda-stage-title {
  color: #0f172a;
}

.agenda-stage-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.stage-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
}

.stage-badge-blue {
  background: rgba(66, 133, 244, 0.12);
  color: #1a73e8;
  border: 1px solid rgba(66, 133, 244, 0.25);
}

.stage-badge-green {
  background: rgba(52, 168, 83, 0.12);
  color: #1e8e3e;
  border: 1px solid rgba(52, 168, 83, 0.25);
}

.stage-badge-yellow {
  background: rgba(251, 188, 4, 0.15);
  color: #b08500;
  border: 1px solid rgba(251, 188, 4, 0.35);
}

/* Mobile Stage Tabs */
.agenda-stage-tabs {
  display: none;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.agenda-stage-tabs::-webkit-scrollbar {
  display: none;
}

.agenda-tab-btn {
  font-family: inherit;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.agenda-tab-btn.active,
.agenda-tab-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Grid & Table Styles */
.agenda-grid-table {
  display: grid;
  grid-template-columns: 140px repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.grid-span-2 {
  grid-column: span 2;
}

.grid-span-3 {
  grid-column: span 3;
}

.grid-row-span-2 {
  grid-row: span 2;
}

.grid-row-span-3 {
  grid-row: span 3;
}

.agenda-empty-cell {
  /* Empty cell for alignment */
}

/* Default top-aligned time cell for talk rows */
.agenda-time-cell {
  display: flex;
  align-items: flex-start;
  padding-top: 0.75rem;
}

/* Centered time cell for single-line break & registration rows */
.agenda-time-cell-centered {
  display: flex;
  align-items: center;
  padding-top: 0;
}

/* Simple text on plain background - NO box/border/background */
.time-text {
  background: transparent;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  padding: 0.2rem 0;
  display: inline-block;
  white-space: nowrap;
  border: none;
  box-shadow: none;
}

.agenda-slot-cell {
  display: flex;
  flex-direction: column;
}

/* Full Width Events (Registration, Welcome, Lunch, Closing) */
.agenda-event-cell {
  width: 100%;
}

.agenda-card {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 14px;
  padding: 1.15rem;
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.4rem;
  box-sizing: border-box;
}

.agenda-card:hover {
  transform: none;
  box-shadow: none;
}

.agenda-card-general {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agenda-card-registration {
  background: rgba(251, 188, 4, 0.18);
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.registration-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

.agenda-stage-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  margin-bottom: 0.25rem;
  display: none; /* Only visible on mobile / filtered views */
}

.agenda-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.agenda-title-muted,
.agenda-card-title-muted {
  color: #94a3b8;
  font-weight: 500;
}

.agenda-card-speaker {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 700;
  margin-top: 0.35rem;
  margin-bottom: 0;
  line-height: 1.3;
}

.agenda-card-company {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin-top: -0.25rem;
  line-height: 1.35;
}

/* Variant 1: Mini Avatar Block */
.agenda-speaker-avatar-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.45rem;
}

.agenda-speaker-avatar-block.align-start {
  align-items: flex-start;
}

.agenda-speaker-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #f1f5f9;
}

.agenda-speaker-avatar-block.align-start .agenda-speaker-thumb {
  margin-top: 2px;
}

.agenda-speaker-text {
  display: flex;
  flex-direction: column;
}

.agenda-speaker-avatar-block .agenda-card-speaker {
  margin-top: 0;
  line-height: 1.25;
}

.agenda-speaker-avatar-block .agenda-card-company {
  margin-top: 0.15rem;
  line-height: 1.3;
}

.agenda-speaker-avatar-double-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}

.agenda-speaker-avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.agenda-speaker-thumb-stacked {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -9px;
  background-color: #f1f5f9;
  position: relative;
}

.agenda-speaker-thumb-stacked:first-child {
  margin-left: 0;
  z-index: 3;
}

.agenda-speaker-thumb-stacked:nth-child(2) {
  z-index: 2;
}

.agenda-speaker-thumb-stacked:nth-child(3) {
  z-index: 1;
}

.agenda-speaker-thumb-stacked:first-child {
  margin-left: 0;
}

/* Variant 2: Hairline Divider Block */
.agenda-speaker-divider-block {
  border-top: 1.5px solid #e2e8f0;
  padding-top: 0.65rem;
  margin-top: 0.45rem;
}

.agenda-speaker-divider-block .agenda-card-speaker {
  margin-top: 0;
}

/* Variant 4: Light Sub-card Container */
.agenda-speaker-subcard-block {
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  margin-top: 0.45rem;
  border: 1px solid #e2e8f0;
}

.agenda-speaker-subcard-block .agenda-card-speaker {
  margin-top: 0;
  font-size: 0.92rem;
}

.agenda-speaker-subcard-block .agenda-card-company {
  margin-top: 0.15rem;
  font-size: 0.82rem;
}

/* Agenda Card Expandable Details */
.agenda-details-toggle {
  background: transparent;
  border: none;
  padding: 0.35rem 0 0 0;
  color: #4285F4;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s ease;
  line-height: 1.2;
}

.agenda-details-toggle:hover {
  color: #ff7daf;
}

.agenda-details-toggle .toggle-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  stroke: currentColor;
}

.agenda-details-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.agenda-details-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin-top 0.2s ease;
  margin-top: 0;
}

.agenda-details-toggle[aria-expanded="true"] + .agenda-details-content,
.agenda-details-content.is-open {
  max-height: 1500px;
  opacity: 1;
  margin-top: 0.5rem;
}

.agenda-details-text {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #475569;
  border-top: none;
  padding-top: 0.25rem;
  margin: 0;
  white-space: normal;
}

.agenda-details-text + .agenda-details-text {
  margin-top: 0.5rem;
}

/* Special full width cards */
.agenda-card-special {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 14px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.4rem;
  grid-column: span 3;
}

.agenda-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agenda-card-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
}

.agenda-card-break {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  box-sizing: border-box;
}

.agenda-card-lunch {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 1.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  box-sizing: border-box;
}

.agenda-card-closing {
  background: #f0fdf4;
  border: 2px solid #000000;
  border-radius: 14px;
  padding: 1.15rem 1.5rem;
}

.agenda-card-featured {
  background: #faf5ff;
}

.agenda-card-workshop {
  border-style: solid;
  position: relative;
}

.agenda-card-workshop-100 {
  height: auto;
  min-height: 83.33%;
}

@media (max-width: 1024px) {
  .agenda-card-workshop-100 {
    height: auto;
  }
}

.workshop-duration-badge,
.workshop-time-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #856404;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  align-self: flex-start;
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.workshop-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.4rem;
}

.workshop-badges-row .workshop-time-badge {
  margin-top: 0;
}

.workshop-status-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 0.4rem;
}

.agenda-card-ongoing {
  opacity: 0.85;
  background: #fcfcfc;
}

/* Compact Workshop Break Card */
.agenda-card-break-compact {
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
}

.break-text-compact {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

.break-time-compact {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
}

/* Agenda CTA Wrapper */
.agenda-cta-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.75rem;
  clear: both;
}

.agenda-cta-wrapper .btn {
  white-space: nowrap;
}

/* Break Row */
.agenda-card-break {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
}

.break-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

.break-subtext {
  display: none;
  font-size: 0.8rem;
  color: #94a3b8;
}

.mobile-only-slot,
.workshop-mobile-time,
.mobile-workshop-only-slot {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .desktop-only-break,
  .workshop-time-only-badge {
    display: none !important;
  }

  .break-subtext {
    display: block;
    font-size: 0.88rem;
  }

  .agenda-grid-table[data-active-stage="kgotla"] .break-subtext,
  .agenda-grid-table[data-active-stage="baobab"] .break-subtext,
  .agenda-grid-table[data-active-stage="workshop"] .break-subtext {
    display: none !important;
  }

  .agenda-grid-table[data-active-stage="baobab"] .mobile-only-slot[data-stage="baobab"],
  .agenda-grid-table[data-active-stage="workshop"] .mobile-only-slot[data-stage="workshop"] {
    display: block !important;
  }

  .agenda-grid-table[data-active-stage="workshop"] .default-time {
    display: none !important;
  }

  .agenda-grid-table[data-active-stage="workshop"] .workshop-mobile-time {
    display: block !important;
  }

  .agenda-grid-table[data-active-stage="workshop"] .mobile-workshop-only-slot {
    display: flex !important;
  }

  .agenda-grid-table[data-active-stage="workshop"] .hide-on-workshop-mobile {
    display: none !important;
  }

  .agenda-stages-row {
    display: none;
  }

  .agenda-stage-tabs {
    display: flex;
  }

  .agenda-grid-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .grid-span-2,
  .grid-span-3,
  .grid-row-span-2,
  .grid-row-span-3 {
    grid-column: auto;
    grid-row: auto;
  }

  .agenda-empty-cell {
    display: none;
  }

  .agenda-time-cell {
    padding-top: 0;
  }

  .agenda-stage-tag {
    display: inline-block;
  }

  .workshop-duration-badge,
  .workshop-time-badge {
    display: inline-block;
  }
}

/* ==========================================
   Speakers & Team Section Styles
   ========================================== */
#speakers {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
}

#team {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
}

#speakers .section-container,
#team .section-container {
  max-width: 1240px;
}

.speakers-grid,
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.75rem 1.25rem;
  width: 100%;
  margin: 0 auto;
}

.speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  cursor: default;
  flex: 0 0 calc(16.666% - 17px);
  max-width: calc(16.666% - 17px);
  box-sizing: border-box;
  padding: 0.25rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  cursor: default;
  flex: 0 0 calc(20% - 16px);
  max-width: calc(20% - 16px);
  box-sizing: border-box;
  padding: 0.25rem;
}

@media (max-width: 1024px) {
  .speaker-card {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
  }
  .team-card {
    flex: 0 0 calc(20% - 13px);
    max-width: calc(20% - 13px);
  }
}

@media (max-width: 768px) {
  .speakers-grid,
  .team-grid {
    gap: 1.75rem 1rem;
  }

  .speaker-card {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
  }
  .team-card {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
  }

  .speaker-avatar-wrapper,
  .team-avatar-wrapper {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 560px) {
  .speakers-grid,
  .team-grid {
    gap: 1.5rem 0.75rem;
  }

  .speaker-card,
  .team-card {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
  }
}

.speaker-card-link,
.team-card-link {
  cursor: pointer;
}

.speaker-card-static {
  cursor: default;
}

.speaker-avatar-wrapper,
.team-avatar-wrapper {
  margin-bottom: 1rem;
  position: relative;
  line-height: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid #000000;
  overflow: visible;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease;
  background-color: #ffffff;
}

.speaker-avatar,
.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  display: block;
}

/* GDE Badge */
.speaker-gde-badge {
  position: absolute;
  bottom: 0px;
  right: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #000000;
  color: #0f172a;
  font-family: 'Google Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 10;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: help;
}

.speaker-gde-badge .gde-badge-icon {
  width: 20px;
  height: auto;
  display: block;
}

/* Hover on card: pink border on GDE badge */
.speaker-card-link:hover .speaker-gde-badge {
  border-color: #ff7daf;
  background-color: #ffffff;
}

/* Hover on GDE badge directly: pink background fill */
.speaker-gde-badge:hover {
  background-color: #ff7daf !important;
  border-color: #ff7daf !important;
  transform: scale(1.1);
}

/* GDE Tooltip */
.speaker-gde-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0f172a;
  color: #ffffff;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-family: 'Google Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 25;
  line-height: 1.2;
}

.speaker-gde-badge:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.speaker-avatar-placeholder {
  object-fit: cover;
  background-color: #f1f3f4;
}

.speaker-avatar-dominika {
  object-position: center;
  transform: none;
}

.speaker-avatar-siarhei {
  object-position: center;
  transform: none;
}

.speaker-name,
.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
  font-family: 'Google Sans', 'Outfit', -apple-system, sans-serif;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.speaker-role,
.team-role {
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

/* Hover Effects: ONLY for interactive speaker cards with links and team cards */
.speaker-card-link:hover .speaker-name,
.speaker-card-link:hover .speaker-role,
.team-card:hover .team-name,
.team-card:hover .team-role {
  color: #ff7daf !important;
}

.speaker-card-link:hover .speaker-avatar-wrapper,
.team-card:hover .team-avatar-wrapper {
  border-color: #ff7daf;
  transform: scale(1.03);
}

/* Venue Section */
.venue-card {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 20px;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.venue-card-header {
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-bottom: 2px solid #000000;
  background-color: #ffffff;
}

.venue-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.venue-name {
  font-family: 'Google Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.venue-address {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.venue-map-container {
  width: 100%;
  height: 420px;
  background: #e2e8f0;
  position: relative;
}

.venue-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .venue-card-header {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .venue-card-header .btn {
    width: 100%;
  }

  .venue-map-container {
    height: 320px;
  }
}


/* ==========================================================================
   Call-to-action callouts (Speakers / Partners / Team)
   Used while the line-up, partner list and team roster are still being built.
   ========================================================================== */

.cfp-callout {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 20px;
  padding: 3rem 1.75rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cfp-callout-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cfp-callout-title {
  font-family: 'Google Sans', 'Outfit', -apple-system, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
}

.cfp-callout-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
  max-width: 620px;
}

.cfp-callout .cta-row {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .cfp-callout {
    padding: 2.25rem 1.25rem;
  }

  .cfp-callout .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .cfp-callout .cta-row .btn {
    width: 100%;
  }
}

/* Agenda slots whose session is not confirmed yet. */
.agenda-card-tba {
  background: #FBFBFB;
}

.agenda-card-tba .agenda-card-title {
  color: #475569;
}

.agenda-card-tba .agenda-card-company {
  color: #94A3B8;
  font-size: 0.82rem;
  margin: 0.35rem 0 0 0;
}

/* Conference theme line inside the hero description. */
.hero-theme {
  display: inline-block;
  font-family: 'Google Sans', 'Outfit', -apple-system, sans-serif;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FBBC04;
  margin-bottom: 0.15rem;
}

/* Partner tiles without a website still need the grid cell's sizing. */
.partners-full-grid > div.partner-full-link {
  cursor: default;
}

/* Finalized 2026 programme, sponsors and event artwork. */
.event-section-heading { text-align: center; max-width: 850px; margin: 0 auto 2.5rem; }
.event-section-heading .section-heading { margin: 0 auto; }
.event-section-heading .section-subtext { margin: .8rem auto 1.5rem; }
.event-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #475569; margin: 0 0 .75rem; }
.programme { max-width: 960px; margin: 0 auto; }
.programme-group { margin-top: 2rem; border: 2px solid #1e1e1e; border-radius: 20px; overflow: hidden; background: #fff; }
.programme-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: #c3ecf6; border-bottom: 2px solid #1e1e1e; }
.programme-heading h3 { font-size: 1.3rem; margin: 0; }
.programme-heading span { white-space: nowrap; font-weight: 600; }
.programme-group:nth-child(2) .programme-heading { background: #fef0b6; }
.programme-group:nth-child(3) .programme-heading { background: #f8d8df; }
.programme-list { padding: 0; margin: 0; list-style: none; }
.programme-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.5rem; padding: 1.35rem 1.5rem; border-bottom: 1px solid #d9dfe5; }
.programme-row:last-child { border-bottom: 0; }
.programme-time { display: flex; gap: .45rem; font-variant-numeric: tabular-nums; font-size: .95rem; font-weight: 600; padding-top: .2rem; white-space: nowrap; }
.programme-session h4 { font-size: 1.1rem; line-height: 1.45; margin: 0; }
.programme-session p { margin: .35rem 0 0; color: #475569; line-height: 1.6; }
.programme-session .programme-speaker { color: #1558b0; font-weight: 600; }
.confirmed-speakers { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.confirmed-speaker { border: 2px solid #1e1e1e; border-radius: 20px; padding: 1.5rem; }
.confirmed-speaker h3 { margin: 0 0 .65rem; font-size: 1.25rem; line-height: 1.35; }
.confirmed-speaker > p:last-child { margin: 0; color: #475569; line-height: 1.6; font-size: .95rem; }
.sponsor-tier { margin-top: 2.5rem; text-align: center; }
.sponsor-tier > h3 { display: inline-block; margin: 0 0 1.2rem; padding: .4rem 1.2rem; border: 1px solid #1e1e1e; border-radius: 100px; font-size: .9rem; }
.sponsor-tier-gold > h3 { background: #fef0b6; }
.sponsor-tier-silver > h3 { background: #edf0f4; }
.sponsor-tier-bronze > h3 { background: #f7dfcc; }
.sponsor-tier-community > h3 { background: #e6f4ea; }
.sponsor-tier-prize > h3 { background: #f8d8df; }
.sponsor-tier-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.confirmed-sponsor { width: 245px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.25rem; border: 1px solid #e0e4e9; border-radius: 16px; text-decoration: none; color: #0f172a; }
.confirmed-sponsor img { width: 100%; height: 100px; object-fit: contain; }
.confirmed-sponsor img.sponsor-logo-portrait { height: 150px; }
.confirmed-sponsor span { font-size: .9rem; line-height: 1.4; }
a.confirmed-sponsor:hover { border-color: #ff7daf; }
.prize-sponsor { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: fit-content; margin: 0 auto; color: #0f172a; text-decoration: none; }
.prize-sponsor strong { font-weight: 500; font-size: 3.5rem; letter-spacing: -.04em; }
.prize-sponsor span { color: #475569; }
#highlights { background: #f0f0f0; }
.event-posters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; max-width: 1000px; margin: auto; }
.event-poster { background: #fff; border: 2px solid #1e1e1e; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.event-poster > a { display: block; background: #fff; }
.event-poster img { display: block; width: 100%; height: auto; }
.event-poster-copy { border-top: 1px solid #e0e4e9; padding: 1.5rem; margin-top: auto; }
.event-poster-copy h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
.event-poster-copy p { margin: 0 0 1rem; color: #475569; line-height: 1.6; }
@media (max-width: 1000px) { .confirmed-speakers { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .programme-heading { padding: 1rem; flex-wrap: wrap; gap: .4rem; }
  .programme-heading h3 { font-size: 1.15rem; }
  .programme-heading span { font-size: .85rem; }
  .programme-row { grid-template-columns: minmax(0,1fr); gap: .5rem; padding: 1.2rem; }
  .programme-time { color: #475569; padding: 0; }
  .confirmed-speakers, .event-posters { grid-template-columns: minmax(0,1fr); }
  .confirmed-speaker { padding: 1.25rem; }
  .confirmed-sponsor { width: min(100%,245px); }
  .event-posters { gap: 1.5rem; }
  .event-section-heading .btn { padding-inline: 20px; font-size: 14px; }
  .hero-section .event-details-row { align-items: flex-start; }
}

/* A welcoming WTM pre-event, followed by the untimed main programme. */
.breakfast-pre-event { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 2.5rem; padding: 2.75rem; border: 2px solid #202124; border-radius: 28px; background: #e1f2eb; box-shadow: 6px 6px 0 #202124; }
.breakfast-art { text-align: center; }
.breakfast-art svg { display: block; width: 100%; max-width: 290px; margin: 0 auto 1rem; }
.breakfast-note { display: inline-block; padding: .55rem .85rem; background: #f8d8df; border: 1.5px solid #202124; border-radius: 8px; font-size: .8rem; font-weight: 600; transform: rotate(-4deg); }
.programme-pill { display: inline-block; padding: .45rem .85rem; border: 1.5px solid #202124; border-radius: 99px; background: #fffaf1; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.breakfast-copy h3 { font-size: clamp(2rem,4vw,3rem); line-height: 1.1; letter-spacing: -.04em; margin: 1rem 0; }
.breakfast-copy .breakfast-lead { font-size: clamp(1.3rem,2.4vw,1.7rem); line-height: 1.3; font-weight: 600; color: #194c3d; margin: 0 0 1rem; }
.breakfast-copy > p:last-of-type { color: #334e45; line-height: 1.65; margin: 0; }
.breakfast-moments { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.25rem 0 0; }
.breakfast-moments li { background: #fffaf1; border: 1px solid #88ad9d; border-radius: 10px; padding: .5rem .75rem; font-size: .85rem; }
.programme-bridge { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 2.25rem 0; color: #64748b; }
.programme-bridge span { width: 55px; height: 1px; background: #b5bec8; }
.main-event-intro { text-align: center; margin-bottom: 2rem; }
.main-event-intro .programme-pill { background: #fef0b6; }
.main-event-intro h3 { font-size: clamp(2rem,4vw,3rem); letter-spacing: -.04em; margin: .8rem 0 .5rem; }
.main-event-intro p { color: #475569; margin: 0; }
.programme-main .programme-group:nth-of-type(2) .programme-heading { background: #c3ecf6; }
.programme-main .programme-group:nth-of-type(3) .programme-heading { background: #fef0b6; }
.programme-main .programme-group:nth-of-type(4) .programme-heading { background: #f8d8df; }
.programme-opening { background: #f5fbfe; }
@media (max-width: 650px) {
  .breakfast-pre-event { grid-template-columns: minmax(0,1fr); padding: 1.5rem; gap: 1.75rem; box-shadow: 4px 4px 0 #202124; }
  .breakfast-art svg { max-width: 180px; margin-bottom: .5rem; }
  .breakfast-copy { text-align: center; }
  .breakfast-moments { justify-content: center; }
  .breakfast-copy .programme-pill { font-size: .7rem; }
}

/* Flappy Kori gets its own playful, accessible place in the programme. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#game { background: #c3ecf6; padding-block: 4.5rem; }
.kori-arcade { max-width: 1040px; margin: 0 auto; padding: 2.5rem; background: #fff8dd; border: 2px solid #202124; border-radius: 30px; box-shadow: 7px 7px 0 #202124; }
.kori-intro { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 2.5rem; align-items: center; margin-bottom: 2.25rem; text-align: left; }
.kori-mascot { position: relative; text-align: center; padding-bottom: 1.25rem; }
.kori-mascot img { display: block; width: 100%; height: auto; }
.kori-sticker { display: inline-block; margin-top: -.25rem; padding: .5rem 1rem; background: #f8d8df; color: #202124; border: 1.5px solid #202124; border-radius: 8px; font-weight: 600; font-size: .9rem; transform: rotate(-5deg); }
.kori-copy .programme-pill { background: #e1f2eb; }
.kori-copy h2 { font-size: clamp(2.6rem,5vw,4.2rem); line-height: 1.05; letter-spacing: -.045em; margin: 1rem 0 .65rem; color: #202124; }
.kori-copy .kori-lead { color: #202124; font-weight: 600; font-size: clamp(1.1rem,2.1vw,1.4rem); margin: 0 0 .8rem; }
.kori-copy p { color: #475569; line-height: 1.65; margin: 0; }
.kori-launch { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem; margin-top: 1.25rem; border: 2px solid #202124; border-radius: 999px; background: #ffd427; color: #202124; font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: 2px 2px 0 #202124; }
.kori-launch:hover { background: #f8d8df; }
.kori-launch:focus-visible { outline: 3px solid #1558b0; outline-offset: 4px; }
.kori-game-frame { overflow: hidden; border: 2px solid #202124; border-radius: 20px; background: #fff; }
.kori-frame-label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #f8d8df; border-bottom: 2px solid #202124; padding: .85rem 1.15rem; color: #202124; font-weight: 700; text-align: left; }
.kori-route { font-weight: 500; font-size: .85rem; }
.kori-game-frame .game-wrapper { width: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 16/9; }
.kori-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; list-style: none; padding: 0; margin: 1.5rem 0 .75rem; }
.kori-controls li { display: flex; align-items: center; gap: .55rem; color: #202124; font-size: .9rem; }
.kori-controls kbd { display: inline-flex; justify-content: center; align-items: center; min-width: 30px; height: 30px; padding: .2rem; background: #fff; border: 1.5px solid #202124; border-radius: 6px; box-shadow: 0 2px 0 #202124; font: 600 .9rem 'Space Grotesk', sans-serif; }
.kori-diamond { font-size: 1.7rem; color: #087d9a; line-height: 1; }
.kori-arcade .game-hint { margin: 0; line-height: 1.6; }
@media (max-width: 700px) {
  #game { padding: 3rem 1.1rem; }
  .kori-arcade { padding: 1.25rem; border-radius: 24px; box-shadow: 4px 4px 0 #202124; }
  .kori-intro { grid-template-columns: minmax(0,1fr); gap: .75rem; text-align: center; }
  .kori-mascot { max-width: 190px; margin: 0 auto; padding: 0; }
  .kori-copy h2 { margin-top: .85rem; }
  .kori-copy .programme-pill { font-size: .68rem; }
  .kori-frame-label { padding: .75rem; font-size: .9rem; }
  .kori-route { display: none; }
  .kori-game-frame .game-wrapper { aspect-ratio: 4/5; min-height: 320px; }
  .kori-controls { gap: 1rem; }
  .kori-controls li { font-size: .8rem; }
}

/* Keep the selected cityscape visible; no video layer overrides the mobile art. */
#hero { min-height: min(820px, calc(100svh - 78px)); padding-block: clamp(4rem,7vw,6rem); scroll-margin-top: 78px; isolation: isolate; }
.hero-cityscape, .hero-cityscape-picture, .hero-cityscape-shade { position: absolute; inset: 0; }
.hero-cityscape { overflow: hidden; pointer-events: none; z-index: 0; background: #101727; }
.hero-cityscape-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-cityscape-shade { background: linear-gradient(180deg,rgba(6,12,23,.5) 0%,rgba(6,12,23,.22) 45%,rgba(6,12,23,.58) 100%); }
#hero .hero-title { font-size: clamp(2.65rem,6.8vw,5.6rem); line-height: 1.04; }
#hero .cta-row { align-items: center; }
.sold-out-status { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 2px solid #1e1e1e; border-radius: 9999px; background: #f8d8df; color: #1e1e1e; font-size: 15px; line-height: 1.2; font-weight: 700; white-space: nowrap; }
.sold-out-hero { background: #fbbc04; border-color: #fbbc04; }
@media (max-width: 768px) {
  #hero { min-height: calc(100svh - 70px); padding: 4rem 1.5rem; scroll-margin-top: 70px; }
  .hero-cityscape-image { object-position: center 55%; }
  .hero-cityscape-shade { background: linear-gradient(180deg,rgba(6,12,23,.45),rgba(6,12,23,.32) 50%,rgba(6,12,23,.7)); }
  #hero .hero-title { font-size: clamp(2.5rem,10vw,4.5rem); }
  .sold-out-nav { padding-inline: 20px; min-height: 44px; font-size: 14px; }
}
