* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f5f5f5;
}

img {
  max-width: 100%;
}

/* ========== 第一屏 ========== */
.section-1 {
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.top-banner {
  background-color: #c8102e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(10px, 2vh, 18px) clamp(16px, 4vw, 60px);
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.banner-text {
  color: #ffffff;
  font-size: clamp(12px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.4;
}

.banner-right {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
  position: relative;
}

/* 隐藏的checkbox，用于纯CSS弹窗 */
.hidden-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.having-issues-btn {
  background-color: #000000;
  color: #c8102e;
  display: inline-block;
  padding: clamp(6px, 1.2vh, 12px) clamp(10px, 1.8vw, 22px);
  font-size: clamp(11px, 1.4vw, 18px);
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  font-family: inherit;
  white-space: nowrap;
  user-select: none;
}
.having-issues-btn:hover { background-color: #1a1a1a; }
.having-issues-btn:active { transform: scale(0.97); }

/* 纯CSS弹窗：勾选后显示 */
.issues-popup {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #c8102e;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.5;
  width: max-content;
  max-width: 260px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
#issues-toggle:checked ~ .issues-popup {
  display: block;
}

.bell-icon {
  width: clamp(20px, 2.8vw, 36px);
  height: clamp(20px, 2.8vw, 36px);
  cursor: pointer;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  display: block;
}
.bell-icon:hover { opacity: 0.75; }

.main-content {
  display: flex;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.image-column {
  flex: 0 0 62%;
  height: 100%;
  overflow: hidden;
}

.image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-column {
  flex: 1;
  background-color: #000000;
  padding: clamp(24px, 6vh, 70px) clamp(20px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.main-title {
  color: #ffffff;
  font-size: clamp(24px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: clamp(16px, 4vh, 40px);
  letter-spacing: -1px;
}

.main-description {
  color: #ffffff;
  font-size: clamp(12px, 1.4vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  max-width: 420px;
}

/* ========== 第二屏 ========== */
.section-2 {
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.timeline-dropdown {
  position: relative;
  display: inline-block;
}

.key-timeline-btn {
  background-color: #000000;
  color: #c8102e;
  border: none;
  padding: clamp(6px, 1.2vh, 12px) clamp(14px, 2vw, 26px);
  font-size: clamp(12px, 1.5vw, 20px);
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.key-timeline-btn:hover { background-color: #1a1a1a; }

.timeline-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #c8102e;
  padding: clamp(18px, 2.5vh, 28px) clamp(16px, 1.8vw, 24px);
  width: clamp(200px, 17vw, 250px);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 100;
}

.timeline-dropdown:hover .timeline-panel {
  display: block;
}

.timeline-panel .timeline-item {
  color: #ffffff;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: clamp(8px, 1.2vh, 14px);
}
.timeline-panel .timeline-item:last-child { margin-bottom: 0; }

.timeline-panel .item-indent {
  margin-left: clamp(12px, 1.2vw, 18px);
}

.section-2 .content-area {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.section-2 .bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vertical-text {
  position: absolute;
  left: clamp(270px, 22vw, 330px);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: #ffffff;
  font-size: clamp(16px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.info-card {
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  bottom: clamp(20px, 4vh, 50px);
  background-color: #ffffff;
  padding: clamp(20px, 3.5vh, 36px) clamp(24px, 3.5vw, 44px);
  border-radius: 4px;
  max-width: clamp(260px, 28vw, 380px);
}

.info-card .card-line {
  color: #000000;
  font-size: clamp(14px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: clamp(4px, 0.8vh, 8px);
}
.info-card .card-line:last-child { margin-bottom: 0; }

/* ========== 第三屏：Trivia Quiz（纯CSS翻页） ========== */
.section-3 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.quiz-banner {
  background-color: #c8102e;
  color: #ffffff;
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 800;
  padding: clamp(10px, 1.5vh, 16px) clamp(16px, 4vw, 60px);
  flex-shrink: 0;
}

.quiz-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: clamp(20px, 4vh, 50px) clamp(70px, 8vw, 120px);
}

/* 隐藏的radio，控制翻页状态 */
.quiz-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

/* 中间卡片舞台 */
.quiz-stage {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* 灰色卡片 — 默认隐藏，radio选中时显示 */
.quiz-card {
  position: absolute;
  width: 100%;
  max-width: 900px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* 卡片1 */
#q1:checked ~ .quiz-stage .card-1 {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* 卡片2 */
#q2:checked ~ .quiz-stage .card-2 {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* 卡片3 */
#q3:checked ~ .quiz-stage .card-3 {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* 翻页箭头（label） */
.quiz-arrow-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(48px, 5vw, 80px);
  height: clamp(60px, 8vw, 100px);
  display: none;
  align-items: center;
  justify-content: center;
  background-color: #7a0e1f;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease;
}
.quiz-arrow-bar:hover {
  transform: translateY(-50%) scale(1.05);
}
.quiz-arrow-bar img {
  width: clamp(28px, 2.8vw, 48px);
  height: auto;
  display: block;
}

.quiz-arrow-left {
  left: clamp(8px, 1vw, 16px);
}

.quiz-arrow-right {
  right: clamp(8px, 1vw, 16px);
}

/* 根据当前radio状态显示对应的箭头组（实现循环翻页） */
#q1:checked ~ .quiz-arrows .arrow-left-1,
#q1:checked ~ .quiz-arrows .arrow-right-1,
#q2:checked ~ .quiz-arrows .arrow-left-2,
#q2:checked ~ .quiz-arrows .arrow-right-2,
#q3:checked ~ .quiz-arrows .arrow-left-3,
#q3:checked ~ .quiz-arrows .arrow-right-3 {
  display: flex;
}

.quiz-text {
  background-color: #e8e8e8;
  border-radius: 16px;
  padding: clamp(20px, 3.5vh, 40px) clamp(24px, 4vw, 56px);
}

.quiz-text p {
  font-size: clamp(12px, 1.2vw, 16px);
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
}

.quiz-text .quiz-question {
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 800;
  color: #000;
  margin-top: 16px;
}

/* ========== 第四屏：Route Guide ========== */
.section-4 {
  padding: clamp(30px, 5vh, 60px) clamp(16px, 4vw, 60px);
  background-color: #ffffff;
}

.route-title {
  color: #c8102e;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  margin-bottom: clamp(30px, 5vh, 50px);
}

.route-item {
  margin-bottom: clamp(20px, 3vh, 40px);
}

.route-header {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  margin-bottom: clamp(16px, 2.5vh, 28px);
}

/* 图标红底正方形 — 略小于图标，图标居中叠在上面 */
.route-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.route-icon-red {
  position: absolute;
  width: clamp(24px, 2.4vw, 40px);
  height: clamp(24px, 2.4vw, 40px);
  background-color: #c8102e;
  border-radius: 4px;
}

.route-icon {
  position: relative;
  z-index: 1;
  width: clamp(32px, 3.2vw, 52px);
  height: auto;
  display: block;
}

.route-name {
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 800;
  color: #000000;
  letter-spacing: 1px;
  flex: 1;
}

/* 跳转箭头（锚点链接，纯CSS） */
.route-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 8px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.route-arrow:hover {
  transform: translateX(8px);
}
.route-arrow img {
  width: clamp(32px, 3vw, 48px);
  height: auto;
  display: block;
}

.route-map {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.route-map img {
  width: 100%;
  height: auto;
  display: block;
}

.route-divider {
  border: none;
  border-top: 3px dashed #c8102e;
  margin: clamp(30px, 5vh, 50px) 0;
}

/* ========== 页尾 ========== */
.footer {
  background-color: #000000;
}

.footer-red-strip {
  height: clamp(8px, 1.5vh, 16px);
  background-color: #c8102e;
}

.footer-content {
  padding: clamp(30px, 5vh, 50px) clamp(16px, 4vw, 60px);
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: clamp(20px, 3vh, 30px);
}

.footer-link-title {
  color: #ffffff;
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 700;
}

.footer-link {
  color: #ffffff;
  font-size: clamp(13px, 1.3vw, 18px);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-disclaimer {
  color: #ffffff;
  font-size: clamp(11px, 1vw, 14px);
  opacity: 0.6;
  line-height: 1.5;
}

/* 页尾灰色部分 */
.footer-gray-area {
  height: clamp(80px, 12vh, 140px);
  background-color: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-gray-text {
  color: #555555;
  font-size: clamp(11px, 1vw, 14px);
  text-align: center;
  padding: 0 20px;
}

/* ========== 手机端适配（≤768px） ========== */
@media (max-width: 768px) {
  .section-1,
  .section-2 {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .top-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }

  .banner-text {
    font-size: 12px;
    line-height: 1.4;
  }

  .banner-right {
    width: 100%;
    justify-content: flex-end;
  }

  /* 第一屏：图片在上、文字在下，纵向堆叠不变形 */
  .main-content {
    flex-direction: column;
    overflow: visible;
  }

  .image-column {
    flex: none;
    width: 100%;
    height: 42vh;
    min-height: 220px;
  }

  .text-column {
    padding: 28px 20px;
    overflow: visible;
  }

  .main-title {
    font-size: clamp(26px, 8vw, 44px);
    margin-bottom: 14px;
  }

  .main-description {
    font-size: 14px;
    max-width: 100%;
  }

  /* 第二屏：内容区固定高度，防止绝对定位子元素塌缩 */
  .section-2 .content-area {
    height: 58vh;
    min-height: 300px;
    flex: none;
  }

  /* 第二屏：竖排文字与信息卡调整 */
  .vertical-text {
    left: 12px;
    font-size: 15px;
  }

  .info-card {
    right: 12px;
    bottom: 12px;
    max-width: 62vw;
    padding: 14px 16px;
  }

  .info-card .card-line {
    font-size: 13px;
  }

  /* 第三屏：箭头与卡片内边距缩小 */
  .quiz-container {
    padding: 24px 56px;
  }

  .quiz-arrow-bar {
    width: 40px;
    height: 54px;
  }

  .quiz-arrow-left {
    left: 6px;
  }

  .quiz-arrow-right {
    right: 6px;
  }

  .quiz-arrow-bar img {
    width: 26px;
  }

  .quiz-stage {
    min-height: 340px;
  }

  .quiz-text {
    border-radius: 12px;
    padding: 16px 18px;
  }

  .quiz-text p {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .quiz-text .quiz-question {
    font-size: 16px;
  }

  /* 第四屏 */
  .section-4 {
    padding: 30px 16px;
  }

  .route-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .route-name {
    font-size: 20px;
    flex: 1 1 auto;
  }

  .route-title {
    font-size: 32px;
    margin-bottom: 26px;
  }

  /* 页尾 */
  .footer-content {
    padding: 30px 16px;
  }
}

/* ========== 超小屏（≤400px） ========== */
@media (max-width: 400px) {
  .quiz-container {
    padding: 20px 48px;
  }

  .quiz-arrow-bar {
    width: 34px;
    height: 48px;
  }

  .image-column {
    height: 36vh;
  }

  .vertical-text {
    font-size: 13px;
  }

  .info-card {
    max-width: 70vw;
  }
}
