/* ================================================================
   BROWSE 2026 — CYBERPUNK FUTURISTIC THEME
   SIT Tumakuru | April 7, 2026
   Inspired by: dark matte black + neon electric blue/cyan palette
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bruno+Ace+SC&family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ─── CSS Variables ──────────────────────────────────── */
:root {
  --black: #030507;
  --bg: #07090f;
  --bg2: #0b0e18;
  --bg3: #0f1220;
  --panel: rgba(6, 12, 28, 0.85);
  --panel-border: rgba(0, 255, 255, 0.12);

  --neon-cyan: #00f5ff;
  --neon-blue: #1a6aff;
  --neon-violet: #b400ff;
  --neon-green: #39ff14;
  --neon-pink: #ff0090;
  --neon-orange: #ff6b1a;

  --glow-cyan: 0 0 8px rgba(0, 245, 255, 0.25);
  --glow-blue: 0 0 8px rgba(26, 106, 255, 0.25);
  --glow-violet: 0 0 8px rgba(180, 0, 255, 0.2);

  --text-bright: #e8f4ff;
  --text-mid: #a5c5e5;
  --text-dim: #d6ebff;
  --text-code: #00f5ff;

  --nav-h: 70px;
  --ff-title: 'Bebas Neue', sans-serif;
  --ff-head: 'Exo 2', sans-serif;
  --ff-body: 'Exo 2', sans-serif;
  --ff-mono: 'Space Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ─── Reset ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text-bright);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scanline overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.04) 2px,
      rgba(0, 0, 0, 0.04) 4px);
  pointer-events: none;
  z-index: 9999;
}

/* Grid background tile */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 2px;
}

/* ─── Reusable ───────────────────────────────────────── */
.z1 {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

/* ─── Corner brackets decoration ────────────────────── */
.corner-box {
  position: relative;
  padding: 2rem;
}

.corner-box::before,
.corner-box::after,
.corner-box>.cb-br::before,
.corner-box>.cb-br::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--neon-cyan);
  border-style: solid;
}

.corner-box::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.corner-box::after {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}

.corner-box>.cb-br::before {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}

.corner-box>.cb-br::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

/* ─── Section headers ────────────────────────────────── */
.sec-label {
  font-family: var(--ff-mono);
  font-size: 1rem;
  letter-spacing: 4px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.sec-label::before,
.sec-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan));
  opacity: 0.4;
}

.sec-label::after {
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
}

.sec-title {
  font-family: var(--ff-title);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-bright);
}

.sec-title .hl {
  color: var(--neon-cyan);
}

/* ━━━━━━━━━━━━━━━━━━ NAVBAR ━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(3, 5, 7, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(0, 245, 255, 0.1);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

#navbar.scrolled {
  background: rgba(3, 5, 7, 0.95);
  border-bottom-color: rgba(0, 245, 255, 0.25);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.8);
}

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

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-brand img {
  height: 42px;
  width: auto;
  border-radius: 6px;
  filter: brightness(0.9) saturate(1.2);
  border: 1px solid rgba(0, 245, 255, 0.2);
}

.brand-label {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-bright);
}

.brand-sub {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-mid);
  margin-top: 3px;
}

.nav-photo-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 1rem;
  margin-right: auto;
}

.nav-photo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 255, 0.32);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.18);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  transition: color 0.25s, background 0.25s;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--neon-cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease-out-expo);
  box-shadow: var(--glow-cyan);
}

.nav-links a:not(.nav-btn):hover {
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.05);
}

.nav-links a:not(.nav-btn):hover::after {
  transform: scaleX(1);
}

.nav-links li a.nav-btn {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bg) !important;
  background: var(--neon-cyan);
  padding: 0.48rem 1.05rem !important;
  border-radius: 2px !important;
  -webkit-clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s ease, background-color 0.28s ease !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 245, 255, 0);
  display: inline-flex;
}

.nav-links li a.nav-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -130%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: rotate(30deg);
  transition: left 0.55s var(--ease-out-expo);
  pointer-events: none;
}

.nav-links li a.nav-btn:hover {
  background: #00ffff !important;
  color: var(--bg) !important;
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.6);
  transform: translateY(-1px);
}

.nav-links li a.nav-btn:hover::before {
  left: 130%;
}

.nav-links li a.nav-btn:focus-visible {
  outline: 2px solid rgba(0, 245, 255, 0.8);
  outline-offset: 2px;
}



/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--neon-cyan);
  transition: 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(3, 5, 7, 0.97);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
  padding: 1.5rem 2rem;
  gap: 0.25rem;
  z-index: 999;
  list-style: none;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 245, 255, 0.07);
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--neon-cyan);
}

/* ━━━━━━━━━━━━━━━━━━ HERO ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#home {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 2.5rem) 0 clamp(2.5rem, 4vw, 4rem);
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(3, 5, 7, 0.9) 24%, rgba(3, 5, 7, 0.78) 58%, rgba(3, 5, 7, 0.34) 100%),
    url('assets/images/hero-bg.png') center right / cover no-repeat;
}

.hero-robot-img {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: clamp(620px, 62vw, 1080px);
  max-width: 68%;
  height: auto;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  opacity: 0.96;
  filter: saturate(1.16) brightness(0.98);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 80%, transparent 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 80%, transparent 100%);
}

/* Perspective grid floor */
.hero-grid-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(600px) rotateX(60deg);
  transform-origin: bottom center;
  pointer-events: none;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Radial glow spots */
.hero-glow-main {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 180, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-accent {
  position: absolute;
  top: 50%;
  left: 15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(180, 0, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  text-align: left;
  display: block;
}

.hero-content-inner {
  max-width: clamp(620px, 62vw, 900px);
}

/* Top status bar */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: clamp(1px, 0.18vw, 3px);
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 2rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: 2px;
  background: rgba(0, 245, 255, 0.05);
  animation: fadeInDown 0.8s ease forwards;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: statusBlink 1.5s infinite;
}

@keyframes statusBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* Big BROWSE title */
.hero-browse {
  font-family: 'Bruno Ace SC', sans-serif;
  font-size: clamp(3.9rem, 8.3vw, 9.2rem);
  font-weight: 1000;
  letter-spacing: clamp(1px, 0.32vw, 5px);
  line-height: 0.94;
  margin-bottom: 0.08em;
  background: linear-gradient(180deg, #ffffff 20%, rgba(0, 245, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.2));
  animation: fadeInUp 0.9s 0.1s ease forwards;
  opacity: 0;
  display: block;
  text-align: left;
  white-space: nowrap;
  max-width: 100%;
}

.hero-year-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.9s 0.3s ease forwards;
  opacity: 0;
}

.hero-year-bar span {
  font-family: var(--ff-title);
  font-size: clamp(1.2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 12px;
  color: var(--neon-cyan);
}

.hero-year-bar .sep {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.5;
}

.hero-tagline {
  font-family: var(--ff-head);
  font-size: clamp(1rem, 1.85vw, 1.18rem);
  color: #d2e6f5;
  letter-spacing: 2.4px;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(125, 215, 246, 0.12);
  animation: fadeInUp 0.9s 0.45s ease forwards;
  opacity: 0;
}

.hero-organizers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  font-family: var(--ff-head);
  font-size: clamp(0.95rem, 1.45vw, 1.08rem);
  color: rgba(198, 224, 245, 0.9);
  letter-spacing: 1.1px;
  line-height: 1.4;
  margin: 0 0 1rem;
  animation: fadeInUp 0.9s 0.5s ease forwards;
  opacity: 0;
}

.hero-organizers-label {
  font-family: var(--ff-mono);
  font-size: clamp(0.84rem, 1.1vw, 0.98rem);
  color: #a6c6da;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-organizers-highlight {
  font-family: 'Exo 2', sans-serif;
  color: var(--neon-cyan);
  font-weight: 700;
  font-size: clamp(1.14rem, 2.05vw, 1.46rem);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-shadow: 0 0 9px rgba(115, 220, 255, 0.22);
}

.hero-date {
  font-family: var(--ff-mono);
  font-size: clamp(0.84rem, 1.25vw, 0.94rem);
  color: #00ffff;
  letter-spacing: 2.2px;
  margin-bottom: 2.2rem;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.4);
  animation: fadeInUp 0.9s 0.55s ease forwards;
  opacity: 0;
}

.hero-date i {
  margin-right: 8px;
}

/* Countdown */
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.9s 0.65s ease forwards;
  opacity: 0;
}

.cd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  padding: 1.2rem 0.75rem;
  background: rgba(0, 245, 255, 0.04);
  border: 1px solid rgba(0, 245, 255, 0.18);
  position: relative;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.cd-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.cd-num {
  font-family: var(--ff-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--neon-cyan);
  line-height: 1;
}

.cd-lbl {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 6px;
}

.cd-sep {
  font-family: var(--ff-title);
  font-size: 1.5rem;
  color: var(--text-dim);
  margin-top: -8px;
}

.prize-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.55rem 1.5rem;
  border: 1px solid rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.05);
  border-radius: 2px;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
  margin-bottom: 2rem;
  animation: fadeInUp 0.9s 0.75s ease forwards;
  opacity: 0;
}

.prize-strip i {
  opacity: 0.8;
}

/* Hero buttons */
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.9s ease forwards;
  opacity: 0;
}

@media (max-width: 1200px) {
  .nav-photo {
    width: 34px;
    height: 34px;
  }

  .hero-robot-img {
    width: clamp(520px, 56vw, 860px);
    max-width: 64%;
    opacity: 0.9;
  }

  .hero-content-inner {
    max-width: clamp(520px, 66vw, 820px);
  }
}

@media (max-width: 992px) {
  .nav-photo-group {
    display: none;
  }

  #home {
    justify-content: center;
    background:
      linear-gradient(to bottom, rgba(3, 5, 7, 0.92) 0%, rgba(3, 5, 7, 0.84) 56%, rgba(3, 5, 7, 0.95) 100%),
      url('assets/images/hero-bg.png') center right / cover no-repeat;
  }

  .hero-robot-img {
    right: 50%;
    transform: translateX(50%);
    width: min(94vw, 760px);
    max-width: none;
    opacity: 0.45;
  }

  .hero-content {
    text-align: center;
    padding: 0 2rem;
  }

  .hero-content-inner {
    max-width: min(100%, 780px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-browse {
    font-size: clamp(3.3rem, 9vw, 6rem);
    line-height: 1;
    letter-spacing: clamp(0px, 0.2vw, 2px);
    white-space: normal;
    text-align: center;
  }

  .hero-year-bar,
  .hero-btns,
  .countdown {
    justify-content: center;
  }

  .hero-date {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 1rem;
  }

  .nav-photo-group {
    display: none;
  }

  .nav-brand {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }

  .nav-brand img {
    height: 36px !important;
  }

  .brand-label {
    min-width: 0;
    max-width: min(54vw, 210px);
    padding-left: 8px !important;
  }

  .brand-title {
    font-size: 0.83rem;
    letter-spacing: 0.25px !important;
    white-space: normal;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .brand-sub {
    font-size: 0.86rem !important;
    letter-spacing: 1.8px !important;
    white-space: nowrap;
  }

  .hero-robot-img {
    width: min(190vw, 1240px);
    right: -30vw;
    opacity: 0.5;
  }

  .hero-status {
    font-size: 0.68rem;
    line-height: 1.35;
    padding: 0.35rem 0.8rem;
    text-align: center;
  }

  .hero-tagline {
    font-size: 0.9rem;
    max-width: 95%;
    text-align: center;
    letter-spacing: 1.9px;
  }

  .hero-organizers {
    font-size: 0.84rem;
    max-width: 95%;
    text-align: center;
    margin-inline: auto;
    align-items: center;
    gap: 0.2rem;
  }

  .hero-organizers-label {
    font-size: 0.74rem;
    letter-spacing: 1.7px;
  }

  .hero-organizers-highlight {
    font-size: 1rem;
  }

  .hero-date {
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    text-align: center;
    line-height: 1.35;
    letter-spacing: 1.6px;
  }

  .cd-box {
    width: 76px;
    padding: 0.95rem 0.45rem;
  }

  .cd-num {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 0 0.75rem;
  }

  .nav-brand img {
    height: 32px !important;
  }

  .brand-label {
    max-width: min(52vw, 170px);
    padding-left: 6px !important;
  }

  .brand-title {
    font-size: 0.74rem !important;
    line-height: 1.16;
  }

  .brand-sub {
    font-size: 0.78rem !important;
    letter-spacing: 1.3px !important;
  }

  .hero-robot-img {
    width: min(212vw, 980px);
    right: -48vw;
    opacity: 0.44;
  }

  .hero-status {
    font-size: 0.58rem;
    letter-spacing: 0.2px;
    padding: 5px 10px;
    white-space: normal;
    width: fit-content;
    margin-inline: auto;
  }

  .hero-browse {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .hero-organizers {
    font-size: 0.75rem;
    letter-spacing: 0.7px;
    gap: 0.15rem;
  }

  .hero-organizers-label {
    font-size: 0.64rem;
    letter-spacing: 1.2px;
  }

  .hero-organizers-highlight {
    font-size: 0.94rem;
    letter-spacing: 0.85px;
  }

  .hero-date {
    font-size: 0.71rem;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    letter-spacing: 1px;
  }

  .hero-date .sep {
    display: inline;
  }

  .cd-sep {
    display: none;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(78px, 1fr));
    gap: 0.75rem;
    max-width: 260px;
    margin: 1.2rem auto 1.6rem;
  }

  .cd-box {
    width: 100%;
    padding: 0.75rem 0.5rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 290px;
    margin-inline: auto;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #register .reg-box {
    padding: 1.8rem 1rem;
  }

  #register .reg-info-row {
    flex-direction: column;
    gap: 0.7rem;
    margin: 1.2rem 0 1.5rem;
  }

  #register .reg-chip {
    width: 100%;
    justify-content: flex-start;
    padding: 0.82rem 0.95rem;
    font-size: 0.86rem;
    letter-spacing: 0.55px;
  }

  #register .fee-tag {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    line-height: 1.35;
    font-size: 0.92rem;
    padding: 0.65rem 0.8rem;
    margin-bottom: 1.2rem;
  }

  #register .btn {
    width: 100%;
    justify-content: center;
  }

  #register .reg-direct-link {
    margin-top: 1rem !important;
    font-size: 0.74rem !important;
    line-height: 1.4;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  #register .reg-box {
    padding: 1.5rem 0.85rem;
  }

  #register .fee-tag {
    font-size: 0.84rem;
  }
}

/* Final mobile alignment overrides */
@media (max-width: 768px) {
  #about .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  #about .stat-box {
    padding: 0.9rem 0.45rem 0.8rem;
    border-radius: 8px;
  }

  #about .stat-num {
    font-size: 1.45rem;
  }

  #about .stat-l {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    margin-top: 0.42rem;
  }

  .hero-robot-img {
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 480px) {
  #about .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  #about .stat-box {
    padding: 0.78rem 0.3rem 0.7rem;
  }

  #about .stat-num {
    font-size: 1.28rem;
  }

  #about .stat-l {
    font-size: 0.61rem;
    letter-spacing: 0.9px;
  }

  .hero-robot-img {
    right: 50%;
    transform: translateX(50%);
  }
}

@media (min-width: 1700px) {
  .hero-content {
    max-width: 1240px;
    padding: 0 2rem;
  }

  .hero-content-inner {
    max-width: min(62vw, 980px);
  }

  .hero-robot-img {
    width: min(58vw, 1120px);
    max-width: 66%;
  }
}

/* ━━━━━━━━━━━━━━━━━━ BUTTONS ━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-cyber {
  background: var(--neon-cyan);
  color: var(--black);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-cyber::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-cyber:hover {
  background: #00ffff;
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.35);
}

.btn-cyber:hover::before {
  transform: translateX(200%);
}

.btn-outline-cyber {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 245, 255, 0.4);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-outline-cyber:hover {
  background: rgba(0, 245, 255, 0.06);
  border-color: var(--neon-cyan);
}

.btn-violet {
  background: var(--neon-violet);
  color: #fff;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: var(--glow-violet);
}

.btn-violet:hover {
  opacity: 0.85;
}

/* ━━━━━━━━━━━━━━━━━━ ABOUT ━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#about {
  background: var(--bg2);
  border-top: 1px solid rgba(0, 245, 255, 0.06);
  border-bottom: 1px solid rgba(0, 245, 255, 0.06);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-poster {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(0, 245, 255, 0.2);
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 245, 255, 0.1);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.about-poster:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 255, 0.2);
  border-color: rgba(0, 245, 255, 0.5);
}


.about-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-weight: 400;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.stat-box {
  position: relative;
  isolation: isolate;
  padding: 1.3rem 1rem 1.05rem;
  text-align: center;
  border: 1px solid rgba(0, 245, 255, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(165deg, rgba(12, 20, 34, 0.92) 0%, rgba(8, 14, 26, 0.92) 55%, rgba(5, 11, 22, 0.96) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 255, 0.06), 0 10px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s ease, border-color 0.28s ease;
}

.stat-box::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 54%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.95), transparent);
  opacity: 0.9;
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 255, 0.11), 0 14px 30px rgba(0, 0, 0, 0.38), 0 0 20px rgba(0, 245, 255, 0.14);
}

.stat-num {
  font-family: var(--ff-head);
  font-size: clamp(1.7rem, 2.1vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.7px;
  line-height: 1;
  color: #66b6ff;
  text-shadow: 0 0 14px rgba(26, 106, 255, 0.28);
}

.stat-l {
  font-family: var(--ff-mono);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: rgba(214, 235, 255, 0.84);
  margin-top: 0.52rem;
  text-transform: uppercase;
}

/* SIT info panel redesign */
.sit-panel {
  padding: clamp(1rem, 2vw, 1.6rem) 0;
  position: relative;
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.sit-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.55), transparent);
}

.sit-panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 106, 255, 0.45), transparent);
  pointer-events: none;
}

@keyframes borderFlow {
  0% {
    background-position: 100% 0%;
  }

  100% {
    background-position: -100% 0%;
  }
}

.sit-panel-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  position: relative;
  z-index: 2;
  padding: clamp(1.2rem, 2.2vw, 1.8rem) 0;
}

.sit-col-left,
.sit-col-right {
  display: flex;
  flex-direction: column;
}

.sit-col-left {
  padding-right: 0;
  border-right: none;
}

.sit-col-right {
  padding-left: 0;
  border-left: none;
  border-top: none;
  padding-top: 1.2rem;
}

@media (max-width: 992px) {
  .sit-panel-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sit-col-left {
    padding-right: 0;
    border-right: none;
  }

  .sit-col-right {
    padding-left: 0;
    border-top: none;
    padding-top: 1.2rem;
  }
}

.sit-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.sit-logo-row img {
  height: 102px;
  width: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 255, 0.34);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.14);
}

.sit-brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sit-title {
  font-family: var(--ff-title);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.2;
  letter-spacing: 0.1px;
}

.sit-address {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.2px;
  margin-top: 0;
  opacity: 0.9;
}

.sit-about-head {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--neon-cyan);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.sit-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.sit-contact-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(0, 245, 255, 0.12);
  background: rgba(0, 245, 255, 0.04);
  border-radius: 8px;
}

.sit-contact-label {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--neon-cyan);
  letter-spacing: 2.8px;
  font-weight: 700;
  opacity: 0.92;
}

.sit-contact-value {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

a.sit-contact-value:hover {
  color: var(--neon-cyan);
}

.sit-description {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 1.3rem;
}

.sit-stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.sit-stat-item {
  background: rgba(0, 245, 255, 0.04);
  border: 1px solid rgba(0, 245, 255, 0.18);
  border-left: 3px solid var(--neon-cyan);
  min-height: 0;
  padding: 0.9rem 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.sit-stat-item::before {
  display: none;
}

.sit-stat-item:nth-child(1)::before {
  display: none;
}

.sit-stat-item:nth-child(2)::before {
  display: none;
}

.sit-stat-item:nth-child(1) {
  border-left-color: var(--neon-green);
}

.sit-stat-item:nth-child(2) {
  border-left-color: var(--neon-violet);
}

.sit-stat-item:hover {
  border-color: rgba(0, 245, 255, 0.28);
  background: rgba(0, 245, 255, 0.07);
}

.sit-stat-num {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.sit-stat-num.cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.sit-stat-num.violet {
  color: var(--neon-violet);
  text-shadow: 0 0 10px rgba(180, 0, 255, 0.3);
}

.sit-stat-num.green {
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.sit-stat-label {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ━━━━━━━━━━━━━━━━━━ EVENTS ━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#events {
  background: var(--bg);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5px;
  background: rgba(0, 245, 255, 0.06);
  border: 1px solid rgba(0, 245, 255, 0.06);
}

@media (min-width: 1201px) {
  /* For exactly 7 events: row 1 = 4 equal cards, row 2 = 3 equal cards */
  .events-grid:has(> .event-tile:nth-child(7):last-child) {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .events-grid:has(> .event-tile:nth-child(7):last-child) > .event-tile:nth-child(-n+4) {
    grid-column: span 3;
  }

  .events-grid:has(> .event-tile:nth-child(7):last-child) > .event-tile:nth-child(n+5) {
    grid-column: span 4;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* If exactly 7 tiles exist, center the final tile in the last row. */
  .events-grid > .event-tile:last-child:nth-child(7) {
    grid-column: 2;
  }
}

.event-tile {
  background: var(--bg2);
  padding: 2rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.event-tile::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--event-c, var(--neon-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
  box-shadow: 0 0 15px var(--event-c, var(--neon-cyan));
}

.event-tile:hover {
  background: var(--bg3);
  z-index: 2;
}

.event-tile:hover::after {
  transform: scaleX(1);
}

/* Unique neon color per event */
.event-tile.ev-1 {
  --event-c: #00f5ff;
}

.event-tile.ev-2 {
  --event-c: #b400ff;
}

.event-tile.ev-3 {
  --event-c: #39ff14;
}

.event-tile.ev-4 {
  --event-c: #ff0090;
}

.event-tile.ev-5 {
  --event-c: #ff6b1a;
}

.event-tile.ev-6 {
  --event-c: #1a6aff;
}

.event-tile.ev-7 {
  --event-c: #00f5ff;
}

.event-tile.ev-8 {
  --event-c: #b400ff;
}

.event-num {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--event-c, var(--neon-cyan));
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.event-icon-big {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--event-c, var(--neon-cyan));
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.45));
}

.event-name {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.event-short {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.event-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.ev-chip {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
}

.new-badge {
  background: var(--neon-green);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: var(--ff-mono);
  display: inline-block;
  margin-bottom: 0.5rem;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.event-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--event-c, var(--neon-cyan));
  background: none;
  border: none;
  cursor: pointer;
  transition: gap 0.2s;
  padding: 0;
}

.event-explore:hover {
  gap: 14px;
}

.event-explore i {
  font-size: 0.75rem;
}

/* ━━━━━━━━━━━━━━━━━━ SCHEDULE ━━━━━━━━━━━━━━━━━━━━━━━━ */
#schedule {
  background: var(--bg2);
}

.sch-date-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sch-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.65rem 2rem;
  border: 1px solid var(--neon-cyan);
  background: rgba(0, 245, 255, 0.06);
  font-family: var(--ff-title);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.04), var(--glow-cyan);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--neon-cyan) 0%, var(--neon-violet) 100%);
  opacity: 0.25;
}

.tl-item {
  display: flex;
  gap: 2rem;
  padding-left: 70px;
  position: relative;
  margin-bottom: 1.5rem;
}

.tl-item:hover .tl-card {
  border-color: rgba(0, 245, 255, 0.4);
  background: var(--bg3);
}

.tl-dot {
  position: absolute;
  left: 23px;
  top: 1.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  background: var(--bg2);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.6);
}

.tl-card {
  flex: 1;
  background: rgba(0, 245, 255, 0.03);
  border: 1px solid rgba(0, 245, 255, 0.09);
  padding: 1.4rem 1.65rem;
  transition: border-color 0.25s, background 0.25s;
}

.tl-time {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  margin-bottom: 3px;
}

.tl-event {
  font-family: var(--ff-head);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.5px;
}

.tl-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 4px;
  font-family: var(--ff-body);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .sch-date-chip {
    font-size: 0.9rem;
    letter-spacing: 1.4px;
  }

  .tl-card {
    padding: 1.1rem 1.1rem;
  }

  .tl-time {
    font-size: 0.74rem;
    letter-spacing: 1.3px;
  }

  .tl-event {
    font-size: 1.02rem;
  }

  .tl-desc {
    font-size: 0.84rem;
  }
}

/* ━━━━━━━━━━━━━━━━━━ BRANCHES ━━━━━━━━━━━━━━━━━━━━━━━━ */
#branches {
  background: var(--bg);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1020px;
  margin: 0 auto;
}

.branch-card {
  background: linear-gradient(160deg, rgba(9, 14, 35, 0.95), rgba(6, 10, 24, 0.95));
  border: 1px solid rgba(0, 245, 255, 0.12);
  padding: 1.8rem 1.65rem 1.45rem;
  text-align: left;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 320px;
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.branch-card:hover {
  background: linear-gradient(160deg, rgba(11, 18, 45, 0.98), rgba(7, 11, 28, 0.98));
  border-color: rgba(0, 245, 255, 0.35);
  transform: translateY(-4px);
}

.branch-card:hover::before {
  transform: scaleX(1);
}

.bc-cse::before {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
}

.bc-ise::before {
  background: linear-gradient(90deg, var(--neon-violet), var(--neon-pink));
}

.bc-aids::before {
  background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
}

.bc-aiml::before {
  background: linear-gradient(90deg, var(--neon-orange), var(--neon-pink));
}

.branch-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
}

.branch-card:hover .branch-icon-wrap {
  border-color: var(--branch-c, var(--neon-cyan));
  box-shadow: 0 0 20px var(--branch-c, var(--neon-cyan));
}

.branch-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bc-cse {
  --branch-c: var(--neon-cyan);
}

.bc-ise {
  --branch-c: var(--neon-violet);
}

.bc-aids {
  --branch-c: var(--neon-green);
}

.bc-aiml {
  --branch-c: var(--neon-orange);
}

.bc-cse .branch-icon-wrap {
  color: var(--neon-cyan);
}

.bc-ise .branch-icon-wrap {
  color: var(--neon-violet);
}

.bc-aids .branch-icon-wrap {
  color: var(--neon-green);
}

.bc-aiml .branch-icon-wrap {
  color: var(--neon-orange);
}

.branch-abbr {
  font-family: var(--ff-title);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.65px;
  color: var(--text-bright);
  margin-bottom: 0;
  line-height: 1.3;
}

.branch-full {
  font-size: 0.94rem;
  color: var(--text-dim);
  font-family: var(--ff-mono);
  letter-spacing: 0.2px;
  line-height: 1.65;
  max-width: 100%;
  margin-bottom: 1.1rem;
}

.branch-focus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.branch-focus-chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-mid);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.9px;
  padding: 0.3rem 0.55rem;
}

.branch-link-cta {
  margin-top: 1.2rem;
  font-family: var(--ff-head);
  font-size: 0.84rem;
  letter-spacing: 1.45px;
  color: var(--branch-c, var(--neon-cyan));
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ━━━━━━━━━━━━━━━━━━ REGISTER ━━━━━━━━━━━━━━━━━━━━━━━━ */
#register {
  background: var(--bg2);
}

.reg-box {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(0, 245, 255, 0.2);
  padding: 4rem;
  position: relative;
  text-align: center;
  background: var(--panel);
  overflow: hidden;
}

.reg-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 245, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.reg-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-violet), var(--neon-cyan), var(--neon-violet));
}

.reg-info-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 2.5rem;
}

.reg-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.78rem 1.35rem;
  border: 1px solid rgba(0, 245, 255, 0.14);
  background: rgba(0, 245, 255, 0.04);
  font-family: var(--ff-mono);
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-mid);
}

.reg-chip i {
  color: var(--neon-cyan);
}

.reg-chip strong {
  color: var(--text-bright);
}

.fee-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.06);
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.15);
  margin-bottom: 2rem;
  display: inline-flex;
}

/* ━━━━━━━━━━━━━━━━━━ COORDINATORS ━━━━━━━━━━━━━━━━━━━━ */
#coordinators {
  background: var(--bg);
}

.coord-tiers {
  display: grid;
  gap: 1.45rem;
}

.coord-tier-panel {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid rgba(0, 245, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 16, 28, 0.55);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 255, 0.03);
}

.coord-tier-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.5), transparent);
}

.coord-tier-head {
  padding: 1rem 1.5rem 0.85rem;
  font-family: var(--ff-mono);
  font-size: 0.77rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-align: center;
  border-bottom: 1px solid rgba(0, 245, 255, 0.12);
  margin-bottom: 0;
  opacity: 0.9;
  transition: all 0.3s ease;
  background: transparent;
  position: relative;
}

.coord-tier-head::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.95), transparent);
  transform: translateX(-50%);
}

.coord-tier-senior .coord-tier-head {
  color: var(--neon-cyan);
  border-bottom-color: rgba(0, 245, 255, 0.2);
  opacity: 1;
}

.coord-tier-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.35rem 1.2rem;
  padding: 0.9rem 1rem 1rem;
}

.coord-person {
  min-width: 0;
  padding: 0.75rem 0.45rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

/* Staggered reveal for Core Team rows once section enters viewport */
.coord-tiers.fade-up .coord-tier-panel {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-out-expo);
}

.coord-tiers.fade-up.visible .coord-tier-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.coord-tiers.fade-up.visible .coord-tier-panel:nth-child(1) {
  transition-delay: 0.06s;
}

.coord-tiers.fade-up.visible .coord-tier-panel:nth-child(2) {
  transition-delay: 0.16s;
}

.coord-tiers.fade-up.visible .coord-tier-panel:nth-child(3) {
  transition-delay: 0.26s;
}

.coord-tiers.fade-up.visible .coord-tier-head::after {
  animation: coordLineSweep 0.75s ease forwards;
}

.coord-person:hover {
  transform: translateY(-2px);
}

.coord-cname {
  font-family: var(--ff-head);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.45rem;
  letter-spacing: 0.3px;
  line-height: 1.35;
}

.coord-crole {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 1.15px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.96;
  transition: color 0.3s ease;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0;
}

.coord-tier-senior .coord-crole {
  color: var(--text-dim);
}

.coord-cphone {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 6px;
}

@keyframes coordLineSweep {
  from {
    width: 0;
    opacity: 0.35;
  }

  to {
    width: min(180px, 58%);
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coord-tiers.fade-up .coord-tier-panel,
  .coord-tiers.fade-up.visible .coord-tier-panel {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .coord-tier-head::after,
  .coord-tiers.fade-up.visible .coord-tier-head::after {
    animation: none;
    width: min(180px, 58%);
  }
}

/* ━━━━━━━━━━━━━━━━━━ CONTACT ━━━━━━━━━━━━━━━━━━━━━━━━━ */
#contact {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 245, 255, 0.08), transparent 38%),
    radial-gradient(circle at 90% 85%, rgba(26, 106, 255, 0.08), transparent 42%);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-cell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(10, 19, 33, 0.88) 0%, rgba(6, 14, 26, 0.94) 100%);
  border: 1px solid rgba(0, 245, 255, 0.14);
  border-radius: 12px;
  padding: 2rem 1.7rem;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(0, 245, 255, 0.03);
  transition: transform 0.28s var(--ease-out-expo), border-color 0.28s ease, box-shadow 0.28s ease;
}

.contact-cell::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.9), transparent);
  transition: width 0.3s ease;
}

.contact-cell:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 245, 255, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), 0 0 24px rgba(0, 245, 255, 0.12);
}

.contact-cell:hover::before {
  width: 62%;
}

.cc-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.05rem;
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--neon-cyan);
  background:
    radial-gradient(circle at 35% 35%, rgba(0, 245, 255, 0.24), rgba(0, 245, 255, 0.06) 65%),
    rgba(0, 245, 255, 0.05);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-cell:hover .cc-icon {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.28);
}

.cc-title {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-bottom: 0.6rem;
}

.cc-body {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.78;
  font-family: var(--ff-body);
}

.cc-body a {
  color: #73dcff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(115, 220, 255, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cc-body a:hover {
  color: var(--neon-cyan);
  border-color: rgba(0, 245, 255, 0.75);
}

.contact-student-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid rgba(115, 220, 255, 0.14);
}

.contact-student-item:last-child {
  border-bottom: 0;
}

.contact-student-name {
  color: var(--text-bright);
  font-weight: 600;
}

.contact-student-phones {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.contact-student-phone {
  color: #73dcff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(115, 220, 255, 0.45);
  font-family: var(--ff-mono);
  font-size: 0.84rem;
  letter-spacing: 0.4px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-student-phone:hover {
  color: var(--neon-cyan);
  border-color: rgba(0, 245, 255, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .contact-cell,
  .cc-icon,
  .contact-cell::before {
    transition: none;
  }

  .contact-cell:hover {
    transform: none;
  }

  .contact-cell:hover .cc-icon {
    transform: none;
  }
}

/* ━━━━━━━━━━━━━━━━━━ FOOTER ━━━━━━━━━━━━━━━━━━━━━━━━━━ */
footer {
  border-top: 1px solid rgba(0, 245, 255, 0.1);
  padding: 3rem 0 2rem;
  background: var(--black);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .ft-title {
  font-family: var(--ff-title);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 8px;
  font-family: var(--ff-mono);
  letter-spacing: 1px;
  max-width: 220px;
}

.footer-links h5 {
  font-family: var(--ff-mono);
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.45rem;
}

.footer-links ul li a {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-decoration: none;
  font-family: var(--ff-body);
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(0, 245, 255, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.footer-bottom span {
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

/* ━━━━━━━━━━━━━━━━━━ MODAL ━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 245, 255, 0.07), transparent 36%),
    radial-gradient(circle at 85% 92%, rgba(26, 106, 255, 0.06), transparent 42%),
    rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  --modal-accent: var(--neon-cyan);
  --modal-event: var(--neon-cyan);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    #0a0d18;
  border: 1px solid rgba(93, 171, 220, 0.28);
  border-radius: 16px;
  max-width: 860px;
  width: min(860px, 96vw);
  max-height: none;
  overflow: hidden;
  margin: auto;
  position: relative;
  transform: translateY(40px) scale(0.96);
  transition: transform 0.35s var(--ease-out-expo), opacity 0.3s ease;
  opacity: 0;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.72), 0 0 46px color-mix(in srgb, var(--modal-accent) 20%, transparent);
  padding: 0;
}

.modal-box::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--modal-accent) 26%, #fff 6%) 0%, transparent 65%);
  pointer-events: none;
}

.modal-box::-webkit-scrollbar {
  width: 7px;
}

.modal-box::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--modal-accent) 55%, #ffffff 5%);
  border-radius: 999px;
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-header-bar {
  display: none;
}

.modal-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--modal-accent) 28%, transparent);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  background: color-mix(in srgb, var(--modal-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--modal-accent) 42%, transparent);
  cursor: pointer;
  color: var(--text-mid);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 11;
}

.modal-close-btn:hover {
  background: color-mix(in srgb, var(--modal-accent) 24%, transparent);
  color: var(--modal-accent);
  transform: rotate(90deg);
}

.modal-icon-lg {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--modal-event);
  text-shadow: 0 0 10px color-mix(in srgb, var(--modal-event) 35%, transparent);
}

.modal-ev-tag {
  font-family: var(--ff-mono);
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--modal-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.modal-ev-name {
  font-family: var(--ff-head);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.modal-ev-sub {
  font-size: 0.96rem;
  color: var(--text-mid);
  font-family: var(--ff-body);
  max-width: 92%;
}

.modal-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    'rules info'
    'rules coords';
  gap: 0.95rem;
}

.modal-body .modal-section:nth-child(1) {
  grid-area: rules;
}

.modal-body .modal-section:nth-child(2) {
  grid-area: info;
}

.modal-body .modal-section:nth-child(3) {
  grid-area: coords;
}

.modal-section {
  margin: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%), rgba(6, 10, 22, 0.9);
  border: 1px solid color-mix(in srgb, var(--modal-accent) 24%, transparent);
  border-radius: 12px;
  padding: 1rem 1rem 1.05rem;
}

.modal-sec-label {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--modal-accent);
  margin-bottom: 0.85rem;
  opacity: 0.92;
}

.modal-rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.modal-rules-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-family: var(--ff-body);
  font-weight: 400;
}

.modal-rules-list li::before {
  content: '◆';
  color: var(--modal-accent);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.72rem;
}

.modal-info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.mi-chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0.55rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--modal-accent) 24%, transparent);
  background: color-mix(in srgb, var(--modal-accent) 8%, transparent);
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  border-radius: 999px;
  color: var(--text-mid);
  max-width: 100%;
  word-break: normal;
  overflow-wrap: anywhere;
}

.mi-chip i {
  color: var(--modal-accent);
  font-size: 0.8rem;
}

.mi-chip strong {
  color: var(--text-bright);
  white-space: nowrap;
  flex-shrink: 0;
}

.modal-coords-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.mc-block {
  background: color-mix(in srgb, var(--modal-accent) 6%, var(--bg2));
  border: 1px solid color-mix(in srgb, var(--modal-accent) 16%, transparent);
  border-radius: 10px;
  padding: 1rem 1rem;
}

.mc-label {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--modal-accent);
  margin-bottom: 0.55rem;
}

.mc-entry+
.mc-entry {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid color-mix(in srgb, var(--modal-accent) 14%, transparent);
}

.mc-name {
  font-family: var(--ff-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.55;
  word-break: break-word;
}

.mc-phone {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 3px;
}

.modal-venue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(0, 245, 255, 0.2);
  background: rgba(0, 245, 255, 0.05);
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--neon-cyan);
  letter-spacing: 1px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

/* ━━━━━━━━━━━━━━━━━━ ANIMATIONS ━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glitchFlash {

  0%,
  90%,
  100% {
    clip-path: none;
    transform: none;
    opacity: 1;
  }

  91% {
    clip-path: polygon(0 10%, 100% 10%, 100% 30%, 0 30%);
    transform: translate(3px);
    opacity: 0.85;
  }

  93% {
    clip-path: polygon(0 55%, 100% 55%, 100% 75%, 0 75%);
    transform: translate(-3px);
    opacity: 0.9;
  }

  95% {
    clip-path: none;
    transform: none;
    opacity: 1;
  }
}

.glitch-anim {
  animation: glitchFlash 6s infinite;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 2rem;
}

.section-subtitle {
  color: var(--text-mid);
  margin-top: 0.75rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .about-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .section-subtitle {
    font-size: 0.95rem;
    padding: 0 1rem;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ━━━━━━━━━━━━━━━━━━ RESPONSIVE ━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .nav-links {
    display: none !important;
  }

  .nav-hamburger {
    display: flex;
  }

  .branches-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .branch-card {
    min-height: auto;
    padding: 1.38rem 1.15rem 1.2rem;
  }

  .branch-title-row {
    gap: 0.85rem;
  }

  .branch-abbr {
    font-size: 1.12rem;
  }

  .branch-full {
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .branch-focus-chip {
    font-size: 0.68rem;
  }

  .branch-link-cta {
    font-size: 0.76rem;
    margin-top: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .contact-cell {
    border-radius: 10px;
    padding: 1.5rem 1rem;
  }

  .cc-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.9rem;
    font-size: 1rem;
  }

  .cc-title {
    font-size: 0.72rem;
    letter-spacing: 1.7px;
  }

  .cc-body {
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .contact-student-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.45rem 0;
    text-align: center;
  }

  .contact-student-name {
    width: 100%;
    text-align: center;
  }

  .contact-student-phones {
    align-items: center;
  }

  .contact-student-phone {
    font-size: 0.8rem;
    margin-inline: auto;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-box {
    padding: 1rem 0.5rem;
  }

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

  .reg-box {
    padding: 2rem 1.5rem;
  }

  .modal-body {
    padding: 1rem 0.95rem 1.1rem;
    grid-template-columns: 1fr;
    grid-template-areas:
      'rules'
      'info'
      'coords';
  }

  .modal-coords-grid {
    grid-template-columns: 1fr;
  }

  .modal-header {
    padding: 1.25rem 0.95rem 1rem;
  }

  .modal-box {
    border-radius: 12px;
    width: min(96vw, 96vw);
  }

  .modal-ev-name {
    font-size: 1.35rem;
  }

  .modal-ev-sub {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .mi-chip {
    font-size: 0.7rem;
    padding: 0.5rem 0.72rem;
  }


  .sec-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }

  .sec-title {
    font-size: 2.22rem;
    line-height: 1.25;
    text-align: center;
    margin-inline: auto;
  }

  .about-text {
    text-align: center;
    margin-inline: auto;
  }

  .coord-tier-head {
    font-size: 0.72rem;
    letter-spacing: 2px;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    margin-inline: auto;
  }

  .coord-tier-panel {
    border-radius: 8px;
  }

  .coord-tier-body {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.8rem 0.85rem 0.95rem;
  }

  .coord-person {
    padding: 0.75rem 0.4rem;
  }

  .coord-cname {
    font-size: 1.02rem;
  }

  .coord-crole {
    font-size: 0.64rem;
    letter-spacing: 0.9px;
  }


  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: none;
    margin-inline: auto;
    border: none;
  }

  .stat-box {
    border: 1px solid rgba(0, 245, 255, 0.1);
    background: rgba(0, 245, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem 0.5rem;
  }

  /* Footer in columns on mobile */
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    text-align: left;
    gap: 1.15rem;
    padding: 0 1.1rem 0 1.45rem;
  }

  .footer-brand {
    grid-column: auto;
    text-align: left;
  }

  .footer-brand p {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .footer-links {
    width: 100%;
  }

  .footer-links h5 {
    text-align: left;
    margin-bottom: 0.75rem;
  }

  .footer-links ul {
    text-align: left;
  }

  .footer-bottom {
    text-align: left;
    padding: 1.5rem 1rem;
  }

  .footer-bottom span {
    text-align: left;
    white-space: normal;
  }

  .reg-chip, .fee-tag {
    margin-inline: auto;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sec-label {
    letter-spacing: 1.5px;
    font-size: 0.65rem;
    white-space: nowrap;
    width: fit-content;
    margin-inline: auto;
  }

  .coord-tier-head {
    letter-spacing: 1px;
    font-size: 0.65rem;
    white-space: nowrap;
    width: fit-content;
    margin-inline: auto;
  }

  .reg-info-row {
    flex-direction: column;
    align-items: stretch;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sch-date-chip {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    width: 100%;
    justify-content: center;
    clip-path: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .footer-links h5 {
    font-size: 0.88rem;
    letter-spacing: 2px;
  }

  .footer-links ul li a {
    font-size: 0.8rem;
  }

  .copy-text {
    font-size: 0.75rem;
    line-height: 1.6;
  }
}

/* About section mobile layout fixes */
@media (max-width: 768px) {
  .container,
  .hero-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #about .about-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  #about .about-poster {
    max-width: 430px;
    margin: 0 auto;
  }

  #about .about-text {
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    text-align: left;
  }

  #about .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
    border: none;
  }

  #about .stat-box {
    border: 1px solid rgba(0, 245, 255, 0.14);
    border-radius: 8px;
    padding: 1.1rem 0.7rem;
  }

  #about .stat-num {
    font-size: 1.55rem;
  }

  #about .stat-l {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #about .sit-panel {
    padding: 2rem 1.25rem;
  }

  #about .sit-panel-inner {
    gap: 1.75rem;
  }

  #about .sit-logo-row {
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  #about .sit-logo-row img {
    margin: 0 auto;
  }

  #about .sit-title {
    font-size: 1.25rem;
  }

  #about .sit-description,
  #about .sit-address,
  #about .sit-brand-info {
    text-align: left;
  }

  #about .sit-contact-item {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container,
  .hero-content {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  #about .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  #about .stat-box {
    padding: 0.85rem 0.35rem;
  }

  #about .stat-num {
    font-size: 1.35rem;
  }

  #about .stat-l {
    font-size: 0.54rem;
    letter-spacing: 0.35px;
    line-height: 1.2;
  }

  #about .sit-panel {
    padding: 1.5rem 1rem;
  }

  #about .sit-logo-row {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  #about .sit-logo-row img {
    margin: 0 auto;
  }

  #about .sit-description,
  #about .sit-address,
  #about .sit-brand-info {
    text-align: left;
  }
}

@media (max-width: 768px) {
  #about .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Final visual alignment: hero date + about stats cards */
.hero-date {
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  letter-spacing: 2px;
  line-height: 1.45;
  font-weight: 700;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.4);
}

.hero-date i {
  margin-right: 6px;
}

#about .about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.35rem;
  border-top: 1px solid rgba(0, 245, 255, 0.22);
  border-bottom: 1px solid rgba(0, 245, 255, 0.12);
  padding: 0.55rem 0;
}

#about .stat-box {
  position: relative;
  overflow: visible;
  text-align: center;
  padding: 0.95rem 0.45rem 0.82rem;
  border: none;
  border-radius: 0;
  clip-path: none;
  background: transparent;
  box-shadow: none;
  transition: transform 0.22s var(--ease-out-expo);
}

#about .stat-box::before {
  display: none;
}

#about .stat-box::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 68%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(0, 245, 255, 0.4), transparent);
}

#about .stat-box:last-child::after {
  display: none;
}

#about .stat-box:hover {
  transform: translateY(-3px);
}

#about .stat-num {
  font-family: var(--ff-title);
  font-size: clamp(2.05rem, 2.65vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 0.12rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(0, 245, 255, 0.22);
}

#about .stat-box:nth-child(1) .stat-num {
  color: var(--neon-cyan);
}

#about .stat-box:nth-child(2) .stat-num {
  color: var(--neon-orange);
}

#about .stat-box:nth-child(3) .stat-num {
  color: var(--neon-violet);
}

#about .stat-l {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.55px;
  color: var(--text-dim);
  margin-top: 0.38rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-date {
    font-size: 0.94rem;
    letter-spacing: 1.6px;
  }

  #about .stat-box {
    padding: 0.76rem 0.18rem 0.64rem;
  }

  #about .stat-num {
    font-size: 1.68rem;
  }

  #about .stat-l {
    font-size: 0.58rem;
    letter-spacing: 0.78px;
  }
}

@media (max-width: 480px) {
  .hero-date {
    font-size: 0.86rem;
    letter-spacing: 1.2px;
  }

  #about .about-stats {
    padding: 0.42rem 0;
  }

  #about .stat-box {
    padding: 0.62rem 0.06rem 0.52rem;
  }

  #about .stat-num {
    font-size: 1.38rem;
  }

  #about .stat-l {
    font-size: 0.5rem;
    letter-spacing: 0.3px;
  }
}
