/* ============================================================
   TECHNOHOLIX-2K26 — Stylesheet
   Modern technology-symposium theme
   ============================================================ */

:root {
  --maroon: #3730a3;
  --maroon-dark: #17183f;
  --red: #5b5ce2;
  --crimson: #4338ca;
  --gold: #18b7b2;
  --gold-light: #83f0e6;
  --navy: #11172f;
  --danger: #c6283d;
  --green: #1f7a3d;
  --ink: #1c2530;
  --muted: #5b6673;
  --line: #e2e7f0;
  --bg: #ffffff;
  --bg-alt: #f4f6fc;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(24, 31, 77, 0.07);
  --shadow-md: 0 10px 28px rgba(24, 31, 77, 0.12);
  --shadow-lg: 0 22px 55px rgba(17, 23, 47, 0.2);
  --radius: 14px;
  --radius-lg: 20px;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Ensure the `hidden` attribute always wins over display rules */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #f8faff 0%, var(--bg) 34rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 0.95rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ============ TOP BAR ============ */
.topbar {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon) 55%, var(--crimson));
  color: #fff;
  padding: 10px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.college-brand { display: flex; align-items: center; gap: 14px; }
.college-logo {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
.college-text h1 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.college-text p { font-size: 0.78rem; opacity: 0.85; }
.topbar-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.badge-accredited { background: var(--gold); color: #4a3800; }
.badge-iso { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--red), var(--maroon));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
}
.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--maroon-dark);
  letter-spacing: 0.5px;
}
.nav-brand-text .accent { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--maroon); background: var(--bg-alt); }
.nav-link.active { color: var(--maroon); background: #eeefff; }
.nav-admin { color: var(--red); font-weight: 700; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ ANNOUNCEMENT ============ */
.announcement-bar { background: #fff7e0; border-bottom: 1px solid #f1dca0; }
.announcement-inner { display: flex; align-items: center; gap: 12px; padding: 10px 20px; }
.announcement-label { font-weight: 700; color: #8a6500; white-space: nowrap; }
.announcement-inner p { font-size: 0.9rem; color: #5d4700; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 440px at 82% 8%, rgba(24, 183, 178, 0.28), transparent 60%),
    radial-gradient(850px 420px at 8% 100%, rgba(91, 92, 226, 0.34), transparent 58%),
    linear-gradient(135deg, #0b1025 0%, #17183f 48%, #292978 100%);
  color: #fff;
  overflow: hidden;
  padding: 90px 0 96px;
}
.hero-particles {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(2px 2px at 70% 20%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(2px 2px at 45% 70%, rgba(255,255,255,0.35), transparent 50%),
    radial-gradient(2px 2px at 85% 75%, rgba(255,255,255,0.45), transparent 50%);
  background-size: 220px 220px;
  opacity: 0.5;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero-inner { position: relative; text-align: center; }
.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(245, 179, 1, 0.5);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(0, 0, 0, 0.18);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-title-tech { color: #fff; text-shadow: 0 4px 0 rgba(0,0,0,0.25); }
.hero-title-holix { color: var(--gold-light); text-shadow: 0 0 32px rgba(24, 183, 178, 0.38); }
.hero-title-year {
  display: inline-block;
  margin-left: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--crimson));
  padding: 2px 16px;
  border-radius: 10px;
  font-size: 0.55em;
  vertical-align: middle;
}
.hero-sub {
  margin-top: 14px;
  font-size: 1.05rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #ffd9db;
  font-weight: 600;
}
.hero-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
}
.hero-cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--crimson)); color: #fff; box-shadow: 0 7px 20px rgba(67, 56, 202, 0.27); }
.btn-primary:hover { box-shadow: 0 11px 28px rgba(67, 56, 202, 0.38); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-secondary { background: var(--bg-alt); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: #edf0f3; }
.btn-card { background: var(--maroon); color: #fff; width: 100%; }
.btn-card:hover { background: var(--crimson); }
.btn-ghost { background: transparent; color: var(--red); border-color: var(--red); padding: 8px 16px; font-size: 0.84rem; }
.btn-ghost:hover { background: #fbecec; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ============ STATS ============ */
.stats { background: var(--navy); color: #fff; padding: 0; margin-top: -42px; position: relative; z-index: 2; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(-24px);
}
.stat-card {
  background: var(--navy);
  padding: 26px 16px;
  text-align: center;
}
.stat-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 0.85rem; opacity: 0.85; }

/* ============ SECTIONS ============ */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--maroon-dark);
  text-align: center;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.section-sub { text-align: center; color: var(--muted); margin: 14px auto 40px; max-width: 620px; }

/* ============ EVENTS ============ */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.event-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: #c9ccff; }
.event-card-top {
  height: 120px;
  display: grid;
  place-items: center;
  position: relative;
  color: #fff;
}
.event-card-top.paper { background: linear-gradient(135deg, #536dfe, #3236a8); }
.event-card-top.quiz { background: linear-gradient(135deg, #9a5cf6, #6034bd); }
.event-card-top.coding { background: linear-gradient(135deg, #20c9ae, #087f83); }
.event-icon { width: 48px; height: 48px; }
.event-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.event-card-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.event-card-body h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.event-card-body p { color: var(--muted); font-size: 0.92rem; }
.event-meta { list-style: none; font-size: 0.88rem; color: var(--ink); display: grid; gap: 6px; margin-bottom: 4px; }
.event-meta li::before { content: "•"; color: var(--red); margin-right: 8px; font-weight: 700; }
.event-card-body .btn { margin-top: auto; }

/* ============ GUIDELINES ============ */
.guidelines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guideline {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.guideline-num { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.4rem; display: block; margin-bottom: 6px; }
.guideline p { font-size: 0.92rem; color: var(--muted); }

/* ============ PRIZES ============ */
.prizes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.prize {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 34px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.prize-first { background: linear-gradient(160deg, #f5b301, #d98900); }
.prize-second { background: linear-gradient(160deg, #94a3b8, #64748b); }
.prize-third { background: linear-gradient(160deg, #cd7f32, #a05a1c); }
.prize-place {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.prize-amount { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; margin: 10px 0 2px; }
.prize-label { font-size: 0.9rem; opacity: 0.9; }
.prizes-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: 0.95rem; }

/* ============ TOPICS ============ */
.topics-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.topic-tab {
  border: 2px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.15s;
}
.topic-tab:hover { border-color: var(--red); color: var(--red); }
.topic-tab.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.topic-panel { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.topic-panel.active { display: block; animation: fadeIn 0.25s ease; }
.topic-panel h3 { font-family: var(--font-display); color: var(--maroon-dark); margin-bottom: 16px; font-size: 1.1rem; }
.topic-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; list-style: none; }
.topic-list li { position: relative; padding-left: 22px; font-size: 0.93rem; color: var(--ink); }
.topic-list li::before { content: "›"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

/* ============ DATES ============ */
.dates-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.date-item { text-align: center; }
.date-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--line);
  margin: 0 auto 14px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
}
.date-dot.highlight { background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.date-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 14px; box-shadow: var(--shadow-sm); }
.date-card-highlight { border-color: var(--red); background: #fff7f7; }
.date-day { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--maroon-dark); }
.date-month { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.date-card p { font-size: 0.9rem; color: var(--ink); margin-top: 6px; font-weight: 600; }

/* ============ COMMITTEE ============ */
.committee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.committee-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}
.committee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.committee-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--maroon));
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}
.committee-card h3 { font-size: 1.05rem; color: var(--ink); }
.committee-card p { font-size: 0.85rem; color: var(--muted); }
.committee-note { text-align: center; margin-top: 22px; font-size: 0.85rem; color: var(--muted); }
.committee-note a { color: var(--red); font-weight: 600; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.contact-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon { font-size: 1.8rem; }
.contact-card h3 { font-size: 1rem; color: var(--maroon-dark); }
.contact-card p { font-size: 0.9rem; color: var(--muted); word-break: break-word; }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: #cbd5e1; padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer h3 { color: #fff; font-family: var(--font-display); }
.footer-copy { font-size: 0.82rem; opacity: 0.8; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 15, 28, 0.62);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.22s ease;
  display: flex;
  flex-direction: column;
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}
.modal-close:hover { background: #ffe1e1; color: var(--red); }
.modal-scroll { overflow-y: auto; padding: 28px; }
.modal-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--maroon-dark); margin-bottom: 12px; }
.modal-instructions { background: #f3f7fd; border-left: 4px solid #2f6fed; border-radius: 10px; padding: 14px 16px; font-size: 0.9rem; color: var(--ink); display: grid; gap: 6px; margin-bottom: 20px; }

/* steps */
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.step span {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  border: 2px solid var(--line);
  font-size: 0.78rem;
}
.step.active { color: var(--maroon); }
.step.active span { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.step.done span { background: var(--green); color: #fff; border-color: var(--green); }

/* forms */
.reg-form { display: grid; gap: 18px; }
.form-step { display: grid; gap: 18px; }
.form-group { display: grid; gap: 6px; }
.form-group legend { font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 4px; }
.form-group label { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.form-group .req { color: var(--red); }
.form-group small { color: var(--muted); font-size: 0.78rem; }
.form-hint { color: var(--muted); font-size: 0.8rem; }
.field-error { color: var(--danger); font-size: 0.78rem; font-weight: 600; }
.form-error { color: var(--danger); font-size: 0.85rem; font-weight: 600; }
.member-remove {
  float: right;
  background: none;
  border: none;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
}
.member-remove:hover { text-decoration: underline; }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: #fff;
  transition: border 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 36, 0.12);
}
input.invalid, select.invalid { border-color: var(--danger); background: #fff6f6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.participant-block {
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 14px;
  background: #fcfcfd;
}
.participant-block.leader { border-style: solid; border-color: var(--gold); background: #fffdf5; }
.participant-block h4 { font-size: 0.95rem; color: var(--maroon-dark); font-family: var(--font-display); }
.participant-block .form-row + .form-row { margin-top: 2px; }

/* segmented control */
.segmented { display: flex; gap: 8px; flex-wrap: wrap; }
.segment { flex: 1; min-width: 140px; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment span {
  display: block;
  text-align: center;
  padding: 11px 10px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.segment input:checked + span { border-color: var(--red); background: #fbecec; color: var(--red); }
.segment input:focus-visible + span { box-shadow: 0 0 0 3px rgba(196, 30, 36, 0.2); }

/* file drop */
.file-drop {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: border 0.15s, background 0.15s;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--red); background: #fff7f7; }
.file-drop input { position: absolute; opacity: 0; width: 0; height: 0; }
.file-drop-text { color: var(--muted); font-size: 0.85rem; }
.file-drop-name { color: var(--green); font-weight: 600; font-size: 0.82rem; word-break: break-all; }
.file-drop.has-file { border-color: var(--green); background: #f2fbf5; }

/* form actions */
.form-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* payment */
.payment-summary { background: var(--navy); color: #fff; border-radius: 12px; padding: 18px; display: grid; gap: 4px; }
.payment-summary h4 { color: var(--gold); font-family: var(--font-display); }
.payment-summary .pay-amount { color: var(--gold); font-size: 1.4rem; }
.payment-qr { text-align: center; padding: 8px 0; }
.payment-qr img { width: 190px; height: 190px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }
.payment-qr p { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.payment-note { background: #fff7e0; border: 1px solid #f1dca0; border-radius: 10px; padding: 12px; font-size: 0.85rem; color: #6b5300; }

/* status */
.status-box { text-align: center; padding: 30px 10px; display: grid; gap: 14px; justify-items: center; }
.status-box h3 { font-family: var(--font-display); color: var(--maroon-dark); }
.status-box p { color: var(--muted); font-size: 0.92rem; }
.status-icon { font-size: 3.4rem; }
.status-token { background: var(--navy); border-radius: 12px; padding: 14px 28px; display: grid; gap: 2px; justify-items: center; }
.status-token-label { color: #cfd8e8; font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 600; }
.status-token-value { color: var(--gold); font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: 0.04em; }
.spinner {
  width: 46px; height: 46px;
  border: 4px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* toast */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 300;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease;
  max-width: 92vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--green); }
.toast.error { background: var(--danger); }

/* ============ ANIMATIONS ============ */
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .events-grid, .guidelines-grid, .prizes-grid { grid-template-columns: 1fr 1fr; }
  .committee-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dates-timeline { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 10px; border-radius: 8px; }

  .topbar-inner { justify-content: center; text-align: center; }
  .college-brand { flex-direction: column; text-align: center; }
  .events-grid, .guidelines-grid, .prizes-grid, .committee-grid, .dates-timeline { grid-template-columns: 1fr; }
  .topic-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .hero { padding: 64px 0 72px; }
  .stats { margin-top: -30px; }
  .modal-scroll { padding: 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}
