:root {
    --bg: #080a0f;
    --surface: #0e1117;
    --card: #131720;
    --border: #1e2535;
    --accent: #f5a623;
    --accent2: #e63946;
    --accent3: #00d4ff;
    --text: #e8eaf0;
    --muted: #6b7280;
    --success: #22c55e;
  }

html {
    scroll-behavior: smooth;
  }

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    min-height: 100vh;
  }

  body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999; opacity: 0.3;
  }

  .page { display: none; min-height: 100vh; }
  .page.active { display: block; }

  .main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
  }

  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(8,10,15,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem; letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .nav-links { display: flex; gap: 2rem; align-items: center; }
  .nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.9rem; font-weight: 500; letter-spacing: 1px;
    text-transform: uppercase; cursor: pointer;
    transition: color 0.2s;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--accent); }
  .nav-user { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: var(--muted); }
  .nav-user span { color: var(--accent); font-weight: 600; }
  .btn-logout {
    background: transparent; border: 1px solid var(--border);
    color: var(--muted); padding: 6px 14px; border-radius: 6px;
    cursor: pointer; font-size: 0.8rem; transition: all 0.2s;
    font-family: 'Space Grotesk', sans-serif;
  }
  .btn-logout:hover { border-color: var(--accent2); color: var(--accent2); }

  /* AUTH */
  #auth-page {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,166,35,0.08) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0,212,255,0.05) 0%, transparent 50%),
                var(--bg);
  }
  .auth-container { width: 100%; max-width: 480px; padding: 2rem; }
  .auth-header { text-align: center; margin-bottom: 2.5rem; }
  .auth-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem; letter-spacing: 6px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
  }
  .auth-header p { color: var(--muted); font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; margin-top: 0.5rem; }
  .auth-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 2.5rem;
    position: relative; overflow: hidden;
  }
  .auth-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  }
  .auth-tabs { display: flex; background: var(--surface); border-radius: 10px; padding: 4px; margin-bottom: 2rem; }
  .auth-tab {
    flex: 1; padding: 10px; border: none; background: transparent; color: var(--muted);
    border-radius: 7px; cursor: pointer; font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; font-size: 0.9rem; transition: all 0.25s;
  }
  .auth-tab.active { background: var(--accent); color: #000; }
  .form-group { margin-bottom: 1.25rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
  input, select {
    width: 100%; padding: 12px 14px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 8px; color: var(--text);
    font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  }
  input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,166,35,0.12); }
  select option { background: var(--surface); }
  .btn-primary {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--accent), #e09000);
    border: none; border-radius: 10px; color: #000;
    font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 3px;
    cursor: pointer; transition: all 0.2s; margin-top: 0.5rem;
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245,166,35,0.3); }
  .form-error { color: var(--accent2); font-size: 0.82rem; margin-top: 1rem; text-align: center; display: none; }
  .form-error.show { display: block; }

  /* HERO */
  .hero {
    position: relative; overflow: hidden; padding: 5rem 2rem 4rem; text-align: center;
    background:
      radial-gradient(ellipse 100% 80% at 50% -20%, rgba(245,166,35,0.15) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 20% 80%, rgba(230,57,70,0.1) 0%, transparent 50%),
      radial-gradient(ellipse 50% 30% at 80% 80%, rgba(0,212,255,0.07) 0%, transparent 50%),
      linear-gradient(rgba(8,10,15,0.75), rgba(8,10,15,0.95)),
      url('government-engineering-college-hassan-271688.webp') center/cover no-repeat;
  }
  .hero-badge {
    display: inline-block; background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.3);
    color: var(--accent); padding: 6px 18px; border-radius: 100px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 12vw, 9rem);
    letter-spacing: 8px; line-height: 0.9;
    background: linear-gradient(135deg, #fff 20%, var(--accent) 50%, var(--accent2) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 1rem;
  }
  .hero-sub { font-size: 1rem; color: var(--muted); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 3rem; }
  .countdown-bar { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
  .cd-block {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.25rem 1.5rem; min-width: 80px; text-align: center;
  }
  .cd-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--accent); line-height: 1; }
  .cd-label { font-size: 0.65rem; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

  .college-info { width: 100%; max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem; overflow: hidden; }
  .section-title {
    font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: 4px;
    margin-bottom: 2.5rem; position: relative; display: inline-block; text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #b0b5c0 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }
  .section-title::after {
    content: ''; position: absolute; bottom: -8px; left: 0; width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 2px;
  }
  .college-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 2rem; margin-bottom: 5rem; 
  }
  .info-card {
    position: relative; background: rgba(14, 17, 23, 0.6); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05); border-radius: 24px; padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden; z-index: 1; display: flex; flex-direction: column; align-items: flex-start;
  }
  .info-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: linear-gradient(135deg, rgba(245,166,35,0.1), transparent 60%);
    opacity: 0; transition: opacity 0.4s ease;
  }
  .info-card:hover {
    transform: translateY(-12px); border-color: rgba(245,166,35,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(245,166,35,0.1);
  }
  .info-card:hover::before { opacity: 1; }
  .info-card .ic-icon-wrap {
    width: 64px; height: 64px; border-radius: 16px;
    background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; font-size: 2rem; color: var(--accent);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .info-card:hover .ic-icon-wrap {
    transform: scale(1.1) rotate(-5deg); background: rgba(245,166,35,0.2); border-color: var(--accent);
  }
  .info-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; color: #fff; }
  .info-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin: 0; }

  /* FEST SCHEDULE TIMELINE REDESIGN */
  .schedule-timeline {
    position: relative; max-width: 1000px; margin: 4rem auto; padding: 2rem 1rem;
  }
  .schedule-timeline::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
    background: linear-gradient(to bottom, transparent, var(--accent), var(--accent3), var(--accent2), transparent);
    transform: translateX(-50%); border-radius: 4px; opacity: 0.5;
  }
  .timeline-item {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 5rem; position: relative; width: 100%;
  }
  .timeline-item:nth-child(even) { flex-direction: row-reverse; }
  .timeline-date {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 90px; height: 90px; background: rgba(14, 17, 23, 0.9); backdrop-filter: blur(10px);
    border: 2px solid rgba(245,166,35,0.4); border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 10; box-shadow: 0 0 20px rgba(245,166,35,0.1), inset 0 0 15px rgba(245,166,35,0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .timeline-item:hover .timeline-date {
    transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
    box-shadow: 0 0 30px rgba(245,166,35,0.5), inset 0 0 20px rgba(245,166,35,0.3);
    border-color: var(--accent); background: #000;
  }
  .t-day { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--accent); line-height: 1; text-shadow: 0 0 10px rgba(245,166,35,0.5); }
  .t-month { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; color: var(--text); }
  .timeline-content {
    width: calc(50% - 70px);
    background: linear-gradient(145deg, rgba(19, 23, 32, 0.7), rgba(14, 17, 23, 0.9));
    backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px; overflow: hidden; position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  }
  .timeline-content::after {
    content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 2px;
    background: linear-gradient(135deg, rgba(245,166,35,0.8), rgba(0,212,255,0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude; opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
  }
  .timeline-item:hover .timeline-content {
    transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  }
  .timeline-item:hover .timeline-content::after { opacity: 1; }
  .t-header { padding: 1.75rem; position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .t-tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--text); opacity: 0.9; margin-bottom: 0.5rem; display: block; }
  .t-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; letter-spacing: 2px; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.5); margin: 0; }
  .t-body { padding: 1.75rem; }
  .t-events { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 0; }
  .t-events li { font-size: 1rem; color: var(--muted); display: flex; align-items: center; gap: 1rem; transition: color 0.2s, transform 0.2s; }
  .timeline-item:hover .t-events li { color: var(--text); transform: translateX(5px); }
  .t-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); transition: all 0.3s; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,255,255,0.02); }
  .timeline-item:hover .t-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(245,166,35,0.2), 0 0 10px var(--accent); }
  
  @media (max-width: 768px) {
    .schedule-timeline::before { left: 30px; transform: none; }
    .timeline-item { flex-direction: column !important; align-items: flex-start !important; margin-bottom: 3rem; padding-left: 60px; }
    .timeline-item:nth-child(even) { flex-direction: column !important; }
    .timeline-date { 
      position: absolute; left: 30px; top: 0; transform: translate(-50%, 0); 
      width: 60px; height: 60px; border-width: 1px;
    }
    .timeline-item:hover .timeline-date { transform: translate(-50%, 0) scale(1.1); }
    .t-day { font-size: 1.5rem; }
    .t-month { font-size: 0.6rem; }
    .timeline-content { width: 100%; }
  }

  /* QUICK LIST REDESIGN */
  .quick-list-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; margin-top: 2.5rem;
  }
  .ql-category-card {
    background: linear-gradient(145deg, rgba(19, 23, 32, 0.8), rgba(14, 17, 23, 0.9));
    backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px; padding: 2rem; position: relative; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .ql-category-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
  }
  .ql-category-card:hover {
    transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.1);
  }
  .ql-category-card:hover::before { transform: scaleX(1); }
  .ql-cat-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
  .ql-cat-icon {
    width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff;
  }
  .ql-cat-title {
    font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 2px;
    color: var(--accent); margin: 0; line-height: 1;
  }
  .ql-events-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; }
  .ql-events-list li {
    display: flex; align-items: center; gap: 0.75rem; color: var(--text); font-size: 0.95rem; font-weight: 500;
    padding: 0.6rem 1rem; background: rgba(255,255,255,0.02); border-radius: 8px; transition: all 0.2s ease;
    cursor: default; border: 1px solid transparent;
  }
  .ql-events-list li::before {
    content: '✦'; color: var(--accent3); font-size: 1.2rem; line-height: 0; transition: transform 0.2s ease;
  }
  .ql-events-list li:hover {
    background: rgba(245,166,35,0.05); border-color: rgba(245,166,35,0.2);
    color: #fff; transform: translateX(5px);
  }
  .ql-events-list li:hover::before { transform: rotate(90deg); color: var(--accent); }

  /* EVENTS PAGE */
  .events-page { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; }
  .filter-container { margin-bottom: 2.5rem; position: relative; }
  .filter-toggle-btn {
    display: none;
    width: 100%;
    padding: 12px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .filter-toggle-btn .chevron {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--accent);
  }
  .filter-toggle-btn.active .chevron { transform: rotate(180deg); }

  .events-filter { display: flex; gap: 0.75rem; flex-wrap: wrap; }
  .filter-btn {
    padding: 8px 20px; border: 1px solid var(--border); background: transparent;
    color: var(--muted); border-radius: 100px; cursor: pointer;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
  }
  .filter-btn:hover, .filter-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }
  .events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
  .event-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    overflow: hidden; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  }
  .event-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: rgba(245,166,35,0.3); }
  .event-banner {
    height: 160px; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .event-banner img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
    transition: transform 0.4s ease;
  }
  .event-card:hover .event-banner img { transform: scale(1.07); }
  .event-banner .banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, var(--card) 100%);
  }
  .event-banner .banner-emoji { position: relative; z-index: 2; font-size: 3rem; }
  .event-body { padding: 1.25rem; }
  .event-category { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
  .event-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 1px; }
  .event-meta { display: flex; gap: 1rem; margin-top: 0.75rem; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
  .event-meta span { display: flex; align-items: center; gap: 0.35rem; }
  .event-fee-badge {
    display: inline-block; background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.3);
    color: var(--accent); padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 700;
    margin-top: 0.5rem; font-family: 'JetBrains Mono', monospace;
  }
  .reg-badge {
    display: inline-block; background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3);
    color: var(--success); padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 700;
  }

  /* EVENT MODAL */
  .event-detail-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(8,10,15,0.95); backdrop-filter: blur(20px);
    display: none; align-items: flex-start; justify-content: center;
    padding: 2rem 1rem; overflow-y: auto;
  }
  .event-detail-overlay.show { display: flex; }
  .event-detail-modal {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; width: 100%; max-width: 760px;
    position: relative; overflow: hidden;
    animation: slideUp 0.3s ease; margin: auto;
  }
  @keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  .modal-close {
    position: absolute; top: 1rem; right: 1rem; z-index: 10;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text); cursor: pointer; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
  }
  .modal-close:hover { background: var(--accent2); border-color: var(--accent2); }
  .modal-banner {
    height: 220px; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .modal-banner img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5;
  }
  .modal-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, var(--card) 100%);
  }
  .modal-banner-emoji { position: relative; z-index: 2; font-size: 5rem; }
  .modal-body { padding: 1.75rem 2rem 2rem; }
  .modal-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
  .modal-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; letter-spacing: 2px; line-height: 1; margin-bottom: 1rem; }
  .modal-meta-row {
    display: flex; gap: 1.5rem; flex-wrap: wrap; padding: 1rem 0;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
  }
  .modal-meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
  .modal-meta-label { font-size: 0.68rem; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
  .modal-meta-value { font-size: 0.95rem; font-weight: 600; }
  .modal-desc { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.95rem; }
  .modal-section-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; letter-spacing: 2px; margin-bottom: 1rem; color: var(--accent3); }
  .instructions-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
  .instructions-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
  .inst-num {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
    background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3);
    color: var(--accent); font-size: 0.72rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .coords-grid { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
  .coord-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 1rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  }
  .coord-info { display: flex; align-items: center; gap: 1rem; }
  .coord-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: #000; flex-shrink: 0;
  }
  .coord-name { font-weight: 600; font-size: 0.95rem; }
  .coord-role { font-size: 0.8rem; color: var(--muted); }
  .coord-phone {
    font-family: 'JetBrains Mono', monospace; font-size: 0.85rem;
    color: var(--accent3); text-decoration: none; white-space: nowrap;
    transition: color 0.2s;
  }
  .coord-phone:hover { color: var(--accent); }
  .modal-reg-btn {
    width: 100%; padding: 16px; display: block; text-align: center; text-decoration: none; box-sizing: border-box;
    background: linear-gradient(135deg, var(--accent), #e09000);
    border: none; border-radius: 12px; color: #000;
    font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 3px;
    cursor: pointer; transition: all 0.2s;
  }
  .modal-reg-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,166,35,0.4); }
  .modal-reg-btn.registered { background: var(--surface); color: var(--success); border: 1px solid rgba(34,197,94,0.3); cursor: default; }
  .modal-reg-btn.registered:hover { transform: none; box-shadow: none; }
  .fee-highlight {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.3);
    color: var(--accent); padding: 6px 14px; border-radius: 8px;
    font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; font-weight: 700;
    margin-bottom: 1.5rem;
  }

  /* CONTACT PAGE */
  .contact-page-wrap { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; }
  .contact-section { margin-bottom: 5rem; }
  .contact-subtitle {
    color: var(--muted); font-size: 1rem; margin-top: -1.5rem; margin-bottom: 2.5rem;
    letter-spacing: 1px;
  }

  /* Organizer Cards */
  .organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.75rem;
  }
  .organizer-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 20px;
    overflow: hidden; text-align: center; padding: 2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
  }
  .organizer-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
  }
  .organizer-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: rgba(245,166,35,0.3); }
  .organizer-card:hover::before { transform: scaleX(1); }
  .org-photo-wrap {
    width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 1.25rem;
    border: 3px solid rgba(245,166,35,0.35);
    background: rgba(245,166,35,0.08);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
  }
  .org-photo-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
  .org-photo-placeholder { font-size: 2.5rem; line-height: 1; }
  .org-name { font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: 0.5rem; }
  .org-meta { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
  .org-year, .org-branch {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px;
    padding: 3px 10px; border-radius: 100px;
  }
  .org-year { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25); color: var(--accent3); }
  .org-branch { background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.25); color: var(--accent); }
  .org-role { font-size: 0.82rem; color: var(--muted); font-weight: 500; letter-spacing: 0.5px; }

.campus-map-section {margin-bottom: 5rem;}
  .campus-map-wrap {
    background: var(--card); border: 1px solid var(--border); border-radius: 20px;
    overflow: hidden; position: relative;
  }
  .campus-map-badge {
    padding: 0.85rem 1.5rem;
    background: rgba(245,166,35,0.08); border-bottom: 1px solid var(--border);
    color: var(--accent); font-size: 0.85rem; font-weight: 600; letter-spacing: 1px;
    display: flex; align-items: center; gap: 0.5rem;
  }
.campus-map-img {
    width: 100%; height: 500px; display: block;
    object-fit: contain;
    background: #f5f0e0;
  }
  .campus-map-caption {
    padding: 0.85rem 1.5rem; border-top: 1px solid var(--border);
    color: var(--muted); font-size: 0.82rem; text-align: center; letter-spacing: 0.5px;
  }

  @media (max-width: 768px) {
    .contact-page-wrap { padding: 2rem 1rem; }
    .organizers-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
    .organizer-card { padding: 1.5rem 1rem; }
    .org-photo-wrap { width: 72px; height: 72px; }
    .org-photo-placeholder { font-size: 2rem; }
    .campus-map-img { height: 350px; object-fit: contain; }
  }
  @media (max-width: 480px) {
    .organizers-grid { grid-template-columns: repeat(2, 1fr); }
    .campus-map-img { height: 400px; }
    .campus-map-badge { font-size: 0.75rem; }
  }

  /* FOOTER */
  footer {
    border-top: 1px solid var(--border);
    padding: 2rem; text-align: center;
    color: var(--muted); font-size: 0.82rem;
    margin-top: 2rem;
    background: rgba(8,10,15,0.8);
  }

  /* TOAST */
  .toast {
    position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--success); color: #fff; padding: 12px 24px; border-radius: 100px;
    font-weight: 600; font-size: 0.9rem; z-index: 9998;
    opacity: 0; transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none; visibility: hidden;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); visibility: visible; }

  .mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 2rem; cursor: pointer; }
  .nav-menu { display: flex; align-items: center; gap: 2rem; }

  @media (max-width: 768px) {
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      width: 100%;
    }
    body {
      padding-top: 64px;
    }
    .mobile-menu-btn { display: block; }
    .nav-menu {
      display: none; position: absolute; top: 64px; left: 0; right: 0;
      background: rgba(8,10,15,0.98); backdrop-filter: blur(20px);
      flex-direction: column; gap: 2rem; padding: 2.5rem 2rem;
      border-bottom: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    }
    .nav-menu.show { display: flex; }
    .nav-links { flex-direction: column; width: 100%; text-align: center; gap: 1.5rem; }
    .nav-user { flex-direction: column; width: 100%; justify-content: center; }
    .nav-links a { font-size: 1.1rem; }
    .events-filter { justify-content: center; }
    .hero-badge { margin-bottom: 1rem; }
    .hero h1 { font-size: 4rem; letter-spacing: 4px; }
  }

  @media (max-width: 480px) {
    .modal-meta-row { gap: 1rem; }
    .coord-card { flex-direction: column; align-items: flex-start; }
    .modal-body { padding: 1.25rem; }
    .nav-links { gap: 1rem; }
    .hero h1 { font-size: 3rem; letter-spacing: 2px; }
    .hero { padding: 3rem 1rem 2rem; }
    .countdown-bar { gap: 0.5rem; margin-bottom: 2rem; }
    .cd-block { padding: 0.75rem 0.75rem; min-width: 60px; border-radius: 8px; }
    .cd-num { font-size: 1.8rem; }
    .cd-label { font-size: 0.55rem; letter-spacing: 1px; }
  }


  /* Moving Background */
  @keyframes bgShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  body::after {
    content: '';
    position: fixed; inset: 0;
    background: linear-gradient(-45deg, #080a0f, #16112a, #0d1b2a, #1a0a0a);
    background-size: 400% 400%;
    animation: bgShift 15s ease infinite;
    z-index: -2;
  }
  
  #auth-page {
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,166,35,0.15) 0%, transparent 60%), transparent !important;
  }

  /* Auth Page Animation */
  @keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .auth-container {
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .auth-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  }
  .auth-card:hover {
    box-shadow: 0 15px 40px rgba(245,166,35,0.2) !important;
    transform: translateY(-5px);
  }

  /* Global Animations */
  .hero h1 { animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .hero-sub { animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards; opacity: 0; }
  .hero-badge { animation: fadeIn 1s ease 0.3s forwards; opacity: 0; }
  .countdown-bar { animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; opacity: 0; }

  /* Scroll Animation Classes */
  .reveal-hidden {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }
  .reveal-up { transform: translateY(60px); }
  .reveal-left { transform: translateX(-60px); }
  .reveal-right { transform: translateX(60px); }
  .reveal-scale { transform: scale(0.9); }
  
  .reveal-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
  }

  /* Day Cards Enhancement */
  .day-card {
    background: rgba(19, 23, 32, 0.6) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05) !important;
    position: relative;
    overflow: hidden;
  }
  .day-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(245,166,35,0.8), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }
  .day-card:hover::after {
    opacity: 1;
  }
  .day-card:hover {
    transform: translateY(-12px) scale(1.03) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6) !important;
  }
  .day-header {
    transition: all 0.4s ease !important;
  }
  .day-card:hover .day-header {
    filter: brightness(1.2);
  }

  /* Form Inputs Animation */
  input, select {
    transition: transform 0.3s ease, border-color 0.2s, box-shadow 0.2s !important;
  }
  input:focus, select:focus {
    transform: translateY(-2px);
  }
  
  /* Floating elements in background */
  @keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
  }
  .auth-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
  }

  /* Pulse button - removed to avoid phantom button appearance */
  @keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(245,166,35,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245,166,35,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
  }

/* ============================================
   PAGE LOADER ANIMATION
   ============================================ */
#page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}
.loader-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 2s linear infinite, loaderPop 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes shimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes loaderPop {
  from { opacity: 0; transform: scale(0.7) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.loader-sub {
  font-size: 0.72rem; letter-spacing: 6px; text-transform: uppercase;
  color: var(--muted);
  animation: fadeIn 0.8s ease 0.3s both;
}
.loader-bar-wrap {
  width: 220px; height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px; overflow: hidden;
  animation: fadeIn 0.5s ease 0.2s both;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  border-radius: 10px;
  animation: loadBar 2s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loadBar {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}
.loader-dots {
  display: flex; gap: 0.5rem;
  animation: fadeIn 0.5s ease 0.4s both;
}
.loader-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 1.2s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; background: var(--accent2); }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; background: var(--accent3); }
@keyframes dotPulse {
  0%, 100% { transform: scale(0.6); opacity: 0.3; }
  50%       { transform: scale(1.3); opacity: 1; }
}

/* page reveal once loader hides */
body.loaded > *:not(#page-loader) {
  animation: pageReveal 0.5s ease forwards;
}
@keyframes pageReveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PRINCIPAL SECTION
   ============================================ */
.principal-section {
  max-width: 1000px; margin: 0 auto 5rem;
  padding: 0 1.5rem;
}
.principal-card {
  position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(145deg, rgba(19,23,32,0.7), rgba(8,10,15,0.95));
  border: 1px solid rgba(245,166,35,0.18);
  backdrop-filter: blur(20px);
  padding: 3rem;
  display: flex; gap: 3rem; align-items: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.principal-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
}
.principal-card::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.principal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(245,166,35,0.08);
  border-color: rgba(245,166,35,0.35);
}
.principal-photo-wrap {
  flex-shrink: 0;
  width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(230,57,70,0.1));
  border: 3px solid rgba(245,166,35,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; position: relative; overflow: hidden;
  box-shadow: 0 0 0 6px rgba(245,166,35,0.06), 0 0 30px rgba(245,166,35,0.15);
}
.principal-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.principal-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent); padding: 5px 14px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 1rem;
}
.principal-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem); letter-spacing: 3px;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 0.5rem;
}
.principal-title {
  font-size: 0.82rem; color: var(--muted); letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 1.5rem;
}
.principal-message {
  color: rgba(232,234,240,0.8); font-size: 1rem; line-height: 1.8;
  font-style: italic; position: relative; padding-left: 1.25rem;
  border-left: 3px solid rgba(245,166,35,0.4);
}
.principal-message::before {
  content: '"';
  position: absolute; top: -0.5rem; left: -0.5rem;
  font-size: 3rem; color: var(--accent); opacity: 0.3;
  font-family: Georgia, serif; line-height: 1;
}
.principal-contact {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 1.5rem; color: var(--muted); font-size: 0.85rem;
}
.principal-contact a {
  color: var(--accent3); text-decoration: none;
  font-family: 'JetBrains Mono', monospace; font-size: 0.82rem;
  transition: color 0.2s;
}
.principal-contact a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .principal-card {
    flex-direction: column; text-align: center; padding: 2rem 1.5rem; gap: 1.75rem;
  }
  .principal-message { padding-left: 0; border-left: none; padding-top: 1rem; border-top: 3px solid rgba(245,166,35,0.3); }
  .principal-message::before { display: none; }
  .principal-contact { justify-content: center; flex-wrap: wrap; }
}

/* ============================================
   CONTACT PAGE REDESIGN
   ============================================ */
.contact-hero {
  text-align: center; padding: 2rem 2rem 2rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 80% 80%, rgba(245,166,35,0.07) 0%, transparent 50%);
}
.contact-hero-badge {
  display: inline-block;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  color: var(--accent3); padding: 6px 18px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.8s ease both;
}
.contact-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem); letter-spacing: 8px; line-height: 0.9;
  background: linear-gradient(135deg, #fff 20%, var(--accent3) 60%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 1rem;
  animation: slideInUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
.contact-hero p {
  color: var(--muted); font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase;
  animation: slideInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s both; opacity: 0;
}

/* Organizer Cards - Redesigned */
.organizers-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.organizer-card-v2 {
  background: linear-gradient(145deg, rgba(19,23,32,0.8), rgba(14,17,23,0.95));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px; padding: 1.75rem;
  display: flex; align-items: center; gap: 1.25rem;
  position: relative; overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  cursor: default;
}
.organizer-card-v2::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.35s ease;
}
.organizer-card-v2:hover {
  transform: translateY(-8px) translateX(4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0,212,255,0.07);
  border-color: rgba(0,212,255,0.25);
}
.organizer-card-v2:hover::before { opacity: 1; }
.org-avatar-v2 {
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(245,166,35,0.15));
  border: 2px solid rgba(0,212,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; position: relative; overflow: hidden;
  box-shadow: 0 0 0 4px rgba(0,212,255,0.05);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s;
}
.organizer-card-v2:hover .org-avatar-v2 {
  transform: scale(1.12) rotate(-4deg);
  border-color: var(--accent3);
}
.org-avatar-v2 img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.org-details-v2 { flex: 1; min-width: 0; }
.org-name-v2 {
  font-weight: 700; font-size: 1.2rem; color: var(--text);
  margin-bottom: 0.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.org-tags-v2 { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.org-tag {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 100px;
}
.org-tag.year { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); color: var(--accent3); }
.org-tag.branch { background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.2); color: var(--accent); }
.org-phone-v2 a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 0.4rem;
}
.org-phone-v2 a:hover { color: var(--accent3); }
.org-dept-label {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); opacity: 0.5;
  transition: opacity 0.3s;
}
.organizer-card-v2:hover .org-dept-label { opacity: 1; color: var(--accent3); }

/* Department dividers */
.dept-group { margin-bottom: 3rem; }
.dept-label-head {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.dept-label-head .dept-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem; letter-spacing: 4px; color: var(--accent3); white-space: nowrap;
}
.dept-label-head::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(0,212,255,0.3), transparent);
}

/* Campus map section */
.campus-map-v2 {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; overflow: hidden; position: relative;
  transition: box-shadow 0.3s ease;
}
.campus-map-v2:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.campus-map-header-v2 {
  padding: 1.25rem 1.75rem;
  background: linear-gradient(90deg, rgba(0,212,255,0.06), rgba(245,166,35,0.04));
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.campus-map-header-v2 .map-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; letter-spacing: 4px; color: var(--text);
}
.campus-map-header-v2 .map-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25); padding: 4px 12px; border-radius: 100px;
}
.campus-map-img-v2 {
  width: 100%; height: 520px; display: block;
  object-fit: contain; background: #f5f0e0;
}
.campus-map-footer-v2 {
  padding: 1rem 1.75rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 0.82rem;
}

/* Reach us section */
.reach-us-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 1rem;
}
.reach-card {
  background: linear-gradient(145deg, rgba(19,23,32,0.8), rgba(14,17,23,0.95));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.reach-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent3), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.reach-card:hover {
  transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  border-color: rgba(0,212,255,0.2);
}
.reach-card:hover::before { transform: scaleX(1); }
.reach-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.reach-card:hover .reach-icon { transform: scale(1.15) rotate(-8deg); }
.reach-content { flex: 1; }
.reach-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.25rem;
}
.reach-value {
  font-size: 0.95rem; font-weight: 600; color: var(--text);
}
.reach-value a {
  color: var(--accent3); text-decoration: none; transition: color 0.2s;
}
.reach-value a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .reach-us-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .organizers-grid-v2 { grid-template-columns: 1fr; }
  .campus-map-img-v2 { height: 380px; }
  .reach-us-grid { grid-template-columns: 1fr; }
  
  /* RESPONSIVE EVENTS */
  .events-page { padding: 2rem 1rem; }
  .filter-toggle-btn { display: flex; margin-bottom: 0.5rem; }
  .events-filter { 
    display: none; 
    flex-direction: column; 
    gap: 0; 
    background: var(--card); 
    border: 1px solid var(--border); 
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 0;
  }
  .events-filter.show { display: flex; }
  .filter-btn { 
    padding: 12px 20px; 
    font-size: 0.9rem; 
    width: 100%; 
    text-align: left; 
    border-radius: 0; 
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .filter-btn:last-child { border-bottom: none; }
  .filter-btn.active { background: rgba(245,166,35,0.1); color: var(--accent); }
  .events-grid { grid-template-columns: 1fr; gap: 1rem; }
  .event-banner { height: 140px; }
  .event-name { font-size: 1.4rem; }
  .modal-title { font-size: 2rem; }
  .modal-body { padding: 1.25rem; }
  .modal-meta-row { gap: 1rem; }
  .modal-banner { height: 160px; }
  .modal-banner-emoji { font-size: 3.5rem; }
}

@media (max-width: 768px) and (min-width: 481px) {
  .events-page { padding: 2.5rem 1.5rem; }
  .filter-toggle-btn { display: flex; margin-bottom: 0.5rem; }
  .events-filter { 
    display: none; 
    flex-direction: column; 
    gap: 0; 
    background: var(--card); 
    border: 1px solid var(--border); 
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 0;
  }
  .events-filter.show { display: flex; }
  .filter-btn { 
    padding: 12px 20px; 
    font-size: 0.9rem; 
    width: 100%; 
    text-align: left; 
    border-radius: 0; 
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .filter-btn:last-child { border-bottom: none; }
  .filter-btn.active { background: rgba(245,166,35,0.1); color: var(--accent); }
  .events-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}


/* org-phone styles */
.org-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem; color: var(--accent3); margin-top: 0.25rem;
}