/* ============================================================
   ANVAYA'26 - Reusable Component Styles
   ============================================================ */

/* ------------------------------------------------------------
   1. NAVBAR
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(3, 10, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(2, 7, 15, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--cyan-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-300);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--grad-nature-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan-300);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-nature-tech);
  border-radius: 2px;
}

.mobile-only-action {
  display: none;
}

.desktop-only {
  display: inline-flex;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 0;
}

/* ------------------------------------------------------------
   2. BUTTONS & BADGES
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-nature-tech);
  color: #02070f;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.08);
  border-color: var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(148, 163, 184, 0.15);
  border-color: var(--cyan-400);
  color: var(--cyan-300);
  transform: translateY(-2px);
}

.btn-outline-emerald {
  background: transparent;
  border-color: var(--emerald-500);
  color: var(--emerald-300);
}

.btn-outline-emerald:hover {
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 0 20px var(--emerald-glow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ------------------------------------------------------------
   3. HERO SECTION
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 5.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  min-width: 0;
}

.hero-content {
  min-width: 0;
}

.hero-poster-wrapper {
  min-width: 0;
}

.hero-institution {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  min-width: 0;
}

.college-name {
  font-size: clamp(0.72rem, 3.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.dept-presents {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.hero-title .glow {
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(34, 211, 238, 0.35));
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  max-width: 100%;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  font-weight: 600;
}

.meta-item svg {
  color: var(--cyan-400);
}

.meta-item.fee-item {
  color: var(--emerald-300);
}

.meta-divider {
  width: 1px;
  height: 20px;
  background: var(--border-glass);
}

.hero-motto {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
  border-left: 2px solid var(--emerald-500);
  padding-left: 0.85rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 2.75rem;
}

/* Countdown Card */
.countdown-box {
  background: rgba(6, 21, 38, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  width: fit-content;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.countdown-digits {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.digit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.digit-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyan-300);
  line-height: 1;
}

.digit-name {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.digit-sep {
  font-size: 1.5rem;
  color: var(--text-dim);
  margin-top: -0.65rem;
}

/* Poster Card Display */
.poster-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 182, 212, 0.25));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow-cyan);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-showcase:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--shadow-glow-emerald);
}

.poster-wrapper {
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: #02070f;
  cursor: pointer;
}

.poster-wrapper img {
  width: 100%;
  aspect-ratio: 1024 / 1535;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.poster-wrapper:hover img {
  transform: scale(1.02);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 7, 15, 0.85) 0%, transparent 40%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.poster-badge {
  background: rgba(3, 10, 22, 0.85);
  border: 1px solid var(--cyan-border);
  backdrop-filter: blur(8px);
  color: var(--cyan-300);
  font-size: 0.785rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.poster-zoom-btn {
  background: var(--grad-nature-tech);
  color: #02070f;
  border: none;
  font-size: 0.785rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ------------------------------------------------------------
   4. ABOUT SECTION
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-nature-tech);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

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

.theme-concept-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--emerald-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.theme-concept-box p {
  font-size: 0.95rem;
  color: var(--emerald-300);
  font-style: italic;
  line-height: 1.6;
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid var(--cyan-border);
  color: var(--cyan-400);
}

.pillar-card.emerald .pillar-icon {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--emerald-border);
  color: var(--emerald-400);
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   5. EVENTS SECTION & CARDS
   ------------------------------------------------------------ */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--bg-surface);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  color: var(--text-main);
}

.filter-tab.active {
  background: var(--grad-nature-tech);
  color: #02070f;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald-500), var(--cyan-400));
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-border);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(6, 182, 212, 0.15);
  background: var(--bg-card-hover);
}

.event-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.slot-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid var(--cyan-border);
  color: var(--cyan-300);
}

.category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.event-header {
  margin-bottom: 1rem;
}

.event-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.event-subtitle-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--emerald-400);
  text-transform: uppercase;
}

.event-description-text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.event-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.meta-row svg {
  color: var(--cyan-400);
  flex-shrink: 0;
}

.meta-row.coord-row svg {
  color: var(--emerald-400);
}

.meta-row span strong {
  color: var(--text-main);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-actions .btn {
  flex: 1;
}

/* ------------------------------------------------------------
   6. EVENT DETAILS MODAL
   ------------------------------------------------------------ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 7, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.2);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  background: rgba(3, 10, 22, 0.7);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal-event-title {
  font-size: 1.75rem;
  font-weight: 800;
}

.modal-event-sub {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.modal-close-btn {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.modal-quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.stat-item {
  background: rgba(3, 10, 22, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.stat-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan-300);
}

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

.modal-rules-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-rules-list li::before {
  content: "•";
  position: absolute;
  left: 0.35rem;
  color: var(--emerald-400);
  font-size: 1.25rem;
  line-height: 1;
}

.themes-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.themes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.themes-table th {
  background: rgba(3, 10, 22, 0.7);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--cyan-300);
  border-bottom: 1px solid var(--border-glass);
}

.themes-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--text-secondary);
}

.themes-table tr:hover td {
  background: rgba(6, 21, 38, 0.4);
}

.modal-footer {
  padding: 1.25rem 2rem;
  background: rgba(3, 10, 22, 0.7);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ------------------------------------------------------------
   7. SCHEDULE SECTION
   ------------------------------------------------------------ */
.schedule-rule-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.rule-box-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-300);
  flex-shrink: 0;
}

.rule-box-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--emerald-300);
  margin-bottom: 0.25rem;
}

.rule-box-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.timeline-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-flow::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--emerald-500), var(--cyan-400), var(--emerald-500));
  opacity: 0.4;
}

.timeline-block {
  position: relative;
  padding-left: 64px;
}

.timeline-node {
  position: absolute;
  left: 12px;
  top: 1.25rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--cyan-400);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-node::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
}

.timeline-node.placeholder-node {
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.timeline-node.placeholder-node::after {
  background: #f59e0b;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  transition: all 0.25s ease;
}

.timeline-card:hover {
  border-color: var(--cyan-border);
  background: var(--bg-card-hover);
}

.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.timeline-time-badge {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cyan-300);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid var(--cyan-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.timeline-slot-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-card-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.slot-event-item {
  background: rgba(3, 10, 22, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--emerald-400);
}

.slot-event-item h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.slot-event-item p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   8. REGISTRATION SECTION
   ------------------------------------------------------------ */
.reg-container-box {
  background: linear-gradient(135deg, rgba(8, 25, 45, 0.85) 0%, rgba(4, 15, 30, 0.95) 100%);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(6, 182, 212, 0.15);
  position: relative;
  overflow: hidden;
}

.reg-container-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

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

.reg-fee-banner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.reg-fee-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.reg-fee-value {
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad-nature-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reg-fee-sub {
  font-size: 0.9rem;
  color: var(--emerald-300);
  font-weight: 600;
}

.reg-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.reg-feature-card {
  background: rgba(3, 10, 22, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 0.85rem;
}

.reg-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-300);
  flex-shrink: 0;
}

.reg-feature-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.reg-feature-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.reg-callout {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.reg-callout p {
  font-size: 0.875rem;
  color: #fbbf24;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   9. RULES & GUIDELINES TABBED VIEW
   ------------------------------------------------------------ */
.rules-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
}

.rules-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: fit-content;
}

.rules-nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

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

.rules-nav-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.rules-nav-btn:hover {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-main);
}

.rules-nav-btn.active {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--cyan-border);
  color: var(--cyan-300);
}

.rules-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.rules-card-header {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.general-rules-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.general-rule-item {
  background: rgba(3, 10, 22, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.rule-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-300);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rule-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.rule-tag-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* ------------------------------------------------------------
   10. PRIZES SECTION
   ------------------------------------------------------------ */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.prize-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.prize-card.gold {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(8, 25, 45, 0.7) 100%);
}

.prize-card.silver {
  border-color: rgba(148, 163, 184, 0.3);
}

.prize-card.championship {
  border-color: var(--emerald-border);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(8, 25, 45, 0.7) 100%);
}

.prize-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.prize-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  background: rgba(148, 163, 184, 0.1);
}

.prize-card.gold .prize-icon-circle {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.prize-card.silver .prize-icon-circle {
  background: rgba(148, 163, 184, 0.15);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.prize-card.championship .prize-icon-circle {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-300);
  border: 1px solid var(--emerald-border);
}

.prize-tier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.prize-card.gold .prize-tier-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.prize-card.silver .prize-tier-badge {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
}

.prize-card.championship .prize-tier-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-300);
}

.prize-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.prize-amount-box {
  margin: 1rem 0 1.5rem 0;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(3, 10, 22, 0.5);
  border: 1px dashed var(--border-glass);
}

.prize-amount-box span {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.prize-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.25rem;
}

.prize-perks-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prize-perks-list li svg {
  color: var(--emerald-400);
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   11. CONTACT & FOOTER
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 1.25rem;
  background: rgba(3, 10, 22, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.contact-item:hover {
  border-color: var(--cyan-border);
  background: rgba(6, 21, 38, 0.6);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-300);
  flex-shrink: 0;
}

.contact-item-details {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

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

.leader-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 10, 22, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.leader-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.leader-info p {
  font-size: 0.785rem;
  color: var(--emerald-400);
  text-transform: uppercase;
  font-weight: 600;
}

.leader-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan-300);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--cyan-border);
}

.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-nature-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.825rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ------------------------------------------------------------
   12. POSTER LIGHTBOX MODAL
   ------------------------------------------------------------ */
.poster-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 7, 15, 0.95);
  backdrop-filter: blur(16px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.poster-lightbox.active {
  display: flex;
}

.poster-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--cyan-border);
  box-shadow: 0 0 50px rgba(6, 182, 212, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .poster-showcase {
    max-width: 440px;
    margin: 0 auto;
  }

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

  .reg-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .rules-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .nav-brand .brand-title {
    font-size: 1.15rem;
  }

  .nav-brand .brand-subtitle {
    font-size: 0.62rem;
  }

  .brand-emblem {
    width: 36px;
    height: 36px;
  }

  .mobile-only-action {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(6, 21, 38, 0.85);
    border: 1px solid var(--cyan-border);
    color: var(--cyan-300);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(2, 7, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cyan-border);
    flex-direction: column;
    padding: 1.75rem 2rem;
    gap: 1.25rem;
    align-items: flex-start;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
    z-index: 999;    /* Below navbar (1000) but above page content */
  }

  .nav-menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 3.5rem;
  }

  .hero-meta-strip {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
  }

  .meta-divider {
    display: none;
  }

  .hero-motto {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .countdown-box {
    width: 100%;
    padding: 1rem;
  }

  .countdown-digits {
    justify-content: space-around;
    gap: 0.35rem;
  }

  .digit-card {
    min-width: 40px;
  }

  .digit-value {
    font-size: 1.4rem;
  }

  .filter-tabs {
    border-radius: var(--radius-md);
    width: 100%;
  }

  .filter-tab {
    flex: 1;
    text-align: center;
    padding: 0.45rem 0.75rem;
    font-size: 0.785rem;
  }

  .reg-container-box {
    padding: 2rem 1.25rem;
  }

  .reg-fee-value {
    font-size: 3.25rem;
  }

  .reg-features-grid {
    grid-template-columns: 1fr;
  }

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

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

  .timeline-block {
    padding-left: 44px;
  }

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

  .timeline-node {
    left: 2px;
  }

  .modal-container {
    max-height: 95vh;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.25rem;
  }
}

/* ============================================================
   EVENT GROUPING — On Stage / Off Stage
   ============================================================ */
.events-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.event-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-group-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-glass);
}

.event-group-label {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--emerald-300);
  letter-spacing: 0.02em;
}

.event-group-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.events-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
}

/* Fix mobile overflow on filter tabs */
@media (max-width: 600px) {
  .filter-tabs-wrapper {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    min-width: max-content;
    width: auto;
    border-radius: var(--radius-md);
  }

  .filter-tab {
    flex: none;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* ------------------------------------------------------------
   POLISH & RESPONSIVE FINISHING
   ------------------------------------------------------------ */
html {
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.hero {
  isolation: isolate;
  min-height: min(900px, 100svh);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 73% 36%, rgba(6, 182, 212, 0.16), transparent 38%),
    radial-gradient(ellipse at 18% 76%, rgba(16, 185, 129, 0.12), transparent 34%);
}

.hero-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.college-name {
  width: fit-content;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.07);
}

.hero-title {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  letter-spacing: -0.055em;
}

.hero-title .glow {
  filter: drop-shadow(0 0 32px rgba(34, 211, 238, 0.24));
}

.hero-motto {
  color: var(--emerald-300);
}

.poster-showcase {
  padding: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 44px rgba(6, 182, 212, 0.18);
}

.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(10, 30, 50, 0.96), rgba(4, 14, 28, 0.96));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--grad-nature-tech);
  opacity: 0.85;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-border);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28), 0 0 22px rgba(6, 182, 212, 0.1);
}

.about-card,
.contact-card,
.rules-sidebar,
.rules-content-card,
.reg-container-box {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.timeline-card,
.general-rule-item,
.reg-feature-card,
.contact-item {
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.timeline-card:hover,
.general-rule-item:hover,
.reg-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-border);
}

.event-group-header {
  border-bottom-color: var(--emerald-border);
}

.event-group-label {
  color: var(--cyan-300);
}

.section-header {
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-title {
  letter-spacing: -0.04em;
}

.mobile-only-action .btn {
  min-height: 46px;
}

.nav-toggle {
  min-width: 44px;
  min-height: 44px;
}

.contact-item:hover {
  transform: translateX(3px);
}

.footer-bottom {
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

  .hero-content {
    max-width: 760px;
  }

  .poster-showcase {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .college-name {
    border-radius: var(--radius-md);
  }

  .event-group-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .event-card,
  .timeline-card,
  .general-rule-item,
  .reg-feature-card,
  .contact-item {
    transition: none;
  }
}
