/* Tailwind CSS CDN */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* ===== CSS Variables ===== */
:root {
  --color-primary: #0071E3;
  --color-text: #1D1D1F;
  --color-text-secondary: #6E6E73;
  --color-bg: #F5F5F7;
  --color-surface: #FFFFFF;
  --color-border: rgba(0, 0, 0, 0.08);
  --font-family: "PingFang SC", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-height: 64px;
  --radius: 24px;
  --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.12);
  --transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.4s ease;
}

.nav.scrolled .nav-logo {
  color: var(--color-text);
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.nav.scrolled .nav-menu a {
  color: var(--color-text);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.4s ease, transform 0.3s ease;
}

.nav.scrolled .nav-toggle span {
  background: var(--color-text);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 16px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    color: var(--color-text) !important;
    font-size: 16px;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.05); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  padding: 0 24px;
}

.hero-tag {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 12px;
}

.hero-title {
  font-size: clamp(30px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 400;
  opacity: 0.92;
  margin: 0 0 40px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Sections ===== */
.section {
  padding: 120px 0;
}

.section:nth-child(even) {
  background: var(--color-surface);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
}

.section-desc {
  font-size: 19px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ===== Intro ===== */
.intro-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

@media (min-width: 900px) {
  .intro-content {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

.intro-text p {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin: 0 0 24px;
  line-height: 1.8;
}

.intro-text p:first-child {
  font-size: 22px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.6;
}

.classroom-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.classroom-note p {
  font-size: 22px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.8;
  margin: 0;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ===== Media Card ===== */
.media-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .media-card {
    grid-template-columns: 1fr 1fr;
  }

  .media-card.reverse .media-image {
    order: 2;
  }
}

.media-image {
  overflow: hidden;
  min-height: 320px;
}

.media-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.media-card:hover .media-image img {
  transform: scale(1.04);
}

.media-body {
  padding: 40px;
}

.media-body h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 20px;
}

.media-body p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin: 0 0 28px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ===== Colleges ===== */
.college-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.college-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.college-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.college-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.college-card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.65;
}

/* ===== Buildings ===== */
.building-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.building-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .building-row {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.building-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.building-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.building-row:hover .building-image img {
  transform: scale(1.04);
}

.building-text h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 18px;
}

.building-text p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* ===== Clubs ===== */
.club-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.club-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.club-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.club-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.08);
  color: var(--color-primary);
}

.club-icon svg {
  width: 26px;
  height: 26px;
}

.club-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}

.club-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ===== Sports ===== */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.sports-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.sports-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.sports-image {
  overflow: hidden;
}

.sports-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.sports-card:hover .sports-image img {
  transform: scale(1.05);
}

.sports-body {
  padding: 32px;
}

.sports-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
}

.sports-body p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ===== Scenery ===== */
.scenery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.scenery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 0;
}

.scenery-card.wide {
  grid-column: 1 / -1;
}

.scenery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.scenery-card.wide img {
  height: 420px;
}

.scenery-card:hover img {
  transform: scale(1.05);
}

.scenery-card figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
}

@media (min-width: 900px) {
  .scenery-card img {
    height: 340px;
  }

  .scenery-card.wide img {
    height: 520px;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0;
  text-align: center;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}

.footer-address {
  font-size: 14px;
  margin: 0 0 18px;
}

.footer-copy {
  font-size: 13px;
  opacity: 0.6;
  margin: 0;
}

/* ===== Section Title Link ===== */
.title-link {
  color: inherit;
  transition: color 0.3s ease;
}

.title-link:hover {
  color: var(--color-primary);
}

/* ===== Preview Cards (Homepage Entry) ===== */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.preview-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.preview-card {
  display: block;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.preview-image {
  overflow: hidden;
  height: 220px;
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.preview-card:hover .preview-image img {
  transform: scale(1.06);
}

.preview-body {
  padding: 28px;
}

.preview-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}

.preview-body p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0 0 16px;
}

.preview-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

/* ===== Club Preview Card ===== */
.club-preview-card {
  display: block;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.club-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.club-preview-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.08);
  color: var(--color-primary);
}

.club-preview-icon svg {
  width: 22px;
  height: 22px;
}

.club-preview-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.club-preview-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ===== Buttons ===== */
.section-action {
  text-align: center;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 113, 227, 0.25);
  background: #0068d1;
}

/* ===== Subpage Hero ===== */
.hero-small {
  height: 60vh;
  min-height: 480px;
}

.hero-small .hero-title {
  font-size: clamp(36px, 6vw, 64px);
}

.hero-small .hero-subtitle {
  font-size: clamp(16px, 2vw, 22px);
}

/* ===== Detail Cards (Subpages) ===== */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.detail-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 0;
}

.detail-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.detail-image {
  overflow: hidden;
  height: 240px;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.detail-card:hover .detail-image img {
  transform: scale(1.05);
}

.detail-body {
  padding: 32px;
}

.detail-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.detail-body h3,
.detail-body h4 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 14px;
}

.detail-body p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 0 20px;
}

/* ===== Category Block ===== */
.category-block {
  margin-bottom: 72px;
}

.category-block:last-of-type {
  margin-bottom: 64px;
}

.category-header {
  margin-bottom: 32px;
}

.category-header h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
}

.category-header p {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ===== Club Detail Grid ===== */
.club-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.club-detail-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.club-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.club-detail-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.08);
  color: var(--color-primary);
}

.club-detail-icon svg {
  width: 22px;
  height: 22px;
}

.club-detail-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.club-detail-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ===== Facility Note ===== */
.facility-note {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 64px;
}

.facility-note h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}

.facility-note p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ===== Back Bar ===== */
.back-bar {
  text-align: center;
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .intro-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 18px 12px;
  }

  .stat-number {
    font-size: 26px;
  }

  .stat-label {
    font-size: 12px;
  }

  .media-body {
    padding: 24px;
  }

  .building-image img {
    height: 200px;
  }

  .scenery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .scenery-card img,
  .scenery-card.wide img {
    height: 150px;
  }

  .scenery-card figcaption {
    padding: 12px;
    font-size: 14px;
  }

  /* 首页预览：一行两张 */
  .preview-grid,
  .preview-grid.compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .preview-image {
    height: 130px;
  }

  .preview-body {
    padding: 14px;
  }

  .preview-body h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .preview-body p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .preview-link {
    display: none;
  }

  /* 详情页：一行三张，精简卡片 */
  .detail-grid,
  .detail-grid.compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .detail-image {
    height: 85px;
  }

  .detail-body {
    padding: 8px;
  }

  .detail-tag {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .detail-body h3,
  .detail-body h4 {
    font-size: 12px;
    margin: 0 0 2px;
    line-height: 1.35;
  }

  .detail-body p,
  .detail-body .feature-list {
    display: none;
  }

  /* 首页社团预览：进一步压缩 */
  .club-preview-card {
    padding: 12px;
  }

  .club-preview-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

  .club-preview-icon svg {
    width: 16px;
    height: 16px;
  }

  .club-preview-card h3 {
    font-size: 14px;
    margin: 0 0 2px;
  }

  .club-preview-card p {
    font-size: 11px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 社团详情：一行三张 */
  .club-detail-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .club-detail-card {
    padding: 10px;
  }

  .club-detail-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

  .club-detail-icon svg {
    width: 16px;
    height: 16px;
  }

  .club-detail-card h3 {
    font-size: 11px;
    margin: 0;
  }

  .club-detail-card p {
    display: none;
  }

  /* 学院与专业：进一步压缩空白 */
  .college-grid {
    gap: 12px;
  }

  .college-card {
    padding: 16px;
  }

  .college-card h3 {
    font-size: 16px;
    margin: 0 0 4px;
  }

  .college-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .facility-note {
    padding: 20px;
    margin-bottom: 40px;
  }

  .facility-note h3 {
    font-size: 17px;
  }

  .facility-note .feature-list li {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .hero-small {
    height: 40vh;
    min-height: 280px;
  }
}

/* ===== Image Preview Overlay ===== */
.img-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.img-preview-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.img-preview-overlay img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.img-preview-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 32px;
  line-height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.img-preview-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
