:root {
  --blue: #075b9f;
  --deep-blue: #034b86;
  --cyan: #08a9c5;
  --gold: #c79723;
  --ink: #073c68;
  --paper: #edf8f9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: linear-gradient(150deg, #fff 0 14%, #e9f7f8 45%, #fff 100%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.topbar {
  height: 46px;
  padding: 0 2.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  background: var(--blue);
}
.topbar p { margin: 0; font-family: serif; }
.top-actions { display: flex; gap: 14px; }
.top-actions button {
  border: 0;
  color: white;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  height: 350px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 16%, #fff8db 0 8%, transparent 25%),
    linear-gradient(#d8eef3 0 48%, #b8d6dc 75%, #86b4bd);
}
.sun {
  position: absolute;
  top: 35px;
  right: 17%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 240, 195, .66);
  filter: blur(9px);
}
.mountains {
  position: absolute;
  left: -8%;
  width: 116%;
  clip-path: polygon(0 100%, 0 52%, 9% 30%, 15% 50%, 24% 18%, 31% 45%, 42% 14%, 50% 49%, 59% 22%, 66% 52%, 77% 9%, 84% 42%, 93% 17%, 100% 44%, 100% 100%);
}
.mountains-far { bottom: 45px; height: 210px; background: #5c99a5; opacity: .48; }
.mountains-near { bottom: -1px; height: 190px; background: #176d85; opacity: .84; }
.mist {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
  filter: blur(16px);
}
.mist-one { bottom: 92px; }
.mist-two { bottom: 34px; left: 20%; }
.hero h1 {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding-top: 95px;
  width: max-content;
  max-width: 85%;
  color: #ffd900;
  font: 700 clamp(48px, 6vw, 96px)/1.2 "STKaiti", "KaiTi", serif;
  letter-spacing: .08em;
  text-shadow: 2px 3px 0 rgba(190, 113, 0, .45);
  transform: rotate(-1deg);
}
.gate {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 0;
  width: 130px;
  height: 230px;
  opacity: .76;
}
.gate-roof, .gate-board, .gate-body { position: absolute; display: block; }
.gate-roof {
  top: 0; left: -12px; width: 154px; height: 36px;
  background: #153d51;
  clip-path: polygon(8% 38%, 92% 38%, 100% 100%, 0 100%);
}
.gate-board { top: 28px; left: 23px; padding: 8px 11px; color: #e8cf69; background: #1c4c67; border: 3px solid #c19d3f; }
.gate-body { bottom: 0; left: 7px; width: 116px; height: 167px; border: 19px solid #704532; border-bottom: 0; background: rgba(238,220,180,.35); }

.main-nav {
  position: relative;
  z-index: 4;
  width: min(960px, 67%);
  margin: -88px calc((100% - min(1440px, 86%)) / 2) 0 auto;
}
.nav-links { display: grid; grid-template-columns: repeat(6, 1fr); }
.nav-links a {
  padding: 22px 8px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.28);
  border-bottom: 3px solid #00c1d7;
  background: rgba(166, 119, 10, .78);
  transition: .2s ease;
}
.nav-links a:hover, .nav-links a.active { background: rgba(116, 78, 0, .9); transform: translateY(-4px); }
.nav-toggle { display: none; }

.page-shell {
  width: min(1440px, 86%);
  min-height: 680px;
  margin: 0 auto;
  padding: 0 26px 60px;
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 28px;
  background: rgba(224, 244, 246, .82);
}
.academy-panel {
  margin-top: -91px;
  position: relative;
  z-index: 5;
}
.academy-panel h2 {
  margin: 0;
  padding: 36px 15px;
  color: white;
  font-size: 28px;
  text-align: center;
  background: var(--blue);
}
.academy-panel a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 28px 28%;
  white-space: nowrap;
  color: #07639a;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px dashed #2184aa;
  background: #acd6df;
  transition: .2s ease;
}
.academy-panel a:hover { padding-left: 30%; background: #92cad6; }
.academy-panel span { font-size: 25px; filter: grayscale(.3); }
.content { padding-top: 0; }
.notice-card { margin-top: 0; background: white; }
.notice-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 25px;
  color: white;
  background: var(--cyan);
}
.notice-card h2 { margin: 0; font-size: 24px; }
.notice-card header a { font-size: 18px; }
.notice-card ul { margin: 0; padding: 23px 28px; list-style: none; }
.notice-card li { min-height: 43px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; font-size: 17px; }
.notice-card li a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notice-card li span { color: #c59400; text-shadow: 1px 1px #4d3b00; }
.notice-card time { color: #064978; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 27px;
  margin: 42px 15px 0;
  padding-top: 40px;
  border-top: 1px dashed #b9d0d4;
}
.quick-links a {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 20px;
  background: #5bbbc7;
  box-shadow: 0 5px 13px rgba(0, 54, 78, .22);
  transition: .22s ease;
}
.quick-links a:hover { transform: translateY(-8px); background: #41aebd; box-shadow: 0 12px 24px rgba(0, 54, 78, .28); }
.quick-links strong { font-size: 52px; color: #ffd067; text-shadow: 2px 2px #075b78; }

footer {
  min-height: 300px;
  padding: 60px 20px 32px;
  color: #c2e7fa;
  text-align: center;
  background: var(--blue);
}
.social-links { width: min(760px, 90%); margin: 0 auto 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.social-links a { display: flex; flex-direction: column; align-items: center; gap: 12px; color: white; }
.social-links strong { width: 66px; height: 66px; display: grid; place-items: center; border: 5px solid #8f9ca4; border-radius: 50%; font: 700 27px serif; background: #68737a; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; margin-bottom: 25px; }
footer p { margin: 0; font-size: 14px; }

@media (max-width: 1000px) {
  .hero { height: 270px; }
  .hero h1 { padding-top: 70px; }
  .gate { display: none; }
  .main-nav { width: 100%; margin: 0; }
  .page-shell { width: 100%; grid-template-columns: 240px 1fr; padding: 0 18px 45px; }
  .academy-panel { margin-top: 0; }
  .academy-panel a { padding: 23px 25%; }
  .quick-links { gap: 14px; margin-inline: 0; }
}

@media (max-width: 720px) {
  .topbar { height: auto; min-height: 45px; padding: 8px 14px; font-size: 12px; gap: 10px; }
  .top-actions { gap: 3px; }
  .hero { height: 210px; }
  .hero h1 { padding-top: 55px; font-size: clamp(32px, 10vw, 55px); text-align: center; }
  .nav-toggle { width: 100%; display: block; padding: 14px; border: 0; color: white; font-weight: 700; background: #a2740a; }
  .nav-links { display: none; grid-template-columns: repeat(2, 1fr); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 14px 5px; font-size: 15px; }
  .page-shell { display: block; padding: 18px 12px 35px; }
  .academy-panel { display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 18px; }
  .academy-panel h2 { grid-column: 1 / -1; padding: 16px; font-size: 22px; }
  .academy-panel a { padding: 16px 10px; justify-content: center; font-size: 14px; }
  .notice-card header { padding: 13px 16px; }
  .notice-card h2 { font-size: 20px; }
  .notice-card ul { padding: 12px 14px; }
  .notice-card li { min-height: 50px; font-size: 14px; grid-template-columns: 1fr; gap: 2px; border-bottom: 1px solid #eef3f4; }
  .notice-card time { font-size: 12px; }
  .quick-links { grid-template-columns: repeat(2, 1fr); margin-top: 25px; padding-top: 25px; }
  .quick-links a { min-height: 140px; gap: 10px; font-size: 16px; }
  .quick-links strong { font-size: 38px; }
  footer { padding-top: 40px; }
  .social-links { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .social-links strong { width: 46px; height: 46px; border-width: 3px; font-size: 19px; }
  .social-links span { font-size: 12px; }
}
