/* ===== DWMUN Exact Theme for JPSMUN'1.0 ===== */
@font-face {
  font-family: 'TAN Aegean';
  src: url('/assets/fonts/tan_aegean.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham Medium';
  src: url('/assets/fonts/gotham_medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-custom-white: #f3f3f3;
  --color-dark-white: #dcdbdd;
  --color-darkest-blue: #0b1c4d;
  --color-dark-blue: #1c3271;
  --color-cobalt-blue: #004aad;
  --color-light-cobalt-blue: #4d80c6;
  --font-heading: 'TAN Aegean', serif;
  --font-sans: 'Gotham Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-sans);
  scrollbar-width: none;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Background Wavy Lines Texture matching DWMUN */
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
#bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background: url('/assets/lines.png') 0 0/400px 400px repeat;
  z-index: -1;
}

a {
  color: var(--color-cobalt-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--color-light-cobalt-blue);
  text-decoration: underline;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-dark-blue);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark-blue);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Floating Scroll Indicator matching DWMUN */
.scroll-indicator-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 40;
  pointer-events: none;
}
.scroll-track-glow {
  position: absolute;
  top: 32vh;
  right: 0;
  width: 12px;
  height: 35vh;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.1);
}
.scroll-thumb {
  position: absolute;
  top: 33vh;
  right: 4px;
  width: 5px;
  height: 8vh;
  border-radius: 9999px;
  background-color: var(--color-dark-blue);
  border: 1px solid rgba(243, 243, 243, 0.5);
  transition: top 0.1s ease-out;
}

/* Fixed Top Navigation Bar matching DWMUN */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  padding: 0 40px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background-color: rgba(11, 28, 77, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
  transition: all 0.3s ease;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-custom-white) !important;
  text-decoration: none !important;
  transition: transform 0.25s ease;
}
.nav-brand:hover {
  transform: translateY(-1px);
}
.nav-brand-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-brand:hover .nav-brand-img {
  transform: scale(1.08) rotate(2deg);
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
}
.nav-brand-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.nav-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  text-decoration: none !important;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, #4d80c6, #ffffff, #4d80c6);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: #ffffff !important;
  font-weight: 700;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-nav-signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: #0b1c4d !important;
  background-color: #ffffff;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}
.btn-nav-signin:hover {
  background-color: #f8fafc;
  color: #004aad !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}
.btn-nav-register {
  display: none;
}
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ========================================================
   HERO SCROLL STAGE & PINNING (Matching DWMUN scroll shrink)
   ======================================================== */
.hero-scroll-stage {
  position: relative;
  height: 165vh;
  width: 100%;
}
@media (max-width: 768px) {
  .hero-scroll-stage {
    height: 140vh;
  }
}
.hero-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 24px) 24px 36px;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 5;
  transform-origin: center center;
  will-change: transform, opacity;
}
.hero-watermark-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.watermark-flower-l {
  position: absolute;
  top: 50px;
  left: -220px;
  width: clamp(560px, 50vw, 860px);
  rotate: 20deg;
  opacity: 0.38;
  pointer-events: none;
  transform-origin: center center;
}
.watermark-flower-r {
  position: absolute;
  bottom: 20px;
  right: -220px;
  width: clamp(560px, 50vw, 860px);
  transform: rotateY(180deg) rotate(-20deg);
  opacity: 0.38;
  pointer-events: none;
  transform-origin: center center;
}
@media (min-width: 1700px) {
  .watermark-flower-l { left: -260px; width: 920px; }
  .watermark-flower-r { right: -260px; width: 920px; }
}
@media (max-width: 1200px) {
  .watermark-flower-l { left: -240px; width: clamp(480px, 48vw, 680px); }
  .watermark-flower-r { right: -240px; width: clamp(480px, 48vw, 680px); }
}
@media (max-width: 900px) {
  .watermark-flower-l { left: -260px; width: clamp(420px, 50vw, 560px); }
  .watermark-flower-r { right: -260px; width: clamp(420px, 50vw, 560px); }
}
.watermark-center-logo {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(52vw, 300px);
  opacity: 0.08;
  pointer-events: none;
}

.hero-inner-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7.6vw, 6.2rem);
  line-height: 1.05;
  color: var(--color-dark-blue);
  margin-top: 0;
  margin-bottom: 12px;
  letter-spacing: 0.015em;
  text-shadow: 0 4px 20px rgba(28, 50, 113, 0.10);
}
.hero-subheading {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-cobalt-blue);
  margin-top: 0;
  margin-bottom: 30px;
}

/* Countdown Grid with clean, modern, proportional numbers */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4.2vw, 56px);
  width: min(92vw, 700px);
  margin: 0 auto 30px;
}
.countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  transition: transform 0.2s ease;
}
.countdown-val {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.8vw, 4.2rem);
  line-height: 1;
  color: var(--color-dark-blue);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.countdown-unit {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.1vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.18em;
}

/* Metadata Banner — Frosted Glass Luxury Badge */
.hero-info-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  max-width: 92vw;
  margin: 0 auto 30px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(11, 28, 77, 0.12);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(11, 28, 77, 0.05);
  font-size: clamp(0.85rem, 1.25vw, 1rem);
  font-weight: 600;
  color: var(--color-dark-blue);
  letter-spacing: 0.01em;
}
.hero-info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-info-icon {
  width: 17px;
  height: 17px;
  color: var(--color-cobalt-blue);
  flex-shrink: 0;
}
.hero-info-sep {
  color: rgba(11, 28, 77, 0.25);
  font-size: 0.85rem;
}

/* Hero CTA Buttons */
.hero-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: auto;
  margin: 0 auto;
}
.btn-dw-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  white-space: nowrap;
  padding: 13px 30px;
  background-color: var(--color-dark-blue);
  color: #ffffff !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(11, 28, 77, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none !important;
}
.btn-dw-solid:hover {
  background-color: var(--color-cobalt-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 28, 77, 0.32);
}
.btn-dw-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 175px;
  white-space: nowrap;
  padding: 13px 30px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-dark-blue) !important;
  border: 1.5px solid rgba(11, 28, 77, 0.2);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(11, 28, 77, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
}
.btn-dw-ghost:hover {
  background-color: #ffffff;
  border-color: var(--color-dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 28, 77, 0.12);
}

/* ========================================================
   DWMUN OPENING ANIMATIONS (easeOutExpo cubic-bezier)
   ======================================================== */
.core {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.core.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.absolute-core {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.absolute-core.animate-in {
  opacity: 0.08;
  transform: translate(-50%, -50%) scale(1);
}

.left-core {
  opacity: 0;
  transform: translate(-80px, 60px) rotate(20deg);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.left-core.animate-in {
  opacity: 0.38;
  transform: translate(0, 0) rotate(20deg);
}

.right-core {
  opacity: 0;
  transform: translate(80px, 60px) rotateY(180deg) rotate(-20deg);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.right-core.animate-in {
  opacity: 0.38;
  transform: translate(0, 0) rotateY(180deg) rotate(-20deg);
}

/* ========================================================
   SECTION HEADINGS & SHEETS
   ======================================================== */
.content-section {
  position: relative;
  padding: 90px 24px;
  max-width: 1240px;
  margin: 0 auto;
  z-index: 10;
}
.section-headline {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-dark-blue);
  margin-bottom: 12px;
}
.section-subtext {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  color: #4b5563;
}

/* ========================================================
   ALTERNATING REALISTIC PAPER LETTERS
   1st: Image Left, Paper Right (Surjeet Singh Grover ji)
   2nd: Paper Left, Image Right (Mr. Sudhanshu Pant)
   3rd: Image Left, Paper Right (Mr. PC Joshi)
   4th: Paper Left, Image Right (Sara Jeena)
   5th: Image Left, Paper Right (Saksham Sharma)
   ======================================================== */
.messages-container {
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: 1140px;
  margin: 0 auto;
}
.message-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.js-effects-active .message-row {
  opacity: 0;
  transform: translateY(70px);
}
.js-effects-active .message-row.in-view {
  opacity: 1;
  transform: translateY(0);
}
.message-row.reverse {
  flex-direction: row-reverse;
}

/* Speaker Framed Photo (matching DWMUN paper and photo aesthetic) */
.speaker-frame {
  flex: 0 0 340px;
  max-width: 340px;
  background-color: var(--color-custom-white);
  border: 2px solid var(--color-dark-blue);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}
.speaker-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
}
.speaker-img-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 4px solid var(--color-dark-blue);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background: #ffffff;
}
.speaker-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark-blue);
  margin-bottom: 4px;
}
.speaker-designation {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-cobalt-blue);
  margin-bottom: 4px;
}
.speaker-school {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Realistic 3D Paper Stack (Exactly matching DWMUN screen-2) */
.paper-container {
  flex: 1;
  position: relative;
  min-height: 480px;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.js-effects-active .message-row .paper-container {
  transform: scale(1.08);
}
.js-effects-active .message-row.in-view .paper-container {
  transform: scale(1);
}
.paper-bg-3 {
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  background-color: var(--color-custom-white);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  z-index: 1;
}
.paper-bg-2 {
  position: absolute;
  top: 7px;
  left: 7px;
  right: -7px;
  bottom: -7px;
  background-color: var(--color-custom-white);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  transform: rotate(-3deg);
  z-index: 2;
}
.message-row.reverse .paper-bg-2 {
  transform: rotate(3deg);
}
.paper-main-sheet {
  position: relative;
  background-color: var(--color-custom-white);
  padding: 40px 48px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  z-index: 3;
  transform: rotate(1.5deg);
  border: 1px solid rgba(28, 50, 113, 0.15);
}
.message-row.reverse .paper-main-sheet {
  transform: rotate(-1.5deg);
}
.paper-letterhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-dark-blue);
  padding-bottom: 16px;
}
.letterhead-text-l, .letterhead-text-r {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-dark-blue);
  line-height: 1.3;
}
.letterhead-text-l {
  text-align: right;
}
.letterhead-text-r {
  text-align: left;
}
.letterhead-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.paper-date-stamp {
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 10px;
}
.paper-letter-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--color-dark-blue);
  margin-bottom: 10px;
  line-height: 1.2;
}
.paper-text-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #111827;
  text-align: justify;
}
.paper-text-content p {
  margin-bottom: 12px;
}
.paper-quote-block {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark-blue);
  background: rgba(28, 50, 113, 0.06);
  border-left: 4px solid var(--color-dark-blue);
  padding: 10px 18px;
  margin: 16px 0;
  font-style: italic;
}
.paper-sign-row {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.paper-sign-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.paper-sig-box {
  width: 175px;
  height: 56px;
  margin-bottom: 2px;
  overflow: visible;
  display: flex;
  align-items: center;
}
.sig-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sig-svg path.line {
  stroke: var(--color-dark-blue);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.paper-sign-text {
  font-size: 0.9rem;
  color: #111827;
  line-height: 1.45;
}
.paper-sign-text b {
  color: var(--color-dark-blue);
}
.paper-page-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #9ca3af;
  font-weight: 700;
}

/* ========================================================
   COMMITTEES MARQUEE SECTION (Matching DWMUN tilted bars)
   ======================================================== */
.committees-container {
  position: relative;
  overflow-x: hidden;
  padding: 80px 0;
  background: transparent;
}
.tilted-marquee-bar {
  position: relative;
  width: 110%;
  left: -5%;
  padding: 18px 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 32px;
  margin: 40px 0;
}
.tilted-marquee-bar.top-bar {
  background-color: rgba(28, 50, 113, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: rotate(-5deg);
  transition: opacity 0.85s ease-out, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.js-effects-active .tilted-marquee-bar.top-bar {
  opacity: 0;
  transform: rotate(-5deg) translateX(80px);
}
.js-effects-active .tilted-marquee-bar.top-bar.in-view {
  opacity: 1;
  transform: rotate(-5deg) translateX(0);
}
.tilted-marquee-bar.bottom-bar {
  background: linear-gradient(90deg, #142040 10%, var(--color-dark-blue) 50%, #142040 95%);
  transform: rotate(5deg);
  transition: opacity 0.85s ease-out, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.js-effects-active .tilted-marquee-bar.bottom-bar {
  opacity: 0;
  transform: rotate(5deg) translateX(-80px);
}
.js-effects-active .tilted-marquee-bar.bottom-bar.in-view {
  opacity: 1;
  transform: rotate(5deg) translateX(0);
}
.marquee-track-flow {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  min-width: 100%;
  flex-shrink: 0;
  animation: dwmun-scroll 35s linear infinite;
}
.marquee-track-flow.reverse {
  animation: dwmun-scroll-rev 35s linear infinite;
}
@keyframes dwmun-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@keyframes dwmun-scroll-rev {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.tilted-marquee-bar:hover .marquee-track-flow {
  animation-play-state: paused;
}
.comm-tile {
  min-height: 100%;
  background-color: var(--color-custom-white);
  border: 2px solid var(--color-dark-blue);
  padding: 24px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  width: 260px;
  text-align: center;
  border-radius: 4px;
  text-decoration: none !important;
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.comm-tile:hover {
  transform: scale(1.08);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.comm-tile-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 12px;
}
.comm-tile-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-dark-blue);
  margin-bottom: 4px;
}
.comm-tile-agenda {
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.35;
}

/* ========================================================
   KEY GAINS & 3-STEP REGISTRATION FLOW
   ======================================================== */
.dw-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.dw-cards-grid.dw-pillars-4col {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dw-cards-grid.dw-steps-3col {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) {
  .dw-cards-grid.dw-pillars-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .dw-cards-grid.dw-steps-3col {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 580px) {
  .dw-cards-grid.dw-pillars-4col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.dw-card {
  background-color: var(--color-custom-white);
  border: 2px solid var(--color-dark-blue);
  border-radius: 12px;
  padding: 26px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.dw-card:hover {
  transform: translateY(-4px);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(28, 50, 113, 0.20);
}
.dw-card-badge {
  align-self: flex-start;
  display: inline-block;
  background-color: var(--color-dark-blue);
  color: var(--color-custom-white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  line-height: 1;
}
.dw-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.35vw, 1.35rem);
  line-height: 1.25;
  color: var(--color-dark-blue);
  margin-bottom: 10px;
}
.dw-card-text {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.55;
  margin-top: 0;
}

/* ========================================================
   FOOTER (Matching DWMUN with stripes and Not by AI badge)
   ======================================================== */
.dw-footer {
  position: relative;
  background-color: var(--color-custom-white);
  width: 100%;
  padding: 72px 36px 36px;
  border-top: 4px solid var(--color-dark-blue);
  box-shadow: inset 0 2px 0 rgba(77, 128, 198, 0.35), 0 -8px 30px rgba(11, 28, 77, 0.05);
  overflow: hidden;
  z-index: 10;
  margin-top: auto;
}
.dw-footer::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background: repeating-linear-gradient(105deg, transparent 0px, transparent 120px, rgba(28, 50, 113, 0.09) 120px, rgba(28, 50, 113, 0.09) 240px);
  background-size: 200% 100%;
  opacity: 0.35;
  animation: dw-stripes 32s linear infinite;
}
@keyframes dw-stripes {
  0% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}
.dw-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.1fr 1.9fr 1.2fr 1.4fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.dw-footer-col {
  display: flex;
  flex-direction: column;
}
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.footer-crest-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(11, 28, 77, 0.2));
}
.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1.05;
  color: var(--color-dark-blue);
  margin: 0;
  letter-spacing: 0.02em;
}
.footer-school-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin: 4px 0 0;
}
.footer-motto-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--color-dark-blue);
  margin: 10px 0 14px;
  padding: 5px 12px;
  background: rgba(28, 50, 113, 0.07);
  border-left: 3px solid var(--color-dark-blue);
  border-radius: 0 4px 4px 0;
  line-height: 1.4;
}
.footer-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--color-dark-blue);
  padding: 6px 14px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(11, 28, 77, 0.25);
}
.footer-venue-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.5;
}
.footer-venue-row svg {
  flex-shrink: 0;
  color: var(--color-dark-blue);
  margin-top: 2px;
}
.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-dark-blue);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 8px;
}
.footer-col-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-cobalt-blue);
  border-radius: 2px;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-role {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cobalt-blue);
}
.contact-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: #1f2937;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-cobalt-blue) !important;
  font-weight: 600;
  text-decoration: none !important;
  padding: 3px 9px;
  background: rgba(0, 74, 173, 0.08);
  border-radius: 4px;
  transition: all 0.2s ease;
}
.contact-link:hover {
  background: var(--color-cobalt-blue);
  color: #ffffff !important;
}
.footer-social-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed rgba(11, 28, 77, 0.15);
}
.footer-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2937 !important;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-channel-link svg {
  color: var(--color-dark-blue);
  transition: transform 0.2s ease;
}
.footer-channel-link:hover {
  color: var(--color-cobalt-blue) !important;
  transform: translateX(3px);
}
.footer-channel-link:hover svg {
  transform: scale(1.15);
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #374151 !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.footer-links-list a svg {
  color: var(--color-cobalt-blue);
  transition: transform 0.2s ease;
}
.footer-links-list a:hover {
  color: var(--color-cobalt-blue) !important;
  transform: translateX(4px);
}
.footer-links-list a:hover svg {
  transform: translateX(2px);
}
.footer-heritage-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 28, 77, 0.12);
  border-radius: 12px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.footer-logos-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.footer-crest-sm {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.footer-affiliation {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #4b5563;
  font-weight: 500;
}
.footer-notbyai-wrap {
  padding-top: 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
  display: flex;
  justify-content: center;
}
.dw-notbyai {
  width: 110px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.dw-footer-bottom {
  max-width: 1240px;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(11, 28, 77, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.footer-copyright {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}
.footer-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark-blue);
  margin: 0;
}

/* ========================================================
   MODAL
   ======================================================== */
.dw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 77, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.dw-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.dw-modal-box {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 2px solid var(--color-dark-blue);
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}
.dw-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-custom-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-dark-blue);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================================
   AUTHENTICATION & DELEGATE PASS STYLES
   ======================================================== */
.auth-field-group {
  display: flex;
  flex-direction: column;
}
.auth-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 5px;
}
.auth-req {
  color: #dc2626;
}
.auth-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  color: #1e293b;
  background-color: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  outline: none;
  box-sizing: border-box;
}
.auth-input:focus {
  border-color: var(--color-dark-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 28, 77, 0.12);
}
.auth-input:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border-color: #e2e8f0;
}
.auth-input-pwd {
  padding-right: 40px;
}
.toggle-pwd-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.toggle-pwd-btn:hover {
  color: var(--color-dark-blue);
}
.auth-pwd-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: #334155;
  margin-top: 5px;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 3px solid var(--color-dark-blue);
}
.auth-pwd-hint code {
  background: rgba(11, 28, 77, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
  color: var(--color-dark-blue);
}
.hint-icon {
  font-weight: bold;
  color: var(--color-dark-blue);
}
.auth-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  line-height: 1.4;
}
.btn-auth-submit {
  width: 100%;
  margin-top: 6px;
  cursor: pointer;
  padding: 11px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
}
@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.auth-shake {
  animation: authShake 0.4s ease;
  border-color: #ef4444 !important;
}

/* Delegate Pass Card */
.delegate-pass-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.delegate-pass-card {
  position: relative;
  background: linear-gradient(135deg, #07153b 0%, #0b1c4d 60%, #152f75 100%);
  border: 2px solid #3b82f6;
  border-radius: 14px;
  padding: 24px 22px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(11, 28, 77, 0.35);
  overflow: hidden;
}
.pass-watermark {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.pass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
}
.pass-crest-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pass-crest-img {
  height: 38px;
  width: auto;
}
.pass-conf-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.04em;
}
.pass-conf-sub {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}
.pass-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: #86efac;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.verified-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.pass-body {
  margin-bottom: 14px;
}
.pass-portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.25;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.pass-committee-name {
  font-size: 0.82rem;
  color: #93c5fd;
  font-weight: 600;
  margin-bottom: 16px;
}
.pass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pass-grid-item {
  display: flex;
  flex-direction: column;
}
.pass-grid-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}
.pass-grid-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 1px;
}
.pass-grid-val.text-green {
  color: #86efac;
}
.pass-footer {
  text-align: center;
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}
.pass-actions {
  display: flex;
  gap: 10px;
}
.btn-pass-action {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-pass-print {
  background: var(--color-dark-blue);
  color: #ffffff;
  border: 1px solid var(--color-dark-blue);
}
.btn-pass-print:hover {
  background: #152f75;
}
.btn-pass-signout {
  background: #ffffff;
  color: #dc2626;
  border: 1px solid #fca5a5;
}
.btn-pass-signout:hover {
  background: #fef2f2;
}

/* Nav bar logged in state */
.btn-nav-signin.logged-in {
  background: #15803d;
  color: #ffffff;
  border-color: #16a34a;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-verified-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  color: #15803d;
  font-size: 10px;
  font-weight: 900;
  margin-right: 6px;
  flex-shrink: 0;
}
.nav-user-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 960px) {
  .message-row, .message-row.reverse {
    flex-direction: column;
    gap: 36px;
  }
  .speaker-frame {
    max-width: 100%;
    width: 100%;
  }
  .paper-main-sheet {
    padding: 30px 24px;
    transform: none !important;
  }
  .dw-footer-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  .top-navbar {
    height: 60px;
    padding: 0 14px;
  }
  .nav-brand {
    font-size: 1.15rem;
    gap: 8px;
  }
  .nav-brand-title {
    font-size: 1.15rem;
  }
  .nav-brand-sub {
    display: none;
  }
  .nav-brand-img {
    width: 32px;
    height: 32px;
  }
  .nav-actions {
    gap: 8px;
  }
  .btn-nav-signin {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 5px;
  }
  .btn-nav-register {
    display: none;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(11, 28, 77, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-bottom: 2px solid var(--color-cobalt-blue);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    z-index: 99;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
  }
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px 8px;
    border-radius: 6px;
  }
  .hamburger-bar {
    width: 18px;
    height: 2px;
    margin: 3px 0;
  }
  .dw-footer {
    padding: 48px 20px 28px;
  }
  .dw-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-person {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dw-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 32px;
  }

  .hero-wrapper {
    padding: calc(var(--header-h) + 20px) 12px 60px;
    min-height: auto;
    overflow-x: hidden;
    width: 100%;
  }
  .hero-inner-content {
    width: 100%;
    max-width: 100%;
  }
  .hero-heading {
    font-size: clamp(1.6rem, 7.8vw, 2.6rem) !important;
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 100%;
    padding: 0 4px;
    text-align: center;
  }
  .hero-subheading {
    font-size: clamp(0.65rem, 2.4vw, 0.78rem) !important;
    letter-spacing: 0.12em;
    margin-bottom: 30px;
    padding: 0 4px;
    max-width: 100%;
    text-align: center;
  }
  .countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 32px;
  }
  .countdown-val {
    font-size: clamp(1.6rem, 6.8vw, 2.2rem) !important;
    margin-bottom: 4px;
  }
  .countdown-unit {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
  .hero-info-row {
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: 16px;
    margin: 0 auto 24px;
    text-align: center;
  }
  .hero-info-sep {
    display: none;
  }
  .hero-btn-row {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    gap: 12px;
  }
  .btn-dw-solid, .btn-dw-ghost {
    width: 100%;
    min-width: 0;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
  .watermark-flower-l {
    display: block;
    top: 20px;
    left: -200px;
    width: 380px;
    opacity: 0.18 !important;
  }
  .watermark-flower-r {
    display: block;
    bottom: -10px;
    right: -200px;
    width: 380px;
    opacity: 0.18 !important;
  }
}

/* ========================================================
   CODE OF CONDUCT (JPS MUN 1.0 | 2026 OFFICIAL DOCUMENT)
   ======================================================== */
.coc-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 100px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.coc-hero-card {
  background: var(--color-custom-white);
  border: 2px solid var(--color-dark-blue);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 20px 45px rgba(11, 28, 77, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.coc-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff9933 0%, #ffffff 50%, #138808 100%);
}
.coc-institution-header {
  margin-bottom: 20px;
}
.coc-school-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-dark-blue);
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}
.coc-school-location {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.coc-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  color: var(--color-dark-blue);
  margin: 16px 0 6px;
  letter-spacing: 0.02em;
}
.coc-edition-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-cobalt-blue);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.coc-preamble-box {
  background: rgba(0, 74, 173, 0.05);
  border: 1px solid rgba(0, 74, 173, 0.2);
  border-radius: 12px;
  padding: 18px 24px;
  margin: 0 auto 28px;
  max-width: 860px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #374151;
}
.coc-values-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.coc-value-pill {
  padding: 8px 18px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
.coc-value-pill:hover {
  transform: translateY(-2px);
}
.coc-val-discipline { background: #0f172a; }
.coc-val-diplomacy { background: #0284c7; }
.coc-val-respect { background: #059669; }
.coc-val-integrity { background: #d97706; }
.coc-val-responsibility { background: #dc2626; }

/* Quick Navigation Bar */
.coc-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: 50px;
  border: 1px solid rgba(11, 28, 77, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 10;
  margin-bottom: 10px;
}
.coc-nav-btn {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark-blue);
  background: transparent;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.coc-nav-btn:hover {
  background: var(--color-dark-blue);
  color: #ffffff !important;
}

/* 10 Rules at a Glance Grid */
.coc-glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.coc-glance-card {
  background: #ffffff;
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.coc-glance-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 74, 173, 0.1);
  border-color: var(--color-cobalt-blue);
}
.coc-rule-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-cobalt-blue);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(0, 74, 173, 0.25);
}
.coc-rule-content h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-dark-blue);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.coc-rule-content p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4b5563;
}

/* Detailed Chapter Cards */
.coc-card {
  background: var(--color-custom-white);
  border: 1.5px solid rgba(11, 28, 77, 0.18);
  border-radius: 16px;
  padding: 32px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}
.coc-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(11, 28, 77, 0.08);
}
.coc-section-badge {
  background: var(--color-dark-blue);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.coc-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--color-dark-blue);
  margin: 0;
  letter-spacing: 0.02em;
}
.coc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coc-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #1f2937;
}
.coc-bullet {
  color: var(--color-cobalt-blue);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Callout Alerts (Red/Rose Warning Box matching PDF) */
.coc-alert-box {
  background: #fef2f2;
  border-left: 5px solid #dc2626;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 18px 0;
  color: #991b1b;
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.06);
}
.coc-alert-box strong {
  color: #7f1d1d;
  font-weight: 800;
}

/* Two-column subgrid for Dress Code Day 1 / Day 2 */
.coc-dress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.coc-dress-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.coc-dress-card h5 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin: 8px 0 8px;
  color: var(--color-dark-blue);
}

/* ==========================================================================
   Interactive Photo Gallery & Lightbox Styles
   ========================================================================== */

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Gallery Header Section */
.gallery-header-wrap {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 16px;
}
.gallery-stats-pills {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(11, 28, 77, 0.05);
  border: 1px solid rgba(11, 28, 77, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark-blue);
}

/* Gallery Action Bar: Filters + Upload Trigger */
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(11, 28, 77, 0.1);
}
.gallery-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-filter-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(11, 28, 77, 0.15);
  background: #ffffff;
  color: var(--color-dark-blue);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-filter-btn:hover {
  background: rgba(11, 28, 77, 0.06);
  border-color: var(--color-dark-blue);
}
.gallery-filter-btn.active {
  background: var(--color-dark-blue);
  color: #ffffff;
  border-color: var(--color-dark-blue);
  box-shadow: 0 4px 12px rgba(11, 28, 77, 0.2);
}
.gallery-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-gallery-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-cobalt-blue);
  color: #ffffff;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 74, 173, 0.25);
  transition: all 0.2s ease;
}
.btn-gallery-upload:hover {
  background: #003680;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 74, 173, 0.35);
}

/* Upload Dropzone Tray (Collapsible) */
.gallery-upload-tray {
  display: none;
  background: #ffffff;
  border: 2px dashed rgba(0, 74, 173, 0.3);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 32px;
  transition: all 0.25s ease;
  position: relative;
}
.gallery-upload-tray.open {
  display: block;
  animation: trayFadeIn 0.25s ease;
}
@keyframes trayFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.gallery-upload-tray.dragover {
  border-color: var(--color-cobalt-blue);
  background: rgba(0, 74, 173, 0.04);
}
.upload-tray-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--color-cobalt-blue);
  background: rgba(0, 74, 173, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-tray-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-dark-blue);
  margin-bottom: 6px;
}
.upload-tray-sub {
  color: #64748b;
  font-size: 0.84rem;
  margin-bottom: 16px;
}
.upload-tray-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.upload-tray-btn {
  padding: 8px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: none;
}
.upload-tray-select {
  background: var(--color-cobalt-blue);
  color: #ffffff;
}
.upload-tray-cancel {
  background: #f1f5f9;
  color: #475569;
}

/* Gallery Photo Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 26px;
}

/* Gallery Card */
.gallery-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 28, 77, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(11, 28, 77, 0.12);
  border-color: rgba(0, 74, 173, 0.3);
}

.gallery-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1c4d;
}
.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}
.gallery-card:hover .gallery-card-img {
  transform: scale(1.05);
}

/* Card Hover Expand Icon Overlay */
.gallery-card-hover-mask {
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 77, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-card:hover .gallery-card-hover-mask {
  opacity: 1;
}
.gallery-expand-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover .gallery-expand-bubble {
  transform: scale(1);
}

/* Card Metadata Body */
.gallery-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  flex-grow: 1;
}
.gallery-card-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.gallery-tag-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(0, 74, 173, 0.08);
  color: var(--color-cobalt-blue);
}
.gallery-tag-pill.tag-uploaded {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.gallery-card-date {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}
.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-dark-blue);
  margin: 2px 0 0;
  line-height: 1.35;
}
.gallery-card-desc {
  font-size: 0.83rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.45;
}

/* Remove Button for Uploaded Photos */
.gallery-card-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.gallery-card-remove-btn:hover {
  opacity: 1;
  background: #dc2626;
  transform: scale(1.1);
}

/* ==========================================================================
   Full-Screen Interactive Lightbox Modal
   ========================================================================== */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 99999;
  background: rgba(7, 15, 38, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  user-select: none;
}
.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Lightbox Top Header Bar */
.lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 10001;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}
.lightbox-counter {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lightbox-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lightbox-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lightbox-btn-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.lightbox-btn-close:hover {
  background: #dc2626;
  border-color: #dc2626;
}

/* Lightbox Main Stage Container */
.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 76px 90px 84px;
}

/* Lightbox Image Wrapper with smooth transitions */
.lightbox-image-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbZoomIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lbZoomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.lightbox-img {
  max-width: calc(100vw - 180px);
  max-height: calc(100vh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lightbox-img.switching {
  opacity: 0;
  transform: scale(0.98);
}

/* Large Floating Navigation Arrows */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10002;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}
.lightbox-nav-prev {
  left: 24px;
}
.lightbox-nav-next {
  right: 24px;
}

/* Lightbox Bottom Caption Bar */
.lightbox-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 32px 18px;
  z-index: 10001;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  flex-wrap: wrap;
}
.lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lightbox-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lightbox-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: 0.02em;
}
.lightbox-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--color-cobalt-blue);
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lightbox-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Keyboard Shortcut Tooltip / Pill */
.lightbox-keyboard-guide {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kbd-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}
.kbd-key {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: monospace;
  font-size: 0.76rem;
  font-weight: 700;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .gallery-stat-pill {
    font-size: 0.74rem;
    padding: 4px 10px;
    max-width: 100%;
    text-align: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .lightbox-header {
    height: 52px;
    padding: 0 10px;
    max-width: 100vw;
  }
  .lightbox-header-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .lightbox-counter {
    font-size: 0.74rem;
    padding: 3px 9px;
    flex-shrink: 0;
  }
  .lightbox-btn-icon {
    width: 34px;
    height: 34px;
  }
  .lightbox-stage {
    padding: 52px 6px 70px;
  }
  .lightbox-img {
    max-width: calc(100vw - 16px);
    max-height: 55vh;
  }
  .lightbox-nav-prev {
    left: 8px;
    width: 42px;
    height: 42px;
  }
  .lightbox-nav-next {
    right: 8px;
    width: 42px;
    height: 42px;
  }
  .lightbox-keyboard-guide {
    display: none;
  }
  .lightbox-caption-bar {
    padding: 10px 14px 16px;
    min-height: 58px;
  }
  .lightbox-title {
    font-size: 0.98rem;
    line-height: 1.25;
  }
  .lightbox-desc {
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ==========================================================================
   AWARDS & RECOGNITIONS SYSTEM
   ========================================================================== */
.awards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.awards-header-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}
.awards-stats-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.awards-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark-blue);
  box-shadow: 0 2px 8px rgba(11, 28, 77, 0.05);
  border: 1px solid rgba(11, 28, 77, 0.08);
}

/* Admin Control Bar */
.admin-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0b1c4d 0%, #004aad 100%);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(11, 28, 77, 0.2);
  flex-wrap: wrap;
  gap: 12px;
}
.admin-status-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}
.admin-status-badge {
  background: #f59e0b;
  color: #0b1c4d;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
}
.admin-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-admin-action {
  background: #ffffff;
  color: var(--color-dark-blue);
  border: none;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn-admin-action:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}
.btn-admin-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.btn-admin-danger:hover {
  background: #dc2626;
  color: #ffffff;
}

/* Awards Grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 36px 28px;
}

/* ==========================================================================
   Bespoke Conference Award Card (Matching Official User Reference)
   ========================================================================== */
.award-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.award-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(180, 83, 9, 0.16);
  border-top: 4px solid #b45309;
  box-shadow: 0 16px 44px rgba(11, 28, 77, 0.08);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.2s ease, opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.award-card-wrapper[draggable="true"] .award-card {
  cursor: grab;
}
.award-card-wrapper[draggable="true"] .award-card:active {
  cursor: grabbing;
}
.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(11, 28, 77, 0.12);
  border-color: rgba(180, 83, 9, 0.35);
}

/* Dragging & Reordering State */
.award-card.dragging {
  opacity: 0.45;
  transform: scale(0.98);
  border: 2px dashed #004aad !important;
  box-shadow: 0 8px 30px rgba(0, 74, 173, 0.25);
}
.award-card.drag-over {
  transform: translateY(-5px);
  border: 2px solid #004aad !important;
  box-shadow: 0 16px 36px rgba(0, 74, 173, 0.35);
}

/* 1. Top Header Bar (Above Photo) */
.award-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 14px;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  user-select: none;
}
.award-top-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}
.award-top-left svg {
  color: #d97706;
  flex-shrink: 0;
}
.award-top-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}
.award-admin-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}
.btn-award-move {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.68rem;
  transition: all 0.15s ease;
  line-height: 1;
}
.btn-award-move:hover:not(:disabled) {
  background: #004aad;
  color: #ffffff;
  border-color: #004aad;
}
.btn-award-move:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Remove button for Award (Admin mode) */
.award-remove-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  font-size: 13px;
  line-height: 1;
  padding: 0;
}
.award-remove-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

/* 2. Photo Hero Section with Dark Scrim and Text Overlay */
.award-hero-wrap {
  position: relative;
  width: 100%;
  height: 235px;
  overflow: hidden;
  background: #0b1c4d;
}
.award-hero-wrap.award-hero-no-img {
  height: 155px;
  background: linear-gradient(135deg, #071330 0%, #0b1c4d 60%, #1e3a8a 100%);
}
.award-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.award-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 56, 0.94) 0%, rgba(8, 20, 56, 0.45) 52%, rgba(8, 20, 56, 0.08) 100%);
}
.award-hero-content {
  position: absolute;
  bottom: 16px;
  left: 24px;
  right: 24px;
  z-index: 2;
  text-align: left;
}
.award-hero-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 2px;
  display: block;
}
.award-hero-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* 3. Category & Council Row (Directly below photo) */
.award-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 14px;
  gap: 10px;
  flex-wrap: wrap;
}
.award-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
}
.award-tier-pill svg {
  color: #b45309;
  flex-shrink: 0;
}
.award-council-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0b1c4d;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 6px;
}
.award-pill-dot {
  color: #d97706;
  font-size: 1rem;
  line-height: 0;
}

/* 4. Recipient Section */
.award-info-section {
  padding: 0 24px;
  text-align: left;
}
.award-delegate-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
}
.award-recipient-heading {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #0b1c4d;
  line-height: 1.15;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.award-portfolio-detail {
  font-size: 0.95rem;
  font-weight: 700;
  color: #004aad;
  margin-bottom: 8px;
  line-height: 1.35;
}
.award-school-detail {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
}
.award-school-detail svg {
  flex-shrink: 0;
  color: #94a3b8;
}

/* 5. Executive Board Citation Box */
.award-citation-card {
  margin: 0 24px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  text-align: left;
}
.award-citation-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.award-citation-title svg {
  flex-shrink: 0;
  color: #64748b;
}
.award-citation-quote {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: #1e293b;
}

/* 6. Card Bottom Footer */
.award-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 22px;
  font-size: 0.8rem;
  border-top: 1px solid rgba(11, 28, 77, 0.06);
}
.award-footer-school {
  color: #64748b;
  font-weight: 600;
}
.award-footer-verified {
  color: #004aad;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 7. Outer Subtitle (Under the Card in Reference) */
.award-outer-tagline {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 10px;
}

/* Toast for Sequence Update */
.award-sequence-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0b1c4d;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 99999;
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.award-sequence-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Awards Upload Tray Modal */
.awards-upload-tray {
  background: #ffffff;
  border: 1px solid rgba(11, 28, 77, 0.15);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 34px;
  box-shadow: 0 10px 30px rgba(11, 28, 77, 0.08);
  display: none;
}
.awards-upload-tray.open {
  display: block;
  animation: traySlideDown 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Admin Portal & Gallery Image Management Panel
   ========================================================================== */
.admin-login-stage {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 30px) 20px 60px;
}
.admin-card-box {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 16px 48px rgba(11, 28, 77, 0.12);
  border: 1px solid rgba(11, 28, 77, 0.1);
  text-align: center;
  transition: max-width 0.3s ease;
}
.admin-card-box.admin-authenticated-box {
  max-width: 1080px;
  text-align: left;
  padding: 36px 36px;
}

/* Admin Gallery Management Grid */
.admin-gallery-section {
  background: #ffffff;
  border: 1px solid rgba(11, 28, 77, 0.1);
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 18px rgba(11, 28, 77, 0.04);
}
.admin-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(11, 28, 77, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.admin-gallery-card {
  background: #f8fafc;
  border: 1px solid rgba(11, 28, 77, 0.1);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.admin-gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 28, 77, 0.08);
  border-color: rgba(0, 74, 173, 0.3);
}
.admin-gallery-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0b1c4d;
  position: relative;
  overflow: hidden;
}
.admin-gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-gallery-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.admin-gallery-meta-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark-blue);
  line-height: 1.4;
}
.admin-gallery-meta-sub {
  font-size: 0.74rem;
  color: #64748b;
}
.btn-admin-delete-photo {
  width: 100%;
  margin-top: auto;
  padding: 8px 14px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.btn-admin-delete-photo:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
}


