/* ==========================================================================
   2026 Incheon Creative Design Week (ICDW 2026) Mobile VIP Invitation
   Theme: Official Graphic Identity (Based on User Draft)
   Deep Midnight Obsidian, Crisp Crystal LINK, 3 Keynote Speakers
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg-dark: #080c15;
  --bg-modal: #0d1424;
  --bg-card: rgba(255, 255, 255, 0.04);
  
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --accent-orange: #ff9900;
  --accent-amber: #f59e0b;
  --accent-blue: #002594;
  --accent-cyan: #00d2ff;
  --accent-magenta: #f43f5e;

  --border-light: rgba(255, 255, 255, 0.1);
  --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  --font-brand: 'Outfit', 'Pretendard', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark);
  font-family: var(--font-main);
  color: var(--text-primary);
  overflow-x: hidden;
  word-break: keep-all;
  line-height: 1.5;
}

/* App Viewport Container */
.invite-viewport {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  background-color: var(--bg-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.95);
  padding: 0 0 90px;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  .invite-viewport {
    box-shadow: none; /* Avoid heavy 80px blur calculations on mobile full screen */
  }
}

/* Header & Vector Lines Hero Stage */
.hero-stage {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 46px;
  padding-bottom: 0px;
  min-height: auto;
  overflow: visible;
  background: var(--bg-dark);
}

/* Background Vector Lines SVG Backdrop */
.hero-vector-backdrop {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  height: 420px;
  pointer-events: none;
  z-index: 1;
}

.hero-vector-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Glowing Pulse Animations on SVG Tracks (1+2 Optimization: Opacity-based GPU pulse) */
@keyframes neonPulseGlow {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes orangePulseGlow {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.hero-vector-svg .pulse-cyan {
  animation: neonPulseGlow 3.5s ease-in-out infinite;
  will-change: opacity;
}

.hero-vector-svg .pulse-orange {
  animation: orangePulseGlow 3.8s ease-in-out infinite;
  will-change: opacity;
}

/* 1+2 Optimization: Pause continuous hero animations during active touch/scroll & offscreen */
body.is-scrolling .pulse-cyan,
body.is-scrolling .pulse-orange,
body.is-scrolling .crystal-sheen-beam,
.hero-stage.is-offscreen .pulse-cyan,
.hero-stage.is-offscreen .pulse-orange,
.hero-stage.is-offscreen .crystal-sheen-beam {
  animation-play-state: paused !important;
}

/* Top Royal Blue Pill Badge */
.top-pill-badge {
  position: relative;
  z-index: 10;
  background: #002594;
  border: 1.5px solid rgba(0, 180, 255, 0.45);
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 37, 148, 0.6), 0 0 14px rgba(0, 210, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Center Keyvisual Crystal Box */
.hero-crystal-box {
  position: relative;
  z-index: 5;
  width: 210px;
  max-width: 58%;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ambient Ethereal Blue Glow diffusing gently downwards behind the title */
.hero-crystal-box::after {
  content: '';
  position: absolute;
  bottom: -46px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 180px;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 180, 255, 0.40) 0%, rgba(0, 100, 250, 0.22) 45%, rgba(0, 30, 140, 0.08) 72%, transparent 100%);
  filter: blur(28px);
  pointer-events: none;
  z-index: -1;
}

.crystal-pure-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 18px rgba(0, 180, 255, 0.4)) drop-shadow(0 20px 32px rgba(0, 130, 255, 0.26));
}

/* Masked Sheen Layer: Strictly clipped to the crystal silhouette via alpha mask */
.crystal-facet-sheen-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: url('assets/keyvisual_pure.webp');
  mask-image: url('assets/keyvisual_pure.webp');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  overflow: hidden;
}

/* Diagonal Light Beam that sweeps exclusively through the crystal facets (1+2 Optimization: GPU translate3d) */
.crystal-sheen-beam {
  position: absolute;
  top: -40%;
  left: 0;
  width: 48%;
  height: 180%;
  background: linear-gradient(
    108deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 25%,
    rgba(255, 255, 255, 0.5) 42%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(0, 240, 255, 0.8) 58%,
    rgba(255, 255, 255, 0.0) 80%,
    transparent 100%
  );
  transform: translate3d(-180%, 0, 0) rotate(22deg);
  -webkit-transform: translate3d(-180%, 0, 0) rotate(22deg);
  will-change: transform, opacity;
  animation: crystalFacetSweep 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  mix-blend-mode: color-dodge;
}

@keyframes crystalFacetSweep {
  0% { transform: translate3d(-180%, 0, 0) rotate(22deg); opacity: 0; }
  10% { opacity: 1; }
  45% { transform: translate3d(280%, 0, 0) rotate(22deg); opacity: 0; }
  100% { transform: translate3d(280%, 0, 0) rotate(22deg); opacity: 0; }
}

/* Main Text Body Flow */
.invite-content {
  width: 100%;
  padding: 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 6;
}

.main-event-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-top: 6px;
  margin-bottom: 6px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 140, 255, 0.25);
}

.main-event-slogan {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.invitation-callout {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.invitation-callout .vip-highlight {
  color: var(--accent-cyan);
}

.invitation-body-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
  max-width: 360px;
  margin: 0 auto 26px;
  word-break: keep-all;
}

/* Keynote Speakers Section (3 Columns matching design) */
.speakers-section {
  width: 100%;
  margin: 0 auto 28px;
}

.speakers-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.speakers-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-cyan, #00d2ff);
  letter-spacing: 1px;
  font-family: var(--font-brand);
}

.speakers-guide-hint {
  font-size: 0.72rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.speaker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  outline: none;
  background: transparent;
  border: none;
  font-family: inherit;
  color: inherit;
  width: 100%;
  border-radius: 16px;
  padding: 8px 4px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.speaker-item:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-3px);
}

.speaker-item:active {
  transform: translateY(1px) scale(0.97);
}

.speaker-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #00d2ff 0%, #9333ea 50%, #ff9900 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 210, 255, 0.22);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
}

.speaker-item:hover .speaker-avatar-wrap {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 210, 255, 0.45);
}

.avatar-zoom-badge {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff, #3b82f6);
  color: #050813;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
  border: 1.5px solid #080c15;
}

.avatar-zoom-badge svg {
  width: 12px;
  height: 12px;
}

.speaker-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #080c15;
}

.speaker-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 3px;
  white-space: nowrap;
}

.speaker-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  white-space: nowrap;
}

.speaker-accent-bar {
  width: 18px;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
  margin-bottom: 8px;
}

.speaker-topic {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.4;
  word-break: keep-all;
}

.speaker-tap-chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 3px 8px;
  border-radius: 9999px;
  margin-top: 8px;
  transition: all 0.2s;
  letter-spacing: -0.2px;
}

.speaker-item:hover .speaker-tap-chip {
  background: rgba(56, 189, 248, 0.25);
  color: #ffffff;
  border-color: #38bdf8;
}

/* Compact Info Chip (Date & Venue) */
.compact-info-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 16px;
  margin: 0 auto 24px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  width: 100%;
  max-width: 380px;
}
.compact-info-chip strong {
  color: #ffffff;
}

/* Secondary Actions (Promo Video & Share) */
.secondary-actions-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.btn-secondary-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* ==========================================================================
   Official Event Organizers & Contact Footer
   ========================================================================== */
.official-org-footer {
  width: 100%;
  max-width: 380px;
  margin: 18px auto 6px;
  padding: 16px 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.org-meta-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.82rem;
}

.org-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.org-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 4px;
}

.org-value {
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: -0.2px;
}

.org-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

.contact-support-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
}

.contact-center {
  font-weight: 600;
  color: #e2e8f0;
}

.contact-phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: #00e5ff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-phone-chip:hover,
.contact-phone-chip:active {
  background: rgba(0, 210, 255, 0.25);
  border-color: #00e5ff;
  color: #ffffff;
  transform: scale(1.04);
}

.copyright-notice {
  font-size: 0.68rem;
  color: #64748b;
  letter-spacing: -0.1px;
}

/* Modal Contact Note */
.modal-contact-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.78rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.modal-contact-note a,
.modal-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #38bdf8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.modal-contact-note a:hover,
.modal-phone-link:hover {
  color: #00e5ff;
}

/* ==========================================================================
   Bottom Action Bar (3 Radiant Dark Glass Buttons with Speaker-matching Gradient Ring)
   ========================================================================== */
.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  -webkit-transform: translateX(-50%) translateZ(0);
  will-change: transform;
  contain: layout paint;
  width: 100%;
  max-width: 440px;
  padding: 10px 14px 16px;
  z-index: 50;
  background: linear-gradient(180deg, rgba(8, 12, 21, 0) 0%, rgba(8, 12, 21, 0.9) 25%, rgba(8, 12, 21, 0.98) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

/* Radiant Outer Gradient Ring (Exact same gradient as speaker portrait rings!) */
.cta-pill-btn {
  position: relative;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(135deg, #00d2ff 0%, #9333ea 50%, #ff9900 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 210, 255, 0.22);
  cursor: pointer;
  border: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  display: flex;
  text-decoration: none;
  overflow: hidden;
}

.cta-pill-btn:hover {
  transform: translateY(-2.5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.95), 0 0 24px rgba(0, 210, 255, 0.45);
}

.cta-pill-btn:active {
  transform: translateY(1px);
}

/* Inner Dark Core matching deep obsidian theme */
.cta-btn-inner {
  width: 100%;
  height: 100%;
  border-radius: 16.5px;
  background: linear-gradient(180deg, #131b2e 0%, #0a101d 100%);
  padding: 12px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.cta-pill-btn:hover .cta-btn-inner {
  background: linear-gradient(180deg, #18233c 0%, #0d1527 100%);
}

.cta-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 5px;
  color: #00d2ff;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cta-pill-btn.cta-map .cta-icon {
  color: #38bdf8;
}

.cta-pill-btn.cta-program .cta-icon {
  color: #fbbf24;
}

.cta-pill-btn:hover .cta-icon {
  transform: scale(1.12);
}

.cta-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cta-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1.2;
  margin-top: 3px;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Modals (RSVP, Map, Program, Video, Speaker)
   ========================================================================== */
button, 
.speaker-item, 
.cta-pill-btn, 
.btn-secondary-action, 
.spk-tab-btn, 
.video-tab-btn,
.modal-drag-pill,
.btn-close-modal {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 7, 18, 0.92);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.modal-sheet {
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  background: var(--bg-modal);
  border: 1px solid var(--border-light);
  border-radius: 28px 28px 0 0;
  padding: 24px 20px 36px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 -10px 45px rgba(0, 0, 0, 0.85);
  transform: translateY(100%);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-sheet {
  transform: translateY(0);
}

.modal-drag-pill {
  width: 44px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 16px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00d2ff, #3b82f6);
  color: #050813;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.btn-close-modal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* RSVP Form Styles */
.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.form-label .required {
  color: var(--accent-magenta);
}

.choice-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.choice-chip-radio {
  display: none;
}

.choice-chip-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.choice-chip-radio:checked + .choice-chip-label {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.3);
}

.choice-chip-radio[value="ABSENT"]:checked + .choice-chip-label {
  background: rgba(244, 63, 94, 0.15);
  border-color: var(--accent-magenta);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.3);
}

.input-text {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.94rem;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  color-scheme: dark;
}
.input-text:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2);
}

select.input-text {
  background-color: #0d1527;
  color: #ffffff;
  color-scheme: dark;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

select.input-text option {
  background-color: #0d1527;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 0.94rem;
}

select.input-text option:checked,
select.input-text option:hover {
  background-color: #00d2ff;
  color: #040814;
}

/* Personal Information Privacy Agreement */
.privacy-consent-group {
  margin: 14px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-terms-card {
  background: rgba(13, 20, 36, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
}

.privacy-terms-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.privacy-terms-text {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.55;
  word-break: keep-all;
}

.privacy-check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
  padding: 4px 2px;
}

.privacy-checkbox {
  width: 19px;
  height: 19px;
  accent-color: #00d2ff;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 4px;
}

.privacy-check-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.btn-rsvp-submit {
  width: 100%;
  background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 100%);
  color: #050813;
  border: none;
  border-radius: 16px;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.35);
  transition: all 0.2s ease;
  margin-top: 8px;
}
.btn-rsvp-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.45);
}

/* Map Modal Styles */
.map-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.btn-map-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  gap: 6px;
  transition: transform 0.2s;
}
.btn-map-app:hover {
  transform: translateY(-2px);
}
.btn-map-app.kakao { background: #fee500; color: #191919; }
.btn-map-app.naver { background: #03c75a; color: #ffffff; }
.btn-map-app.tmap { background: #e60012; color: #ffffff; }

.floorplan-img-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 18px;
}
.floorplan-img {
  width: 100%;
  height: auto;
  display: block;
}

.transit-guide-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Program Timetable Styles */
.program-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.tab-day-btn {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-day-btn.active {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

/* Session Dividers [1부] / [2부] */
.session-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(13, 20, 38, 0.95);
  border: 1px solid rgba(0, 210, 255, 0.25);
  margin-top: 10px;
  margin-bottom: 6px;
}

.session-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
}

.session-badge .badge-num {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.badge-part1 .badge-num {
  background: #00d2ff;
  color: #050813;
}

.badge-part2 .badge-num {
  background: #ff9900;
  color: #050813;
}

.session-time-range {
  font-size: 0.74rem;
  color: var(--accent-cyan);
  font-family: var(--font-brand);
  font-weight: 700;
}

/* Timeline Layout */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.timeline-item {
  display: flex;
  gap: 12px;
  padding: 9px 8px;
  border-radius: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease;
}

.timeline-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.timeline-time-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 90px;
  flex-shrink: 0;
}

.timeline-time {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 800;
  color: #e2e8f0;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.timeline-dur {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 3px;
  display: inline-block;
}

.timeline-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.timeline-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.timeline-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.5;
  word-break: keep-all;
}

.timeline-speaker {
  font-size: 0.85rem;
  font-weight: 800;
  color: #38bdf8;
  margin-top: 3px;
}

.speaker-role-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 4px;
}

/* Timeline Highlights for Lectures & Keynote */
.timeline-highlight {
  background: rgba(0, 210, 255, 0.07);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-left: 3.5px solid #00d2ff;
  border-radius: 12px;
  padding: 11px 10px;
}

.timeline-highlight .timeline-time {
  color: #00e5ff;
}

.timeline-highlight.timeline-lecture {
  background: linear-gradient(90deg, rgba(147, 51, 234, 0.12) 0%, rgba(0, 210, 255, 0.05) 100%);
  border-color: rgba(147, 51, 234, 0.35);
  border-left: 3.5px solid #a855f7;
}

.timeline-lunch {
  background: rgba(251, 146, 60, 0.06);
  border: 1px solid rgba(251, 146, 60, 0.2);
  border-left: 3.5px solid #fb923c;
  border-radius: 12px;
  padding: 11px 10px;
}

.timeline-tag-row {
  margin-bottom: 4px;
}

.timeline-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: -0.01em;
}

.tag-keynote {
  background: rgba(0, 210, 255, 0.18);
  color: #00e5ff;
  border: 1px solid rgba(0, 210, 255, 0.35);
}

.tag-lecture {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.tag-policy {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.tag-lunch {
  background: rgba(251, 146, 60, 0.2);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.tag-talk {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Intermission rows */
.timeline-intermission {
  padding: 4px 8px;
  opacity: 0.6;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.06);
}

.timeline-intermission .timeline-time {
  font-size: 0.74rem;
  color: #64748b;
}

.timeline-intermission .timeline-dur {
  font-size: 0.64rem;
  padding: 0 4px;
  background: transparent;
  color: #64748b;
}

.intermission-text {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}

.cal-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn-cal-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #ffffff;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-cal-add:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 200;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Vertical Promo Video Modal Styles (Optimized for 9:16 Vertical Video)
   ========================================================================== */
.modal-video-overlay {
  align-items: flex-end;
  justify-content: center;
}

.modal-sheet-video {
  max-width: 480px;
  width: 100%;
  height: 92vh;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  padding: 14px 18px 20px;
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.98) 0%, rgba(6, 10, 20, 0.99) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.85);
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}

.modal-header-video {
  margin-bottom: 12px;
  padding-bottom: 10px;
  flex-shrink: 0;
}

.video-vertical-wrapper {
  flex: 1;
  min-height: 0;
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

#promo-video-player {
  width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  background: #000000;
  outline: none;
}

.video-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 0;
  flex-shrink: 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

@media (max-width: 480px) {
  .modal-sheet-video {
    padding: 12px 14px 16px;
    height: 93vh;
    max-height: 95vh;
  }
  .video-vertical-wrapper {
    border-radius: 16px;
  }
  #promo-video-player {
    border-radius: 16px;
  }
  .video-caption-bar {
    font-size: 0.74rem;
    padding-top: 8px;
  }
}

/* ==========================================================================
   Speaker Profile Modal Sheet Styles
   ========================================================================== */
.modal-sheet-speaker {
  max-height: 88vh;
  padding: 16px 18px 32px;
  background: linear-gradient(180deg, #12192c 0%, #080d19 100%);
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.modal-header-speaker {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.speaker-quick-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex: 1;
  max-width: 320px;
}

.spk-tab-btn {
  flex: 1;
  padding: 6px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #94a3b8;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-align: center;
}

.spk-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.25), rgba(59, 130, 246, 0.35));
  color: #ffffff;
  border: 1px solid rgba(0, 210, 255, 0.4);
  box-shadow: 0 2px 10px rgba(0, 210, 255, 0.2);
}

.speaker-detail-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInSpk 0.25s ease-out;
}

@keyframes fadeInSpk {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.spk-hero-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.spk-hero-avatar-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #00d2ff 0%, #9333ea 50%, #ff9900 100%);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 210, 255, 0.25);
}

.spk-hero-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.spk-hero-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spk-session-tag {
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(0, 210, 255, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.spk-main-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.spk-english-name {
  font-size: 0.74rem;
  color: #64748b;
  font-family: var(--font-brand);
}

.spk-main-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 2px;
}

/* Speaker Detail Section Cards */
.spk-section-box {
  background: rgba(8, 14, 27, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
}

.spk-section-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spk-section-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(0, 210, 255, 0.12);
  color: #00d2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spk-section-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #f1f5f9;
}

.spk-session-time {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-left: auto;
  font-family: var(--font-brand);
}

/* Lecture Topic Highlight Box */
.spk-topic-banner {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.08) 0%, rgba(147, 51, 234, 0.08) 100%);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.spk-topic-theme {
  font-size: 0.72rem;
  color: #00d2ff;
  font-weight: 700;
  margin-bottom: 4px;
}

.spk-topic-headline {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 4px;
  word-break: keep-all;
}

.spk-topic-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Bullet list */
.spk-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spk-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.spk-bullet-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38bdf8;
  margin-top: 7px;
  flex-shrink: 0;
}

/* Career Timeline Items */
.spk-bio-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.spk-bio-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.spk-bio-icon {
  color: #fbbf24;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Modal Actions Row */
.spk-footer-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.btn-spk-program {
  flex: 1;
  background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 100%);
  color: #050813;
  border: none;
  border-radius: 14px;
  padding: 13px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(0, 210, 255, 0.35);
  transition: all 0.2s;
}

.btn-spk-program:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.5);
}

.btn-spk-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  border-radius: 14px;
  padding: 13px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-spk-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ==========================================================================
   Dual Video Player Switcher Tabs
   ========================================================================== */
.modal-header-video {
  padding: 12px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-quick-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.video-tab-btn:hover {
  color: #f1f5f9;
}

.video-tab-btn.active {
  background: linear-gradient(135deg, #00b4ff, #00e5ff);
  color: #030712;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(0, 229, 255, 0.35);
}

.video-caption-tag {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #00e5ff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}



/* Single Action Row for VIP */
.secondary-actions-row.single-action {
  justify-content: center;
}

.secondary-actions-row.single-action .btn-secondary-action {
  max-width: 240px;
  width: 100%;
  justify-content: center;
}



