/* ========================================
   吉林省技工院校全景地图 - Web Frontend
   Dark Holographic Tech Theme
   Mobile-first responsive design
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: #08080f;
  color: #e2e8f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
input, textarea { font: inherit; }

/* --- Particle Background --- */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Grid Overlay --- */
#gridOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(14,165,233,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* --- App Shell --- */
#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: transparent;
  position: relative;
  z-index: 2;
}

/* --- Dark Space Tech Theme (Unified) --- */
.theme-winter, .theme-forest, .theme-autumn {
  --theme-primary: #0ea5e9;
  --theme-primary-dark: #0284c7;
  --theme-accent: #a855f7;
  --theme-accent-light: #c084fc;
  --theme-gradient-from: #08080f;
  --theme-gradient-to: #0f172a;
  --theme-card-bg: rgba(255,255,255,0.04);
  --theme-page-bg: #08080f;
  --theme-text: #e2e8f0;
  --theme-text-secondary: #94a3b8;
  --theme-map-bg: transparent;
  --theme-tag-purple: rgba(168,85,247,0.15);
  --theme-tag-purple-text: #c084fc;
  --theme-tag-teal: rgba(34,211,238,0.12);
  --theme-tag-teal-text: #22d3ee;
}

/* --- Glass Utility --- */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
}

/* --- Header --- */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: white;
  height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(14,165,233,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 16px;
}
.header-back {
  font-size: 28px;
  line-height: 1;
  padding: 0 8px 0 0;
  color: white;
  opacity: 0.9;
}
.header-back:active { opacity: 0.6; }
.header-title {
  font-size: 17px;
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Main Content --- */
#content {
  padding-bottom: 64px;
  min-height: calc(100vh - 48px - 64px);
}

/* --- Bottom Navigation --- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  background: rgba(8,8,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(14,165,233,0.12);
  max-width: 480px;
  margin: 0 auto;
  height: 56px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 0;
  color: rgba(148,163,184,0.6);
  transition: color 0.2s;
}
.nav-item--active {
  color: #0ea5e9;
  text-shadow: 0 0 6px rgba(14,165,233,0.3);
}
.nav-item--active .nav-icon {
  filter: drop-shadow(0 0 8px rgba(14,165,233,0.7));
}
.nav-item--active .nav-label {
  text-shadow: 0 0 6px rgba(14,165,233,0.3);
}
.nav-label { font-size: 10px; line-height: 1.2; }
.nav-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.nav-icon--home { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6'/%3E%3C/svg%3E"); }
.nav-icon--major { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14l9-5-9-5-9 5 9 5z'/%3E%3Cpath d='M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z'/%3E%3Ccircle cx='12' cy='8' r='1.5' fill='black'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14l9-5-9-5-9 5 9 5z'/%3E%3Cpath d='M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z'/%3E%3Ccircle cx='12' cy='8' r='1.5' fill='black'/%3E%3C/svg%3E"); }
.nav-icon--faq { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
.nav-icon--admin { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E"); }

/* ========================================
   PAGE: Home
   ======================================== */

/* Hero Section */
.hero-section {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg,
    rgba(8,8,15,0.75) 0%,
    rgba(15,23,42,0.85) 50%,
    rgba(8,8,15,0.98) 100%
  );
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px 24px;
  color: white;
}
.hero-badge {
  display: inline-block;
  background: rgba(168,85,247,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  border: 1px solid rgba(168,85,247,0.2);
  color: #e2e8f0;
}
.hero-center { text-align: center; position: relative; }
.hero-title { line-height: 1.3; margin-bottom: 6px; }

/* Title: layered gradient glowing text */
.hero-title__main {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(14,165,233,0.1));
}
.hero-title__highlight {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9 0%, #a855f7 40%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(14,165,233,0.3)) drop-shadow(0 0 24px rgba(168,85,247,0.15));
  animation: highlightGlow 3s ease-in-out infinite;
}
@keyframes highlightGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(14,165,233,0.2)) drop-shadow(0 0 20px rgba(168,85,247,0.1)); }
  50% { filter: drop-shadow(0 0 16px rgba(14,165,233,0.4)) drop-shadow(0 0 30px rgba(168,85,247,0.2)); }
}

/* Subtitle with bottom scan light */
.hero-subtitle {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 6px;
  letter-spacing: 0.5px;
  color: #94a3b8;
  position: relative;
  display: inline-block;
}
.hero-subtitle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.4), transparent);
  animation: subtitleScan 2.5s ease-in-out infinite;
}
@keyframes subtitleScan {
  0% { width: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

/* Skill competition tagline - 技能成才 技能报国 */
.hero-tagline {
  font-size: 11px;
  margin-top: 14px;
  letter-spacing: 2px;
  color: rgba(168,85,247,0.5);
  text-shadow: 0 0 10px rgba(168,85,247,0.15), 0 0 20px rgba(14,165,233,0.08);
  font-weight: 300;
  animation: taglinePulse 4s ease-in-out infinite;
}
@keyframes taglinePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Subtle skill emblem watermark on hero */
.hero-overlay::after {
  content: '⚙ ⚙';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 32px;
  letter-spacing: 12px;
  color: rgba(168,85,247,0.03);
  pointer-events: none;
  transform: rotate(-8deg);
}

/* Skill decoration badge on map section */
.skill-decoration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(168,85,247,0.25);
  letter-spacing: 1px;
}

/* Stats Row - Holographic Data Pods */
.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.stat-item {
  flex: 1;
  text-align: center;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 12px;
  padding: 12px 4px;
  position: relative;
  overflow: visible;
  box-shadow: 0 0 18px rgba(14,165,233,0.06), inset 0 0 18px rgba(14,165,233,0.03);
}
/* Corner indicator dots on each pod */
.stat-item::before,
.stat-item::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 6px rgba(14,165,233,0.8), 0 0 12px rgba(14,165,233,0.3);
  animation: podCorner 2s ease-in-out infinite alternate;
}
@keyframes podCorner {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}
.stat-item::before { top: 4px; left: 4px; }
.stat-item::after { bottom: 4px; right: 4px; animation-delay: 1s; }
/* Teal accent pod for middle item */
.stat-item:nth-child(2)::before,
.stat-item:nth-child(2)::after {
  background: #22d3ee;
  box-shadow: 0 0 6px rgba(34,211,238,0.8), 0 0 12px rgba(34,211,238,0.3);
}
.stat-number {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(14,165,233,0.3));
  animation: statBreathe 3s ease-in-out infinite;
}
@keyframes statBreathe {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(14,165,233,0.15)); }
  50% { filter: drop-shadow(0 0 12px rgba(14,165,233,0.45)); }
}
.stat-label {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(14,165,233,0.15);
}

/* Search Bar - Holographic Radar */
.search-bar {
  display: flex;
  align-items: center;
  margin: -12px 16px 16px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  position: relative;
  z-index: 3;
  cursor: pointer;
  border: 1px solid rgba(14,165,233,0.15);
  box-shadow: 0 0 15px rgba(14,165,233,0.05), inset 0 0 15px rgba(14,165,233,0.03);
  overflow: hidden;
}
/* Radar sweep background (conic gradient rotate) */
.search-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(14,165,233,0.06), transparent, rgba(14,165,233,0.06), transparent);
  animation: searchSweep 4s linear infinite;
  pointer-events: none;
}
/* Border glow sweep beam (top edge) */
.search-bar::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -40%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.4), transparent);
  animation: borderSweep 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}
@keyframes searchSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes borderSweep {
  0% { left: -40%; opacity: 0; }
  10% { opacity: 1; }
  50% { left: 100%; opacity: 1; }
  60% { opacity: 0; }
  100% { left: -40%; opacity: 0; }
}
.search-bar:active { opacity: 0.8; }
.search-icon {
  font-size: 16px;
  margin-right: 10px;
  flex-shrink: 0;
  color: #0ea5e9;
  position: relative;
  z-index: 1;
}
.search-placeholder {
  font-size: 14px;
  color: rgba(148,163,184,0.5);
  position: relative;
  z-index: 1;
}

/* Section Base */
.section {
  padding: 12px 16px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.section-header__title {
  font-size: 18px;
  font-weight: 600;
  color: #e2e8f0;
}
.section-header__more {
  font-size: 14px;
  color: #0ea5e9;
  cursor: pointer;
}
.section-header__more:active { opacity: 0.6; }
.section-header__count {
  font-size: 13px;
  color: #94a3b8;
}

/* Map Section - Holographic Screen */
.map-section {
  margin: 0 16px 16px;
  background: rgba(8,8,15,0.6);
  border-radius: 16px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(14,165,233,0.15);
  box-shadow: 0 0 20px rgba(14,165,233,0.06), inset 0 0 20px rgba(14,165,233,0.03);
  position: relative;
}
/* Corner indicator lights */
.map-section::before,
.map-section::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 6px rgba(14,165,233,0.6);
  animation: indicatorPulse 2s ease-in-out infinite;
}
.map-section::before { top: 8px; left: 8px; }
.map-section::after { bottom: 8px; right: 8px; animation-delay: 1s; }
@keyframes indicatorPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.map-section__header {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-section__title {
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
}
.map-container {
  position: relative;
  aspect-ratio: 500 / 307;
  overflow: hidden;
}
.map-image { width: 100%; height: 100%; object-fit: contain; }

/* Scan line overlay on map */
.scan-line-map {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.15), transparent);
  pointer-events: none;
  z-index: 5;
  animation: scanMap 4s ease-in-out infinite;
}
@keyframes scanMap {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* City Markers - Glowing Dynamic */
.city-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transform: translate(-50%, -100%);
  z-index: 2;
  gap: 4px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s;
  animation: markerFloat 3s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.15s);
}
.city-marker:hover {
  transform: translate(-50%, -100%) scale(1.2);
  filter: brightness(1.3);
  z-index: 10;
}
.city-marker:active { opacity: 0.7; }
.city-marker__dot {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 35% 35%, #38bdf8, #0ea5e9);
  border: 2px solid rgba(56,189,248,0.6);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(14,165,233,0.6), 0 0 24px rgba(14,165,233,0.3);
  animation: dotPulse 2s ease-in-out infinite;
}
.city-marker:hover .city-marker__dot {
  box-shadow: 0 0 14px rgba(14,165,233,0.9), 0 0 40px rgba(14,165,233,0.4);
  border-color: rgba(56,189,248,0.9);
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(14,165,233,0.4), 0 0 16px rgba(14,165,233,0.15); }
  50% { box-shadow: 0 0 14px rgba(14,165,233,0.8), 0 0 32px rgba(14,165,233,0.35), 0 0 60px rgba(14,165,233,0.15); }
}
@keyframes markerFloat {
  0%, 100% { transform: translate(-50%, -100%) translateY(0); }
  50% { transform: translate(-50%, -100%) translateY(-4px); }
}
.city-marker__label {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
  background: rgba(8,8,15,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(14,165,233,0.15);
  text-shadow: 0 0 12px rgba(0,0,0,0.8);
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 12px rgba(14,165,233,0.08);
}
.city-marker:hover .city-marker__label {
  background: rgba(8,8,15,0.75);
  border-color: rgba(14,165,233,0.4);
  box-shadow: 0 0 20px rgba(14,165,233,0.15);
}
.map-section__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}
.map-section__tip { font-size: 12px; color: rgba(255,255,255,0.35); }
.map-section__admin {
  font-size: 12px;
  color: #a855f7;
  cursor: pointer;
}

/* City Grid - Holographic Touch Cards */
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.city-item {
  flex: 0 0 calc(33.333% - 6px);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.city-item:hover {
  transform: translateY(-2px);
  border-color: rgba(14,165,233,0.2);
  box-shadow: 0 4px 16px rgba(14,165,233,0.08);
}
.city-item:active {
  transform: scale(0.97);
}
.city-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
}
.city-count {
  display: block;
  font-size: 12px;
  color: #22d3ee;
  margin-top: 4px;
  text-shadow: 0 0 6px rgba(34,211,238,0.2);
}

/* School List - Glass Holographic Cards */
.school-list { display: flex; flex-direction: column; gap: 10px; }
.school-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.school-card:hover {
  transform: translateY(-1px);
  border-color: rgba(14,165,233,0.15);
  box-shadow: 0 4px 16px rgba(14,165,233,0.06);
}
.school-card:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.04), transparent);
  animation: cardScan 0.6s ease-in-out;
}
@keyframes cardScan {
  from { left: -100%; }
  to { left: 100%; }
}
.school-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.school-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  flex: 1;
}
.school-card__tag {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 10px;
  background: rgba(168,85,247,0.15);
  color: #c084fc;
  flex-shrink: 0;
  border: 1px solid rgba(168,85,247,0.1);
}
.school-card__bottom { display: flex; gap: 16px; }
.school-card__city, .school-card__count {
  font-size: 13px;
  color: #94a3b8;
}

/* ========================================
   PAGE: City Detail
   ======================================== */
.city-header {
  background: linear-gradient(135deg, #08080f, #0f172a);
  padding: 24px 20px;
  color: white;
  text-align: center;
  border-bottom: 1px solid rgba(14,165,233,0.15);
  position: relative;
}
.city-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.4), transparent);
  pointer-events: none;
}
.city-header__name {
  font-size: 24px;
  font-weight: 700;
  color: #e2e8f0;
  text-shadow: 0 0 12px rgba(14,165,233,0.12);
}
.city-header__count {
  font-size: 14px;
  margin-top: 4px;
  color: #22d3ee;
  text-shadow: 0 0 6px rgba(34,211,238,0.15);
}

/* ========================================
   PAGE: School Detail
   ======================================== */
.school-header {
  background: linear-gradient(135deg, #08080f, #0f172a);
  padding: 20px 16px;
  color: white;
  border-bottom: 1px solid rgba(14,165,233,0.15);
  position: relative;
}
.school-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.4), transparent);
  pointer-events: none;
}
.school-header__name {
  font-size: 22px;
  font-weight: 700;
  color: #e2e8f0;
  text-shadow: 0 0 10px rgba(14,165,233,0.12);
  margin-bottom: 8px;
}
.school-header__tags { display: flex; gap: 8px; }
.tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 10px;
}
.tag--purple {
  background: rgba(168,85,247,0.15);
  color: #c084fc;
  border: 1px solid rgba(168,85,247,0.1);
}
.tag--teal {
  background: rgba(34,211,238,0.12);
  color: #22d3ee;
  border: 1px solid rgba(34,211,238,0.1);
}

/* Section Tabs */
.section-tabs {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0 12px;
}
.section-tabs::-webkit-scrollbar { display: none; }
.section-tab {
  flex-shrink: 0;
  padding: 12px 14px;
  font-size: 14px;
  color: #94a3b8;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.section-tab--active {
  color: #0ea5e9;
  border-bottom-color: #0ea5e9;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(14,165,233,0.2);
}
.section-tab:active { opacity: 0.6; }

/* Card */
.card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 16px;
  margin: 12px 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Info Grid */
.info-grid { display: flex; flex-wrap: wrap; gap: 0; }
.info-item {
  width: 50%;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
  border-radius: 4px;
  padding-left: 6px;
}
.info-item:hover {
  background: rgba(14,165,233,0.03);
  border-bottom-color: rgba(14,165,233,0.08);
}
.info-item.full { width: 100%; }
.info-label { display: block; font-size: 12px; color: #94a3b8; margin-bottom: 2px; }
.info-value { font-size: 14px; color: #e2e8f0; }
.info-value.link { color: #0ea5e9; cursor: pointer; }

/* Intro */
.intro-section { margin-top: 12px; }
.intro-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: #e2e8f0; }
.intro-text { font-size: 14px; color: #94a3b8; line-height: 1.7; }

/* Major List */
.major-list { display: flex; flex-direction: column; gap: 10px; }
.major-item {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.major-item:hover {
  border-color: rgba(14,165,233,0.15);
  box-shadow: 0 2px 12px rgba(14,165,233,0.05);
}
.major-item:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.04), transparent);
  animation: cardScan 0.6s ease-in-out;
  pointer-events: none;
}
.major-item:active { background: rgba(255,255,255,0.06); }
.major-item__header { display: flex; justify-content: space-between; align-items: center; }
.major-item__name { font-size: 15px; font-weight: 600; color: #e2e8f0; }
.major-item__arrow { color: #64748b; font-size: 16px; }
.major-item__meta {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
}

/* Rate Row */
.rate-row { display: flex; gap: 12px; }
.rate-item {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}
.rate-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #0ea5e9;
  text-shadow: 0 0 6px rgba(14,165,233,0.2);
}
.rate-label { display: block; font-size: 11px; color: #94a3b8; margin-top: 2px; }

/* Contact Card */
.contact-card { margin-top: 0; }
.contact-row { display: flex; gap: 4px; font-size: 14px; padding: 6px 0; color: #e2e8f0; }
.contact-row .link { color: #0ea5e9; cursor: pointer; }

/* Divider */
.divider { height: 1px; background: rgba(255,255,255,0.06); margin: 16px 0; }

/* Rich Text */
.rich-text { font-size: 14px; color: #94a3b8; line-height: 1.7; white-space: pre-wrap; }

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.media-image {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.05);
}
.media-image:active { opacity: 0.8; }

/* Brochure Image (responsive, full-width) */
.brochure-image-wrap {
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
}
.brochure-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  margin-top: 8px;
}

/* Brochure Link */
.brochure-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #0ea5e9;
  font-size: 14px;
  cursor: pointer;
}

/* ========================================
   PAGE: Majors / Search
   ======================================== */
.search-section { padding: 12px 16px; }
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 10px;
  padding: 0 14px;
  border: 1px solid rgba(14,165,233,0.12);
}
.search-box input {
  flex: 1;
  height: 44px;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  color: #e2e8f0;
}
.search-box input::placeholder { color: rgba(148,163,184,0.4); }
.search-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 14px;
  color: #0ea5e9;
  cursor: pointer;
}
.search-btn:active { opacity: 0.6; }

/* Major Cloud */
.major-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cloud-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid rgba(14,165,233,0.08);
}
.cloud-item:hover {
  border-color: rgba(14,165,233,0.2);
  box-shadow: 0 0 8px rgba(14,165,233,0.06);
}
.cloud-item:active { background: rgba(255,255,255,0.06); }
.cloud-name { font-size: 14px; color: #e2e8f0; font-weight: 500; }
.cloud-count { font-size: 12px; color: #94a3b8; }

/* Search Result */
.result-item {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.result-item:hover {
  border-color: rgba(14,165,233,0.15);
  box-shadow: 0 2px 12px rgba(14,165,233,0.05);
}
.result-item:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.04), transparent);
  animation: cardScan 0.6s ease-in-out;
  pointer-events: none;
}
.result-item:active { opacity: 0.8; }
.result-item__header { display: flex; justify-content: space-between; align-items: center; }
.result-item__name { font-size: 15px; font-weight: 600; color: #e2e8f0; }
.result-item__arrow { color: #64748b; }
.result-item__meta { display: flex; gap: 8px; margin: 6px 0; }
.result-item__detail { font-size: 12px; color: #94a3b8; }

/* ========================================
   PAGE: FAQ
   ======================================== */
.faq-header { text-align: center; padding: 20px; }
.faq-header__title { font-size: 20px; font-weight: 700; color: #e2e8f0; }
.faq-header__subtitle { font-size: 13px; color: #94a3b8; margin-top: 4px; }

.faq-item { cursor: pointer; padding: 0 16px; transition: background 0.2s; border-radius: 8px; }
.faq-item:hover { background: rgba(14,165,233,0.02); }
.faq-item:active { background: rgba(14,165,233,0.04); }
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.faq-item:last-child .faq-question { border-bottom: none; }
.faq-q {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 0 8px rgba(14,165,233,0.35);
}
.faq-question__text { font-size: 15px; font-weight: 500; color: #e2e8f0; flex: 1; }
.faq-chevron { color: #64748b; font-size: 12px; margin-top: 4px; flex-shrink: 0; }

.faq-answer {
  display: flex;
  gap: 10px;
  margin-top: 0;
  padding: 0 0 14px 32px;
}
.faq-a {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 0 8px rgba(168,85,247,0.35);
}
.faq-answer__text { font-size: 14px; color: #94a3b8; line-height: 1.7; flex: 1; }

/* ========================================
   PAGE: Search Results
   ======================================== */
.search-header {
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.search-header__title { font-size: 14px; color: #94a3b8; }

/* ========================================
   Shared / Utilities
   ======================================== */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

/* Skeleton shimmer skeleton */
.skeleton {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  min-height: 16px;
}
.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.06), transparent);
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}
@keyframes skeletonShimmer {
  from { left: -60%; }
  to { left: 100%; }
}

/* Skeleton variants */
.skeleton--title { height: 22px; width: 60%; margin: 0 auto 16px; }
.skeleton--text { height: 14px; width: 80%; margin: 0 auto; }
.skeleton--card { height: 80px; width: 100%; margin-bottom: 10px; }
.skeleton--tag { height: 20px; width: 50px; display: inline-block; border-radius: 10px; }

/* Inline skeleton within loading-container */
.loading-skeleton-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.empty-state {
  text-align: center;
  padding: 50px 20px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  margin: 16px;
  backdrop-filter: blur(8px);
}
.empty-state__text { font-size: 14px; color: #94a3b8; }

/* Error State */
.error-state {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  margin: 16px;
  backdrop-filter: blur(8px);
}
.error-state__text { font-size: 15px; color: #94a3b8; }
.error-state__retry {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  background: rgba(14,165,233,0.15);
  color: #0ea5e9;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid rgba(14,165,233,0.2);
  transition: box-shadow 0.2s;
}
.error-state__retry:hover { box-shadow: 0 0 12px rgba(14,165,233,0.2); }

/* Image Viewer Overlay */
.image-viewer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(8,8,15,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.image-viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Toast */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(8,8,15,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #e2e8f0;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  animation: toastIn 0.2s ease-out;
  pointer-events: none;
  border: 1px solid rgba(14,165,233,0.1);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ========================================
   Holographic Effects
   ======================================== */

/* Click Ripple */
.holo-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.25) 0%, transparent 70%);
  pointer-events: none;
  animation: holoRipple 0.6s ease-out forwards;
}
@keyframes holoRipple {
  from { transform: scale(0); opacity: 1; }
  to { transform: scale(1); opacity: 0; }
}

/* Map Popup */
.holo-map-popup {
  position: fixed;
  z-index: 1000;
  background: rgba(8,8,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 8px;
  padding: 8px 12px;
  display: none;
  pointer-events: none;
  box-shadow: 0 0 15px rgba(14,165,233,0.08);
}
.holo-map-popup .popup-name { font-size: 13px; font-weight: 600; color: #e2e8f0; }
.holo-map-popup .popup-count { font-size: 11px; color: #94a3b8; margin-top: 2px; }

/* Glow Text Utility */
@keyframes glowBreathe {
  0%, 100% { text-shadow: 0 0 8px rgba(14,165,233,0.15); }
  50% { text-shadow: 0 0 18px rgba(14,165,233,0.4); }
}
.glow-text {
  animation: glowBreathe 3s ease-in-out infinite;
}

/* Holo Terrain Canvas */
.holo-terrain {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ========================================
   Responsive: Tablet / Desktop (>480px)
   ======================================== */
@media (min-width: 480px) {
  #app { border-left: 1px solid rgba(14,165,233,0.08); border-right: 1px solid rgba(14,165,233,0.08); }
  .bottom-nav { border-left: 1px solid rgba(14,165,233,0.08); border-right: 1px solid rgba(14,165,233,0.08); }
}
@media (min-width: 768px) {
  #app { max-width: 768px; }
  .hero-section { height: 460px; }
  .hero-title__main { font-size: 30px; }
  .hero-title__highlight { font-size: 38px; }
  .stat-number { font-size: 30px; }
  .city-item { flex: 0 0 calc(33.333% - 6px); }
  .media-grid { grid-template-columns: repeat(4, 1fr); }
  .section-tabs { justify-content: center; }
}
