/* Youth Senior High School - 2027 Overseas Chinese Admission Website */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+Khmer:wght@400;600;700&family=Noto+Sans+Myanmar:wght@400;600;700&family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

:root {
  --primary: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --dark: #0f172a;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', 'Noto Sans TC', 'Noto Sans Myanmar', 'Noto Sans Khmer', system-ui, -apple-system, sans-serif;
}

body {
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Hero Gradient */
.hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e1b4b 100%);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badge Pulse */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.8);
  }
}
.pulse-glow {
  animation: pulse-glow 2.5s infinite;
}

/* Department Active Tabs */
.dept-tab.active {
  background-color: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
}

/* Modal Transitions */
.modal-backdrop {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
}

/* Language specific font tweaks */
body.lang-my {
  font-family: 'Noto Sans Myanmar', 'Inter', system-ui, sans-serif;
  line-height: 1.7;
}

body.lang-km {
  font-family: 'Noto Sans Khmer', 'Inter', system-ui, sans-serif;
  line-height: 1.75;
}
