/* ===============================================================
   STRUCTURA'26 — DARK CINEMATIC CIVIL ENGINEERING SYSTEM
   Department of Civil Engineering | AAMEC
   =============================================================== */

:root {
  /* Dark Premium Palette */
  --bg-deep: #080A0F;
  --bg-surface: #10141E;
  --bg-surface-elevated: #161C28;
  --bg-surface-hover: #1C2433;
  --bg-card: #121722;
  
  --accent-orange: #FF5500;
  --accent-orange-hover: #E04B00;
  --accent-orange-subtle: rgba(255, 85, 0, 0.12);
  --accent-blue: #00A3FF;
  --accent-blue-hover: #38BDF8;
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #080A0F;
  
  --border-subtle: #1E2638;
  --border-medium: #2C384F;
  --border-strong: #3B4B68;
  --border-orange: #FF5500;
  
  /* Typography */
  --font-display: 'Syne', 'Space Grotesk', -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --max-w: 1240px;
  --header-h: 76px;
}

/* Base Reset & Native Cursor Only */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: auto !important; /* Native browser pointer only */
}

a, button, select, input[type="submit"], input[type="button"], label, .event-image-card, .rule-set-header, .modal-close-btn, .drawer-close-btn {
  cursor: pointer !important;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
  cursor: text !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Blueprint Background Canvas (Rich Technical Animation) */
.entry-cad-canvas, .site-cad-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

::selection {
  background: var(--accent-orange);
  color: #FFFFFF;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.text-orange { color: var(--accent-orange) !important; }
.text-blue { color: var(--accent-blue) !important; }
.text-center { text-align: center; }

/* Structural Industrial Tags */
.struct-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.struct-tag.orange {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
}

.struct-tag.filled-orange {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
}

/* Master Industrial Button */
.btn-struct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.8rem;
  background: var(--accent-orange);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--accent-orange);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 85, 0, 0.25);
}

.btn-struct:hover {
  background: var(--accent-orange-hover);
  border-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 85, 0, 0.4);
}

.btn-struct:active {
  transform: translateY(0);
}

.btn-struct:disabled {
  opacity: 0.4;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ===============================================================
   02. ENTRY / HERO EXPERIENCE (SMOOTH CINEMATIC REVEAL)
   =============================================================== */
.entry-modal-layer {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.entry-modal-layer.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-cinematic-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(1.75rem, 4.5vw, 2.85rem) clamp(1rem, 3.5vw, 2.5rem);
  background: rgba(16, 20, 30, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-top: 4px solid var(--accent-orange);
  max-width: 580px;
  width: min(92%, 580px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.entry-hierarchy-block {
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.entry-sympo-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 6.2vw, 2.45rem);
  font-weight: 900;
  letter-spacing: 0;
  color: var(--text-primary);
  line-height: 1.15;
  white-space: nowrap;
  text-align: center;
  margin: 0 auto;
  display: block;
  width: 100%;
}

.entry-sub-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  text-align: center;
  line-height: 1.4;
}

.entry-dept-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange);
  padding: 0.4rem 1rem;
  letter-spacing: 0.09em;
  text-align: center;
  border-radius: 2px;
}

.entry-btn-trigger {
  width: 100%;
  padding: 1.15rem;
  font-size: 1rem;
}

/* ===============================================================
   04. TOP HEADER & MOBILE SLIDE DRAWER (CHANGE 3)
   =============================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 10, 15, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

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

.header-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.official-header-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

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

.sympo-title-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  white-space: nowrap;
}

.dept-sub-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.nav-menu-desktop {
  display: none;
  align-items: center;
  gap: 1.3rem;
}

@media (min-width: 992px) {
  .nav-menu-desktop {
    display: flex;
  }
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-orange);
}

.nav-link.cta-link {
  color: var(--accent-orange);
}

.mobile-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 0.5rem;
}

@media (min-width: 992px) {
  .mobile-toggle-btn {
    display: none;
  }
}

/* Mobile Slide-in Side Drawer (Change 3: Smooth Slide from Right) */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: var(--bg-surface-elevated);
  border-left: 2px solid var(--accent-orange);
  z-index: 10002;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
}

.mobile-nav-panel.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  line-height: 1;
  padding: 0 0.5rem;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-drawer-links .nav-link {
  font-size: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===============================================================
   03. CENTERED COLLEGE BRANDING AT TOP
   =============================================================== */
.college-identity-section {
  padding: 3.5rem 0 1.5rem;
}

.college-logo-center-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.official-college-logo-hero {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}

.college-title-main {
  font-size: clamp(1.2rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto;
}

.college-location-sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}

/* ===============================================================
   05. MAIN HERO — BALANCED STRUCTURA'26 & COUNTDOWN (CHANGE 4)
   =============================================================== */
.hero-section {
  padding: 2rem 0 4.5rem;
}

.hero-vertical-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.hero-main-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.8vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
  max-width: 100%;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: block;
}

@media (max-width: 767px) {
  .hero-main-h1 {
    font-size: clamp(1.3rem, 6.2vw, 2.0rem);
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }
}

.hero-sympo-desc {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.hero-date-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 0.55rem 1.3rem;
}

/* Minimal Countdown Timer */
.countdown-master-container {
  margin: 1.25rem 0;
  padding: 1.5rem 2.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-top: 3px solid var(--accent-orange);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.countdown-heading-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-orange);
  margin-bottom: 0.85rem;
}

.countdown-timer-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

@media (min-width: 600px) {
  .countdown-cell {
    min-width: 80px;
  }
}

.countdown-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.countdown-unit {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

.countdown-separator {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--accent-orange);
  font-weight: 900;
  line-height: 1;
  margin-top: -12px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.free-reg-banner {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.btn-hero-cta {
  padding: 1.05rem 2.6rem;
  font-size: 1rem;
}

/* ===============================================================
   DEPARTMENT IDENTITY SECTION (NO CIVIL DEPT LOGO)
   =============================================================== */
.dept-identity-section {
  padding: 3rem 0;
}

.dept-identity-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-orange);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .dept-identity-card {
    flex-direction: row;
    gap: 3rem;
  }
}

.dept-logo-side {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.official-dept-logo-img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
}

.dept-info-side {
  flex: 1;
}

.dept-title-text {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.dept-desc-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 850px;
}

.dept-tag-line {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 0.15em;
}

/* ===============================================================
   06. EVENTS SECTION (REALISTIC IMAGERY • OVERLAYS - CHANGE 2)
   =============================================================== */
.events-section {
  padding: 4rem 0;
}

.section-hdr {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-hdr {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.events-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .events-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-image-card {
  position: relative;
  height: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.event-image-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 85, 0, 0.2);
}

/* Realistic Image Treatment (Change 2: Dark black cinematic overlay, lower opacity, vignette, contrast, subtle orange lighting) */
.event-card-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(1.18) brightness(0.8) saturate(1.1);
  opacity: 0.65;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  z-index: 0;
}

.event-image-card:hover .event-card-bg-layer {
  transform: scale(1.05);
  opacity: 0.75;
}

.event-card-dark-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8, 10, 15, 0.5) 0%, rgba(8, 10, 15, 0.92) 100%), linear-gradient(180deg, rgba(8, 10, 15, 0.25) 0%, rgba(8, 10, 15, 0.95) 90%);
  z-index: 1;
  pointer-events: none;
}

.event-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-card-idx {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-muted);
}

.event-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.event-card-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.event-card-cta-row {
  margin-top: 0.75rem;
}

.event-view-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-orange);
  text-transform: uppercase;
}

.quest-wide-card {
  height: 260px;
}

@media (min-width: 768px) {
  .quest-wide-card {
    height: 300px;
  }
}

/* ===============================================================
   POPUP MODAL (SMOOTH TRANSITION • NO SEPARATE PAGE)
   =============================================================== */
.event-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(12px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.event-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.event-modal-dialog {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-top: 4px solid var(--accent-orange);
  max-width: 750px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  transform: translateY(25px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-modal-backdrop.open .event-modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-medium);
  color: #FFFFFF;
  font-size: 1.8rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.modal-banner-wrap {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-medium);
}

.modal-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.2) 0%, rgba(8, 10, 15, 0.95) 100%);
  z-index: 1;
}

.modal-banner-caption {
  position: relative;
  z-index: 2;
}

.modal-title-text {
  font-size: 1.6rem;
  font-weight: 900;
  margin-top: 0.35rem;
}

.modal-body-scrollable {
  padding: 2rem;
  overflow-y: auto;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.modal-spec-item {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
}

.modal-spec-item .lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.modal-spec-item .val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 0.2rem;
}

.modal-sub-heading {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.5rem 0 0.85rem;
  color: var(--text-primary);
}

/* ===============================================================
   09. GENERAL RULES (EXACTLY FOUR ACCORDION SETS)
   =============================================================== */
.rules-section {
  padding: 4rem 0;
}

.rules-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rule-set-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  transition: border-color 0.2s ease;
}

.rule-set-item.open {
  border-color: var(--accent-orange);
}

.rule-set-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  color: var(--text-primary);
}

.rule-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent-orange);
}

.rule-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  flex: 1;
}

.rule-arrow {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.rule-set-item.open .rule-arrow {
  transform: rotate(45deg);
  color: var(--accent-orange);
}

.rule-set-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.75rem;
}

.rule-set-item.open .rule-set-body {
  max-height: 1000px;
  padding: 0 1.75rem 1.75rem;
}

.rules-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.rules-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.rules-bullet-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-size: 0.65rem;
  top: 0.35rem;
}

/* ===============================================================
   10. REGISTRATION DETAILS FORM & LOGIC
   =============================================================== */
.registration-section {
  padding: 4rem 0;
}

.ppt-pre-notice-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-orange);
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.25rem;
}

.ppt-notice-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-orange);
  margin-bottom: 0.35rem;
}

.ppt-notice-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.food-notice-pill {
  display: block;
  width: fit-content;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 0.6rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.food-notice-pill:last-of-type {
  margin-bottom: 2rem;
}

.reg-card-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-top: 4px solid var(--accent-orange);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.panel-tag-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.input-grp {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.input-lbl {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.input-lbl .req {
  color: var(--accent-orange);
}

.dark-input, .dark-select {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.dark-input:focus, .dark-select:focus {
  border-color: var(--accent-orange);
}

.dark-input.err, .dark-select.err {
  border-color: #EF4444;
}

.input-err-msg {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #F87171;
  display: none;
}

.input-err-msg.show {
  display: block;
}

.college-rejection-box {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #EF4444;
  color: #FCA5A5;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
}

.college-rejection-box.show {
  display: block;
}

.selection-section-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  margin: 2rem 0 1rem;
}

.event-checkboxes-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.event-checkbox-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-medium);
  padding: 1.1rem 1.4rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.event-checkbox-card:hover {
  border-color: var(--border-strong);
}

.event-checkbox-card input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-strong);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.event-checkbox-card input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.event-checkbox-card input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.85rem;
}

.checkbox-text-block {
  display: flex;
  flex-direction: column;
}

.ev-check-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.ev-check-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.quest-check-card.locked {
  opacity: 0.5;
  cursor: not-allowed !important;
}

.quest-dependency-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-orange);
  margin-top: 0.2rem;
}

/* Dynamic Panels & Multi-Member Profiles */
.dynamic-details-panel {
  display: none;
  background: var(--bg-deep);
  border: 1px solid var(--border-medium);
  padding: 1.75rem;
  margin-top: 2rem;
}

.member-sub-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-left: 3px solid var(--accent-orange);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.member-sub-header {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.form-submit-row {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
}

/* Success State (Minimal • No Screenshot/Print/Download) */
.success-dark-panel {
  display: none;
  text-align: center;
  padding: 3.5rem 2rem;
}

.success-dark-panel.active {
  display: block;
}

.success-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.success-email-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.reg-code-box {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-orange);
  background: var(--bg-deep);
  border: 2px dashed var(--accent-orange);
  padding: 1rem 2.5rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.75rem;
}

.success-footer-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ===============================================================
   18. CHECK REGISTRATION PORTAL (CODE-ONLY)
   =============================================================== */
.check-reg-section {
  padding: 4rem 0;
  background: rgba(16, 20, 30, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.lookup-bar {
  max-width: 650px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .lookup-bar {
    flex-direction: row;
  }
}

.lookup-code-input {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lookup-results-pane {
  max-width: 800px;
  margin: 2rem auto 0;
  display: none;
}

.lookup-results-pane.show {
  display: block;
}

.manifest-table-dark {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.manifest-table-dark tr {
  border-bottom: 1px solid var(--border-subtle);
}

.manifest-table-dark th {
  text-align: left;
  padding: 0.85rem 1rem 0.85rem 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  width: 32%;
  text-transform: uppercase;
}

.manifest-table-dark td {
  padding: 0.85rem 0;
  color: var(--text-primary);
}

/* ===============================================================
   21. LOCATION & MAP (CHANGE 5)
   =============================================================== */
.location-section {
  padding: 4rem 0;
}

.location-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 850px) {
  .location-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.route-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 1rem 1.25rem;
  margin-bottom: 0.85rem;
}

.route-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.route-path {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.map-embed-wrapper {
  height: 380px;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* ===============================================================
   20. ORGANIZERS ONE-BY-ONE SPOTLIGHT & CONTACT INFO SECTION
   =============================================================== */
.organizers-section {
  padding: 4rem 0;
}

.organizers-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 820px;
}

.organizer-vertical-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-orange);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.organizer-vertical-card:hover {
  border-color: var(--accent-orange);
}

.org-role-lbl {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.org-name-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  text-transform: none;
}

.org-sub-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

/* Contact Info — ONE Single Vertical / Sequential Section */
.contact-info-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 780px;
  margin: 0;
}

.contact-card-vertical {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-orange);
  padding: 1.6rem 2rem;
  display: flex;
  flex-direction: column;
}

.contact-category-lbl {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.contact-card-vertical .org-role-lbl + .contact-category-lbl {
  color: var(--text-secondary);
  font-size: 0.78rem;
  margin-top: -0.1rem;
}

.contact-person-entry {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-person-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ALL Phone Numbers Have The Exact SAME Color & Styling */
.contact-phone-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}

.contact-phone-link:hover {
  color: var(--accent-orange);
}

.contact-val-text {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s ease;
}

.contact-val-text:hover {
  color: var(--accent-orange);
}

/* ===============================================================
   MINIMAL EDITORIAL FOOTER
   =============================================================== */
.minimal-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-inner-flex {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-inner-flex {
    flex-direction: row;
    align-items: center;
  }
}

.footer-insta-link {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 700;
}

.footer-insta-link:hover {
  text-decoration: underline;
}
