* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #1f2937;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.content-container {
  max-width: 1000px;
}

/* Top Navigation Bar */
.top-navbar {
  background: linear-gradient(90deg, #121a5f 0%, #1a237e 50%, #0d47a1 100%);
  color: white;
  padding: 0.75rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(13, 71, 161, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-title {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.35;
}

/* Hamburger Menu Toggle */
.nav-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 7px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.nav-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: max(20px, calc((100vw - 1200px) / 2));
  background: #1a237e;
  min-width: 180px;
  display: none;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-item {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-item:hover {
  background-color: #0d47a1;
}

/* 导航栏 */
.navbar {
  background: #1a237e;
  color: white;
  padding: 1rem 0;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
}

/* banner */
.banner {
  background:
    linear-gradient(135deg, rgba(18, 26, 95, 0.96) 0%, rgba(13, 71, 161, 0.98) 58%, rgba(21, 101, 192, 0.96) 100%);
  color: white;
  text-align: center;
  padding: 5rem 0 4rem;
  margin-top: 60px; /* Add space for fixed navbar */
  border-bottom: 6px solid #ffc107;
}
.banner h1 {
  font-size: 2.75rem;
  line-height: 1.25;
  margin-bottom: 1.1rem;
}
.banner p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

/* 按钮 → 报名链接 */
.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.btn {
  display: inline-block;
  width: min(100%, 320px);
  background: #ffc107;
  color: #111827;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: bold;
  font-family: inherit;
  text-align: center;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: #ffd54f;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.btn-secondary {
  background: #ffe08a;
  border-color: rgba(255, 193, 7, 0.65);
  color: #1f2937;
  opacity: 0.82;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #ffe08a;
  border-color: #ffc107;
}

.btn-disabled,
.btn-disabled:hover {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

.button-row {
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}

/* 内容区域 */
.section {
  padding: 4.5rem 0;
}
.bg-light {
  background: #f6f8fc;
}
h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1.75rem;
  color: #1a237e;
}

h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 1.3em;
  border-radius: 999px;
  background: #ffc107;
}

h3 {
  color: #0d47a1;
  font-size: 1.08rem;
  line-height: 1.45;
  margin-bottom: 0.45rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.section-lead {
  color: #1a237e;
  font-weight: bold;
  font-size: 1.18rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-lead:first-child {
  margin-top: 0;
}

.content-card {
  background: #ffffff;
  border: 1px solid #dbe3f2;
  border-top: 4px solid #0d47a1;
  border-radius: 8px;
  padding: 1.65rem 1.75rem;
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.08);
}

.content-card + .content-card {
  margin-top: 1.25rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.warning-box {
  background: #fff8e1;
  border-left: 5px solid #ffc107;
  border-radius: 8px;
  color: #4b3b00;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.track-list {
  display: grid;
  gap: 1rem;
  margin: 1.35rem 0;
}

.track-item {
  background: #f8fbff;
  border: 1px solid #dbe7f6;
  border-left: 5px solid #ffc107;
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
}

.track-item p {
  margin-bottom: 0;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.schedule-card {
  background: #ffffff;
  border: 1px solid #dbe3f2;
  border-top: 4px solid #0d47a1;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.08);
}

.schedule-card p {
  margin-bottom: 0.7rem;
}

.schedule-card p:last-child {
  margin-bottom: 0;
}

.notice-box {
  background: #ffffff;
  border-left: 5px solid #0d47a1;
  border-radius: 8px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.08);
}

.notice-box p {
  margin-bottom: 0;
}

.attachments-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 1.15rem;
  align-items: start;
  background: #ffffff;
  border: 1px solid #dbe3f2;
  border-left: 5px solid #ffc107;
  border-radius: 8px;
  padding: 1.6rem 1.75rem;
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.08);
}

.attachments-heading {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.8;
  white-space: nowrap;
}

.attachments-heading::before {
  display: none;
}

.attachment-list {
  margin: 0;
  padding-left: 1.7rem;
}

.attachment-list li {
  color: #1a237e;
  font-size: 1.18rem;
  line-height: 1.8;
  padding-left: 0.2rem;
}

.attachment-list a {
  color: #1f2937;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 71, 161, 0.2);
  transition: color 0.2s, border-color 0.2s;
}

.attachment-list a:hover {
  color: #0d47a1;
  border-color: #ffc107;
}

/* 底部 */
footer {
  background: #1a237e;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

footer p {
  margin-bottom: 0;
  color: white;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 16px;
  }

  .nav-title {
    font-size: 1.05rem;
    padding-right: 1rem;
  }

  .dropdown-menu {
    right: 16px;
  }

  .banner {
    padding: 4rem 0 3rem;
  }

  .banner h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  h2 {
    font-size: 1.65rem;
  }

  h3 {
    font-size: 1.02rem;
  }

  p {
    font-size: 1rem;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-card,
  .content-card,
  .notice-box,
  .attachments-card {
    padding: 1.2rem;
  }

  .attachments-card {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .attachments-heading {
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .attachment-list li {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media (max-width: 420px) {
  .banner h1 {
    font-size: 1.8rem;
  }

  .btn {
    font-size: 1rem;
  }
}
