/* ============================================
   MAID 2027 - Conference Website
   Fonts: Inter + Noto Sans SC (Free for commercial use)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --deep-navy: #0a1628;
  --navy: #0f1f38;
  --steel: #1b3a5c;
  --steel-light: #2a5080;
  --accent-gold: #c9a84c;
  --accent-gold-light: #e0c56e;
  --accent-copper: #d4784c;
  --accent-teal: #2eccb8;
  --link-blue: #1a56db;
  --link-blue-hover: #1040b0;
  --link-blue-light: #3b82f6;
  --text-primary: #e8edf2;
  --text-secondary: #a0b4c8;
  --text-muted: #6b8299;
  --text-dark: #0f172a;
  --text-body: #334155;
  --bg-dark: #0d1b2a;
  --bg-darker: #080f1a;
  --bg-card: #132438;
  --bg-card-hover: #1a3048;
  --border-subtle: rgba(255,255,255,0.06);
  --border-card: rgba(255,255,255,0.08);
  --white: #ffffff;
  --tw-ring-color: #3b82f6;
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-width: 320px;
}

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

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

/* ============ GLOBAL LINK STYLES ============ */
a {
  color: var(--link-blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-teal);
  text-decoration: underline;
}

/* ============ SIDEBAR NAVIGATION ============ */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--navy) 100%);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.sidebar.active { transform: translateX(0); }

.sidebar-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active { opacity: 1; visibility: visible; }

.sidebar-header {
  padding: 30px 28px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--deep-navy);
  font-weight: 800;
}

.sidebar-close {
  background: none; border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
  transition: color 0.3s;
  line-height: 1;
}

.sidebar-close:hover { color: var(--white); }

.sidebar-nav { flex: 1; padding: 16px 0; list-style: none; }

.sidebar-nav li { position: relative; }

.sidebar-nav li a {
  display: flex;
  align-items: center;
  padding: 14px 28px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border-left-color: var(--accent-gold);
}

.sidebar-nav .nav-icon { width: 20px; margin-right: 14px; text-align: center; font-size: 0.85rem; opacity: 0.6; transition: opacity 0.3s; }
.sidebar-nav li a:hover .nav-icon,
.sidebar-nav li a.active .nav-icon { opacity: 1; }

.sidebar-nav .has-dropdown > a::after {
  content: '+'; margin-left: auto; font-size: 1.1rem; transition: transform 0.3s; opacity: 0.5;
}
.sidebar-nav .has-dropdown.open > a::after { content: '−'; opacity: 0.8; }

.sidebar-nav .dropdown-menu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: rgba(0,0,0,0.2);
}

.sidebar-nav .has-dropdown.open .dropdown-menu { max-height: 500px; }

.sidebar-nav .dropdown-menu li a {
  padding: 10px 28px 10px 62px;
  font-size: 0.88rem;
  font-weight: 400;
  border-left-color: transparent;
}

.sidebar-nav .dropdown-menu li a:hover { border-left-color: var(--accent-teal); }

/* ============ TOP BAR ============ */
.topbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 998;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  transition: padding 0.4s, box-shadow 0.4s;
}

.topbar.scrolled { padding: 10px 30px; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

/* 顶栏底部科技感光线 */
.topbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3) 20%, rgba(46, 204, 184, 0.25) 50%, rgba(201, 168, 76, 0.3) 80%, transparent);
  opacity: 0.7;
}

.topbar-left { display: flex; align-items: center; gap: 16px; }

.hamburger {
  background: none; border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger:hover span { background: var(--accent-gold); }

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.topbar-right { display: flex; align-items: center; gap: 20px; }

.topbar-right .btn-register {
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--deep-navy) !important;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.topbar-right .btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

/* Desktop Navigation */
.topbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  margin: 0; padding: 0;
}

.topbar-nav > li { position: relative; }

.topbar-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: all 0.3s;
  white-space: nowrap;
}

.topbar-nav > li > a:hover,
.topbar-nav > li > a.active { color: var(--white); background: rgba(255,255,255,0.06); }

.topbar-nav > li > a.active { color: var(--accent-gold); }

.topbar-nav .dropdown { position: relative; }

.topbar-nav .dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  margin-top: -2px;
  transition: transform 0.3s;
}

.topbar-nav .dropdown:hover > a::after { transform: rotate(-135deg); margin-top: 2px; }

.topbar-nav .dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: rgba(15, 31, 56, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 100;
}

.topbar-nav .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(4px); }

.topbar-nav .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}

.topbar-nav .dropdown-menu li a:hover { color: var(--white); background: rgba(255,255,255,0.05); }

@media (max-width: 1024px) { .topbar-nav > li:not(.nav-logo-item) { display: none; } .topbar-nav { margin-left: auto; } }
@media (min-width: 1025px) {
  .hamburger { display: none; }
  .topbar-right { margin-right: 24px; }
}

/* ============ LOGO IN NAVBAR ============ */
.nav-logo-item { display: flex; align-items: center; padding: 0 8px; }

.navbar-logo { display: flex; align-items: center; flex-shrink: 0; }

.navbar-logo-placeholder {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-logo-placeholder img {
  display: block;
  object-fit: contain;
}

/* ============ BANNER CAROUSEL ============ */
.carousel {
  width: 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
  margin-top: 60px;
}

.carousel-inner { width: 100%; height: 100%; position: relative; }

.carousel-item {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.carousel-item.active { opacity: 1; pointer-events: auto; }

.carousel-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.5) 0%, rgba(10,22,40,0.3) 50%, rgba(10,22,40,0.6) 100%);
}

.carousel-placeholder.slide-1 {
  background-image: url('../img/banner/banner1.jpg');
}

.carousel-placeholder.slide-2 {
  background-image: url('../img/banner/banner2.jpg');
}

.carousel-caption {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  padding: 0 24px;
}

.carousel-caption h2 {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
  margin-bottom: 12px;
  line-height: 1.3;
}

.carousel-caption h2 em { font-style: italic; font-weight: 400; font-size: 1em; color: rgba(255,255,255,0.9); }

.carousel-caption .carousel-subtitle { font-size: 1.8rem; font-weight: 700; color: var(--accent-gold); text-shadow: 0 1px 8px rgba(0,0,0,0.55); margin-bottom: 10px; letter-spacing: 2.5px; }

.carousel-caption .carousel-info { font-size: 1.2rem; color: rgba(255,255,255,0.9); text-shadow: 0 1px 8px rgba(0,0,0,0.55); }

.carousel-controls { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }

.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all 0.3s; }

.carousel-dot.active { background: var(--accent-gold); transform: scale(1.3); }

.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); border: none; color: var(--white); font-size: 1.5rem; padding: 12px 16px; cursor: pointer; z-index: 10; transition: background 0.3s; border-radius: 4px; }

.carousel-arrow:hover { background: rgba(0,0,0,0.7); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

@media (max-width: 768px) {
  .carousel { height: 300px; margin-top: 56px; }
  .carousel-arrow { padding: 8px 12px; font-size: 1.2rem; }
  .carousel-caption h2 { font-size: 1.6rem; }
  .carousel-caption .carousel-subtitle { font-size: 1.2rem; }
  .carousel-caption .carousel-info { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .carousel { height: 240px; }
  .carousel-caption { padding: 0 16px; }
  .carousel-caption h2 { font-size: 1.3rem; }
  .carousel-caption .carousel-subtitle { font-size: 1.0rem; }
  .carousel-caption .carousel-info { font-size: 0.85rem; }
  .carousel-arrow { padding: 6px 10px; font-size: 1rem; }
}

/* ============ SECTION COMMON ============ */
.section { padding: 40px 24px; position: relative; }

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

.section-light {
  background: #ffffff;
  color: #1e293b;
  position: relative;
}

/* 浅色区块顶部细金线 - 科技感分隔 */
.section-light::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.25) 30%, rgba(46, 204, 184, 0.2) 70%, transparent);
  pointer-events: none;
}

.section-blue {
  background: #ffffff;
  color: #1e293b;
  position: relative;
}

.section-blue .container {
  background: #f4f6f9;
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  position: relative;
  overflow: hidden;
}

.section-blue .container::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.02) 0%, transparent 40%);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.section-blue .container::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201, 168, 76, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  border-radius: var(--radius-lg);
  opacity: 0.5;
}

/* 科技感角线装饰 - 左上 */
.section-blue .container {
  position: relative;
}

/* 科技角线装饰（通过 box-shadow 模拟内边框光） */
.section-blue .container:hover {
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.15);
}

/* ===== Shared light theme overrides ===== */
.section-light a,
.section-blue a { color: var(--link-blue); }
.section-light a:hover,
.section-blue a:hover { color: var(--link-blue-hover); }
.section-light .section-title,
.section-blue .section-title { color: #0f172a; }
.section-light .section-desc,
.section-blue .section-desc { color: #475569; }
.section-light .section-label,
.section-blue .section-label { color: var(--accent-gold); }
.section-light .welcome-text p,
.section-blue .welcome-text p { color: #334155; }
.section-light .template-link,
.section-blue .template-link { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.section-light .template-link:hover,
.section-blue .template-link:hover { border-color: #2563eb; color: #fff; background: #2563eb; }
.section-light .btn-outline,
.section-blue .btn-outline { background: #3b82f6; border-color: #3b82f6; color: #fff !important; }
.section-light .btn-outline:hover,
.section-blue .btn-outline:hover { border-color: #2563eb; color: #fff !important; background: #2563eb; }
.section-light .pub-card,
.section-blue .pub-card { background: #fff; border-color: #e2e8f0; }
.section-light .pub-card h4,
.section-blue .pub-card h4 { color: #0f172a; }
.section-light .pub-card p,
.section-blue .pub-card p { color: #475569; }
.section-light .submission-info p,
.section-blue .submission-info p { color: #334155; }
.section-light .dates-round,
.section-blue .dates-round { background: #fff; border-color: #e2e8f0; }
.section-light .dates-round .date-label,
.section-blue .dates-round .date-label { color: #475569; }
.section-light .dates-round .date-value,
.section-blue .dates-round .date-value { color: #0f172a; }
.section-light .track-card,
.section-blue .track-card { background: #fff; border-color: #e2e8f0; }
.section-light .track-card .track-content .track-title,
.section-blue .track-card .track-content .track-title { color: #0f172a; }
.section-light .track-card .track-content .track-desc,
.section-blue .track-card .track-content .track-desc { color: #475569; }
.section-light .organizer-logo .org-img,
.section-blue .organizer-logo .org-img { background: #f1f5f9; border-color: #e2e8f0; }
.section-light .schedule-item,
.section-blue .schedule-item { background: #fff; border-color: #e2e8f0; }
.section-light .schedule-item:hover,
.section-blue .schedule-item:hover { background: #f8fafc; border-color: rgba(201, 168, 76, 0.35); }
.section-light .schedule-content h4,
.section-blue .schedule-content h4 { color: #0f172a; }
.section-light .schedule-content p,
.section-blue .schedule-content p { color: #475569; }

.section-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.section-header::before {
  content: '◆';
  display: block;
  font-size: 0.5rem;
  color: var(--accent-gold);
  opacity: 0.5;
  margin-bottom: 16px;
  letter-spacing: 8px;
}

.section-title { font-size: 2.2rem; font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.3; letter-spacing: -0.3px; }

.section-title .accent { color: var(--accent-gold); }

.section-subheading {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-subheading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold), var(--accent-gold-light));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
}

.section-label { display: inline-block; font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-gold); margin-bottom: 12px; font-weight: 600; }
.section-label::before,
.section-label::after {
  content: '◆';
  display: inline-block;
  font-size: 0.4rem;
  vertical-align: middle;
  margin: 0 8px;
  opacity: 0.5;
  position: relative;
  top: -1px;
}

.section-desc { font-size: 1.08rem; color: var(--text-secondary); max-width: 940px; margin: 0 auto; line-height: 1.7; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--white) !important;
  background: transparent;
}

.btn-outline:hover { border-color: var(--accent-gold); color: var(--accent-gold) !important; background: rgba(201, 168, 76, 0.08); }

/* ============ WELCOME / TEXT ============ */
.welcome-text { max-width: 1200px; margin: 0 auto; }

.welcome-text p { font-size: 1.05rem; line-height: 1.9; margin-bottom: 16px; text-align: justify; }

/* ============ HOME COMPACT LAYOUT ============ */
.home-sub-heading { font-size: 1.2rem; font-weight: 700; color: #0f172a; margin: 28px 0 12px; letter-spacing: 0.3px; }
.home-sub-heading:first-of-type { margin-top: 0; }

/* Topics two-column */
.topics-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; max-width: 1200px; margin: 16px auto 0; }

.topics-col p { margin: 0; padding: 4px 0; font-size: 1rem; color: #334155; line-height: 1.8; }

/* Home dates */
.home-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; }

.home-dates-round { background: #fff; border: 1px solid #e2e8f0; border-left: 3px solid var(--accent-gold); border-radius: var(--radius-sm); padding: 20px 24px; }

.home-dates-round h5 { font-size: 1rem; color: var(--accent-gold); margin-bottom: 12px; font-weight: 700; letter-spacing: 0.5px; }

.home-dates-round p { font-size: 0.88rem; color: #334155; line-height: 2; margin: 0; white-space: nowrap; }

.home-dates-round p strong { color: #ef6001; font-weight: 600; }

/* Program overview */
.program-overview { max-width: 1080px; margin: 0 auto; }

/* ===== Dates + Program side-by-side ===== */
.dates-program-row {
  display: flex;
  gap: 40px;
  align-items: stretch;
  max-width: 1360px;
  margin: 0 auto;
}

.dates-program-left {
  flex: 1;
  min-width: 0;
}

.dates-program-left .home-dates {
  grid-template-columns: 1fr;
  max-width: none;
}

.dates-program-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

/* ===== Conference Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: #eaf0f7;
  border: 1px dashed #c0d0e0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #8a9bb5;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-placeholder:hover {
  border-color: rgba(201, 168, 76, 0.5);
  border-style: solid;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  color: var(--accent-gold);
}

.program-day { font-size: 1rem; color: #334155; padding: 10px 0; border-bottom: 1px solid #e2e8f0; line-height: 1.8; }

.program-day:last-child { border-bottom: none; }

/* ============ TEMPLATE LINKS ============ */
.template-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

.template-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #3b82f6;
  border: 1px solid #3b82f6;
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.template-link:hover { border-color: #2563eb; color: #fff; background: #2563eb; }

/* ============ SUBMISSION INFO ============ */
.submission-info { max-width: 960px; margin: 0 auto; text-align: center; }

.submission-info p { font-size: 1rem; margin-bottom: 16px; }

/* ============ PUBLICATION CARDS ============ */
.pub-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.pub-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md); padding: 30px; text-align: center; transition: all 0.3s; position: relative; overflow: hidden; }

.pub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-teal));
  transition: width 0.4s ease;
}

.pub-card:hover { border-color: rgba(201, 168, 76, 0.3); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.pub-card:hover::before { width: 100%; }

.pub-card .pub-icon { font-size: 2.5rem; margin-bottom: 16px; }

.pub-card h4 { font-size: 1.1rem; color: var(--white); margin-bottom: 10px; font-weight: 600; }

.pub-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ============ DATES TABLE ============ */
.dates-table { width: 100%; max-width: 960px; margin: 0 auto; border-collapse: separate; border-spacing: 0 8px; }

.dates-table td { padding: 14px 20px; font-size: 0.95rem; }

.dates-table td:first-child { color: #0f172a; font-weight: 600; width: 45%; text-align: right; padding-right: 30px; }

.dates-table td:last-child { color: var(--white); font-weight: 600; background: var(--bg-card); border-radius: 8px; padding: 14px 20px; }

.dates-table tr:last-child td:last-child { background: rgba(201, 168, 76, 0.15); color: var(--accent-gold); border: 1px solid rgba(201, 168, 76, 0.3); }

/* ============ REGISTRATION TABLE ============ */
.reg-table-wrapper { overflow-x: auto; margin-top: 30px; }

.reg-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-card); }

.reg-table th { background: var(--steel); color: var(--white); padding: 16px 18px; font-size: 0.9rem; font-weight: 600; text-align: center; letter-spacing: 0.5px; }

.reg-table td { padding: 14px 18px; text-align: center; font-size: 0.9rem; color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle); }

.reg-table tbody tr { background: var(--bg-card); transition: background 0.3s; }
.reg-table tbody tr:hover { background: var(--bg-card-hover); }
.reg-table tbody tr:last-child td { border-bottom: none; }

/* ============ COMMITTEE LIST (CACRE-style) ============ */
.committee-list { max-width: 1080px; margin: 0 auto; }

.committee-block { margin-bottom: 32px; }

.committee-block-title { font-size: 1.2rem; font-weight: 700; color: #0f172a; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent-gold); letter-spacing: 0.5px; }

.committee-member { color: #334155; font-size: 1rem; line-height: 1.8; padding: 3px 0; margin: 0; }

/* ============ SPEAKER DETAIL (CACRE-style) ============ */
.speaker-detail-list { max-width: 1200px; margin: 0 auto; }

.speaker-detail-block { display: flex; gap: 40px; margin-bottom: 40px; padding: 30px; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-md); transition: all 0.3s; }

.speaker-detail-block:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-color: rgba(201, 168, 76, 0.3); }

.section-blue .speaker-detail-block { border-color: #d0dce8; }

.speaker-detail-left { flex-shrink: 0; width: 200px; text-align: center; padding-top: 10px; }

.speaker-detail-avatar { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, #1b3a5c, #2a5080); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 14px; letter-spacing: 1px; }

.speaker-detail-name { font-size: 1.1rem; font-weight: 600; color: #0f172a; margin-bottom: 8px; line-height: 1.4; }

.speaker-detail-badge { display: inline-block; padding: 3px 14px; background: rgba(201, 168, 76, 0.15); color: var(--accent-gold); border-radius: 20px; font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 8px; }

.speaker-detail-affil { font-size: 0.88rem; color: #475569; line-height: 1.5; }

.speaker-detail-right { flex: 1; min-width: 0; }

.speaker-detail-lecture { font-size: 1.12rem; color: #0f172a; margin-bottom: 16px; line-height: 1.5; }

.speaker-detail-label { font-size: 0.9rem; font-weight: 700; color: var(--accent-gold); margin-bottom: 6px; margin-top: 14px; text-transform: uppercase; letter-spacing: 1px; }

.speaker-detail-text { font-size: 0.96rem; color: #334155; line-height: 1.8; text-align: justify; }

@media (max-width: 768px) {
  .speaker-detail-block { flex-direction: column; gap: 20px; padding: 20px; }
  .speaker-detail-left { width: 100%; }
}

/* ============ VENUE PAGE ============ */
.venue-main-card { display: flex; gap: 40px; align-items: center; background: #fff; border: 1px solid #d0dce8; border-radius: var(--radius-md); padding: 30px; max-width: 1080px; margin: 0 auto; }

.venue-main-img { flex-shrink: 0; width: 360px; height: 220px; }

.venue-main-placeholder { width: 100%; height: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06); }
.venue-main-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }

.venue-main-info { flex: 1; min-width: 0; }

.venue-main-info p { font-size: 1rem; color: #334155; line-height: 2; margin: 0; }

.venue-main-info p strong { color: #0f172a; }

.venue-details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }

.venue-detail-card { background: #fff; border: 1px solid #d0dce8; border-left: 3px solid var(--accent-gold); border-radius: var(--radius-md); padding: 28px; text-align: center; transition: all 0.3s; }

.venue-detail-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); border-color: rgba(201, 168, 76, 0.3); }

.venue-detail-icon { font-size: 2.2rem; margin-bottom: 12px; }

.venue-detail-card h4 { font-size: 1.12rem; color: #0f172a; margin-bottom: 10px; font-weight: 600; }

.venue-detail-card p { font-size: 0.95rem; color: #475569; line-height: 1.7; }

/* HK photos grid */
.hk-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1080px; margin: 0 auto; }

.hk-photo-placeholder {
  width: 100%;
  height: 160px;
  background: #eaf0f7;
  border: 1px dashed #c0d0e0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #8a9bb5;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hk-photo-placeholder.visible {
  opacity: 1;
  transform: translateY(0);
}

.hk-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.hk-photo-placeholder:hover {
  border-color: rgba(201, 168, 76, 0.5);
  border-style: solid;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  color: #7a5e0a;
  font-weight: 600;
}

.hk-photo-placeholder:hover::after {
  opacity: 1;
}

.hk-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-sm) - 1px);
}

/* ============ ORGANIZERS ============ */
.organizers-row { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }

.organizer-logo { text-align: center; }

.organizer-logo .org-img { width: 180px; height: 80px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-card); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; transition: all 0.3s; overflow: hidden; }

.organizer-logo .org-img:hover { border-color: rgba(201, 168, 76, 0.3); }

.org-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: #8a9bb5; letter-spacing: 0.5px; border: 1px dashed #c0d0e0; border-radius: var(--radius-sm); background: transparent; }

.section-light .org-img-placeholder { border-color: #c0d0e0; color: #8a9bb5; }
.section-blue .org-img-placeholder { border-color: #b0c8e0; color: #7a8ba5; }

.organizer-logo .org-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* ============ ORGANIZERS VERTICAL ============ */
.organizers-vertical {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.organizer-row {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 16px 0 16px 16px;
  border-bottom: 1px solid #e8ecf1;
  border-left: 3px solid transparent;
  transition: border-color 0.3s;
}

.organizer-row:hover {
  border-left-color: var(--accent-gold);
}

.organizer-row:last-child { border-bottom: none; }

.organizer-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  min-width: 180px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.organizer-row-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.organizer-row-content .organizer-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 500;
}

.organizer-row-content .org-img {
  width: 160px;
  height: 70px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.organizer-row-content .org-label {
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
}

@media (max-width: 768px) {
  .organizer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
  }
  .organizer-role { min-width: auto; }
  .organizer-row-content { flex-direction: column; align-items: flex-start; }
  .organizer-row-content .org-img { width: 140px; height: 60px; }
}

/* ============ PROGRAM SCHEDULE ============ */
.schedule-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }

.schedule-tab { padding: 10px 24px; background: transparent; border: 1px solid var(--border-card); border-radius: 25px; color: var(--text-secondary); cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: all 0.3s; }

.schedule-tab:hover, .schedule-tab.active { background: var(--accent-gold); color: var(--deep-navy); border-color: var(--accent-gold); }

.schedule-day { display: none; }
.schedule-day.active { display: block; }

.schedule-item { display: flex; gap: 20px; padding: 20px 24px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md); margin-bottom: 12px; transition: all 0.3s; align-items: flex-start; }

.schedule-item:hover { border-color: rgba(201, 168, 76, 0.3); background: var(--bg-card-hover); }

.schedule-time { min-width: 110px; font-size: 0.92rem; color: var(--accent-gold); font-weight: 600; padding-top: 2px; }

.schedule-content h4 { font-size: 1.05rem; color: var(--white); margin-bottom: 4px; font-weight: 600; }

.schedule-content p { font-size: 0.92rem; color: var(--text-muted); }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.contact-info h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 20px; }

.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }

.contact-item .contact-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(201, 168, 76, 0.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--accent-gold); flex-shrink: 0; }

.contact-item .contact-text h4 { font-size: 0.9rem; color: var(--white); margin-bottom: 2px; }

.contact-item .contact-text p { font-size: 0.88rem; color: var(--text-muted); }

.contact-form { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md); padding: 30px; }

.contact-form .form-group { margin-bottom: 18px; }

.contact-form label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 6px; font-weight: 500; }

.contact-form input, .contact-form textarea { width: 100%; padding: 12px 16px; background: var(--navy); border: 1px solid var(--border-card); border-radius: 8px; color: var(--white); font-size: 0.92rem; font-family: inherit; transition: border-color 0.3s; resize: vertical; }

.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-gold); }

/* ============ SPONSORS ============ */
.sponsors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; align-items: center; }

.sponsor-item { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md); padding: 30px 20px; text-align: center; transition: all 0.3s; font-size: 0.9rem; color: var(--text-muted); font-weight: 600; letter-spacing: 1px; }

.sponsor-item:hover { border-color: rgba(255,255,255,0.15); background: var(--bg-card-hover); color: var(--text-secondary); }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--accent-gold);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}
/* 平板端 */
@media (max-width: 1024px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
  }
  .back-to-top svg { width: 17px; height: 17px; }
}
/* 手机端 */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 0.55rem;
  }
  .back-to-top svg { width: 16px; height: 16px; }
}
/* 小屏手机 */
@media (max-width: 480px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 0.5rem;
    gap: 0;
  }
  .back-to-top svg { width: 14px; height: 14px; }
}
/* 超小屏手机 */
@media (max-width: 360px) {
  .back-to-top {
    bottom: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
  }
  .back-to-top svg { width: 13px; height: 13px; }
}

/* ============ FOOTER ============ */
.footer { background: var(--deep-navy); border-top: 1px solid var(--border-subtle); padding: 50px 30px 30px; position: relative; }

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold) 20%, var(--accent-gold-light) 50%, var(--accent-gold) 80%, transparent);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.25);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; max-width: 1200px; margin: 0 auto 30px; }

.footer-col h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 16px; font-weight: 600; position: relative; padding-bottom: 10px; }

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--accent-gold);
  border-radius: 1px;
  opacity: 0.5;
}

.footer-col p,
.footer-col a { font-size: 0.85rem; line-height: 1.8; text-decoration: none; display: block; transition: color 0.3s; }

.footer-col a { color: var(--link-blue-light); }

.footer-col a:hover { color: var(--accent-gold); text-decoration: underline; }

.footer-col p { color: var(--white); }

.footer-col h4 a { color: var(--link-blue-light); text-decoration: none; transition: color 0.3s; }

.footer-col h4 a:hover { color: var(--accent-gold); text-decoration: underline; }

.footer-contact .contact-line { font-size: 0.82rem; color: var(--white); line-height: 1.9; display: flex; align-items: flex-start; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }

.footer-contact .contact-line a { color: var(--link-blue-light); text-decoration: none; transition: color 0.3s; display: inline; font-size: inherit; }

.footer-contact .contact-line a:hover { color: var(--accent-gold); text-decoration: underline; }

.footer-contact .contact-icon-s { flex-shrink: 0; width: 18px; text-align: center; color: var(--accent-gold); font-size: 0.8rem; }

.footer-venue-img { margin-top: 12px; }

.footer-venue-placeholder { width: 100%; max-width: 240px; height: 140px; background: #fff; border: 1px solid rgba(201, 168, 76, 0.25); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 5px; transition: all 0.3s; }

.footer-venue-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-sm) - 2px); display: block; }

.footer-col .footer-venue-loc {
  margin-top: 8px;
  font-size: 11px;
  color: #ffffff !important;
  font-weight: 400;
  letter-spacing: 0.2px;
  display: block;
  width: 100%;
  max-width: 240px;
  text-align: center;
}

.footer-venue-placeholder:hover { box-shadow: 0 4px 16px rgba(201, 168, 76, 0.2); transform: translateY(-2px); }

.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border-subtle); font-size: 0.82rem; color: var(--white); max-width: 1200px; margin: 0 auto; }

/* ============ TRACKS STAGGERED LAYOUT ============ */
.tracks-staggered {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.track-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Animated visible state - slide from left */
.track-card {
  transform: translateX(-50px);
}

.track-card.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Hover micro-interaction */
.track-card:hover {
  transform: translateX(0) translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: rgba(46, 204, 184, 0.4);
}

/* Top accent line on hover */
.track-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), #5eeadb);
  transition: width 0.45s ease;
}

.track-card:hover::before { width: 100%; }

/* Track number badge */
.track-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-teal);
  letter-spacing: 2px;
  flex-shrink: 0;
  padding: 4px 10px;
  background: rgba(46, 204, 184, 0.08);
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.3s;
}

.track-card:hover .track-num {
  background: rgba(46, 204, 184, 0.22);
  color: #7a5e0a;
  font-weight: 800;
}

/* Track content wrapper */
.track-content {
  flex: 1;
  min-width: 0;
}

.track-content .track-title {
  font-size: 1.12rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.4;
  transition: color 0.3s;
}

.track-card:hover .track-content .track-title {
  color: #020617;
  font-weight: 700;
}

.track-content .track-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ===== Gallery + Registration side-by-side ===== */
.gallery-reg-row {
  display: flex;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-reg-left {
  flex: 1.2;
  min-width: 0;
}

.gallery-reg-right {
  flex: 0.8;
  min-width: 0;
}

@media (max-width: 1024px) {
  .gallery-reg-row { flex-direction: column; }
}

/* ===== CFP Dates + Guide side-by-side ===== */
.cfp-dates-guide-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.cfp-dates-left {
  flex: 0.8;
  min-width: 0;
}

.cfp-guide-right {
  flex: 1.2;
  min-width: 0;
}

@media (max-width: 1024px) {
  .cfp-dates-guide-row { flex-direction: column; }
}

/* ============ SUBMISSION GUIDE CARDS ============ */
.sub-guide-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.sub-guide-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.sub-guide-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent-gold);
  letter-spacing: 0.2px;
}

.sub-guide-body p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
}

.sub-guide-body p + p { margin-top: 10px; }

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

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-text {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.75;
}

.notice-strong {
  color: #0f172a;
  font-weight: 700;
}

.notice-strong-warn {
  color: #dc1e1e;
  font-weight: 700;
}

.notice-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 2px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
  border-radius: 22px;
}

@media (max-width: 768px) {
  .sub-guide-card { padding: 20px; }
}

@media (max-width: 640px) {
  .section-light .container > div > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  /* 大手机/小平板表格优化 */
  .dates-table td { padding: 12px 14px; font-size: 0.9rem; }
  .dates-table td:first-child { padding-right: 16px; }
  .reg-table th { padding: 12px 10px; font-size: 0.82rem; }
  .reg-table td { padding: 11px 10px; font-size: 0.82rem; }
  .schedule-tab { padding: 8px 16px; font-size: 0.82rem; }
}

/* ============ FOOTER QR CODES ============ */
.footer-qr-row {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  padding: 18px 0 4px;
  margin-top: 12px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-qr-item img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.footer-qr-item img:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.2);
}

.footer-qr-item span {
  font-size: 0.74rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

@media (max-width: 640px) {
  .footer-qr-row { gap: 20px; justify-content: center; }
  .footer-qr-item img { width: 72px; height: 72px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 手机端页脚：第1列venue独占一行，第2列Quick Links + 第3列About并排左右显示，第4列Contact独占一行 */
  .footer-grid .footer-col:nth-child(1) { grid-column: 1 / -1; }
  .footer-grid .footer-col:nth-child(2) { grid-column: 1 / 2; }
  .footer-grid .footer-col:nth-child(3) { grid-column: 2 / 3; }
  .footer-grid .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .container { padding: 0 30px; }
  .section { padding: 30px 20px; }
  .pub-cards { grid-template-columns: repeat(2, 1fr); }
  .organizers-row { gap: 30px; }
  .organizer-logo .org-img { width: 150px; height: 70px; }
  .home-dates { grid-template-columns: 1fr; }
  .dates-program-row { flex-direction: column; }
  .venue-main-card { flex-direction: column; align-items: center; }
  .venue-main-img { width: 100%; max-width: 500px; }
  .venue-details-grid { grid-template-columns: 1fr; }
  .hk-photos { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.7rem; }
  .section-subheading { font-size: 1.3rem; }
  .section-desc { font-size: 0.98rem; }
  .home-sub-heading { font-size: 1.1rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-blue .container { padding: 30px 25px; }
  /* 平板 banner 适配 */
  .carousel { height: 440px; }
  .carousel-caption h2 { font-size: 1.9rem; }
  .carousel-caption .carousel-subtitle { font-size: 1.5rem; }
  .carousel-caption .carousel-info { font-size: 1.05rem; }
}

@media (max-width: 768px) {
  .section-title { font-size: 1.4rem; }
  .section-subheading { font-size: 1rem; }
  .section-desc { font-size: 0.85rem; line-height: 1.65; }
  .home-sub-heading { font-size: 0.98rem; }
  .section { padding: 20px 14px; }
  .section-blue .container { padding: 20px 16px; }
  /* 手机端页脚也保持 Quick Links + About 左右并排 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid .footer-col:nth-child(1) { grid-column: 1 / -1; }
  .footer-grid .footer-col:nth-child(2) { grid-column: 1 / 2; }
  .footer-grid .footer-col:nth-child(3) { grid-column: 2 / 3; }
  .footer-grid .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .sidebar { width: 280px; }
  .topbar { padding: 12px 16px; }
  .topbar-right .btn-register { display: none; }
  .pub-cards { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .welcome-text p { font-size: 0.85rem; text-align: left; line-height: 1.7; }
  .venue-main-card { padding: 18px; }
  .venue-main-info p { font-size: 0.85rem; }
  .venue-detail-card { padding: 18px; }
  .organizers-row { gap: 20px; }
  .organizer-logo .org-img { width: 130px; height: 60px; }
  .organizer-logo .org-label { font-size: 0.72rem; }
  .committee-block-title { font-size: 0.92rem; }
  .committee-member { font-size: 0.82rem; }
  .template-links { flex-direction: column; align-items: center; }
  .template-link { width: 100%; justify-content: center; }
  .footer { padding: 40px 20px 20px; }
  .footer-bottom { font-size: 0.72rem; }
  .hk-photos { grid-template-columns: repeat(2, 1fr); }
  .hk-photo-placeholder { height: 120px; }
  .schedule-item { flex-direction: column; gap: 8px; }
  .schedule-time { min-width: auto; }
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-cols { grid-template-columns: 1fr; gap: 0; }
  .track-card { max-width: 100%; transform: translateY(30px); }
  .track-card.visible { transform: translateY(0); }
  .track-card:hover { transform: translateY(-4px) !important; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.25rem; }
  .section-subheading { font-size: 0.9rem; }
  .section-desc { font-size: 0.8rem; line-height: 1.6; }
  .home-sub-heading { font-size: 0.9rem; }
  .welcome-text p { font-size: 0.8rem; line-height: 1.65; }
  .section { padding: 18px 12px; }
  .section-blue .container { padding: 18px 14px; }
  .container { padding: 0 14px; }
  .btn { width: 100%; justify-content: center; }
  .organizers-row { gap: 16px; }
  .organizer-logo .org-img { width: 110px; height: 50px; }
  .venue-main-card { padding: 16px; }
  .venue-main-img { height: 160px; }
  .venue-detail-card { padding: 16px; }
  /* 480px 页脚保持 Quick Links + About 左右并排 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid .footer-col:nth-child(1) { grid-column: 1 / -1; }
  .footer-grid .footer-col:nth-child(2) { grid-column: 1 / 2; }
  .footer-grid .footer-col:nth-child(3) { grid-column: 2 / 3; }
  .footer-grid .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .footer-col h4 { font-size: 0.9rem; }
  .footer-col p, .footer-col a { font-size: 0.8rem; }
  .hk-photos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hk-photo-placeholder { height: 100px; }
  .sponsors-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sponsor-item { padding: 20px 12px; font-size: 0.78rem; }
  .schedule-tab { padding: 6px 12px; font-size: 0.75rem; }
  .full-paper-flow-row { flex-wrap: wrap; }
  .full-paper-flow-row > div:first-child { width: 100%; }
  .full-paper-flow-row .fp-box { min-width: 120px; padding: 14px 10px; font-size: 0.78rem; }
  .full-paper-flow-row .fp-arrow { display: none; }
}

/* 超小屏手机（iPhone SE / 320-360px） */
@media (max-width: 360px) {
  html { font-size: 16px; }
  .carousel { height: 200px; margin-top: 52px; }
  .carousel-caption h2 { font-size: 1.2rem; }
  .carousel-caption .carousel-subtitle { font-size: 0.95rem; letter-spacing: 1.5px; }
  .carousel-caption .carousel-info { font-size: 0.78rem; }
  .carousel-caption { padding: 0 10px; }
  .section-title { font-size: 1.1rem; }
  .section-subheading { font-size: 0.85rem; }
  .section-desc { font-size: 0.78rem; line-height: 1.55; }
  .home-sub-heading { font-size: 0.85rem; }
  .welcome-text p { font-size: 0.78rem; line-height: 1.6; }
  .section { padding: 16px 10px; }
  .section-blue .container { padding: 14px 10px; }
  .container { padding: 0 10px; }
  .home-dates-round { padding: 14px 14px; }
  .home-dates-round p { font-size: 0.78rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hk-photos { grid-template-columns: 1fr; }
  /* 360px 超小屏页脚也保持 Quick Links + About 左右并排 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid .footer-col:nth-child(1) { grid-column: 1 / -1; }
  .footer-grid .footer-col:nth-child(2) { grid-column: 1 / 2; }
  .footer-grid .footer-col:nth-child(3) { grid-column: 2 / 3; }
  .footer-grid .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .footer-venue-placeholder { max-width: 180px; height: 110px; }
  .footer-qr-item img { width: 64px; height: 64px; }
  .footer-qr-row { gap: 14px; }
  .topbar { padding: 10px 12px; }
  .speaker-detail-block { padding: 14px; }
  .speaker-detail-left { width: 100%; }
  .speaker-detail-avatar { width: 70px; height: 70px; font-size: 1.2rem; }
  .dates-table td { font-size: 0.8rem; padding: 10px 10px; }
  .reg-table th { font-size: 0.72rem; padding: 10px 6px; }
  .reg-table td { font-size: 0.72rem; padding: 9px 6px; }
  .btn { padding: 10px 18px; font-size: 0.82rem; }
  .template-link { padding: 10px 16px; font-size: 0.82rem; }
  .committee-block-title { font-size: 0.95rem; }
  .committee-member { font-size: 0.82rem; line-height: 1.7; }
}

/* ============ MOBILE/TABLET RESPONSIVE OPTIMIZATION ============ */

/* 平板端：长文本防溢出 + 流程图自适应 */
@media (max-width: 1024px) {
  .welcome-text p, .section-desc, .submission-info p {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .full-paper-flow-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .full-paper-flow-row .fp-box {
    min-width: 110px !important;
    font-size: 0.78rem !important;
  }
  /* 平板端表格：横向滚动 + 固定列宽 + 三列等宽 */
  .reg-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .reg-table {
    table-layout: fixed !important;
    min-width: 780px;
  }
  .reg-table col:nth-child(1) { width: 14% !important; }
  .reg-table col:nth-child(2) { width: 16% !important; }
  .reg-table col:nth-child(3) { width: 23.33% !important; }
  .reg-table col:nth-child(4) { width: 23.33% !important; }
  .reg-table col:nth-child(5) { width: 23.34% !important; }
  .reg-table th, .reg-table td {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
}

/* 手机端：精准优化，避免过度宽泛规则破坏布局 */
@media (max-width: 768px) {
  /* 顶栏 logo 防止溢出 */
  .navbar-logo-placeholder img {
    max-width: 80px;
    height: auto;
  }
  /* 长文本/长链接防溢出（不拆单词） */
  p, li, h4, h5 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
  }
  a[href^="mailto:"] {
    overflow-wrap: break-word;
    word-break: normal;
  }
  /* 表格横向滚动 + 固定列宽 + 三列等宽 */
  .reg-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .reg-table {
    table-layout: fixed !important;
    min-width: 780px;
  }
  .reg-table col:nth-child(1) { width: 14% !important; }
  .reg-table col:nth-child(2) { width: 16% !important; }
  .reg-table col:nth-child(3) { width: 23.33% !important; }
  .reg-table col:nth-child(4) { width: 23.33% !important; }
  .reg-table col:nth-child(5) { width: 23.34% !important; }
  .reg-table th, .reg-table td {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  /* Pro Tip 段落字号缩小 */
  .section p[style*="font-size:0.95rem"],
  .section p[style*="font-size: 0.95rem"] {
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
  }
  /* 流程图容器自适应 */
  .full-paper-flow-row {
    flex-wrap: wrap !important;
  }
  /* 3列 grid 在手机降为单列（卡片类） */
  .section div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* 4列 grid 在手机降为2列（避免竖条） */
  .section div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* TRACK 卡片手机端紧凑显示 */
  .track-card {
    padding: 16px 14px !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }
  .track-num { font-size: 0.65rem !important; padding: 3px 8px !important; letter-spacing: 1px !important; }
  .track-content { flex: 1; min-width: 0; }
  .track-content .track-title { font-size: 0.92rem !important; }
  .track-content .track-desc { font-size: 0.82rem !important; line-height: 1.6 !important; }
  /* CFP 按钮换行时间距 */
  .section div[style*="text-align: center"] .btn + .btn {
    margin-top: 10px;
    margin-left: 0 !important;
  }
}

/* 小屏手机：流程图垂直堆叠 + 表格滚动 */
@media (max-width: 480px) {
  /* 流程图：隐藏箭头，方框自动堆叠 */
  .full-paper-flow-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .full-paper-flow-row .fp-box {
    min-width: auto !important;
    width: 100% !important;
    max-width: 280px;
    padding: 12px 10px !important;
    font-size: 0.78rem !important;
  }
  .full-paper-flow-row .fp-arrow {
    display: none !important;
  }
  /* 流程图标题缩小 */
  .section h5[style*="font-size: 1.05rem"] {
    font-size: 0.95rem !important;
  }
  /* 表格横向滚动 + 固定列宽 + 三列等宽 */
  .reg-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .reg-table {
    table-layout: fixed !important;
    min-width: 780px;
  }
  .reg-table col:nth-child(1) { width: 14% !important; }
  .reg-table col:nth-child(2) { width: 16% !important; }
  .reg-table col:nth-child(3) { width: 23.33% !important; }
  .reg-table col:nth-child(4) { width: 23.33% !important; }
  .reg-table col:nth-child(5) { width: 23.34% !important; }
  .reg-table th, .reg-table td {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  /* 4列 grid 在小屏降为单列 */
  .section div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* 2列 grid 在小屏降为单列 */
  .section div[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* 超小屏手机：流程图字号压缩 */
@media (max-width: 360px) {
  .full-paper-flow-row .fp-box {
    font-size: 0.72rem !important;
    padding: 10px 8px !important;
  }
  a[href^="mailto:"] {
    overflow-wrap: break-word;
    word-break: normal;
  }
}