/* --- Root Cyberpunk Color Variables (Gold/Amber Theme) --- */
:root {
  --bg-dark: #050402;
  --bg-card: rgba(18, 14, 8, 0.65);
  --cyan-neon: #ffaa00;        /* Gold/Amber primary accents */
  --purple-neon: #ff6a00;      /* Warm fiery orange secondary accents */
  --magenta-neon: #ffd700;     /* Vibrant bright gold contrast */
  --text-main: #ffffff;        /* Changed to bright white for vibrancy */
  --text-muted: #ffe1b3;       /* Vibrant warm pastel */
  --glass-border: rgba(255, 170, 0, 0.25); /* Increased opacity slightly for visibility */
  --font-heading: 'Orbitron', sans-serif;
  --font-mono: 'Fira Code', monospace;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* Background Video Setup */
.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background-color: var(--bg-dark);
}

#bgVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5,4,2,0.4) 0%, rgba(5,4,2,0.7) 100%);
  z-index: -1;
}

/* ==========================================
   New Top Bar Styles (Logos + Learn/Work/Succeed)
   ========================================== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background: rgba(5, 4, 2, 0.95);
  border-bottom: 1px solid var(--cyan-neon);
  z-index: 1100;
  backdrop-filter: blur(10px);
}

.top-bar-left, .top-bar-center, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 170, 0, 0.6));
}

.top-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan-neon);
  text-shadow: 0 0 8px var(--cyan-neon);
  letter-spacing: 2px;
}

/* Navbar Setup */
.navbar {
  position: fixed;
  top: 60px; /* Pushed down to make room for the new Top Bar */
  left: 0;
  width: 100%;
  background: rgba(7, 9, 19, 0.90);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 0.6rem 0;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  width: 100%;
}

.logo-title-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
}

.logo .highlight {
  color: var(--cyan-neon);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 0.8rem;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--cyan-neon);
  text-shadow: 0 0 8px var(--cyan-neon);
}

.btn-glow {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(255, 170, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  white-space: nowrap;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 106, 0, 0.7);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Increased top padding to account for Top Bar + Navbar height */
  padding: 10.5rem 1rem 3rem 1rem;
  position: relative;
  width: 100%;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid var(--cyan-neon);
  border-radius: 50px;
  color: var(--cyan-neon);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  word-break: break-word;
}

.college-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-main);
  letter-spacing: 1px;
}

.college-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.glitch {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(to right, #ffffff, var(--cyan-neon), var(--purple-neon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.tagline {
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 2.5rem;
}

.event-date {
  color: var(--magenta-neon);
  font-weight: bold;
}

/* Countdown */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  width: 100%;
  flex-wrap: wrap;
}

.time-box {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  min-width: 80px;
  backdrop-filter: blur(8px);
}

.time-box span {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--cyan-neon);
  display: block;
}

.time-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: var(--cyan-neon);
  color: #000;
  box-shadow: 0 0 15px rgba(255, 170, 0, 0.4);
}

.btn-secondary {
  border: 1px solid var(--purple-neon);
  color: var(--text-main);
  background: rgba(255, 106, 0, 0.1);
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-3px);
}

/* Main Section Containers */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-family: var(--font-heading);
  color: var(--cyan-neon);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--cyan-neon);
  color: #000;
  border-color: var(--cyan-neon);
}

/* Grids */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  width: 100%;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  transition: 0.4s;
  backdrop-filter: blur(10px);
}

.event-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan-neon);
  box-shadow: 0 10px 30px rgba(255, 170, 0, 0.15);
}

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid var(--cyan-neon);
  color: var(--cyan-neon);
  border-radius: 4px;
}

.card-icon {
  font-size: 2.2rem;
  color: var(--cyan-neon);
  margin-bottom: 1rem;
}

.event-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.event-card .sub {
  color: var(--purple-neon);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.event-card .desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.btn-card {
  width: 100%;
  padding: 0.7rem;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-card:hover {
  background: var(--cyan-neon);
  color: #000;
}

/* Rewards Glass Box */
.glass-box {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.15), rgba(255, 170, 0, 0.05));
  border: 1px solid var(--purple-neon);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  width: 100%;
}

.reward-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  flex-wrap: wrap;
  gap: 2rem;
}

.reward-text {
  flex: 1;
  min-width: 280px;
}

.reward-icon-right {
  font-size: 7rem;
  color: var(--cyan-neon);
  text-shadow: 0 0 25px rgba(255, 170, 0, 0.6);
  animation: floatTrophy 4s ease-in-out infinite;
}

.reward-badges {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.r-badge {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  color: var(--cyan-neon);
  font-weight: 600;
}

/* Coordinators Grid */
.coordinators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.coord-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.coord-card h4 {
  font-size: 1.1rem;
  color: #fff;
}
/* Circular Coordinator Profile Picture */
.coord-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--cyan-neon);
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}

.coord-card .role {
  color: var(--cyan-neon);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.coord-card .phone {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================
   Coordinator Card Call & Message Buttons
   ========================================== */
.coord-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.btn-coord {
  flex: 1;
  padding: 8px 0;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
  border: 1px solid var(--cyan-neon);
}

.call-btn {
  background: var(--cyan-neon);
  color: #000;
}

.call-btn:hover {
  background: transparent;
  color: var(--cyan-neon);
}

.msg-btn {
  background: transparent;
  color: var(--cyan-neon);
}

.msg-btn:hover {
  background: var(--cyan-neon);
  color: #000;
}

/* Venue & Google Map */
.venue-card {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.venue-card iframe {
  width: 100% !important;
  height: 380px;
  border: 0;
  display: block;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.modal-content {
  background: #0f172a;
  border: 1px solid var(--cyan-neon);
  margin: 10% auto;
  padding: 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 550px;
  color: var(--text-main);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
}

.close-btn:hover {
  color: var(--cyan-neon);
}

/* Chat Styles */
.ai-msg {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.ai-msg.user {
  background: rgba(255, 170, 0, 0.2);
  color: var(--cyan-neon);
  text-align: right;
}

.ai-msg.model {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* Anime Companion */
#anime-companion-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#anime-mascot {
  width: 80px;
  height: 80px;
  cursor: pointer;
  filter: drop-shadow(0 0 12px var(--cyan-neon));
  animation: floatMascot 3s ease-in-out infinite;
  transition: transform 0.2s ease;
}

#anime-char-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#anime-speech-bubble {
  background: rgba(18, 14, 8, 0.92);
  border: 1px solid var(--cyan-neon);
  box-shadow: 0 0 15px rgba(255, 170, 0, 0.3);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-bottom: 8px;
  max-width: 200px;
  text-align: center;
  position: relative;
  cursor: pointer;
  backdrop-filter: blur(8px);
  animation: pulseGlow 2.5s infinite;
}

#anime-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: var(--cyan-neon) transparent;
  display: block;
  width: 0;
}

/* Keyframe Animations */
@keyframes floatTrophy {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 170, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 170, 0, 0.6); }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Updated Symposium Footer 
   ========================================== */
.symposium-footer {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  padding: 40px 0 0 0;
  width: 100%;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 10;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  gap: 30px;
}

/* Symposium Content */
.footer-section {
  flex: 1;
  min-width: 250px;
}

.about-symposium h2 {
  color: var(--cyan-neon);
  margin-bottom: 15px;
  font-size: 24px;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

.about-symposium p {
  line-height: 1.6;
  font-size: 15px;
  color: var(--text-muted);
}

.connect-with-us h3 {
  color: var(--text-main);
  margin-bottom: 20px;
  font-size: 18px;
  font-family: var(--font-heading);
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 15px;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--bg-card);
  color: var(--text-main);
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
}

.btn-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 170, 0, 0.3);
}

.btn-social.facebook:hover {
  background-color: #1877F2;
  border-color: #f5f7f8;
  color: #fff;
}

.btn-social.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #f9fbfc;
  color: #fff;
}

.btn-social.linkedin:hover {
  background-color: #0077b5; /* Official LinkedIn Blue */
  border-color: #f9fbfc;
  color: #fff;
}

/* Footer Bottom (Recreating provided image) */
.footer-bottom {
  border-top: 1px solid #4a3600; 
  background-color: #0b0701; 
  text-align: center;
  padding: 20px 10px;
}

.footer-bottom p {
  margin: 5px 0;
  font-size: 15px;
  color: var(--text-muted);
}

.highlight-names {
  color: var(--cyan-neon); 
  font-weight: 500;
}


/* ==========================================
   Comprehensive Responsive Media Queries
   ========================================== */

/* Tablets & Small Laptops (max-width: 992px) */
@media (max-width: 992px) {
  .glitch {
    font-size: 2.8rem;
  }

  .reward-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .reward-text {
    min-width: 100%;
  }

  .reward-icon-right {
    font-size: 5.5rem;
  }

  .reward-badges {
    justify-content: center;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .top-bar {
    padding: 0 0.5rem;
  }
  
  .top-logo {
    height: 25px;
  }
  
  .top-text {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .navbar {
    padding: 0.5rem 0;
  }

  .nav-container {
    padding: 0 0.8rem;
  }

  .logo-title-group {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1rem;
  }

  .nav-links {
    display: none; /* Hides menu links to prevent header overlap */
  }

  .btn-glow {
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
  }

  .hero-section {
    padding: 9.5rem 1rem 2.5rem 1rem; /* Adjusted for mobile view */
  }

  .college-title {
    font-size: 0.85rem;
  }

  .college-sub {
    font-size: 0.75rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }

  .glitch {
    font-size: 2.1rem;
  }

  .tagline {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.8rem;
  }

  .countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }

  .time-box {
    padding: 0.6rem 0.2rem;
    min-width: unset;
  }

  .time-box span {
    font-size: 1.25rem;
  }

  .time-box p {
    font-size: 0.6rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .section-container {
    padding: 3rem 1rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .events-grid,
  .coordinators-grid {
    grid-template-columns: 1fr;
  }

  .glass-box {
    padding: 1.5rem 1rem;
  }

  .r-badge {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .venue-card iframe {
    height: 280px;
  }

  .modal-content {
    width: 92%;
    margin: 20% auto;
    padding: 1.5rem;
  }

  #anime-companion-wrapper {
    bottom: 15px;
    right: 12px;
  }

  #anime-mascot {
    width: 70px;
    height: 70px;
  }

  #anime-speech-bubble {
    font-size: 0.7rem;
    max-width: 150px;
    padding: 5px 8px;
  }
  
  /* Footer Mobile alignment */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .social-buttons {
    justify-content: center;
  }
}

/* Extra Small Screens (max-width: 480px) */
@media (max-width: 480px) {
  .glitch {
    font-size: 1.7rem;
  }

  .college-title {
    font-size: 0.78rem;
  }

  .countdown-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}