:root {
  --bg: #060d1a;
  --bg-deep: #040914;
  --bg-mid: #0b1830;
  --card: rgba(12, 30, 54, 0.55);
  --card-strong: rgba(10, 25, 46, 0.75);
  --border: rgba(78, 175, 255, 0.34);
  --cyan: #57c6ff;
  --accent: #6be3ff;
  --glow: #94f3ff;
  --red: #eff8ff;
  --gold: #eff9ff;
  --text: #f8fcff;
  --text-soft: #d7ebff;
  --text-dim: #a9c7dd;
  --shadow-cyan: 0 0 0 1px rgba(87, 198, 255, 0.3), 0 14px 30px rgba(0, 0, 0, 0.45);
  --glow-shadow: 0 0 18px rgba(107, 227, 255, 0.38), 0 0 34px rgba(87, 198, 255, 0.22);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

img,
video {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: #000;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

p,
li,
.faculty-card h3,
.faculty-card h4,
.problem-card h3,
.problem-card p,
.rules-card h3,
.timeline-item h3,
.timeline-item li,
.footer-social a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

iframe,
table {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
.brand,
.section-head h2 {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.03em;
  margin-top: 0;
}

.bg-video {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.12) contrast(1.06);
}

.bg-video::after {
  content: none;
}

.bg-video::before {
  content: none;
}

@keyframes drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(32px); }
}

@keyframes auroraShift {
  0% { transform: translate3d(-1%, -1%, 0) scale(1); opacity: 0.75; }
  100% { transform: translate3d(2%, 1%, 0) scale(1.04); opacity: 0.95; }
}

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(77, 184, 255, 0.28), 0 14px 28px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 0 0 1px rgba(107, 227, 255, 0.62), 0 20px 36px rgba(0, 0, 0, 0.42), 0 0 30px rgba(107, 227, 255, 0.34); }
}

@keyframes energyPulse {
  0%, 100% {
    border-color: rgba(87, 198, 255, 0.34);
    box-shadow: var(--shadow-cyan);
  }
  50% {
    border-color: rgba(148, 243, 255, 0.74);
    box-shadow: 0 0 0 1px rgba(148, 243, 255, 0.65), 0 0 20px rgba(107, 227, 255, 0.38), 0 14px 30px rgba(0, 0, 0, 0.5);
  }
}

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

@keyframes heroLiftIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes navSheen {
  0% { transform: translateX(-55%); opacity: 0.22; }
  50% { opacity: 0.5; }
  100% { transform: translateX(55%); opacity: 0.22; }
}

@keyframes cornerGlowPulse {
  0%, 100% { 
    box-shadow: 0 0 40px rgba(87, 198, 255, 0.6), 0 0 80px rgba(107, 227, 255, 0.3);
    opacity: 0.7;
  }
  50% { 
    box-shadow: 0 0 60px rgba(107, 227, 255, 0.9), 0 0 120px rgba(148, 243, 255, 0.6);
    opacity: 1;
  }
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5.25rem 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

main .section {
  position: static;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.section-head p {
  color: var(--text-soft);
  max-width: 760px;
  overflow-wrap: anywhere;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(120deg, rgba(5, 12, 24, 0.62), rgba(8, 20, 38, 0.4));
  backdrop-filter: blur(12px) saturate(1.12);
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid rgba(87, 198, 255, 0.22);
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(87, 198, 255, 0.17) 50%, transparent 80%);
  animation: navSheen 8.5s ease-in-out infinite alternate;
}

.navbar.scrolled {
  background: linear-gradient(120deg, rgba(5, 12, 24, 0.82), rgba(8, 20, 38, 0.65));
  border-bottom-color: rgba(107, 227, 255, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 18px rgba(87, 198, 255, 0.2);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  position: relative;
  z-index: 2;
}

.brand {
  color: var(--cyan);
  font-size: clamp(0.95rem, 1.85vw, 1.3rem);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(107, 227, 255, 0.28);
  background: linear-gradient(120deg, rgba(6, 14, 29, 0.74), rgba(8, 19, 35, 0.46));
  box-shadow: inset 0 0 0 1px rgba(107, 227, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px) saturate(1.1);
  flex-shrink: 0;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.nav-menu a:not(.btn-register) {
  position: relative;
  padding: 0.52rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-menu a:not(.btn-register)::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.32rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(107, 227, 255, 0.95), transparent);
  transform: scaleX(0.3);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-menu a:hover {
  color: var(--accent);
  text-shadow: var(--glow-shadow);
}

.nav-menu a:not(.btn-register):hover,
.nav-menu a:not(.btn-register):focus-visible {
  transform: translateY(-1px);
  border-color: rgba(107, 227, 255, 0.58);
  background: rgba(87, 198, 255, 0.11);
}

.nav-menu a:not(.btn-register):hover::after,
.nav-menu a:not(.btn-register):focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-register-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.12rem;
  flex-shrink: 0;
}

.nav-register-group .btn-register {
  padding-inline: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-register,
.btn-primary {
  background: linear-gradient(120deg, var(--cyan), var(--accent));
  color: #031321;
  box-shadow: 0 10px 24px rgba(87, 198, 255, 0.28), 0 0 22px rgba(107, 227, 255, 0.26);
}

.btn-outline {
  color: var(--cyan);
  border-color: rgba(87, 198, 255, 0.78);
  background: rgba(87, 198, 255, 0.12);
}

.btn-large {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Sponsors Bar */
.sponsors-bar {
  padding: 2.2rem 0;
  background: transparent;
  border: none;
  margin-top: 0;
  box-shadow: none;
}

.sponsors-showcase {
  position: relative;
  border: 1px solid rgba(103, 220, 255, 0.55);
  border-radius: 20px;
  padding: clamp(1rem, 2vw, 1.6rem);
  background:
    radial-gradient(circle at 18% 10%, rgba(114, 224, 255, 0.2), transparent 38%),
    radial-gradient(circle at 82% 85%, rgba(69, 183, 255, 0.16), transparent 35%),
    linear-gradient(155deg, rgba(7, 18, 35, 0.82), rgba(4, 12, 26, 0.66));
  box-shadow:
    0 0 0 1px rgba(103, 220, 255, 0.24),
    0 0 24px rgba(103, 220, 255, 0.35),
    0 18px 34px rgba(0, 0, 0, 0.45),
    inset 0 0 24px rgba(73, 178, 255, 0.14);
}

.sponsors-showcase::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(126, 230, 255, 0.2);
  border-radius: 14px;
  box-shadow: inset 0 0 24px rgba(66, 190, 255, 0.12);
}

.corner-glow {
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(87, 198, 255, 0.8), 0 0 80px rgba(107, 227, 255, 0.5);
  background: radial-gradient(circle at center, rgba(107, 227, 255, 0.4), transparent 70%);
  animation: cornerGlowPulse 3s ease-in-out infinite;
}

.corner-top-left {
  top: -20px;
  left: -20px;
}

.corner-top-right {
  top: -20px;
  right: -20px;
}

.corner-bottom-left {
  bottom: -20px;
  left: -20px;
}

.corner-bottom-right {
  bottom: -20px;
  right: -20px;
}

.sponsors-super {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.1em;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.sponsors-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr) minmax(0, 1fr);
  gap: clamp(0.8rem, 2vw, 1.6rem);
  align-items: stretch;
}

.sponsor-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(102, 223, 255, 0.52);
  background: linear-gradient(165deg, rgba(7, 20, 38, 0.72), rgba(5, 13, 28, 0.56));
  box-shadow:
    0 0 0 1px rgba(96, 214, 255, 0.16),
    0 0 16px rgba(69, 171, 255, 0.3),
    inset 0 0 16px rgba(68, 178, 255, 0.14);
}

.sponsor-zone h3 {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sponsor-zone-name {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f2fbff;
  font-size: 0.88rem;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(85, 210, 255, 0.32);
}

.sponsor-zone-center .sponsor-zone-name {
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 900;
}

.podaran-triangle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "top top"
    "left right";
  gap: 0.7rem;
  align-items: center;
}

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(104, 225, 255, 0.48);
  background:
    radial-gradient(circle at 50% 0%, rgba(91, 205, 255, 0.14), transparent 52%),
    linear-gradient(150deg, rgba(8, 22, 41, 0.8), rgba(7, 16, 32, 0.72));
  box-shadow:
    0 0 0 1px rgba(104, 225, 255, 0.14),
    0 0 14px rgba(104, 225, 255, 0.28),
    0 10px 18px rgba(0, 0, 0, 0.42),
    inset 0 0 16px rgba(74, 173, 255, 0.12);
}

.sponsor-card img {
  display: block;
  width: auto;
  max-width: 100%;
  filter: brightness(1.05) contrast(1.08);
  border-radius: 12px;
}

.sponsor-card-top {
  grid-area: top;
}

.sponsor-card-bottom-left {
  grid-area: left;
}

.sponsor-card-bottom-right {
  grid-area: right;
}

.sponsor-card-top img {
  max-height: 94px;
}

.sponsor-card-bottom-left img,
.sponsor-card-bottom-right img {
  max-height: 70px;
}

.sponsor-zone-left .podaran-triangle {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.2rem 0;
  box-shadow: none;
}

.sponsor-zone-left .sponsor-card-top {
  min-height: 132px;
}

.sponsor-zone-left .sponsor-card-top img {
  max-height: 126px;
}

.sponsor-zone-left .sponsor-card-bottom-left,
.sponsor-zone-left .sponsor-card-bottom-right {
  min-height: 90px;
  padding: 0.35rem;
}

.sponsor-zone-left .sponsor-card-bottom-left img,
.sponsor-zone-left .sponsor-card-bottom-right img {
  max-height: 72px;
}

.sponsor-zone-left .sponsor-card-bottom-right img {
  max-height: 116px;
  border-radius: 50%;
}

.sponsor-zone-left .sponsor-card {
  border: none;
  background: transparent;
  box-shadow: none;
}

.sponsor-card-main {
  min-height: 230px;
  padding: 0.2rem;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 24px;
  overflow: hidden;
}

.sponsor-card-main img {
  max-height: 330px;
  border-radius: 20px;
}

.associate-stack {
  display: grid;
  gap: 0.7rem;
}

.sponsor-card-associate {
  min-height: 136px;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.sponsor-card-associate img {
  max-height: 124px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 0.35rem 0.65rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 1.25rem;
  margin-top: 56px;
}

#home .hero .container {
  width: min(1380px, calc(100% - 1rem));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.hero-panel {
  background: linear-gradient(150deg, rgba(8, 22, 41, 0.55), rgba(10, 24, 46, 0.38));
  border: 1px solid rgba(107, 227, 255, 0.5);
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48), 0 0 30px rgba(107, 227, 255, 0.18);
  backdrop-filter: blur(9px) saturate(1.08);
  animation: heroLiftIn 0.7s ease both;
  overflow: hidden;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.55rem;
  border-radius: 50%;
  background: rgba(12, 30, 54, 0.42);
  border: 1px solid rgba(107, 227, 255, 0.35);
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: auto;
  overflow: hidden;
  animation: heroLiftIn 0.8s ease both, floatLogo 6s ease-in-out infinite, glowPulse 3.2s ease-in-out infinite;
}

.hero-logo,
.hero-logo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 0 14px rgba(77, 184, 255, 0.3));
  opacity: 1;
  border-radius: 50%;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(1.95rem, 5.6vw, 4rem);
  margin-bottom: 0;
  line-height: 1.02;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(148, 243, 255, 0.35), 0 2px 22px rgba(0, 0, 0, 0.55);
  overflow-wrap: normal;
}

.hero-subtitle {
  font-size: clamp(1.9rem, 8.2vw, 4.9rem);
  margin: 0.15rem 0 1rem;
  background: linear-gradient(120deg, var(--accent), var(--red));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  animation: textShimmer 3.2s linear infinite;
  overflow-wrap: anywhere;
}

.hero-meta {
  margin: 0.2rem 0;
  color: var(--text-soft);
  max-width: 680px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.chip {
  border: 1px solid rgba(107, 227, 255, 0.7);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  color: var(--accent);
  background: rgba(8, 24, 43, 0.38);
  font-weight: 600;
}

.prize-callout {
  font-size: clamp(1.35rem, 4.2vw, 2rem);
  color: var(--gold);
  font-weight: 800;
  margin: 0.3rem 0 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.registration-deadline {
  margin-top: 1.2rem;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--text-soft);
  text-align: center;
  padding: 0.8rem;
  border-top: 1px dashed rgba(107, 227, 255, 0.4);
  padding-top: 1rem;
}

.countdown-bar {
  padding-top: 1rem;
}

.countdown-bar h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.countdown-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
}

.time-box {
  background: linear-gradient(160deg, rgba(10, 23, 42, 0.72), rgba(8, 18, 34, 0.56));
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  padding: 0.9rem 0.5rem;
  box-shadow: var(--shadow-cyan);
  backdrop-filter: blur(10px) saturate(1.06);
  animation: energyPulse 2.8s ease-in-out infinite;
}

.time-value {
  display: block;
  font-family: "Space Mono", monospace;
  color: var(--cyan);
  font-size: clamp(1.3rem, 4vw, 2.1rem);
  font-weight: 700;
}

.time-label,
.countdown-status {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.card {
  background: linear-gradient(160deg, var(--card), rgba(10, 24, 44, 0.36));
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-cyan);
  backdrop-filter: blur(10px) saturate(1.08);
}

.card,
.prize-card,
.rules-card,
.faculty-card,
.contact-card,
.stat-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.prize-card:hover,
.rules-card:hover,
.faculty-card:hover,
.contact-card:hover,
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(107, 227, 255, 0.75);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(107, 227, 255, 0.48), 0 0 20px rgba(107, 227, 255, 0.2);
}

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

.about-text {
  padding: 1.4rem;
}

.about-text ul,
.rules-card ul,
.timeline-item ul,
.contact-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.about-text li,
.rules-card li,
.timeline-item li,
.contact-card li {
  margin: 0.5rem 0;
  color: var(--text-soft);
}

.supporting-bodies {
  margin-top: 1.2rem;
}

.body-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.body-tags span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 184, 255, 0.5);
  font-size: 0.84rem;
  color: #e9f5ff;
}

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

.stat-card {
  padding: 1.1rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(1.25rem, 3.2vw, 1.9rem);
  color: var(--accent);
  font-family: "Space Mono", monospace;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 0 14px rgba(107, 227, 255, 0.34);
}

.stat-label {
  margin: 0.3rem 0 0;
  color: var(--text-soft);
}

.gold-total {
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  color: var(--gold);
  font-family: "Space Mono", monospace;
  font-weight: 700;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.prize-card {
  border-radius: 16px;
  padding: 1.3rem;
  border: 1px solid rgba(107, 227, 255, 0.38);
  backdrop-filter: blur(12px) saturate(1.12);
}

.prize-card h3 {
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.prize-card .amount {
  font-family: "Space Mono", monospace;
  font-size: clamp(1.2rem, 4vw, 1.9rem);
  font-weight: 700;
  margin: 0;
}

.per-track {
  color: var(--text-soft);
  margin-top: 0.4rem;
}

.prize-card.first {
  background: linear-gradient(160deg, rgba(148, 243, 255, 0.22), rgba(10, 25, 46, 0.65));
}

.prize-card.second {
  background: linear-gradient(160deg, rgba(87, 198, 255, 0.24), rgba(8, 20, 38, 0.64));
}

.prize-card.third {
  background: linear-gradient(160deg, rgba(107, 227, 255, 0.2), rgba(8, 18, 34, 0.66));
}

.timeline {
  max-width: 860px;
  margin-inline: auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.95rem;
}

.timeline-node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 0.45rem;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(107, 227, 255, 0.9);
}

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

.problem-card {
  padding: 1.2rem;
}

.problem-card h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.problem-card p {
  margin: 0;
  color: var(--text-soft);
}

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

.rules-card {
  padding: 1.2rem;
}

.rules-card h3 {
  color: var(--accent);
  font-size: 1.05rem;
}

.important-note-card {
  grid-column: 1 / -1;
  background: linear-gradient(160deg, rgba(87, 198, 255, 0.2), rgba(10, 24, 44, 0.62));
}

.info-strip {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(107, 227, 255, 0.72);
  border-radius: 10px;
  color: #edf7ff;
  background: rgba(87, 198, 255, 0.12);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.subhead {
  margin: 2rem 0 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  text-align: center;
}

.leader-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faculty-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.convener-grid {
  justify-content: center;
}

.organizer-grid {
  justify-content: center;
}

.convener-grid .faculty-card {
  flex: 1 1 calc(50% - 0.5rem);
  max-width: calc(50% - 0.5rem);
}

.organizer-grid .faculty-card {
  flex: 1 1 calc(33.333% - 0.7rem);
  max-width: calc(33.333% - 0.7rem);
}

.faculty-card {
  position: relative;
  padding: 1rem;
}

.faculty-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 14px 14px 0 0;
}

.faculty-card .role {
  color: var(--accent);
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.faculty-card h3,
.faculty-card h4 {
  margin: 0;
}

.phone-link {
  display: inline-block;
  margin-top: 0.75rem;
  text-decoration: none;
  color: #031321;
  background: var(--accent);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.student-team-cta {
  margin-top: 0.2rem;
  text-align: center;
  padding: 1.2rem;
}

.student-team-cta p {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
}

.student-president-grid .faculty-card {
  flex: 1 1 min(100%, 520px);
  max-width: 520px;
}

.student-convener-grid .faculty-card {
  flex: 1 1 calc(33.333% - 0.7rem);
  max-width: calc(33.333% - 0.7rem);
}

.student-coordinator-grid .faculty-card {
  flex: 1 1 calc(33.333% - 0.7rem);
  max-width: calc(33.333% - 0.7rem);
}

.committee-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.committee-column {
  display: contents;
}

.committee-column .committee-card {
  flex: 1 1 calc(33.333% - 0.7rem);
  max-width: calc(33.333% - 0.7rem);
  width: auto;
}

.committee-extra-grid {
  margin-top: 1rem;
}

.committee-extra-grid .committee-card {
  flex: 1 1 calc(33.333% - 0.7rem);
  max-width: calc(33.333% - 0.7rem);
}

.student-profile-card::before {
  content: none;
}

.student-profile-card {
  padding: 0;
  width: min(100%, 290px);
  height: auto;
  overflow: hidden;
  border-radius: 1.2rem;
  border: 1px solid rgba(72, 72, 71, 0.6);
  background: #1a1a1a;
  box-shadow: 0 0 42px -16px rgba(235, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.student-card-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1.2rem;
}

#faculty .student-president-grid .student-profile-card,
#faculty .student-convener-grid .student-profile-card,
#faculty .committee-layout .student-profile-card,
#faculty .committee-extra-grid .student-profile-card {
  flex: 0 1 290px;
  max-width: 290px;
}

.student-card-visual {
  position: relative;
  flex: 0 0 18.5rem;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 18.5rem;
  min-height: 18.5rem;
  max-height: 18.5rem;
  overflow: hidden;
  overflow-y: hidden;
  overflow-x: hidden;
  background: #0a0a0a;
}

.student-card-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.05) contrast(1.15) saturate(1.1);
  -webkit-user-select: none;
  user-select: none;
  border: none;
  margin: 0;
  padding: 0;
}

.student-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.08) 55%, rgba(26, 26, 26, 0));
}

.student-card-identity {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.1rem;
}

.student-card-name {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.student-card-subtitle {
  margin: 0.45rem 0 0;
  color: #ff8e7d;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.student-card-content {
  padding: 1rem 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #1a1a1a;
}

.student-card-role {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb2a8;
  font-weight: 700;
}

.student-card-number {
  margin: 0;
  color: #adaaaa;
  font-size: 0.93rem;
}

.student-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.25rem;
}

.student-connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  color: #000;
  background: linear-gradient(180deg, #ff8e7d, #eb0000);
  border: 1px solid rgba(255, 142, 125, 0.35);
  box-shadow: 0 10px 18px rgba(235, 0, 0, 0.2);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.student-connect-btn:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.06);
}

.student-connect-btn.is-disabled {
  pointer-events: none;
  opacity: 0.58;
}

.student-accent-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, transparent, #ff8e7d, transparent);
  opacity: 0.34;
}

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

.contact-card {
  padding: 1.1rem;
}

.contact-card p,
.contact-card li {
  color: var(--text-soft);
}

.contact-card a {
  color: var(--accent);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.4rem 0 1rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid rgba(107, 227, 255, 0.62);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(10, 24, 44, 0.62);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 243, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(148, 243, 255, 0.28), 0 10px 20px rgba(0, 0, 0, 0.35);
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 50%;
}

.social-icon-link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 0.75rem;
}

.map-wrap iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  text-decoration: none;
  border: 1px solid rgba(107, 227, 255, 0.62);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  background: rgba(10, 24, 44, 0.62);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.map-link:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 243, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(148, 243, 255, 0.28), 0 10px 20px rgba(0, 0, 0, 0.35);
}

.cta-section {
  background: linear-gradient(140deg, rgba(87, 198, 255, 0.16), rgba(148, 243, 255, 0.08));
}

.cta-wrap {
  text-align: center;
}

.cta-wrap h2 {
  font-size: clamp(1.6rem, 5vw, 3rem);
  margin-bottom: 0.4rem;
}

.cta-wrap p {
  color: var(--text-soft);
}

.register-heading {
  margin-bottom: 0.15rem;
  font-weight: 700;
  color: var(--text);
}

.registration-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.registration-links .btn {
  width: 100%;
}

.note {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.footer {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(4, 9, 20, 0.82), rgba(7, 16, 30, 0.6));
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  color: var(--accent);
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.45rem 1rem;
  align-content: start;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
}

.footer-connect-box {
  margin-top: 0.85rem;
  border: 1px solid rgba(107, 227, 255, 0.45);
  border-radius: 14px;
  padding: 0.75rem;
  background: linear-gradient(160deg, rgba(8, 22, 40, 0.62), rgba(10, 25, 45, 0.45));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(87, 198, 255, 0.16);
  max-width: 520px;
}

.footer-connect-title {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-social a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  border: 1px solid rgba(107, 227, 255, 0.52);
  border-radius: 999px;
  padding: 0.36rem 0.68rem;
  background: rgba(10, 24, 44, 0.55);
  overflow-wrap: anywhere;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: rgba(148, 243, 255, 0.82);
  box-shadow: 0 0 0 1px rgba(148, 243, 255, 0.2), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.footer-social .social-icon-link {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copyright {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-top: 1.2rem;
}

.music-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  border: 1px solid rgba(107, 227, 255, 0.82);
  background: rgba(10, 24, 44, 0.82);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), 0 0 16px rgba(107, 227, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.music-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.46), 0 0 24px rgba(107, 227, 255, 0.32);
  background: rgba(13, 33, 60, 0.88);
}

.music-start-prompt {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  z-index: 121;
  border: 1px solid rgba(107, 227, 255, 0.85);
  background: rgba(13, 30, 54, 0.95);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.62rem 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5), 0 0 18px rgba(107, 227, 255, 0.4);
}

.music-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 8, 18, 0.62);
  backdrop-filter: blur(10px);
}

.music-gate-card {
  width: min(92vw, 420px);
  max-width: 100%;
  border: 1px solid rgba(107, 227, 255, 0.55);
  border-radius: 16px;
  padding: 1.1rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(8, 22, 40, 0.86), rgba(12, 30, 54, 0.72));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 26px rgba(107, 227, 255, 0.24);
}

.music-gate-title {
  margin: 0 0 0.9rem;
  color: var(--text);
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.music-gate-btn {
  border: 1px solid rgba(107, 227, 255, 0.86);
  background: linear-gradient(120deg, var(--cyan), var(--accent));
  color: #031321;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 20px rgba(107, 227, 255, 0.26);
  max-width: 100%;
}

.music-gate-btn:hover {
  filter: brightness(1.08);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 0.14rem;
    padding: 0.22rem;
  }

  .nav-menu a:not(.btn-register) {
    padding: 0.48rem 0.54rem;
    font-size: 0.86rem;
  }

  .nav-register-group .btn-register {
    padding-inline: 0.82rem;
    font-size: 0.88rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 1.5rem;
  }

  #home .hero .container {
    width: min(1260px, calc(100% - 1rem));
  }

  .hero-panel {
    padding: clamp(1rem, 2.4vw, 1.6rem);
  }

  .hero-logo,
  .hero-logo-video {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1140px) {
  .hero {
    margin-top: 44px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand {
    max-width: calc(100vw - 84px);
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    display: grid;
    gap: 0.45rem;
    background: rgba(6, 14, 28, 0.97);
    border-bottom: 1px solid rgba(107, 227, 255, 0.4);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 0.9rem 1rem 1rem;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: scaleY(1);
    opacity: 1;
  }

  .nav-menu a {
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
  }

  .nav-menu a:not(.btn-register) {
    border: 1px solid rgba(107, 227, 255, 0.2);
    background: rgba(10, 24, 44, 0.42);
  }

  .nav-register-group {
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .nav-menu a:not(.btn-register)::after {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.42rem;
  }

  .nav-register-group .btn-register {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1140px) and (max-height: 700px) {
  .nav-menu {
    max-height: calc(100dvh - 66px);
    top: 64px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 4.6rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-wrap {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .prize-grid,
  .leader-stack,
  .problems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .organizer-grid .faculty-card,
  .convener-grid .faculty-card,
  .student-convener-grid .faculty-card,
  .student-coordinator-grid .faculty-card,
  .committee-layout .committee-card,
  .committee-extra-grid .committee-card {
    flex-basis: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }

  .committee-layout {
    justify-content: center;
  }

  .sponsors-layout {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .sponsor-zone-center {
    order: 1;
  }

  .sponsor-zone-left {
    order: 2;
  }

  .sponsor-zone-right {
    order: 3;
  }

  .sponsor-card-main {
    min-height: 230px;
  }

  .sponsor-card-main img {
    max-height: 300px;
  }
}

@media (max-width: 860px) {
  .brand {
    font-size: 1.05rem;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .sponsors-bar {
    margin-top: 74px;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3.8rem);
  }

  .hero-subtitle {
    font-size: clamp(1.8rem, 9vw, 3.8rem);
  }

  .section-head h2 {
    font-size: clamp(1.4rem, 5.4vw, 2.2rem);
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 100%;
    max-height: none;
  }

  .prize-grid,
  .leader-stack,
  .problems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .organizer-grid .faculty-card,
  .convener-grid .faculty-card,
  .student-convener-grid .faculty-card,
  .student-coordinator-grid .faculty-card,
  .committee-layout .committee-card,
  .committee-extra-grid .committee-card {
    flex-basis: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }

  .committee-layout {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4.3rem 0;
  }

  .navbar,
  .nav-menu,
  .hero-panel,
  .hero-logo-wrap,
  .time-box,
  .card,
  .prize-card,
  .music-toggle,
  .music-gate {
    backdrop-filter: none !important;
  }

  .card,
  .prize-card,
  .hero-panel,
  .time-box,
  .footer-connect-box,
  .music-toggle,
  .music-gate-card {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.32);
  }

  .card:hover,
  .prize-card:hover,
  .rules-card:hover,
  .faculty-card:hover,
  .contact-card:hover,
  .stat-card:hover,
  .student-connect-btn:hover,
  .social-chip:hover,
  .sponsor-item:hover,
  .sponsor-logo:hover {
    transform: none;
    filter: none;
  }

  .hero-logo-wrap,
  .time-box {
    animation: none;
  }

  .container {
    width: min(1180px, calc(100% - 1.4rem));
  }

  #home .hero .container {
    width: min(1180px, calc(100% - 1.1rem));
  }

  .hero-panel {
    border-radius: 14px;
    overflow: hidden;
  }

  .hero-logo-wrap {
    padding: 0.75rem;
    border-radius: 14px;
  }

  .countdown-grid,
  .prize-grid,
  .rules-grid,
  .problems-grid,
  .stats-grid,
  .leader-stack {
    grid-template-columns: 1fr;
  }

  .organizer-grid .faculty-card,
  .convener-grid .faculty-card,
  .student-convener-grid .faculty-card,
  .student-coordinator-grid .faculty-card,
  .committee-layout .committee-card,
  .committee-extra-grid .committee-card,
  .student-president-grid .faculty-card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-item {
    grid-template-columns: 30px 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-title {
    white-space: normal;
    font-size: clamp(1.5rem, 10.5vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: clamp(1.45rem, 9.4vw, 2.3rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .chip {
    width: 100%;
    text-align: center;
  }

  .registration-links {
    grid-template-columns: 1fr;
  }

  .nav-register-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 0.8rem;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-logo-wrap {
    display: flex;
    max-width: 280px;
    margin: auto;
  }

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

  .time-box {
    padding: 0.75rem 0.4rem;
  }

  .time-value {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
  }

  .registration-deadline {
    margin-top: 0.8rem;
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    padding: 0.6rem;
    padding-top: 0.8rem;
  }

  .corner-glow {
    width: 60px;
    height: 60px;
  }

  .corner-top-left {
    top: -15px;
    left: -15px;
  }

  .corner-top-right {
    top: -15px;
    right: -15px;
  }

  .corner-bottom-left {
    bottom: -15px;
    left: -15px;
  }

  .corner-bottom-right {
    bottom: -15px;
    right: -15px;
  }

  .sponsors-bar {
    padding: 1.5rem 0;
  }

  .sponsors-super {
    font-size: 1.02rem;
  }

  .sponsor-zone h3 {
    font-size: 0.86rem;
  }

  .sponsor-zone-name {
    font-size: 0.8rem;
  }

  .sponsor-zone-center .sponsor-zone-name {
    font-size: 0.98rem;
  }

  .podaran-triangle {
    gap: 0.55rem;
  }

  .sponsor-card {
    padding: 0.55rem;
  }

  .sponsor-card-top img {
    max-height: 96px;
  }

  .sponsor-card-bottom-left img,
  .sponsor-card-bottom-right img,
  .sponsor-card-associate img {
    max-height: 72px;
  }

  .sponsor-card-main {
    min-height: 205px;
  }

  .sponsor-card-main img {
    max-height: 228px;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .hero-meta {
    font-size: 0.96rem;
  }

  .brand {
    max-width: calc(100vw - 80px);
    font-size: 0.98rem;
  }

  .hero-badges {
    gap: 0.55rem;
  }

  .chip {
    font-size: 0.85rem;
    padding: 0.3rem 0.72rem;
  }

  .countdown-bar h3 {
    font-size: 1rem;
  }

  .timeline-item {
    padding: 0.85rem;
  }

  .map-wrap iframe {
    height: 220px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .social-links {
    justify-content: center;
  }

  .social-chip {
    justify-content: center;
    text-align: center;
  }

  .footer-social {
    gap: 0.45rem;
  }

  .footer-connect-box {
    max-width: 100%;
  }

  .footer-social a {
    text-align: center;
  }

  .music-toggle {
    right: 0.75rem;
    bottom: 3.2rem;
    padding: 0.5rem 0.8rem;
    font-size: 0.88rem;
  }

  .music-start-prompt {
    bottom: 0.75rem;
    width: calc(100% - 1rem);
    max-width: 420px;
    text-align: center;
    font-size: 0.92rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(1180px, calc(100% - 1rem));
  }

  .hero-logo-wrap {
    max-width: 260px;
  }

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

  .time-box {
    padding: 0.65rem 0.3rem;
    border-radius: 8px;
  }

  .time-value {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }

  .time-label {
    font-size: 0.75rem;
  }

  .countdown-bar h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .corner-glow {
    width: 50px;
    height: 50px;
  }

  .corner-top-left {
    top: -12px;
    left: -12px;
  }

  .corner-top-right {
    top: -12px;
    right: -12px;
  }

  .corner-bottom-left {
    bottom: -12px;
    left: -12px;
  }

  .corner-bottom-right {
    bottom: -12px;
    right: -12px;
  }

  .sponsors-showcase {
    padding: 0.75rem;
  }

  .sponsor-zone {
    padding: 0.5rem;
  }

  .sponsor-zone h3 {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .sponsor-card-main img {
    max-width: 100%;
    height: auto;
  }

  .music-toggle {
    max-width: calc(100vw - 0.8rem);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1180px, calc(100% - 1rem));
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero-panel {
    padding: 0.95rem;
  }

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

  .time-box {
    padding: 0.6rem 0.25rem;
  }

  .time-value {
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
  }

  .time-label {
    font-size: 0.7rem;
  }

  .countdown-bar h3 {
    font-size: 0.95rem;
  }

  .hero-logo-wrap {
    max-width: 240px;
    margin: auto;
  }

  .hero-title {
    font-size: clamp(1.35rem, 9vw, 2rem);
  }

  .hero-subtitle {
    font-size: clamp(1.25rem, 9vw, 1.85rem);
  }

  .prize-callout {
    font-size: clamp(1.3rem, 4vw, 1.55rem);
  }

  .hero-meta {
    font-size: clamp(0.85rem, 2vw, 0.92rem);
  }

  .registration-deadline {
    font-size: clamp(0.8rem, 1.8vw, 0.89rem);
    margin-top: 0.6rem;
  }

  .sponsors-showcase {
    padding: 0.75rem;
    border-radius: 14px;
  }

  .sponsor-card-main {
    min-height: 178px;
  }

  .sponsor-card-main img {
    max-height: 192px;
  }

  .map-wrap iframe {
    height: 200px;
  }

  .music-toggle {
    right: 0.5rem;
    bottom: 0.6rem;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(1180px, calc(100% - 0.7rem));
  }

  .nav-wrap {
    min-height: 66px;
  }

  .brand {
    max-width: calc(100vw - 72px);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
  }

  .hero {
    padding-top: 5.2rem;
  }

  .hero-panel {
    padding: 0.75rem;
  }

  .hero-logo-wrap {
    max-width: 200px;
    padding: 0.35rem;
  }

  .countdown-grid {
    gap: 0.3rem;
  }

  .time-box {
    padding: 0.55rem 0.2rem;
    border-radius: 6px;
  }

  .time-value {
    font-size: 0.95rem;
  }

  .countdown-bar h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .section-head h2 {
    font-size: clamp(1.3rem, 8vw, 2rem);
  }

  .registration-deadline {
    font-size: 0.78rem;
    margin-top: 0.5rem;
  }

  .corner-glow {
    width: 40px;
    height: 40px;
    box-shadow: 0 0 25px rgba(87, 198, 255, 0.6), 0 0 50px rgba(107, 227, 255, 0.3);
  }

  .corner-top-left {
    top: -10px;
    left: -10px;
  }

  .corner-top-right {
    top: -10px;
    right: -10px;
  }

  .corner-bottom-left {
    bottom: -10px;
    left: -10px;
  }

  .corner-bottom-right {
    bottom: -10px;
    right: -10px;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: clamp(1.2rem, 10vw, 1.65rem);
  }

  .hero-subtitle {
    font-size: clamp(1.08rem, 10vw, 1.5rem);
  }

  .hero-meta {
    font-size: 0.88rem;
  }

  .prize-callout {
    font-size: 1.25rem;
  }

  .music-toggle {
    right: 0.35rem;
    bottom: 0.4rem;
    font-size: 0.8rem;
    padding: 0.42rem 0.65rem;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .nav-menu {
    left: 0.45rem;
    right: 0.45rem;
    width: auto;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faculty-grid {
    gap: 0.8rem;
  }

  #faculty .student-president-grid .student-profile-card,
  #faculty .student-convener-grid .student-profile-card,
  #faculty .committee-layout .student-profile-card,
  #faculty .committee-extra-grid .student-profile-card {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .student-card-visual {
    flex: 0 0 15rem;
    height: 15rem;
    min-height: 15rem;
    max-height: 15rem;
  }

  .student-card-name {
    font-size: 1.35rem;
  }

  .student-card-content {
    padding: 0.85rem 1rem 1rem;
  }
}

@media (max-width: 480px) {
  .nav-wrap {
    min-height: 68px;
  }

  .brand {
    max-width: calc(100vw - 82px);
    font-size: 0.92rem;
  }

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

  .time-box {
    min-height: 70px;
  }

  .section-head p,
  .hero-meta,
  .contact-card p,
  .contact-card li {
    font-size: 0.93rem;
  }

  .faculty-card h3,
  .faculty-card h4,
  .student-card-name,
  .student-card-role,
  .student-card-number {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .student-card-visual {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 340px) {
  .nav-menu {
    left: 0.25rem;
    right: 0.25rem;
  }

  .hero-logo-wrap {
    max-width: 180px;
  }

  .corner-glow {
    width: 35px;
    height: 35px;
  }

  .btn,
  .social-chip,
  .phone-link,
  .student-connect-btn {
    font-size: 0.8rem;
  }

  .sponsor-zone {
    padding: 0.42rem;
  }

  .sponsor-zone h3 {
    font-size: 0.76rem;
  }

  .sponsor-zone-name,
  .sponsor-zone-center .sponsor-zone-name {
    font-size: 0.82rem;
  }

  .sponsor-card-main img {
    max-height: 170px;
  }

  .sponsor-card-associate img {
    max-height: 100px;
  }
}

@media (max-width: 320px) {
  .container {
    width: min(1180px, calc(100% - 0.5rem));
  }

  .nav-wrap {
    min-height: 62px;
  }

  .brand {
    max-width: calc(100vw - 66px);
    font-size: 0.82rem;
  }

  .hero-logo-wrap {
    max-width: 170px;
  }

  .btn,
  .phone-link,
  .social-chip {
    padding-inline: 0.6rem;
    font-size: 0.76rem;
  }
}

@media (max-height: 700px) and (min-width: 1025px) {
  .hero {
    min-height: auto;
  }

  .section {
    padding: 4.2rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

