:root {
    --primary: #0A7E8C;
    --primary-dark: #065A64;
    --primary-light: #0FB8CC;
    --accent-gold: #D4A843;
    --accent-green: #1B8C3A;
    --accent-red: #CE2029;
    --accent-yellow: #FCDD09;
    --bg-body: #EFF6F0;
    --bg-card: #FFFFFF;
    --bg-header: #F0F7F2;
    --text-primary: #1A2E1A;
    --text-secondary: #3D5A3D;
    --text-muted: #6B8A6B;
    --border: #C8DCC8;
    --shadow: rgba(10, 126, 140, 0.12);
    --nav-bg: linear-gradient(135deg, #0A7E8C 0%, #0DABB8 50%, #0A7E8C 100%);
    --nav-bg-solid: #0A7E8C;
    --glass: rgba(255, 255, 255, 0.85);
    --online-glow: #22C55E;
    --fixed-height: 130px;
  }
  .dark {
    --primary: #14B8CC;
    --primary-dark: #0DABB8;
    --primary-light: #3DD6E8;
    --bg-body: #0D1B1D;
    --bg-card: #142628;
    --bg-header: #0F2022;
    --text-primary: #E8F5E9;
    --text-secondary: #A5C6A5;
    --text-muted: #7A9E7A;
    --border: #1E3A3E;
    --shadow: rgba(20, 184, 204, 0.15);
    --nav-bg: linear-gradient(135deg, #065A64 0%, #0A7E8C 50%, #065A64 100%);
    --nav-bg-solid: #065A64;
    --glass: rgba(20, 38, 40, 0.9);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
    padding-top: var(--fixed-height);
  }

  /* ═══ Animated Background ═══ */
  .bg-pattern {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .bg-pattern::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,126,140,0.06) 0%, transparent 70%);
    top: -100px; right: -100px;
    animation: floatOrb 20s ease-in-out infinite;
  }
  .bg-pattern::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27,140,58,0.05) 0%, transparent 70%);
    bottom: -50px; left: -50px;
    animation: floatOrb 25s ease-in-out infinite reverse;
  }
  @keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
  }

  /* ═══ Fixed Top Section ═══ */
  .fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    animation: slideDown 0.7s ease-out;
  }
  @keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* ═══ Header ═══ */
  .header {
    background: var(--bg-header);
    border-bottom: 3px solid var(--primary);
    padding: 2px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
	  borderx:red 2px solid;
  }

  .header-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
  }
  .logo-circle {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow);
    animation: pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
  }
  .logo-circle::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
  }
  .logo-circle i {
    font-size: 26px;
    color: #fff;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px var(--shadow); }
    50% { box-shadow: 0 4px 25px rgba(10,126,140,0.3); }
  }
#org{
	background:var(--primary);
	display:block;
	widthx:400px;
	text-align:center;
	margin:0px auto;
	color:white;
	padding:3px 20px;
	font-weight:bold;
	font-size:18px;
	border-radius:20px 20px 0 0;
}
    .main-contentx {
      paddingx: 20px 16px;
		display:flex;
		justify-content: space-between;
		 font-family: 'Times New Roman', sans-serif;
    }

  .header-title {
    text-align: center;
    flex: 1;
    padding: 0 0px;
	  
	  
  }
  .header-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(16px, 2.8vw, 26px);
    font-weight: 700;
    colorx: var(--primary-dark);
    line-height: 1.2;
    letter-spacing: 0.3px;
	  color:white;
  }
  .dark .header-title h1 { color: var(--primary-light); }
  .header-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(13px, 2.2vw, 20px);
    font-weight: 600;
    colorx: var(--accent-gold);
	  colorx: var(--primary);
	    color:white;
	  colorx:orange;
    margin-top: 2px;
    letter-spacing: 0.5px;
  }

  .flag-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }
  .flag-stripes {
    width: 50px; height: 34px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .flag-stripes .stripe { flex: 1; }
  .flag-stripes .stripe:nth-child(1) { background: var(--accent-green); }
  .flag-stripes .stripe:nth-child(2) { background: var(--accent-yellow); }
  .flag-stripes .stripe:nth-child(3) { background: var(--accent-red); }
  .flag-stripes .emblem {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .flag-stripes .emblem i {
    font-size: 14px;
    color: #1560BD;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
  }

  /* ═══ Navigation ═══ */
  .nav-bar {
    background: var(--nav-bg);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(10,126,140,0.2);
    position: relative;
  }
  .nav-left {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
  }
  .nav-left i { font-size: 14px; }
  .view-count {
    background: rgba(255,255,255,0.15);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    color: #fff;
    font-size: 12px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-item {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border-radius: 6px 6px 0 0;
  }
  .nav-item:hover {
    background: rgba(255,255,255,0.15);
  }
  .nav-item.active {
    background: rgba(255,255,255,0.2);
  }
  .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  .nav-item:hover::after {
    width: 80%;
  }
  .nav-caret { font-size: 11px; }

  .dropdown { position: relative; }
  .dropdown-menu {
    position: absolute;
    top: 100%; left: 0;
    background: var(--bg-card);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px var(--shadow);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 200;
  }
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border);
  }
  .dropdown-menu a:last-child { border: none; }
  .dropdown-menu a:hover {
    background: var(--primary);
    color: #fff;
    padding-left: 22px;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
  }
  .nav-right i { font-size: 14px; }
  .date-badge {
    background: rgba(255,255,255,0.15);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    color: #fff;
    font-size: 12px;
  }

  /* ═══ Hamburger Toggle ═══ */
  .nav-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
  }
  .nav-toggle:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
  }
  .hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .hamburger-line:nth-child(1) { top: 11px; }
  .hamburger-line:nth-child(2) { top: 18px; }
  .hamburger-line:nth-child(3) { top: 25px; }

  .nav-toggle.open .hamburger-line:nth-child(1) {
    top: 18px;
    transform: translateX(-50%) rotate(45deg);
  }
  .nav-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
  }
  .nav-toggle.open .hamburger-line:nth-child(3) {
    top: 18px;
    transform: translateX(-50%) rotate(-45deg);
  }

  /* ═══ Mobile Dropdown Panel ═══ */
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg-solid);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
  }
  .mobile-menu.open {
    max-height: 400px;
  }
  .mobile-menu-inner {
    padding: 8px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  }
  .mobile-menu.open .mobile-menu-inner {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
  }
  .mobile-menu-item:hover,
  .mobile-menu-item.active {
    background: rgba(255,255,255,0.1);
    border-left-color: var(--accent-gold);
    padding-left: 28px;
  }
  .mobile-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
    opacity: 0.8;
  }
  .mobile-submenu {
    padding-left: 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .mobile-submenu.open {
    max-height: 200px;
  }
  .mobile-submenu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  .mobile-submenu-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
  }
  .mobile-submenu-item i {
    font-size: 8px;
    opacity: 0.6;
  }
  .mobile-menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 4px 20px;
  }
  .mobile-menu-item .expand-arrow {
    margin-left: auto;
    font-size: 11px;
    transition: transform 0.3s ease;
    opacity: 0.6;
  }
  .mobile-menu-item .expand-arrow.rotated {
    transform: rotate(180deg);
  }

  /* ═══ Main Content ═══ */
  .main-content {
    display: grid;
    grid-template-columns: 1fr 1fr 260px;
    gap: 12px;
    padding: 6px 24px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - var(--fixed-height) - 50px);
    align-items: top;
  }

  /* ═══ Campus Area (Left) ═══ */
  .campus-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInLeft 0.9s ease-out 0.3s both;
  }
  @keyframes fadeInLeft {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }

  /* ═══ Center Area (Login) ═══ */
  .center-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.9s ease-out 0.3s both;
  }
  @keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* ═══ Login Card ═══ */
  .login-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 40px var(--shadow), 0 1px 3px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .login-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 50px var(--shadow);
  }
  .login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-yellow), var(--accent-red));
    animation: shimmer 3s linear infinite;
    background-size: 200% 100%;
  }
  @keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  .login-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(10,126,140,0.25);
    animation: bounceIn 0.8s ease-out 0.6s both;
  }
  @keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.15); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
  }
  .login-icon i {
    font-size: 32px;
    color: #fff;
  }

  .login-card h3 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 22px;
    font-weight: 700;
  }
  .dark .login-card h3 { color: var(--primary-light); }

  .form-group {
    margin-bottom: 18px;
    position: relative;
  }
  .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
  }
  .form-group .input-wrap {
    position: relative;
  }
  .form-group .input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.3s ease;
  }
  .form-group input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Source Sans 3', sans-serif;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
  }
  .form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,126,140,0.12);
  }
  .form-group input:focus + i,
  .form-group .input-wrap:focus-within i {
    color: var(--primary);
  }

  .remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
  }
  .remember-row label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--text-secondary);
  }
  .remember-row input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px; height: 16px;
  }
  .forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
  }
  .forgot-link:hover { color: var(--primary-dark); text-decoration: underline; }

  .login-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
  }
  .login-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
  }
  .login-btn:hover::before {
    transform: translateX(100%);
  }
  .login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10,126,140,0.35);
  }
  .login-btn:active {
    transform: translateY(0);
  }

  /* ═══ Campus Image ═══ */
  .campus-image {
    width: 100%;
    max-width: 410px;
    border-radius: 50%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 5px solid var(--primary);
    box-shadow: 0 10px 40px var(--shadow), 0 0 0 8px rgba(10,126,140,0.08);
    animation: fadeInUp 1.1s ease-out 0.5s both;
    position: relative;
  }
  .campus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  .campus-image:hover img {
    transform: scale(1.05);
  }

  /* ═══ Online Users Sidebar ═══ */
  .sidebar {
    animation: slideInRight 0.9s ease-out 0.4s both;
  }
  @keyframes slideInRight {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  .online-panel {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 30px var(--shadow);
  }
  .online-header {
    background: var(--nav-bg);
    color: #fff;
    padding: 14px 18px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .online-header .count-badge {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
  }
  .online-list {
    padding: 10px 0;
    max-height: 400px;
    overflow-y: auto;
	  
  }
  .online-list::-webkit-scrollbar { width: 5px; }
  .online-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
  }
  .online-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    transition: background 0.2s ease;
    cursor: default;
    animation: fadeInUser 0.4s ease-out both;
  }
  .online-user:hover {
    background: rgba(10,126,140,0.05);
  }
  .user-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    position: relative;
  }
  .user-avatar .status-dot {
    position: absolute;
    bottom: 0; right: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--online-glow);
    border: 2px solid var(--bg-card);
    animation: statusPulse 2s ease-in-out infinite;
  }
  @keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
  }
  @keyframes fadeInUser {
    from { transform: translateX(15px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  .user-info {
    flex: 1;
    min-width: 0;
  }
  .user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .user-role {
    font-size: 11px;
    color: var(--text-muted);
  }

  /* ═══ Footer ═══ */
  .footer {
    text-align: center;
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 12px;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    background: var(--bg-header);
    animation: fadeInUp 1s ease-out 0.6s both;
  }
  .footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
  }

  /* ═══ Mobile Overlay ═══ */
  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* ═══ Responsive ═══ */
  @media (max-width: 1024px) {
    .main-content {
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .campus-area { order: 1; }
    .center-area { order: 2; }
    .sidebar {
      order: 3;
      grid-column: 1 / -1;
    }
    .campus-image { max-width: 320px; }
  }

  @media (max-width: 860px) {
    .main-content {
      grid-template-columns: 1fr;
      padding: 20px 16px;
    }
    .campus-area { order: 1; }
    .center-area { order: 2; }
    .sidebar { order: 3; grid-column: auto; }
    .campus-image { max-width: 280px; }
  }

  @media (max-width: 680px) {
    :root { --fixed-height: 100px; }

    .header {
      padding: 10px 16px;
      gap: 8px;
    }
    .logo-circle { width: 42px; height: 42px; }
    .logo-circle i { font-size: 20px; }
    .header-title { padding: 0 8px; }
    .flag-stripes { width: 38px; height: 26px; }
    .flag-stripes .emblem i { font-size: 11px; }

    /* Show hamburger, hide desktop links */
    .nav-toggle { display: block; }
    .nav-links { display: none; }
    .mobile-menu { display: block; }
    .mobile-overlay { display: block; }

    .nav-bar {
      padding: 0 12px;
    }

    .nav-left, .nav-right { font-size: 11px; }

    .login-card { padding: 24px 20px; }
    .campus-image { max-width: 240px; }
  }

  @media (max-width: 420px) {
    :root { --fixed-height: 92px; }
    .header { padding: 8px 12px; }
    .logo-circle { width: 36px; height: 36px; }
    .logo-circle i { font-size: 17px; }
    .flag-stripes { width: 32px; height: 22px; }
    .flag-stripes .emblem i { font-size: 9px; }
    .view-count, .date-badge {
      padding: 2px 6px;
      font-size: 10px;
    }
    .nav-left i, .nav-right i { font-size: 11px; }
  }

  /* ═══ Custom Modal ═══ */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .modal-box {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 28px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }
  .modal-overlay.active .modal-box {
    transform: scale(1);
  }
  .modal-box i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 12px;
  }
  .modal-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
  }
  .modal-box p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .modal-btn {
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Source Sans 3', sans-serif;
  }
  .modal-btn:hover {
    box-shadow: 0 4px 15px rgba(10,126,140,0.3);
    transform: translateY(-1px);
  }

  /* ═══ Scrollbar ═══ */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--bg-body); }
  ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 6px; }