:root {
  --bg-0: #040714;
  --bg-1: #090B1A;
  --accent-1: #3B82F6;
  --accent-2: #7C3AED;
  --accent-3: #06b6d4;
  --muted: rgba(230, 230, 255, 0.7);
  --glass-sheen: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  --glass-bg: rgba(15, 10, 35, 0.5);
  --glass-border: rgba(255, 255, 255, 0.15);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-height-desktop: 72px; 
  --header-height-mobile: 68px; 
  --header-gap: 68px;
  --header-gap-mobile: 45px;
}

* {
  box-sizing: border-box
}

html {
  background-color: var(--bg-1);
  overscroll-behavior-y: contain;
}
body {
  margin: 0;
  font-family: var(--font-main);
  color: #e9f8ff;
  background-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-top: calc(var(--header-height-desktop) + var(--header-gap));
}

.blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

@keyframes float {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  50% { transform: translateY(-30px) translateX(20px) rotate(180deg); }
  100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

.blob {
  position: absolute;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0.5;
  will-change: transform;
}

.b1 {
  width: 700px;
  height: 700px;
  top: -30%;
  left: -20%;
  background-color: var(--accent-1);
  animation: float 18s ease-in-out infinite;
}

.b2 {
  width: 600px;
  height: 600px;
  bottom: -30%;
  right: -20%;
  background-color: var(--accent-2);
  animation: float 15s ease-in-out infinite reverse;
  animation-delay: 2s;
}

.b3 {
  width: 500px;
  height: 500px;
  bottom: 20%;
  left: 10%;
  background-color: var(--accent-3);
  animation: float 22s ease-in-out infinite;
  animation-delay: 1s;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  margin: 0 auto;
  width: 95%;
  max-width: 1200px;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: rgba(10, 0, 31, 0.75);
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo { display: flex; align-items: center; gap: 12px }
.logo-mark-bg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.logo-image {
  width: 100%;
  height: 100%;
  filter: brightness(1.2) contrast(0.9);
}
.logo-text { font-weight: 600; letter-spacing: 1px; color: white; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 }
.nav-list a { color: var(--muted); text-decoration: none; padding: 8px 16px; border-radius: 50px; transition: all 0.3s ease; }
.nav-list a.active, .nav-list a:hover { color: white; background: rgba(255, 255, 255, 0.1); }
.nav-toggle { display: none; background: none; border: 0; color: var(--muted); font-size: 24px }

main {
  padding: 0 24px;
  z-index: 1;
  position: relative;
}

.hero {
  position: relative;
  padding: 0 0 40px;
  display: flex; justify-content: center; align-items: center; min-height: auto;
}
.hero-inner {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px;
  align-items: stretch; max-width: 1200px; width: 100%; z-index: 2;
}

.glass-card {
  background: rgba(15, 10, 35, 0.65);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 50px; color: var(--muted); border-radius: 80px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform, box-shadow;
}

.glass-card:hover {
  transform: translateY(-12px); border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 40px rgba(0,0,0,0.4), 0 0 30px -5px rgba(59, 130, 246, 0.4);
}

h1,h2,h3,h4 { color: white; letter-spacing: 0.5px; text-shadow: 0 0 15px rgba(124, 58, 237, 0.35); }
.hero-title { font-size: 64px; margin: 0 0 10px; line-height: 1.1; text-shadow: 0 0 30px var(--accent-1); }
.school-mention {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 20px 0;
}
.lead { font-size: 20px; max-width: 500px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px;
  font-size: 16px; border-radius: 50px; text-decoration: none; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: all .3s ease; overflow: hidden;
}
.btn.primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); background-size: 200% auto;
  color: var(--bg-0); border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 1px 0 rgba(255,255,255,0.2), 0 10px 25px rgba(124, 58, 237, 0.3);
}
.btn.primary:hover {
  background-position: right center;
  transform: none;
  box-shadow: inset 0 1px 2px 0 rgba(255,255,255,0.3), 0 15px 30px rgba(59, 130, 246, 0.35), 0 0 20px var(--accent-1);
}
.btn.ghost { background-color: rgba(255, 255, 255, 0.1); color: white; border-color: var(--glass-border); }
.btn.ghost:hover {
  background-image: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(124, 58, 237, 0.2));
  border-color: var(--accent-1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.cta-row { display: flex; gap: 12px; margin-top: 32px; }
.register-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.stats { display: flex; gap: 32px; margin-top: 40px; }
.stat .num { font-size: 24px; font-weight: 700; color: white; }
.stat .label { font-size: 16px; color: var(--muted); }

.hero-panel { display: flex; align-items: center; justify-content: center; }
#countdown {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; width: 100%;
}
#countdown .days {
  font-size: 120px; font-weight: 700; line-height: 1;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#countdown .days .label {
  display: block; font-size: 20px; font-weight: 400; letter-spacing: 1px;
  color: var(--muted);
  margin-top: 4px;
}
#countdown .time {
  font-size: 32px; font-weight: 400; letter-spacing: 2px;
  color: var(--muted); margin-top: 15px;
}

a.event-link { text-decoration: none; color: inherit; display: block; }
.feature-strip { padding: 40px 0; max-width: 1200px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }

.feature-card, .event-card {
  background: rgba(15, 10, 35, 0.65);
  padding: 32px; border-radius: 40px; border: 1px solid var(--glass-border);
  transition: all 0.4s ease; will-change: transform; height: 100%;
}
.feature-card:hover, .event-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(15, 10, 35, 0.75);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 25px 40px rgba(0,0,0,0.4), 0 0 30px -5px rgba(59, 130, 246, 0.4);
}
.feature-card h4 { margin: 0 0 12px; font-size: 20px; color: var(--accent-1); }
.feature-card p { margin: 0; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sponsor-strip { text-align: center; padding: 40px 0; }
.sponsor-strip h3 { margin-bottom: 4px; }
.sponsor-strip p { font-size: 14px; }
.register-page .big-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}
.note { margin-top: 24px; }

.quick-list {
  padding-left: 0;
}
.quick-list li {
  display: flex;
  justify-content: space-between;
  align-items: center; 
}
.quick-list li span {
  text-align: left;
}

.glass-card.reg-panel {
  display: flex;
  flex-direction: column;
}
.glass-card.reg-panel h3 {
  text-align: left; 
}
.glass-card.reg-panel .quick-list {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.quick-list li span a {
  color: inherit;
  text-decoration: none;
}

.benefits li { margin-bottom: 12px; font-size: 18px; }
h2 { font-size: 40px; }
.faq-section { max-width: 1200px; margin: 0 auto 30px; text-align: center; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}
.faq-item h4 { margin: 0 0 8px; color: var(--accent-1); font-size: 20px; }
.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.about-hero { margin-bottom: 32px; }

.committee-slider-section { margin-bottom: 48px; padding: 40px; overflow: hidden; }
.committee-slider-section h2 { text-align: center; margin-bottom: 24px; }
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    padding: 0 20px;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.slider {
  display: flex;
  width: calc(200px * 24);
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.slide {
  flex: 0 0 200px;
  text-align: center;
  padding: 0 10px;
  transition: opacity 0.5s ease;
}
.slide img {
  width: 100%;
  height: 200px;
  display: block;
  border-radius: 15px;
  margin-bottom: 10px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.caption {
    color: #FFF;
    font-size: 16px;
    margin-top: 5px;
    font-weight: bold;
}

.about-credit {
  max-width: 1200px;
  margin: 32px auto;
}
.about-credit .glass-card {
  text-align: center;
  padding: 40px;
}
.about-credit h3 {
  margin-top: 0;
  color: var(--accent-3);
  font-size: 24px;
  margin-bottom: 12px;
}
.credit-name {
  font-size: 40px; 
  font-weight: 700; 
  color: white;
  margin: 0;
  text-shadow: 0 0 15px var(--accent-3), 0 0 25px var(--accent-3); 
}


.events-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.event-card {
  display: flex;
  flex-direction: column;
  scroll-margin-top: 120px;
}
.event-actions {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.event-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.event-body h2 { margin-top: 0; }
.event-details {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.2);
  padding: 0 20px;
  border-radius: 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
}
.event-details.open {
  max-height: 1000px;
  padding: 20px;
}

.site-footer { text-align: center; padding: 20px 0; margin-top: auto; color: var(--muted); font-size: 14px; }

@media (max-width: 920px) {
  body {
    padding-top: calc(var(--header-height-mobile) + var(--header-gap-mobile));
  }
  .hero-inner, .register-page .big-hero { grid-template-columns: 1fr; gap: 24px; }
  .faq-grid { grid-template-columns: 1fr; }
  .events-container {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding: 0 0 30px; }
  .register-page .big-hero { margin: 0 auto; }
  .about-page { margin: 0 auto; }
  .hero-title { font-size: 48px; }
  h2 { font-size: 32px; }
  .glass-card.reg-panel {
    display: block;
  }
  .glass-card.reg-panel .quick-list {
    flex-grow: 0;
    justify-content: flex-start;
  }
  .about-credit {
    margin: 24px auto;
  }
}
.caption { font-size: 14px;}

.mobile-slider {
  display: none;
}

.mobile-slider-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

@media(max-width:760px) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .slider-container {
    display: none !important;
  }
  .slider {
    animation: none !important;
  }

  .mobile-slider {
    display: block !important;
    text-align: center;
  }

  .mobile-slider .caption {
    margin-top: 10px;
  }

  .blob { opacity: 0.3; }
  .b1 { width: 400px; height: 400px; }
  .b2 { width: 350px; height: 350px; }
  .b3 { width: 300px; height: 300px; bottom: 5%; left: -10%; }

  .site-header {
    width: 95%;
    top: 10px;
    margin: 0 auto;
    border-radius: 50px;
    padding: 10px 20px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
  }
  main {
      padding: 0 16px;
  }
  .glass-card, .feature-card, .event-card { border-radius: 30px; padding: 30px; }
  .hero-title { font-size: 40px; }

  .cta-row, .register-actions, .event-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .register-actions .help-link {
      margin-left: 0;
  }
  .btn {
      justify-content: center;
  }
  .stats {
      gap: 20px;
      flex-wrap: wrap;
      justify-content: flex-start;
      align-items: flex-start;
  }
  .stat {
      align-items: flex-start;
      text-align: left;
  }
  .stat .num {
      font-size: 24px;
  }
  .stat .label {
      font-size: 14px;
  }

  #countdown .days { font-size: 80px; }
  #countdown .days .label { font-size: 16px; margin-top: 0; }
  #countdown .time { font-size: 24px; }
  .nav-toggle { display: block }
  .nav-list {
    display: none; position: absolute; top: calc(100% + 10px); right: 16px;
    background: var(--bg-1); border: 1px solid var(--glass-border); border-radius: 20px;
    padding: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 51;
  }
  .nav-list.show { display: flex; flex-direction: column; gap: 5px }

  .quick-list li {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start; 
      margin-bottom: 16px;
      flex-wrap: nowrap; 
  }
  .quick-list li:last-child {
      margin-bottom: 0;
  }
  .quick-list li span {
      flex-basis: auto;
      text-align: left;
      margin-top: 4px;
  }
  
  .events-container {
      grid-template-columns: 1fr;
      margin-top: 24px;
  }
  .about-hero { margin-bottom: 24px; }
  .faq-grid {
      grid-template-columns: 1fr;
  }

  .committee-slider-section { padding: 30px 0; }

  .about-credit .glass-card {
    padding: 30px;
  }
  .about-credit h3 {
    font-size: 20px;
  }
  .credit-name {
    font-size: 32px; 
  }
}

@media (max-width: 480px) {
  .glass-card, .feature-card, .event-card {
    border-radius: 20px;
    padding: 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .lead {
    font-size: 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  #countdown .days {
    font-size: 60px;
  }

  #countdown .time {
    font-size: 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .event-actions {
    flex-direction: column;
  }

  .event-body {
    padding: 20px;
  }
  
  .credit-name {
    font-size: 28px; 
  }
}
