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

:root {
  --bg: #0a0a0f;
  --bg-secondary: #12121a;
  --text: #ffffff;
  --text-muted: #a0a0b0;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(99, 102, 241, 0.4);
  --success: #22c55e;
  --danger: #ef4444;
}

html,
body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 20% 40%,
      rgba(99, 102, 241, 0.15),
      transparent
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 60%,
      rgba(139, 92, 246, 0.1),
      transparent
    );
  pointer-events: none;
  z-index: 0;
}

/* ================= LANDING ================= */

#landing {
  display: block;
}

#landing.hidden {
  display: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1.25rem 3rem;
  z-index: 100;

  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;

  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;

  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.admin-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);

  padding: 0.6rem 1.4rem;
  border-radius: 8px;

  font-size: 0.875rem;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.admin-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent);
  color: var(--accent-hover);
  box-shadow: 0 0 20px var(--glow);
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;

  padding: 0 3rem;
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;

  position: relative;
}

.hero-card-wrap {
  position: relative;
  max-width: 460px;
}

.zoro-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.zoro-affil {
  font-size: clamp(0.72rem, 1.3vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.4;
  max-width: 420px;
}

.zoro-wrapper {
  position: relative;
  height: 340px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;
}

.zoro-text {
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;

  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #a5b4fc 18%,
    #6366f1 32%,
    #ffffff 45%,
    #c7d2fe 55%,
    #a5b4fc 68%,
    #6366f1 82%,
    #ffffff 100%
  );

  background-size: 250% 100%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  position: absolute;
  left: 0;
  bottom: -100%;
  opacity: 0;

  animation:
    slideUpZoro 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
    zoroShimmer 3.2s ease-in-out 1.9s infinite;
}

.zoro-tagline {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 400;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--text-muted);

  position: absolute;
  left: 0;
  bottom: -60px;

  opacity: 0;

  animation: slideUpTagline 1s cubic-bezier(0.22, 1, 0.36, 1)
    1.6s forwards;

  white-space: nowrap;
}

.zoro-hq {
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 400;

  letter-spacing: 0.08em;
  color: var(--text-muted);

  position: absolute;
  left: 0;
  bottom: -90px;

  opacity: 0;

  animation: slideUpHq 1s cubic-bezier(0.22, 1, 0.36, 1)
    1.85s forwards;

  white-space: nowrap;
}

@keyframes slideUpZoro {
  0% {
    bottom: -100%;
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    bottom: 80%;
    transform: translateY(50%);
    opacity: 1;
  }
}

@keyframes zoroShimmer {
  0% {
    background-position: 100% 50%;
    opacity: 0.72;
  }

  40% {
    background-position: 0% 50%;
    opacity: 1;
  }

  55% {
    background-position: -20% 50%;
    opacity: 0.95;
  }

  100% {
    background-position: 100% 50%;
    opacity: 0.75;
  }
}

@keyframes slideUpTagline {
  0% {
    bottom: -60px;
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    bottom: 32%;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpHq {
  0% {
    bottom: -90px;
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    bottom: 18%;
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= HERO CARD ================= */

.hero-info {
  position: relative;
  z-index: 1;
  overflow: hidden;

  opacity: 0;
  transform: translateY(80px);

  animation: slideUpInfo 1.1s cubic-bezier(0.22, 1, 0.36, 1)
    2s forwards;

  background: rgba(18, 18, 26, 0.45);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 24px;
  padding: 2.25rem 2.5rem;

  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  max-width: 460px;
}

@keyframes slideUpInfo {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bg-logo {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 320px;
  height: 320px;

  object-fit: contain;

  opacity: 1;

  pointer-events: none;
  z-index: 0;
  user-select: none;

  animation: fadeLogo 1.1s cubic-bezier(0.22, 1, 0.36, 1)
    2s forwards;
}

@keyframes fadeLogo {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.06;
  }
}

.hero-logo {
  width: 130px;
  height: 130px;

  margin-bottom: 1.5rem;

  object-fit: contain;

  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.25));
}

.hero-info h2 {
  font-size: 0.9rem;
  font-weight: 200;

  margin-bottom: 1rem;

  letter-spacing: -0.02em;
}

.hero-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;

  margin-bottom: 2rem;

  max-width: 420px;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;

  padding: 0.85rem 1.75rem;
  border-radius: 10px;

  font-size: 0.95rem;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);

  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);

  border: 1px solid var(--border);

  padding: 0.85rem 1.75rem;
  border-radius: 10px;

  font-size: 0.95rem;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

/* ================= FEATURES ================= */

.features {
  padding: 6rem 3rem;
  position: relative;
  z-index: 1;
  scroll-margin-top: 80px;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  position: relative;

  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;

  margin-bottom: 2rem;

  text-align: center;
  letter-spacing: -0.02em;

  background: linear-gradient(100deg, #ffffff 30%, var(--accent-hover) 45%, var(--accent) 55%, #ffffff 70%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.section-title::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 2px;

  background: linear-gradient(90deg, transparent, var(--accent-hover), transparent);

  transition: width 1s ease 0.35s;
}

.section-title.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: titleShimmer 6s ease-in-out 0.9s infinite;
}

.section-title.is-visible::after {
  width: 130px;
}

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

@media (prefers-reduced-motion: reduce) {
  .section-title {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
    background-position: 0% 0;
  }
  .section-title::after {
    width: 130px;
    transition: none;
  }
}

.explore-screen {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 4rem;

  max-width: 1200px;
  min-height: 85vh;

  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.explore-screen.reverse {
  flex-direction: row-reverse;
}

.explore-visual {
  flex: 1;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 320px;
}

/* ================= TECHNOLOGY WORLD MAP ================= */

.explore-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.explore-map-inner {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 2 / 1;
  opacity: 1;
  overflow: visible;
}

.world-map-svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45));
}

/* ================= NEWS: ANIMATED GLOBE ================= */

.explore-globe-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explore-globe {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5));
}

.explore-globe canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}

.explore-globe canvas:active {
  cursor: grabbing;
}

@media (max-width: 640px) {
  .explore-globe {
    max-width: 300px;
  }
}

.world-map-grid-bg {
  pointer-events: none;
}

.world-map-major-grid {
  fill: none;
  stroke: rgba(129, 140, 248, 0.08);
  stroke-width: 0.8;
}

.world-map-continents {
  stroke: rgba(148, 163, 184, 0.42);
  stroke-width: 1.15;
  stroke-linejoin: round;
  filter: url(#mapGlow);
}

.world-map-borders {
  fill: none;
  stroke: rgba(148, 163, 184, 0.16);
  stroke-width: 0.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mizoram-core-outline {
  fill: none;
  stroke: rgba(148, 163, 184, 0.42);
  stroke-width: 0.85;
  stroke-linejoin: round;
}

.world-map-tech-lines {
  fill: none;
  stroke: rgba(99, 102, 241, 0.22);
  stroke-width: 0.85;
  stroke-dasharray: 3 7;
}

.world-map-tech-lines circle {
  fill: #818cf8;
  opacity: 0.75;
  filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.9));
}

.world-map-crosshairs {
  fill: none;
  stroke: rgba(129, 140, 248, 0.5);
  stroke-width: 1;
}

.map-pulse {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.map-pulse-label {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 18, 29, 0.96), rgba(10, 12, 20, 0.92));
  border: 1px solid rgba(129, 140, 248, 0.42);
  color: #eef2ff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0.36rem 0.7rem;
  border-radius: 8px;
  margin-bottom: 0.35rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), 0 0 18px rgba(99, 102, 241, 0.12);
}

.map-pulse-label::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 7px;
  height: 7px;
  background: rgba(15, 18, 29, 0.96);
  border-right: 1px solid rgba(129, 140, 248, 0.42);
  border-bottom: 1px solid rgba(129, 140, 248, 0.42);
  transform: translateX(-50%) rotate(45deg);
}

.map-pulse-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(129, 140, 248, 0.95), rgba(99, 102, 241, 0.08));
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.45);
}

.map-pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7d2fe;
  border: 2px solid #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 0 16px 4px rgba(99, 102, 241, 0.75);
  animation: mapPulseDot 2.2s ease-in-out infinite;
}

.map-pulse-ring,
.map-pulse-ring::after {
  position: absolute;
  content: '';
  border-radius: 50%;
  border: 1.5px solid rgba(129, 140, 248, 0.78);
  pointer-events: none;
}

.map-pulse-ring {
  inset: -8px;
  animation: mapPulseRing 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.map-pulse-ring::after {
  inset: -5px;
  animation: mapPulseRing 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s infinite;
}

@keyframes mapPulseDot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 0 16px 4px rgba(99, 102, 241, 0.65);
  }
  50% {
    transform: scale(1.16);
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.05), 0 0 24px 7px rgba(99, 102, 241, 0.9);
  }
}

@keyframes mapPulseRing {
  0% {
    transform: scale(0.35);
    opacity: 0.95;
  }
  75%, 100% {
    transform: scale(3);
    opacity: 0;
  }
}


.explore-text {
  flex: 1;

  max-width: 480px;
}

.explore-eyebrow {
  display: inline-block;

  color: var(--accent-hover);

  font-size: 0.85rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  margin-bottom: 0.75rem;
}

/* ================= MIZO DECODE TEXT ANIMATION ================= */

.decode-text {
  transition: text-shadow 0.35s ease;
}

.decode-text.is-decoding {
  text-shadow:
    0 0 14px rgba(99, 102, 241, 0.65),
    0 0 3px rgba(129, 140, 248, 0.85);
}

.explore-text h3 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;

  margin-bottom: 1rem;

  letter-spacing: -0.02em;
}

.explore-text p {
  color: var(--text-muted);

  font-size: 1.05rem;
  line-height: 1.75;

  margin-bottom: 1.75rem;
}

@media (max-width: 768px) {

  .explore-screen,
  .explore-screen.reverse {
    flex-direction: column;

    gap: 2rem;

    min-height: auto;

    padding: 3rem 1rem;
  }

  .explore-visual {
    width: 100%;
  }

  .explore-map-inner {
    max-width: 100%;
  }

  .map-pulse-label {
    font-size: 0.65rem;
  }

  .explore-text {
    max-width: 100%;

    text-align: center;
  }

}

/* ================= FOOTER ================= */

footer {
  padding: 2.5rem 3rem;

  border-top: 1px solid var(--border);

  text-align: center;

  color: var(--text-muted);
  font-size: 0.875rem;

  position: relative;
  z-index: 1;
}

/* ================= MODAL ================= */

.modal-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.7);

  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 200;

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);

  border: 1px solid var(--border);
  border-radius: 16px;

  padding: 2.25rem;

  width: 100%;
  max-width: 400px;

  position: relative;

  transform: scale(0.95) translateY(10px);

  transition: transform 0.3s ease;
}

.modal.wide {
  max-width: 520px;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal h2 {
  font-size: 1.35rem;
  font-weight: 600;

  margin-bottom: 0.4rem;
}

.modal p {
  color: var(--text-muted);
  font-size: 0.9rem;

  margin-bottom: 1.75rem;
}

/* ================= FORMS ================= */

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;

  font-size: 0.85rem;
  font-weight: 500;

  margin-bottom: 0.4rem;

  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 0.75rem 1rem;

  background: var(--bg);

  border: 1px solid var(--border);
  border-radius: 8px;

  color: var(--text);

  font-size: 0.95rem;
  font-family: inherit;

  outline: none;

  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.error-msg {
  color: var(--danger);

  font-size: 0.85rem;

  margin-top: 0.75rem;

  display: none;
}

.error-msg.show {
  display: block;
}

.modal-actions {
  display: flex;

  gap: 0.75rem;

  margin-top: 1.5rem;
}

.modal-actions button {
  flex: 1;

  padding: 0.8rem;

  border-radius: 8px;

  font-size: 0.9rem;
  font-weight: 600;

  cursor: pointer;

  font-family: inherit;

  transition: all 0.2s ease;
}

.btn-login {
  background: var(--accent);
  color: white;
  border: none;
}

.btn-login:hover {
  background: var(--accent-hover);
}

.btn-cancel {
  background: transparent;

  border: 1px solid var(--border);

  color: var(--text-muted);
}

.btn-cancel:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.close-modal {
  position: absolute;

  top: 1rem;
  right: 1rem;

  background: none;
  border: none;

  color: var(--text-muted);

  font-size: 1.4rem;

  cursor: pointer;

  line-height: 1;

  padding: 0.25rem;
}

/* ================= IMAGE UPLOAD ================= */

.image-upload-area {
  border: 1px dashed var(--border);

  border-radius: 10px;

  padding: 1.25rem;

  text-align: center;

  cursor: pointer;

  transition: all 0.2s ease;

  background: var(--bg);

  position: relative;
}

.image-upload-area:hover {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.05);
}

.image-upload-area input[type="file"] {
  position: absolute;
  inset: 0;

  opacity: 0;

  cursor: pointer;

  width: 100%;
  height: 100%;
}

.image-upload-area .hint {
  color: var(--text-muted);

  font-size: 0.85rem;

  pointer-events: none;
}

.image-preview {
  margin-top: 0.75rem;

  width: 72px !important;
  height: 72px !important;

  max-width: 72px !important;
  max-height: 72px !important;

  border-radius: 8px;

  object-fit: cover;

  display: none;

  cursor: zoom-in;

  border: 1px solid var(--border);

  position: relative;
  z-index: 2;
}

.image-preview.show {
  display: block !important;

  margin-left: auto;
  margin-right: auto;
}

.btn-remove-image {
  display: none;

  margin-top: 0.5rem;

  background: transparent;

  border: 1px solid rgba(239, 68, 68, 0.4);

  color: var(--danger);

  padding: 0.3rem 0.7rem;

  border-radius: 6px;

  font-size: 0.8rem;

  cursor: pointer;

  font-family: inherit;

  position: relative;
  z-index: 2;
}

.btn-remove-image.show {
  display: inline-block;
}

/* ================= LIGHTBOX ================= */

.img-lightbox {
  position: fixed;
  inset: 0;

  z-index: 300;

  background: rgba(0, 0, 0, 0.85);

  backdrop-filter: blur(8px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: all 0.25s ease;

  cursor: zoom-out;
}

.img-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.img-lightbox img {
  max-width: 90vw;
  max-height: 85vh;

  border-radius: 12px;

  object-fit: contain;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.img-lightbox-close {
  position: absolute;

  top: 1.25rem;
  right: 1.5rem;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.25);

  color: #fff;

  font-size: 1.5rem;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  cursor: pointer;

  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;
}

.img-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ================= NEWS ================= */

#news,
#gallery,
#leaders,
#members,
#contactPage {
  display: none;

  min-height: 100vh;

  position: relative;
  z-index: 1;
}

#news.active,
#gallery.active,
#leaders.active,
#members.active,
#contactPage.active {
  display: block;
}

.member-card-public {
  background: var(--bg-secondary);

  border: 1px solid var(--border);
  border-radius: 16px;

  padding: 1.5rem 1.4rem;

  transition: all 0.3s ease;
}

.member-card-public:hover {
  border-color: rgba(99, 102, 241, 0.35);

  transform: translateY(-3px);

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.member-card-public h3 {
  font-size: 1.05rem;
  font-weight: 600;

  margin-bottom: 0.5rem;
}

.member-card-public p {
  color: var(--text-muted);

  font-size: 0.88rem;
  line-height: 1.55;

  margin-bottom: 0.3rem;
}

.member-card-public .zoro-id-badge {
  display: inline-block;

  margin-top: 0.5rem;

  background: rgba(99, 102, 241, 0.15);

  color: var(--accent-hover);

  font-size: 0.75rem;
  font-weight: 600;

  padding: 0.2rem 0.55rem;

  border-radius: 6px;

  letter-spacing: 0.03em;
}

.leader-card-public {
  background: var(--bg-secondary);

  border: 1px solid var(--border);

  border-radius: 16px;

  overflow: hidden;

  transition: all 0.3s ease;

  text-align: center;
}

.leader-card-public:hover {
  border-color: rgba(99, 102, 241, 0.35);

  transform: translateY(-3px);

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.leader-card-public img {
  width: 100%;
  height: 220px;

  object-fit: cover;

  display: block;

  cursor: zoom-in;
}

.leader-card-public .leader-body {
  padding: 1.1rem 1.25rem;
}

.leader-card-public h3 {
  font-size: 1.05rem;
  font-weight: 600;

  margin-bottom: 0.4rem;
}

.leader-card-public p {
  color: var(--text-muted);

  font-size: 0.85rem;
  line-height: 1.5;

  margin-bottom: 0.25rem;
}

.gallery-feed {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));

  gap: 1.5rem;
}

.gallery-item {
  background: var(--bg-secondary);

  border: 1px solid var(--border);

  border-radius: 16px;

  overflow: hidden;

  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: rgba(99, 102, 241, 0.35);

  transform: translateY(-3px);

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 200px;

  object-fit: cover;

  display: block;

  cursor: zoom-in;
}

.gallery-item-body {
  padding: 1.1rem 1.25rem;
}

.gallery-item-body p {
  color: var(--text-muted);

  font-size: 0.9rem;
  line-height: 1.55;

  margin-bottom: 0.4rem;
}

.gallery-item-date {
  font-size: 0.75rem;
  color: var(--accent-hover);
}

.news-header {
  display: flex;

  justify-content: space-between;
  align-items: center;

  padding: 1.25rem 2.5rem;

  background: rgba(10, 10, 15, 0.9);

  backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--border);

  position: sticky;
  top: 0;

  z-index: 50;
}

.news-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.news-header h1 {
  font-size: 1.35rem;
  font-weight: 700;

  letter-spacing: 0.04em;
}

.news-header h1 span {
  background: linear-gradient(135deg, #a5b4fc, #6366f1);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
}

.btn-back {
  background: transparent;

  border: 1px solid var(--border);

  color: var(--text-muted);

  padding: 0.5rem 1.1rem;

  border-radius: 8px;

  font-size: 0.85rem;
  font-weight: 500;

  cursor: pointer;

  font-family: inherit;

  transition: all 0.2s ease;

  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-back:hover {
  border-color: var(--accent);

  color: var(--accent-hover);

  background: rgba(99, 102, 241, 0.1);
}

.news-main {
  max-width: 1400px;

  margin: 0 auto;

  padding: 3rem 2.5rem 5rem;
}

.news-hero-title {
  text-align: center;

  margin-bottom: 3rem;
}

.news-hero-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);

  font-weight: 700;

  letter-spacing: -0.03em;

  margin-bottom: 0.6rem;

  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
}

.news-hero-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

.news-count-badge {
  display: inline-block;

  margin-top: 0.75rem;

  background: rgba(99, 102, 241, 0.15);

  color: var(--accent-hover);

  font-size: 0.8rem;
  font-weight: 600;

  padding: 0.3rem 0.85rem;

  border-radius: 20px;

  letter-spacing: 0.03em;
}

.news-feed {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));

  gap: 1.75rem;
}

.news-article {
  background: var(--bg-secondary);

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 1.75rem 2rem;

  transition: all 0.3s ease;

  position: relative;

  overflow: hidden;
}

.news-article::before {
  content: '';

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 3px;

  background: linear-gradient(
    180deg,
    var(--accent),
    transparent
  );

  opacity: 0;

  transition: opacity 0.3s ease;
}

.news-article:hover {
  border-color: rgba(99, 102, 241, 0.35);

  transform: translateY(-3px);

  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.news-article:hover::before {
  opacity: 1;
}

.news-article-meta {
  display: flex;

  align-items: center;

  gap: 0.75rem;

  margin-bottom: 0.85rem;
}

.news-article-date {
  font-size: 0.8rem;

  color: var(--accent-hover);

  font-weight: 500;
}

/* THIS SECTION WAS BROKEN IN YOUR ORIGINAL CSS */

.news-article-badge {
  font-size: 0.7rem;

  background: rgba(34, 197, 94, 0.15);

  color: var(--success);

  padding: 0.15rem 0.55rem;

  border-radius: 6px;

  font-weight: 600;
}

.news-article h3 {
  font-size: 1.25rem;

  font-weight: 650;

  margin-bottom: 0.75rem;

  letter-spacing: -0.02em;

  line-height: 1.35;
}

.news-article-img {
  width: 100%;

  max-height: 320px;

  object-fit: cover;

  border-radius: 12px;

  margin-bottom: 1rem;

  display: block;
}

.news-article-body {
  color: var(--text-muted);

  font-size: 0.95rem;

  line-height: 1.75;

  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-empty-premium {
  text-align: center;

  padding: 5rem 2rem;

  color: var(--text-muted);
}

.news-empty-premium .icon {
  font-size: 3rem;

  margin-bottom: 1.25rem;

  opacity: 0.4;
}

.news-empty-premium h3 {
  font-size: 1.2rem;

  font-weight: 600;

  margin-bottom: 0.5rem;

  color: var(--text);
}

/* ================= ADMIN ================= */

#admin {
  display: none;

  min-height: 100vh;

  position: relative;

  z-index: 1;
}

/* =========================================
   PAGE VISIBILITY
========================================= */

#admin {
    display: none;
    width: 100%;
    min-height: 100vh;
}

#admin.active {
    display: block !important;
}

/* Subtle formal background decoration for the admin console:
   faint vertical lines, each with a soft white light that
   travels top-to-bottom, staggered so only one or two glow
   at a time. */

.bg-lines {
  position: fixed;
  inset: 0;

  z-index: -1;
  pointer-events: none;

  display: flex;
  justify-content: space-evenly;

  overflow: hidden;
}

.bg-line {
  position: relative;

  width: 1px;
  height: 100%;

  background: rgba(255, 255, 255, 0.07);
}

/* Fading tail trailing behind the droplet */
.bg-line::before {
  content: "";

  position: absolute;
  left: 50%;
  top: -20%;

  width: 1px;
  height: 16%;

  transform: translateX(-50%);

  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.55)
  );

  opacity: 0;

  animation: bgLineTail 5s linear infinite;
}

/* The droplet head itself: a small bright bead leading the tail */
.bg-line::after {
  content: "";

  position: absolute;
  left: 50%;
  top: -4%;

  width: 5px;
  height: 5px;
  margin-top: -2.5px;

  border-radius: 50%;

  transform: translateX(-50%);

  background: radial-gradient(
    circle,
    #ffffff 0%,
    rgba(255, 255, 255, 0.85) 45%,
    transparent 75%
  );

  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.7);

  opacity: 0;

  animation: bgLineHead 5s linear infinite;
}

.bg-line:nth-child(1)::before,
.bg-line:nth-child(1)::after {
  animation-delay: 0s;
}

.bg-line:nth-child(2)::before,
.bg-line:nth-child(2)::after {
  animation-delay: 1.1s;
}

.bg-line:nth-child(3)::before,
.bg-line:nth-child(3)::after {
  animation-delay: 2.2s;
}

.bg-line:nth-child(4)::before,
.bg-line:nth-child(4)::after {
  animation-delay: 3.3s;
}

.bg-line:nth-child(5)::before,
.bg-line:nth-child(5)::after {
  animation-delay: 4.4s;
}

@keyframes bgLineTail {
  0% {
    top: -20%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes bgLineHead {
  0% {
    top: -4%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 116%;
    opacity: 0;
  }
}

.hidden {
    display: none !important;
}

.admin-header {
  display: flex;

  justify-content: space-between;
  align-items: center;

  padding: 1.25rem 2.5rem;

  background: rgba(10, 10, 15, 0.85);

  backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border);

  position: sticky;

  top: 0;

  z-index: 50;
}

.admin-header h1 {
  font-size: 1.25rem;

  font-weight: 700;

  letter-spacing: 0.05em;
}

.admin-header h1 span {
  color: var(--accent);
}

.admin-actions {
  display: flex;

  gap: 0.75rem;

  align-items: center;
}

.btn-logout {
  background: transparent;

  border: 1px solid var(--border);

  color: var(--text-muted);

  padding: 0.55rem 1.2rem;

  border-radius: 8px;

  font-size: 0.85rem;

  font-weight: 500;

  cursor: pointer;

  font-family: inherit;

  transition: all 0.2s ease;
}

.btn-logout:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.admin-main {
  max-width: 1100px;

  margin: 0 auto;

  padding: 2.5rem 2rem;
}

.admin-section-title {
  font-size: 0.8rem;

  font-weight: 600;

  margin: 2rem 0 1rem;

  color: var(--text-muted);

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

.admin-section-title:first-child {
  margin-top: 0;
}

.admin-grid {
  display: grid;

  grid-template-columns: 400px 1fr;

  gap: 2rem;

  align-items: start;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;

  animation: adminTabFadeIn 0.25s ease;
}

@keyframes adminTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Upload/List sub-views within a section */

.admin-subview {
  display: none;
}

.admin-subview.active {
  display: block;

  grid-column: 1 / -1;

  animation: adminTabFadeIn 0.2s ease;
}

#membersUploadView .card,
#newsUploadView .card,
#photosUploadView .card,
#leadersUploadView .card {
  max-width: 560px;
}

/* Glass buttons */

.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.7rem 1.1rem;
  margin: 0.85rem 0 1.25rem;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid var(--border);
  border-radius: 12px;

  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.3;

  cursor: pointer;

  transition: all 0.2s ease;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);

  transform: translateY(-1px);

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.glass-btn .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;

  color: var(--accent-hover);
}

/* List toolbar: back button + search box */

.list-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;

  margin-bottom: 1.25rem;
}

.list-toolbar .glass-btn {
  margin: 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  flex: 1;
  min-width: 200px;

  padding: 0.6rem 1rem;

  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;

  transition: border-color 0.2s ease;
}

.public-search-box {
  max-width: 420px;

  margin: 1.5rem auto 0;
}

.search-box:focus-within {
  border-color: var(--accent);
}

.search-box .btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;

  color: var(--text-muted);
}

.search-box input {
  flex: 1;

  background: transparent;
  border: none;
  outline: none;

  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.card {
  background: var(--bg-secondary);

  border: 1px solid var(--border);

  border-radius: 16px;

  padding: 1.75rem;
}

.card h2 {
  font-size: 1.15rem;

  font-weight: 600;

  margin-bottom: 1.25rem;

  display: flex;

  align-items: center;

  gap: 0.5rem;
}

.card h2 .count {
  background: rgba(99, 102, 241, 0.2);

  color: var(--accent-hover);

  font-size: 0.75rem;

  padding: 0.15rem 0.55rem;

  border-radius: 20px;

  font-weight: 600;
}

.btn-submit {
  width: 100%;

  background: var(--accent);

  color: white;

  border: none;

  padding: 0.85rem;

  border-radius: 10px;

  font-size: 0.95rem;

  font-weight: 600;

  cursor: pointer;

  font-family: inherit;

  transition: all 0.25s ease;

  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--accent-hover);
}

.btn-submit.secondary {
  background: transparent;

  border: 1px solid var(--border);

  color: var(--text);
}

.btn-submit.secondary:hover {
  border-color: var(--accent);

  color: var(--accent-hover);
}

.success-toast {
  background: rgba(34, 197, 94, 0.15);

  border: 1px solid rgba(34, 197, 94, 0.35);

  color: var(--success);

  padding: 0.75rem 1rem;

  border-radius: 8px;

  font-size: 0.875rem;

  margin-bottom: 1rem;

  display: none;
}

.success-toast.show {
  display: block;
}

.members-list,
.news-list {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));

  gap: 0.85rem;

  max-height: 620px;

  overflow-y: auto;
}

.member-card,
.news-card {
  background: var(--bg);

  border: 1px solid var(--border);

  border-radius: 12px;

  padding: 1.1rem 1.25rem;

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  gap: 1rem;

  transition: border-color 0.2s ease;
}

.member-card:hover,
.news-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.member-info h3,
.news-info h3 {
  font-size: 1rem;

  font-weight: 600;

  margin-bottom: 0.35rem;
}

.member-info p,
.news-info p {
  font-size: 0.82rem;

  color: var(--text-muted);

  line-height: 1.5;
}

.member-info .zoro-id {
  display: inline-block;

  margin-top: 0.4rem;

  background: rgba(99, 102, 241, 0.15);

  color: var(--accent-hover);

  font-size: 0.75rem;

  font-weight: 600;

  padding: 0.2rem 0.55rem;

  border-radius: 6px;

  letter-spacing: 0.03em;
}

.news-info .news-date {
  display: inline-block;

  margin-top: 0.35rem;

  font-size: 0.75rem;

  color: var(--accent-hover);
}

.news-card-left .thumb {
  width: 56px !important;
  height: 56px !important;

  max-width: 56px !important;
  max-height: 56px !important;

  object-fit: cover;

  border-radius: 8px;

  margin-right: 0.75rem;

  flex-shrink: 0;

  cursor: zoom-in;
}

.news-card-left {
  display: flex;

  align-items: flex-start;

  gap: 0.5rem;

  flex: 1;

  min-width: 0;
}

.card-actions {
  display: flex;

  flex-direction: column;

  gap: 0.35rem;

  flex-shrink: 0;
}

.btn-edit,
.btn-delete {
  background: transparent;

  border: 1px solid transparent;

  padding: 0.35rem 0.6rem;

  border-radius: 6px;

  font-size: 0.8rem;

  cursor: pointer;

  font-family: inherit;

  transition: all 0.2s ease;
}

.btn-edit {
  color: var(--accent-hover);
}

.btn-edit:hover {
  border-color: rgba(99, 102, 241, 0.4);

  background: rgba(99, 102, 241, 0.1);
}

.btn-delete {
  color: var(--text-muted);
}

.btn-delete:hover {
  border-color: rgba(239, 68, 68, 0.4);

  color: var(--danger);

  background: rgba(239, 68, 68, 0.08);
}

.empty-state {
  text-align: center;

  padding: 3rem 1rem;

  color: var(--text-muted);

  font-size: 0.95rem;
}

.empty-state span {
  display: block;

  font-size: 2rem;

  margin-bottom: 0.75rem;

  opacity: 0.5;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .zoro-wrapper {
    justify-content: center;
    align-items: center;
    height: 280px;
  }

  .zoro-text {
    left: 50%;
  }

  .zoro-tagline {
    left: 50%;
    white-space: normal;
    text-align: center;
    max-width: 90%;
  }

  .zoro-hq {
    left: 50%;
    white-space: normal;
    text-align: center;
    max-width: 90%;
  }

  .zoro-affil {
    margin: 0 auto;
    text-align: center;
    max-width: 90%;
  }

  @keyframes slideUpZoro {
    0% {
      bottom: -100%;
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
    }

    100% {
      bottom: 58%;
      transform: translateX(-50%) translateY(50%);
      opacity: 1;
    }
  }

  @keyframes slideUpTagline {
    0% {
      bottom: -60px;
      opacity: 0;
      transform: translateX(-50%) translateY(10px);
    }

    100% {
      bottom: 28%;
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  @keyframes slideUpHq {
    0% {
      bottom: -90px;
      opacity: 0;
      transform: translateX(-50%) translateY(10px);
    }

    100% {
      bottom: 14%;
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  .hero-card-wrap {
    margin-left: auto;
    margin-right: auto;

    max-width: 100%;
  }

  .hero-info {
    margin-left: auto;
    margin-right: auto;

    padding: 1.75rem 1.5rem;

    max-width: 100%;
  }

  .hero-info p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;

    display: block;

    width: 120px;
    height: 120px;
  }

  .cta-group {
    justify-content: center;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  .hero,
  .features {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  

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

  .admin-header,
  .news-header {
    padding: 1rem 1.25rem;
  }

  .admin-main,
  .news-main {
    padding: 1.5rem 1.25rem;
  }

  .news-article {
    padding: 1.35rem 1.4rem;
  }
}

@media (max-width: 480px) {
  .zoro-text {
    font-size: 3.5rem;
  }

  .zoro-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .zoro-hq {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }

  .zoro-affil {
    font-size: 0.65rem;
  }

  .hero-info h2 {
    font-size: 1.4rem;
  }
}

/* ================= DONATE SECTION ================= */

.donate-section {
  position: relative;
  z-index: 1;

  padding: 6rem 3rem;

  background: rgba(18, 18, 26, 0.35);

  border-top: 1px solid var(--border);

  scroll-margin-top: 80px;

  overflow: hidden;
}

.donate-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.donate-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.donate-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.55) 0%, rgba(10, 10, 15, 0.35) 40%, rgba(10, 10, 15, 0.65) 100%);
}

.donate-container {
  position: relative;
  z-index: 1;

  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 3rem;
  align-items: center;
}

.donate-content {
  max-width: 820px;
}
.donate-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.donate-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;

  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.donate-content p {
  color: var(--text-muted);

  font-size: 1rem;
  line-height: 1.8;

  margin-bottom: 1.5rem;
  max-width: 500px;
}

.donate-features {
  display: flex;
  flex-direction: column;

  gap: 0.8rem;
}

.donate-feature {
  display: flex;
  align-items: center;

  gap: 0.75rem;

  color: var(--text-muted);
  font-size: 0.95rem;
}

.donate-feature span {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(99, 102, 241, 0.15);
  border-radius: 8px;
}

/* ================= QR CODE CARD ================= */

.donate-card {
  background: rgba(18, 18, 26, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--border);
  border-radius: 24px;

  padding: 2.5rem;

  text-align: center;

  max-width: 420px;
  width: 100%;

  margin: 0 auto;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(99, 102, 241, 0.08);
}

.donate-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.donate-card p {
  color: var(--text-muted);

  font-size: 0.9rem;
  line-height: 1.6;

  margin-bottom: 1.5rem;
}

.qr-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  padding: 7px;
  width: auto;
  height: auto;
  border-radius: 14px;
  background: #ffffff;
}
.qr-container img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  display: block;
}

.scan-text {
  display: inline-block;

  background: rgba(99, 102, 241, 0.12);

  color: var(--accent-hover);

  padding: 0.5rem 1rem;

  border-radius: 20px;

  font-size: 0.8rem;
  font-weight: 600;

  margin-bottom: 1rem;
}

/* ================= CONTACT SECTION ================= */

.contact-section {
  position: relative;
  z-index: 1;

  padding: 6rem 3rem;

  border-top: 1px solid var(--border);

  scroll-margin-top: 80px;

  overflow: hidden;
}

.contact-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.contact-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.85) contrast(1.1);
}

.contact-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.55) 0%, rgba(10, 10, 15, 0.35) 40%, rgba(10, 10, 15, 0.65) 100%);
}

.contact-container {
  position: relative;
  z-index: 1;

  max-width: 1100px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 3rem;
  align-items: start;
}

.contact-info {
  padding: 2.5rem;

  background: rgba(18, 18, 26, 0.55);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);

  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  flex-shrink: 0;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.2rem;

  background: rgba(99, 102, 241, 0.15);
  border-radius: 12px;
}

.contact-item h3 {
  font-size: 1.05rem;
  font-weight: 600;

  margin-bottom: 0.35rem;
}

.contact-item a {
  color: var(--accent-hover);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-heading h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;

  margin-bottom: 0.75rem;
}

.contact-heading p {
  color: var(--text-muted);
  font-size: 1rem;
}

.contact-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-secondary);

  border: 1px solid var(--border);
  border-radius: 16px;

  padding: 2rem 1.5rem;

  text-align: center;

  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);

  border-color: rgba(99, 102, 241, 0.4);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.contact-card-icon {
  width: 55px;
  height: 55px;

  margin: 0 auto 1.25rem;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.5rem;

  background: rgba(99, 102, 241, 0.15);

  border-radius: 14px;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.contact-card p {
  color: var(--text-muted);

  font-size: 0.9rem;
  line-height: 1.6;
}

/* ================= DONATE & CONTACT RESPONSIVE ================= */

@media (max-width: 900px) {
  .donate-section,
  .contact-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .donate-container {
    grid-template-columns: 1fr;

    gap: 2rem;
    text-align: center;
  }

  .donate-content {
    padding: 1.75rem;
  }

  .donate-features {
    align-items: center;
  }

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

@media (max-width: 480px) {
  .donate-section,
  .contact-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .donate-card {
    padding: 1.5rem 1rem;
  }

  .qr-container {
    width: 220px;
    height: 220px;
  }

  .donate-content h2,
  .contact-heading h2 {
    font-size: 1.8rem;
  }
}

/* =====================================================
   COMPACT ADMIN RESULT CARDS
   Members / Published News / Uploaded Photos / Leaders
   ===================================================== */

/* Make the right-side result panel 70% narrower */
.admin-grid > .card:nth-child(2) {
  width: 30% !important;
  min-width: 0 !important;
  justify-self: start !important;
}

/* Make all result lists compact */
.members-list,
.news-list,
#membersList,
#newsList,
#photoList,
#leaderList {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.5rem !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
}

/* Make all result cards smaller */
.member-card,
.news-card,
#membersList .member-card,
#newsList .news-card,
#photoList .news-card,
#leaderList .news-card {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 60% !important;
  padding: 0.65rem !important;
  gap: 0.5rem !important;
  border-radius: 10px !important;
}

/* Compact card content */
.member-info h3,
.news-info h3 {
  font-size: 0.85rem !important;
  margin-bottom: 0.2rem !important;
}

.member-info p,
.news-info p {
  font-size: 0.7rem !important;
  line-height: 1.3 !important;
}

.member-info .zoro-id,
.news-info .news-date {
  font-size: 0.62rem !important;
  margin-top: 0.2rem !important;
}

/* Smaller thumbnails */
.news-card-left .thumb {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  margin-right: 0.35rem !important;
}

/* Compact edit/delete controls */
.card-actions {
  gap: 0.2rem !important;
}

.btn-edit,
.btn-delete {
  font-size: 0.65rem !important;
  padding: 0.25rem 0.4rem !important;
}

/* Keep compact result panels usable on tablets and phones */
@media (max-width: 900px) {
  .admin-grid > .card:nth-child(2) {
    width: 100% !important;
  }
}


/* =====================================================
   FINAL FIX — PREVENT COMPACT ADMIN CARDS FROM
   BECOMING TOO NARROW AND TOO TALL
   ===================================================== */

/* Restore the main result panel width */
.admin-grid > .card:nth-child(2) {
  width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}

/* Show compact cards in a responsive grid */
.members-list,
.news-list,
#membersList,
#newsList,
#photoList,
#leaderList {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 0.75rem !important;
  width: 100% !important;
}

/* Compact cards without crushing their content */
.member-card,
.news-card,
#membersList .member-card,
#newsList .news-card,
#photoList .news-card,
#leaderList .news-card {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0.7rem !important;
  gap: 0.55rem !important;
  align-items: flex-start !important;
}

/* Prevent text from becoming excessively narrow */
.member-info,
.news-info,
.news-card-left {
  min-width: 0 !important;
}

.member-info h3,
.news-info h3 {
  font-size: 0.88rem !important;
  line-height: 1.25 !important;
  overflow-wrap: break-word !important;
}

.member-info p,
.news-info p {
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  overflow-wrap: break-word !important;
}

/* Keep action buttons compact */
.card-actions {
  flex-direction: row !important;
  gap: 0.25rem !important;
}

.btn-edit,
.btn-delete {
  white-space: nowrap !important;
}

/* Mobile: one compact card per row */
@media (max-width: 900px) {
  .members-list,
  .news-list,
  #membersList,
  #newsList,
  #photoList,
  #leaderList {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================
   ADMIN CONSOLE HEADER NAVIGATION
========================================= */

#admin .admin-header {
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
  box-sizing: border-box;
}


/* Keep the Admin Console title visible */

#admin .admin-header h1 {
  display: block;
  white-space: nowrap;
  flex-shrink: 0;
}


/* Navigation */

#admin .admin-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  flex: 1;

  background: transparent;
  padding: 0;
  margin: 0;
}


/* Navigation buttons */

#admin .admin-nav .admin-nav-button {
  appearance: none;
  -webkit-appearance: none;

  background: transparent !important;

  color: #a7a7b5 !important;

  border: none !important;

  outline: none;

  box-shadow: none !important;

  padding: 9px 13px;

  margin: 0;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  border-radius: 7px;

  white-space: nowrap;

  transition: all 0.2s ease;
}


/* Hover */

#admin .admin-nav .admin-nav-button:hover {
  background: rgba(255, 255, 255, 0.08) !important;

  color: #ffffff !important;
}


/* Active button */

#admin .admin-nav .admin-nav-button.active {
  background: rgba(255, 255, 255, 0.12) !important;

  color: #ffffff !important;
}


/* Logout area */

#admin .admin-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}


/* Smooth scrolling */

html {
  scroll-behavior: smooth;
}


/* Prevent section from touching the top */

#membersSection,
#newsSection,
#photosSection,
#leadersSection {
  scroll-margin-top: 100px;
}


/* Responsive layout */

@media (max-width: 900px) {

  #admin .admin-header {
    flex-wrap: wrap;
  }

  #admin .admin-nav {
    order: 3;
    flex-basis: 100%;

    justify-content: flex-start;

    overflow-x: auto;
  }

}


@media (max-width: 600px) {

  #admin .admin-nav .admin-nav-button {
    font-size: 13px;
    padding: 8px 10px;
  }

}
/* ADMIN NAV BUTTONS */

#admin .admin-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

#admin .admin-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
  background: transparent;
  margin: 0;
  padding: 0;
}

#admin .admin-nav button {
  background: transparent !important;
  color: #a7a7b5 !important;
  border: none !important;
  box-shadow: none !important;

  padding: 10px 14px;
  margin: 0;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  border-radius: 6px;

  white-space: nowrap;
}

#admin .admin-nav button:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: white !important;
}

#admin .admin-actions {
  flex-shrink: 0;
}

html {
  scroll-behavior: smooth;
}
/* =========================================
   NEWS PDF BUTTON
========================================= */

.news-pdf-container {
    margin-top: 24px;
}

.news-pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    background: linear-gradient(
        135deg,
        #667eea,
        #8b5cf6
    );

    color: #ffffff;

    text-decoration: none;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;

    box-shadow:
        0 4px 15px
        rgba(102, 126, 234, 0.25);
}

.news-pdf-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px
        rgba(102, 126, 234, 0.4);

    opacity: 0.95;
}

.news-pdf-button:active {
    transform: translateY(0);
}

.pdf-icon {
    font-size: 18px;
}

.pdf-arrow {
    margin-left: 4px;

    font-size: 16px;

    transition:
        transform 0.2s ease;
}

.news-pdf-button:hover .pdf-arrow {
    transform: translate(
        3px,
        -3px
    );
}
/* =========================================
   ESTABLISHED TEXT NEXT TO ZORO LOGO
========================================= */

.established-text {
    margin-left: 3in;

    font-size: 0.65rem;
    font-weight: 300;

    letter-spacing: 1px;

    white-space: nowrap;

    opacity: 0.75;
}
@media (max-width: 768px) {

    .established-text {
        margin-left: 30px;
        font-size: 0.5rem;
        letter-spacing: 0.5px;
    }

}
/* =========================================
   CONTACT / ENQUIRY PAGE
========================================= */

#contactPage {
    display: none;
    width: 100%;
    min-height: 100vh;
}

#contactPage.active {
    display: block;
}

.contact-form-card {
    width: 100%;
    max-width: 700px;
    margin: 2rem auto 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.optional-text {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}
/* =========================
   ENQUIRY DELETE BUTTON
========================= */

.btn-delete-enquiry {

    margin-top: 1rem;

    padding: 0.6rem 1rem;

    border: 1px solid rgba(255, 80, 80, 0.35);

    border-radius: 8px;

    background: rgba(255, 80, 80, 0.1);

    color: #ff8b8b;

    font-size: 0.85rem;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;

}

.btn-delete-enquiry:hover {

    background: rgba(255, 80, 80, 0.2);

    transform: translateY(-1px);

}
/* =========================
   ADMIN MOBILE NAVIGATION
========================= */

.admin-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {

    #admin .admin-header {
        position: relative;

        display: flex;
        align-items: center;
        justify-content: space-between;

        flex-wrap: nowrap;
    }

    /* Show hamburger button */
    .admin-menu-toggle {
        display: block;
        margin-left: auto;
        flex-shrink: 0;
        z-index: 1001;
    }

    /* Hide the nav + logout dropdown by default */
    .admin-nav-wrapper {
        display: none !important;

        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 12px;
        padding: 20px;

        background: #10101a;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        box-sizing: border-box;
        z-index: 1000;
    }

    /* Show dropdown when hamburger is clicked */
    .admin-nav-wrapper.active {
        display: flex !important;
    }

    #admin .admin-nav {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    #admin .admin-nav .admin-nav-button {
        width: 100%;
        text-align: center;
    }

    #admin .admin-actions {
        width: 100%;
    }

    #admin .admin-actions .btn-logout {
        width: 100%;
    }

}

/* =========================
   MOBILE NAVIGATION
========================= */

.menu-toggle {
    display: none;
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    margin-left: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    position: absolute;
    left: 9px;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 13px;
}

.menu-toggle span:nth-child(2) {
    top: 20px;
}

.menu-toggle span:nth-child(3) {
    top: 27px;
}

/* Hamburger → X */
.menu-toggle.active span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {

    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 1rem 1.25rem;
    }

    /* Show hamburger button */
    .menu-toggle {
        display: block;
        margin-left: auto;
        flex-shrink: 0;
        z-index: 1001;
    }

    /* Hide navigation by default */
    .nav-links {
        display: none !important;

        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 18px;
        padding: 20px;

        background: #10101a;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        box-sizing: border-box;
        z-index: 1000;
    }

    /* Show menu when hamburger is clicked */
    .nav-links.active {
        display: flex !important;
    }

    /* Center mobile links */
    .nav-links a {
        width: 100%;
        text-align: center;
    }

    /* Admin Login inside dropdown */
    .nav-links .admin-btn {
        width: 100%;
        max-width: 220px;
        margin: 0;
    }

  

}
/* FINAL MOBILE FIXES */
@media (max-width: 768px) {

    .zoro-affil {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
        text-align: center;
        box-sizing: border-box;
    }

}
/* =========================================
   FINAL MOBILE NAVBAR & HERO FIX
========================================= */

@media (max-width: 768px) {

    /* Keep navbar fixed */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 2000;
    }

    /* Show EST text on mobile */
    .established-text {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;

        font-size: 0.55rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    /* Move the page content below the fixed navbar */
    .hero {
        padding-top: 8rem;
    }

    /* Keep affiliation text fully visible */
    .zoro-affil {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;

        padding: 1rem 1.5rem 0;

        box-sizing: border-box;
        text-align: center;
    }

}
/* =========================================
   MOBILE HERO — MOVE CONTENT UP
   ========================================= */

@media (max-width: 768px) {

    .hero {
        padding-top: 6.3rem;
    }


    .zoro-wrapper {
        height: 180px;
        margin-top: -10px;
    }

    .hero-card-wrap {
        margin-top: -25px;
    }
}
@media (max-width: 768px) {
    .zoro-text {
        bottom: calc(-100% + 45px);
    }
}

/* =========================
   ADMIN ENQUIRIES
========================= */

.enquiries-card {
  grid-column: 1 / -1;

  background: #ffffff;
  color: #171717;

  border: 1px solid #e5e7eb;
  border-radius: 14px;

  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.enquiries-card h2 {
  color: #171717;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}

.enquiries-card .count {
  background: #f1f5f9;
  color: #475569;
}

.enquiries-list {
  display: flex;
  flex-direction: column;

  width: 100%;
}

.enquiry-item {
  position: relative;

  background: #ffffff;

  border: none;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;

  padding: 1.15rem 0.5rem;

  display: flex;
  flex-direction: column;
  gap: 0.35rem;

  min-width: 0;

  overflow-wrap: anywhere;
  word-break: break-word;

  cursor: pointer;

  transition:
    background 0.2s ease,
    padding-left 0.2s ease;
}

.enquiry-item:last-child {
  border-bottom: none;
}

.enquiry-item:hover {
  background: #f8fafc;
  padding-left: 0.85rem;
}

.enquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 1rem;
}

.enquiry-header h3 {
  color: #111827;

  font-size: 0.98rem;
  font-weight: 600;

  overflow-wrap: anywhere;

  margin: 0;
}

.enquiry-date {
  flex-shrink: 0;

  font-size: 0.78rem;
  color: #64748b;

  white-space: nowrap;
}

.enquiry-item p {
  margin: 0;

  font-size: 0.84rem;
  color: #64748b;

  overflow-wrap: anywhere;
}

.enquiry-item strong {
  color: #374151;
  font-weight: 500;
}

.enquiry-message {
  display: none;
}

.btn-delete-enquiry {
  align-self: flex-start;

  margin-top: 0.4rem;

  padding: 0.45rem 0.85rem;

  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 7px;

  color: #dc2626;

  font-size: 0.78rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn-delete-enquiry:hover {
  background: #ffe4e6;
  border-color: #fda4af;
}

/* =========================
   ZORO CHAT ASSISTANT
========================= */

.chat-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--accent);
  border: none;
  border-radius: 50%;

  color: #fff;
  cursor: pointer;

  box-shadow: 0 6px 22px var(--glow);

  z-index: 1200;

  transition: transform 0.2s ease, background 0.2s ease;
}

.chat-fab:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.04);
}

.chat-fab-icon {
  width: 26px;
  height: 26px;
}

.chat-fab.active {
  transform: scale(0.9);
}

.chat-panel {
  position: fixed;
  right: 1.5rem;
  bottom: 5.75rem;

  width: 340px;
  max-width: calc(100vw - 2rem);
  height: 460px;
  max-height: calc(100vh - 8rem);

  display: none;
  flex-direction: column;

  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 18px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);

  overflow: hidden;

  z-index: 1200;

  animation: chatPanelOpen 0.22s ease;
}

.chat-panel.active {
  display: flex;
}

@keyframes chatPanelOpen {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0.9rem 1.1rem;

  border-bottom: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.02);
}

.chat-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-weight: 700;
  font-size: 0.95rem;
}

.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: var(--success);

  box-shadow: 0 0 6px var(--success);
}

.chat-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  background: transparent;
  border: none;
  border-radius: 8px;

  color: var(--text-muted);
  cursor: pointer;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.chat-close-btn .btn-icon {
  width: 16px;
  height: 16px;
}

.chat-messages {
  flex: 1;

  padding: 1rem;

  display: flex;
  flex-direction: column;
  gap: 0.65rem;

  overflow-y: auto;
}

.chat-msg {
  max-width: 85%;

  padding: 0.6rem 0.85rem;

  border-radius: 14px;

  font-size: 0.88rem;
  line-height: 1.45;

  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg-bot {
  align-self: flex-start;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);

  border-bottom-left-radius: 4px;
}

.chat-msg-user {
  align-self: flex-end;

  background: var(--accent);
  color: #fff;

  border-bottom-right-radius: 4px;
}

.chat-msg-typing {
  align-self: flex-start;

  display: flex;
  gap: 4px;

  padding: 0.7rem 0.9rem;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}

.chat-msg-typing span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--text-muted);

  animation: chatTypingBounce 1.1s infinite ease-in-out;
}

.chat-msg-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-msg-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chatTypingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  padding: 0.75rem;

  border-top: 1px solid var(--border);
}

.chat-input-row input {
  flex: 1;

  padding: 0.6rem 0.9rem;

  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;

  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;

  outline: none;
}

.chat-input-row input:focus {
  border-color: var(--accent);
}

.chat-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;
  flex-shrink: 0;

  background: var(--accent);
  border: none;
  border-radius: 10px;

  color: #fff;
  cursor: pointer;

  transition: background 0.2s ease;
}

.chat-send-btn:hover {
  background: var(--accent-hover);
}

.chat-send-btn .btn-icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 480px) {
  .chat-fab {
    right: 1rem;
    bottom: 1rem;
  }

  .chat-panel {
    right: 0.75rem;
    bottom: 4.75rem;

    width: calc(100vw - 1.5rem);
  }
}

/* =========================
   CONTACT MAP (modern styling)
========================= */

.contact-map {
  position: relative;

  height: 380px;

  margin-top: 2rem;

  border-radius: 20px;
  border: 1px solid var(--border);

  overflow: hidden;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);

  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-map:hover {
  transform: translateY(-5px);

  border-color: rgba(99, 102, 241, 0.4);

  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}

.contact-map iframe {
  display: block;

  width: 100%;
  height: 100%;

  filter: grayscale(45%) contrast(1.05) brightness(0.95);

  transition: filter 0.35s ease;
}

.contact-map:hover iframe {
  filter: grayscale(0%) contrast(1) brightness(1);
}

.contact-map::after {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: 20px;

  pointer-events: none;

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .contact-map {
    height: 280px;
    margin-top: 1.5rem;
  }
}
/* Explore ZORO premium navigation */
.explore-quick-nav {
  width: min(900px, calc(100% - 48px));
  margin: -6px auto 54px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);

  box-shadow:
    0 14px 45px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.explore-quick-link {
  min-height: 52px;
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;

  border: 1px solid transparent;
  border-radius: 12px;

  transition: all 0.22s ease;
}

.explore-quick-link:hover {
  transform: translateY(-2px);
  color: #ffffff;

  border-color: rgba(102, 126, 234, 0.42);

  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.16),
    rgba(118, 75, 162, 0.08)
  );

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#explore-news,
#explore-gallery,
#explore-leaders,
#explore-members {
  scroll-margin-top: 96px;
}

@media (max-width: 760px) {
  .explore-quick-nav {
    width: min(560px, calc(100% - 32px));
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 40px;
  }
}

@media (max-width: 430px) {
  .explore-quick-nav {
    grid-template-columns: 1fr;
  }
}

/* ================= LEADER STATUS TOGGLE (admin form) ================= */

.leader-status-toggle {
  display: flex;
  gap: 0.6rem;
}

.leader-status-option {
  flex: 1;

  padding: 0.7rem 1rem;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;

  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.2s ease;
}

.leader-status-option:hover {
  border-color: var(--accent);
  color: var(--text);
}

.leader-status-option.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent);
  color: var(--accent-hover);
}

/* ================= LEADERS PUBLIC FILTER (premium pill toggle) ================= */

.leaders-filter-toggle {
  position: relative;

  display: flex;

  max-width: 380px;
  margin: 1.25rem auto 0;

  padding: 5px;

  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
}

.leaders-filter-glide {
  position: absolute;
  top: 5px;
  left: 5px;

  width: calc(50% - 5px);
  height: calc(100% - 10px);

  border-radius: 999px;

  background: linear-gradient(135deg, #4338ca, #6366f1);
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.35);

  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);

  pointer-events: none;
}

.leaders-filter-toggle.previous-active .leaders-filter-glide {
  transform: translateX(100%);
}

.leaders-filter-option {
  position: relative;
  z-index: 1;

  flex: 1;

  padding: 0.65rem 1rem;

  background: transparent;
  border: none;
  border-radius: 999px;

  color: #6b6b6b;
  font-size: 0.85rem;
  font-weight: 700;

  cursor: pointer;
  transition: color 0.3s ease;
}

.leaders-filter-option.active {
  color: #ffffff;
}

/* ================= LEADER YEAR / STATUS BADGES ================= */

.leader-year-badge {
  display: inline-block;

  margin-bottom: 0.5rem;
  padding: 0.3rem 0.75rem;

  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 999px;

  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.leader-admin-status-badge {
  display: inline-block;

  margin: 0.35rem 0;
  padding: 0.25rem 0.65rem;

  border-radius: 999px;

  font-size: 0.75rem;
  font-weight: 700;
}

.leader-admin-status-badge.current {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.leader-admin-status-badge.previous {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-hover);
}

/* ================= NEWS EDITOR (professional newspaper CMS) ================= */

.np-editor-shell {
  max-width: 1400px;
  margin: 0 auto;
}

.np-editor-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.np-editor-topbar h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.np-editor-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---- metadata bar ---- */

.np-meta-bar {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.np-meta-main {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.np-headline-input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.2rem 0;
}

.np-headline-input::placeholder {
  color: var(--text-muted);
  opacity: 0.55;
}

.np-subheadline-input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text-muted);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  padding: 0.2rem 0;
}

.np-meta-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.np-meta-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.np-meta-field-wide {
  grid-column: span 2;
}

.np-image-upload-compact {
  padding: 0.75rem;
  min-height: unset;
}

/* ---- checkboxes / radios (layout row) ---- */

.np-editor-toggle-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  height: 100%;
  padding-top: 0.35rem;
}

.np-checkbox,
.np-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.np-checkbox input,
.np-radio input {
  accent-color: var(--accent);
}

/* ---- workspace: editor + live preview side by side ---- */

.np-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.np-workspace-pane {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-width: 0;
  padding: 1.25rem;
}


.np-workspace-label {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.np-workspace-label-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: none;
}

/* ---- Quill editor, dark-themed ---- */

.np-workspace-pane .ql-toolbar.ql-snow {
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.np-workspace-pane .ql-container.ql-snow {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  height: 340px;
min-height: 0;
overflow: hidden;
  font-size: 1.05rem;
  color: var(--text);
}

.np-workspace-pane .ql-editor {
  height: 100%;
  min-height: 0;
  overflow-wrap: anywhere;
word-break: break-word;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.7;
}
.np-workspace-pane .ql-editor.ql-blank::before {
  color: var(--text-muted);
  font-style: normal;
  font-family: "Inter", sans-serif;
}

.np-workspace-pane .ql-snow .ql-stroke {
  stroke: var(--text-muted);
}

.np-workspace-pane .ql-snow .ql-fill {
  fill: var(--text-muted);
}

.np-workspace-pane .ql-snow .ql-picker {
  color: var(--text-muted);
}

.np-workspace-pane .ql-toolbar.ql-snow .ql-formats button:hover .ql-stroke,
.np-workspace-pane .ql-toolbar.ql-snow .ql-formats button.ql-active .ql-stroke {
  stroke: var(--accent-hover);
}

.np-workspace-pane .ql-toolbar.ql-snow .ql-formats button:hover .ql-fill,
.np-workspace-pane .ql-toolbar.ql-snow .ql-formats button.ql-active .ql-fill {
  fill: var(--accent-hover);
}

.np-workspace-pane .ql-editor blockquote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.3rem;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 0.7rem 0;
  margin: 1rem 0;
  text-align: center;
}

#npQuillEditor {
  min-height: 0;
  min-width: 100%;
}

/* ---- paragraph outline / reorder ---- */

.np-outline {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.np-outline-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.np-outline-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  margin-bottom: 0.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.np-outline-item span.np-outline-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.np-outline-move {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.np-outline-move:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.np-outline-move:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ---- live preview: full newspaper article, real fidelity ---- */

.np-preview-shell {
  --np-paper: #f5f1e8;
  --np-paper-alt: #ede7d8;
  --np-ink: #1a1a1a;
  --np-ink-muted: #5a5648;
  --np-rule: #1a1a1a;
  --np-accent: #7a1f1f;

  background: var(--np-paper);
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
}

.np-preview-scroll {
  max-height: 700px;
  overflow-y: auto;
  padding: 1.75rem;

  color: var(--np-ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.np-preview-scroll .np-article-category {
  font-family: "Inter", sans-serif;
}

.np-preview-scroll .np-article-meta {
  font-family: "Inter", sans-serif;
}

.np-preview-empty {
  font-family: "Inter", sans-serif;
  color: var(--np-ink-muted);
  text-align: center;
  padding: 3rem 1rem;
}

/* ---- actions ---- */

.np-editor-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.np-editor-actions .btn-submit {
  flex: 0 0 auto;
}

/* ---- responsive ---- */

@media (max-width: 1200px) {
  .np-meta-fields {
    grid-template-columns: repeat(2, 1fr);
  }

  .np-meta-field-wide {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  .np-workspace {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .np-meta-fields {
    grid-template-columns: 1fr;
  }

  .np-meta-field-wide {
    grid-column: span 1;
  }

  .np-headline-input {
    font-size: 1.5rem;
  }

  .np-editor-topbar {
    flex-direction: column;
  }
}

/* ================= PREMIUM LOADING INDICATOR (dark pages) ================= */

.premium-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  gap: 1.1rem;
}

.premium-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(99, 102, 241, 0.15);
  border-top-color: var(--accent);
  animation: premiumSpin 0.8s linear infinite;
}

.premium-loading p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@keyframes premiumSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-spinner {
    animation: none;
  }
}

/* ================= MEMBER DIRECTORY (clean white table) ================= */

#members {
  background: #ffffff;
  min-height: 100vh;
  color: #1a1a1a;
}

.mem-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.mem-back {
  background: none;
  border: 1px solid #d5d5d5;
  color: #1a1a1a;
}

.mem-back:hover {
  background: #f5f5f5;
}

.mem-header-title {
  color: #1a1a1a;
}

.mem-header-title span {
  color: #6366f1;
}

.mem-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.mem-hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

.mem-hero h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
}

.mem-hero p {
  color: #6b6b6b;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.mem-count-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: #f0f0fb;
  color: #4f46e5;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---- search bar ---- */

.mem-search-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;

  max-width: 560px;
  margin: 0 auto 2rem;
  padding: 0.85rem 1.1rem;

  background: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 10px;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mem-search-bar:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.mem-search-bar .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #8a8a8a;
}

.mem-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 0.95rem;
  color: #1a1a1a;
  font-family: inherit;
}

.mem-search-bar input::placeholder {
  color: #a3a3a3;
}

/* ---- table ---- */

.mem-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}

.mem-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.mem-table thead {
  background: #fafafa;
}

.mem-table th {
  position: sticky;
  top: 0;
  z-index: 1;

  text-align: left;
  padding: 0.9rem 1.1rem;

  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b6b6b;

  background: #fafafa;
  border-bottom: 1px solid #e5e5e5;
  white-space: nowrap;
}

.mem-table td {
  padding: 0.9rem 1.1rem;
  color: #1a1a1a;
  border-bottom: 1px solid #eeeeee;
  vertical-align: top;
}

.mem-table tbody tr:last-child td {
  border-bottom: none;
}

.mem-table tbody tr:hover {
  background: #fafafa;
}

.mem-empty-cell {
  padding: 0 !important;
}

.mem-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 3.5rem 1rem;
  color: #8a8a8a;
  font-size: 0.9rem;
}

.mem-empty span {
  font-size: 1.6rem;
}

/* ---- responsive ---- */

@media (max-width: 640px) {
  .mem-main {
    padding: 1.75rem 1rem 3rem;
  }

  .mem-hero h2 {
    font-size: 1.5rem;
  }

  .mem-table {
    min-width: 560px;
  }
}

/* ================= PHOTO GALLERY (white/black/grey + orange accent) ================= */

#gallery {
  background: #ffffff;
  min-height: 100vh;
  color: #1a1a1a;
}

.pg-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.pg-back {
  background: none;
  border: 1px solid #d5d5d5;
  color: #1a1a1a;
}

.pg-back:hover {
  background: #f5f5f5;
}

.pg-header-title {
  color: #1a1a1a;
}

.pg-header .pg-header-title span {
  color: #f97316;
}

.pg-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.pg-hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pg-hero h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
}

.pg-hero p {
  color: #6b6b6b;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.pg-count-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---- search bar ---- */

.pg-search-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;

  max-width: 560px;
  margin: 0 auto 2.25rem;
  padding: 0.85rem 1.1rem;

  background: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 10px;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pg-search-bar:focus-within {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.pg-search-bar .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #8a8a8a;
}

.pg-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 0.95rem;
  color: #1a1a1a;
  font-family: inherit;
}

.pg-search-bar input::placeholder {
  color: #a3a3a3;
}

/* ---- masonry grid ---- */

.pg-masonry {
  columns: 4;
  column-gap: 1.25rem;
}

.pg-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 1.25rem;
}

.pg-item-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: #f2f2f2;
}

.pg-item-frame img {
  width: 100%;
  display: block;
  cursor: pointer;
  filter: grayscale(1) contrast(1.02);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.pg-item-frame:hover img {
  filter: grayscale(0) contrast(1.02);
  transform: scale(1.045);
}

.pg-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.75rem;

  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.pg-item-frame:hover .pg-item-overlay {
  opacity: 1;
}

.pg-item-view {
  background: #f97316;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.pg-item figcaption {
  padding: 0.1rem 0.1rem 0;
}

.pg-item figcaption p {
  margin: 0.6rem 0 0.15rem;
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.4;
}

.pg-item-date {
  font-size: 0.75rem;
  color: #9a9a9a;
}

/* ---- empty states ---- */

.pg-empty {
  column-span: all;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 4.5rem 1rem;
  text-align: center;
  color: #8a8a8a;
}

.pg-empty span {
  font-size: 1.8rem;
}

.pg-empty h3 {
  color: #1a1a1a;
  font-size: 1.1rem;
  margin: 0;
}

.pg-empty p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---- responsive ---- */

@media (max-width: 1024px) {
  .pg-masonry {
    columns: 3;
  }
}

@media (max-width: 768px) {
  .pg-masonry {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .pg-main {
    padding: 1.75rem 1rem 3rem;
  }

  .pg-hero h2 {
    font-size: 1.5rem;
  }

  .pg-masonry {
    columns: 1;
  }
}

/* ================= LEADERS (white theme, photo-forward cards) ================= */

#leaders {
  background: #ffffff;
  min-height: 100vh;
  color: #1a1a1a;
}

.ldr-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.ldr-back {
  background: none;
  border: 1px solid #d5d5d5;
  color: #1a1a1a;
}

.ldr-back:hover {
  background: #f5f5f5;
}

.ldr-header-title {
  color: #1a1a1a;
}

.ldr-header .ldr-header-title span {
  color: #4338ca;
}

.ldr-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.ldr-hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

.ldr-hero h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
}

.ldr-hero p {
  color: #6b6b6b;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.ldr-count-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---- search bar ---- */

.ldr-search-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;

  max-width: 560px;
  margin: 1rem auto 0;
  padding: 0.85rem 1.1rem;

  background: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 10px;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ldr-search-bar:focus-within {
  border-color: #4338ca;
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.12);
}

.ldr-search-bar .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #8a8a8a;
}

.ldr-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 0.95rem;
  color: #1a1a1a;
  font-family: inherit;
}

.ldr-search-bar input::placeholder {
  color: #a3a3a3;
}

/* ---- grid ---- */

.ldr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
  align-items: stretch;
}

.ldr-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  cursor: default;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ldr-card:hover {
  border-color: #c7c7c7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.ldr-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f0f0f0;
  border-bottom: 1px solid #e5e5e5;
  overflow: hidden;
}

.ldr-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.ldr-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0.3;
  background: #eeeeee;
}

.ldr-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 150px;
  padding: 1rem 1.1rem 1.1rem;
  text-align: left;
}

.ldr-year-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.55rem;
  background: #f5f5f5;
  color: #5a5a5a;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.ldr-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.ldr-card-body p {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4338ca;
  margin-bottom: 0;
}

.ldr-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid #eeeeee;
}

.ldr-contact span {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b6b6b;
}

/* ---- empty state ---- */

.ldr-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 4.5rem 1rem;
  text-align: center;
  color: #8a8a8a;
}

.ldr-empty span {
  font-size: 1.8rem;
}

.ldr-empty h3 {
  color: #1a1a1a;
  font-size: 1.1rem;
  margin: 0;
}

.ldr-empty p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---- responsive ---- */

@media (max-width: 900px) {
  .ldr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .ldr-main {
    padding: 1.75rem 1rem 3rem;
  }

  .ldr-hero h2 {
    font-size: 1.5rem;
  }

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

  .ldr-card-body {
    padding: 0.85rem 0.9rem 0.9rem;
  }
}
/* =====================================================
   ZORO ACCOLADES / LEGACY PAGE
   ===================================================== */
#accoladesPage {
  display: none;
}

#accoladesPage.active {
  display: block;
}
.zoro-accolades-page {
  width: 100%;
  min-height: 100vh;
  background: #080711;
  color: #ffffff;
  overflow: hidden;
}

.zoro-accolades-hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.zoro-accolades-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.zoro-accolades-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(7, 6, 16, 0.96) 0%,
      rgba(10, 8, 22, 0.86) 42%,
      rgba(20, 13, 40, 0.48) 72%,
      rgba(8, 7, 17, 0.35) 100%
    );
}

.zoro-accolades-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(6, 5, 14, 0.92) 0%,
      transparent 35%,
      rgba(20, 10, 40, 0.22) 100%
    );
}

.zoro-accolades-content {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 110px 7%;
}

.zoro-accolades-eyebrow {
  margin: 0 0 22px;
  color: #b98cff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.zoro-accolades-content h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.zoro-accolades-content h2 span {
  display: block;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #c9b1ff 48%,
    #8f68d9 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zoro-accolades-lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: #f1edf8;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.zoro-accolades-text {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(231, 225, 242, 0.78);
  font-size: 0.98rem;
  line-height: 1.8;
}

.zoro-accolades-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.zoro-accolades-highlights > div {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.zoro-accolades-highlights > div:last-child {
  border-right: none;
}

.zoro-accolades-highlights strong {
  display: block;
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.zoro-accolades-highlights span {
  display: block;
  margin-top: 7px;
  color: rgba(221, 214, 235, 0.65);
  font-size: 0.78rem;
  line-height: 1.5;
}

.zoro-enquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding: 16px 23px 16px 27px;
  border: 1px solid rgba(185, 140, 255, 0.7);
  border-radius: 999px;
  background: rgba(124, 76, 205, 0.16);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.zoro-enquiry-btn:hover {
  transform: translateY(-3px);
  border-color: #c6a5ff;
  background: rgba(145, 91, 230, 0.32);
  box-shadow: 0 18px 50px rgba(116, 66, 190, 0.25);
}

.zoro-enquiry-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #b98cff;
  color: #110a1d;
  font-size: 1.15rem;
  transition: transform 0.35s ease;
}

.zoro-enquiry-btn:hover .zoro-enquiry-arrow {
  transform: translateX(4px);
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

  .zoro-accolades-hero {
    min-height: 100vh;
    align-items: flex-end;
  }

  .zoro-accolades-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 6, 16, 0.48) 0%,
        rgba(8, 7, 17, 0.68) 38%,
        rgba(7, 6, 16, 0.97) 82%,
        rgba(7, 6, 16, 1) 100%
      );
  }

  .zoro-accolades-content {
    padding: 80px 24px 55px;
  }

  .zoro-accolades-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
  }

  .zoro-accolades-content h2 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .zoro-accolades-lead {
    margin-top: 25px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .zoro-accolades-text {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .zoro-accolades-highlights {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .zoro-accolades-highlights > div {
    padding: 15px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .zoro-accolades-highlights > div:last-child {
    border-bottom: none;
  }

  .zoro-enquiry-btn {
    width: 100%;
    justify-content: space-between;
    margin-top: 30px;
  }
}
/* =====================================================
   ZORO LEGACY / ACCOLADES SECTION
   ===================================================== */

.zoro-legacy-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080711;
  color: #ffffff;
  isolation: isolate;
}

.zoro-legacy-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.zoro-legacy-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.zoro-legacy-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 6, 16, 0.96) 0%,
      rgba(10, 8, 22, 0.86) 42%,
      rgba(20, 13, 40, 0.48) 72%,
      rgba(8, 7, 17, 0.35) 100%
    );
}

.zoro-legacy-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(6, 5, 14, 0.92) 0%,
      transparent 35%,
      rgba(20, 10, 40, 0.22) 100%
    );
}

.zoro-legacy-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 110px 7%;
}

.zoro-legacy-content {
  max-width: 850px;
}

.zoro-legacy-eyebrow {
  display: block;
  margin-bottom: 22px;
  color: #b98cff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.zoro-legacy-content h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.zoro-legacy-content h2 span {
  display: block;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #c9b1ff 48%,
    #8f68d9 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zoro-legacy-lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: #f1edf8;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.zoro-legacy-text {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(231, 225, 242, 0.78);
  font-size: 0.98rem;
  line-height: 1.8;
}

.zoro-legacy-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.zoro-legacy-highlights > div {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.zoro-legacy-highlights > div:last-child {
  border-right: none;
}

.zoro-legacy-highlights strong {
  display: block;
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.zoro-legacy-highlights span {
  display: block;
  margin-top: 7px;
  color: rgba(221, 214, 235, 0.65);
  font-size: 0.78rem;
  line-height: 1.5;
}

.zoro-legacy-enquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding: 16px 23px 16px 27px;
  border: 1px solid rgba(185, 140, 255, 0.7);
  border-radius: 999px;
  background: rgba(124, 76, 205, 0.16);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.zoro-legacy-enquiry-btn:hover {
  transform: translateY(-3px);
  border-color: #c6a5ff;
  background: rgba(145, 91, 230, 0.32);
  box-shadow: 0 18px 50px rgba(116, 66, 190, 0.25);
}

.zoro-legacy-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #b98cff;
  color: #110a1d;
  font-size: 1.15rem;
  transition: transform 0.35s ease;
}

.zoro-legacy-enquiry-btn:hover .zoro-legacy-arrow {
  transform: translateX(4px);
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

  .zoro-legacy-section {
    min-height: 100vh;
    align-items: flex-end;
  }

  .zoro-legacy-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 6, 16, 0.48) 0%,
        rgba(8, 7, 17, 0.68) 38%,
        rgba(7, 6, 16, 0.97) 82%,
        rgba(7, 6, 16, 1) 100%
      );
  }

  .zoro-legacy-container {
    padding: 80px 24px 55px;
  }

  .zoro-legacy-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
  }

  .zoro-legacy-content h2 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .zoro-legacy-lead {
    margin-top: 25px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .zoro-legacy-text {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .zoro-legacy-highlights {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .zoro-legacy-highlights > div {
    padding: 15px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .zoro-legacy-highlights > div:last-child {
    border-bottom: none;
  }

  .zoro-legacy-enquiry-btn {
    width: 100%;
    justify-content: space-between;
    margin-top: 30px;
  }
}
/* =====================================================
   PREMIUM ZORO SUPPORT SECTION
   ===================================================== */

.donate-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
}

.donate-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.donate-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.donate-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 12, 0.94) 0%,
      rgba(7, 6, 15, 0.82) 42%,
      rgba(8, 7, 18, 0.42) 75%,
      rgba(5, 5, 12, 0.55) 100%
    );
}

.donate-video-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(5, 5, 12, 0.88),
      transparent 40%,
      rgba(10, 7, 20, 0.25)
    );
}

.donate-container {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 110px 7%;
}

.donate-content {
  max-width: 820px;
}

.donate-icon {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.support-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #d2b5ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.donate-content h2 {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.donate-content h2 span {
  display: block;
  background: linear-gradient(
    90deg,
    #ffffff,
    #d3b7ff,
    #9770d9
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.support-lead {
  max-width: 700px;
  margin: 32px 0 0;
  color: #f1edf8;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.65;
}

.donate-subtext {
  max-width: 650px;
  margin: 17px 0 0;
  color: rgba(235, 229, 245, 0.72);
  font-size: 0.96rem;
  line-height: 1.8;
}


/* SUPPORT HIGHLIGHTS */

.support-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.support-highlights > div {
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.support-highlights > div:last-child {
  border-right: none;
}

.support-highlights strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.support-highlights span {
  display: block;
  margin-top: 7px;
  color: rgba(230,225,240,0.65);
  font-size: 0.78rem;
  line-height: 1.5;
}


/* PREMIUM DONATE BUTTON */

.donate-premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding: 16px 22px 16px 28px;
  border: 1px solid rgba(211,181,255,0.7);
  border-radius: 999px;
  background: rgba(130,80,210,0.18);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: 0.35s ease;
}

.donate-premium-btn:hover {
  transform: translateY(-3px);
  background: rgba(145,91,230,0.35);
  border-color: #d4b7ff;
  box-shadow: 0 18px 50px rgba(116,66,190,0.3);
}

.donate-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #c19aff;
  color: #120a1c;
  font-size: 1.1rem;
  transition: transform 0.35s ease;
}

.donate-premium-btn:hover .donate-btn-arrow {
  transform: translateX(4px);
}


/* =====================================================
   DONATION MODAL
   ===================================================== */

.donation-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.donation-modal.show {
  display: flex;
}

.donation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 8, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.donation-modal-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 38px 32px 30px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  background: rgba(18, 15, 28, 0.9);
  box-shadow: 0 30px 100px rgba(0,0,0,0.55);
  text-align: center;
  animation: donationModalIn 0.35s ease;
}

@keyframes donationModalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.donation-modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.donation-modal-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #c19aff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.donation-modal-card h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.donation-modal-card > p {
  margin: 12px auto 20px;
  color: rgba(235,229,245,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.qr-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto;
  padding: 10px;
  width: fit-content;
  border-radius: 20px;
  background: #ffffff;
}

.donation-qr {
  display: block;
  width: 150px !important;
  height: 150px !important;
  object-fit: contain;
}

.scan-text {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.donation-thank-you {
  margin: 12px 0 20px !important;
  font-size: 0.82rem !important;
}

.donation-close-btn {
  padding: 11px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: #ffffff;
  cursor: pointer;
  transition: 0.3s ease;
}

.donation-close-btn:hover {
  background: rgba(255,255,255,0.14);
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

  .donate-section {
    min-height: 100vh;
    align-items: flex-end;
  }

  .donate-video-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7,6,16,0.42) 0%,
        rgba(8,7,17,0.68) 40%,
        rgba(7,6,16,0.97) 82%,
        rgba(7,6,16,1) 100%
      );
  }

  .donate-container {
    padding: 80px 24px 55px;
  }

  .donate-content h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .support-lead {
    margin-top: 24px;
    font-size: 1rem;
  }

  .donate-subtext {
    font-size: 0.87rem;
  }

  .support-highlights {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .support-highlights > div {
    padding: 14px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .support-highlights > div:last-child {
    border-bottom: none;
  }

  .donate-premium-btn {
    width: 100%;
    justify-content: space-between;
    margin-top: 30px;
  }

  .donation-modal {
    padding: 15px;
  }

  .donation-modal-card {
    padding: 35px 20px 25px;
    border-radius: 24px;
  }

  .donation-qr {
    width: 210px;
    height: 210px;
  }
}
/* =====================================================
   COMPACT DONATION MODAL
   ===================================================== */

.donation-modal-card {
  width: min(390px, calc(100vw - 30px));
  max-height: 85vh;
  padding: 28px 20px 22px;
}

.donation-modal-card h3 {
  font-size: 1.7rem;
}

.donation-modal-card > p {
  margin: 8px auto 12px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.qr-container {
  margin: 10px auto;
  padding: 7px;
  border-radius: 14px;
}

.donation-qr {
  width: 150px !important;
  height: 150px !important;
}

.scan-text {
  margin-top: 8px;
  font-size: 0.7rem;
}

.donation-thank-you {
  margin: 8px 0 12px !important;
  font-size: 0.75rem !important;
}

.donation-close-btn {
  padding: 8px 20px;
}
/* =====================================================
   PREMIUM ZORO CONTACT SECTION
   ===================================================== */

.contact-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
}

.contact-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.contact-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-background-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 5, 14, 0.96) 0%,
      rgba(8, 7, 17, 0.86) 42%,
      rgba(15, 10, 28, 0.52) 72%,
      rgba(6, 5, 14, 0.58) 100%
    );
}

.contact-background-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(5, 4, 12, 0.94) 0%,
      transparent 38%,
      rgba(15, 8, 30, 0.24) 100%
    );
}


/* MAIN CONTAINER */

.contact-container {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 100px 7% 55px;
}


/* INTRO */

.contact-intro {
  max-width: 820px;
}

.contact-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #c19aff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.contact-intro h2 {
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.contact-intro h2 span {
  display: block;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #d0b5ff 48%,
    #9570d8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: #f0ebf7;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.contact-branding {
  max-width: 680px;
  margin: 15px 0 0;
  color: rgba(229, 222, 240, 0.68);
  font-size: 0.94rem;
  line-height: 1.8;
}


/* CONTENT LAYOUT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 55px;
  align-items: stretch;
  margin-top: 48px;
}


/* CONTACT DETAILS */

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-detail:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(193, 154, 255, 0.28);
  border-radius: 50%;
  background: rgba(135, 85, 215, 0.12);
  font-size: 1rem;
}

.contact-detail-label {
  display: block;
  margin-bottom: 5px;
  color: #bfa0ed;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.contact-detail h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.contact-detail p {
  margin: 5px 0 0;
  color: rgba(225, 218, 237, 0.62);
  font-size: 0.8rem;
  line-height: 1.5;
}


/* EMAIL BUTTON */

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: fit-content;
  min-width: 190px;
  margin-top: 28px;
  padding: 14px 18px 14px 25px;
  border: 1px solid rgba(193, 154, 255, 0.7);
  border-radius: 999px;
  background: rgba(125, 76, 205, 0.16);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.contact-email-btn:hover {
  transform: translateY(-3px);
  border-color: #d3b5ff;
  background: rgba(145, 91, 230, 0.3);
  box-shadow: 0 18px 50px rgba(116, 66, 190, 0.25);
}

.contact-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #c19aff;
  color: #120a1c;
  font-size: 1.05rem;
  transition: transform 0.35s ease;
}

.contact-email-btn:hover .contact-btn-arrow {
  transform: translateX(4px);
}


/* MAP */

.contact-map {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(10, 8, 18, 0.6);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.38);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
}


/* FOOTER BRANDING */

.contact-footer-line {
  display: flex;
  gap: 45px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-footer-line span {
  color: rgba(213, 197, 235, 0.55);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}


/* MOBILE */

@media (max-width: 800px) {

  .contact-section {
    min-height: 100vh;
    align-items: flex-end;
  }

  .contact-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 6, 16, 0.42) 0%,
        rgba(8, 7, 17, 0.66) 32%,
        rgba(7, 6, 16, 0.96) 72%,
        rgba(7, 6, 16, 1) 100%
      );
  }

  .contact-container {
    padding: 75px 24px 45px;
  }

  .contact-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .contact-intro h2 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }

  .contact-lead {
    margin-top: 23px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .contact-branding {
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 32px;
  }

  .contact-detail {
    padding: 15px 0;
  }

  .contact-detail-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .contact-detail h3 {
    font-size: 0.9rem;
  }

  .contact-detail p {
    font-size: 0.75rem;
  }

  .contact-email-btn {
    width: 100%;
    margin-top: 24px;
  }

  .contact-map {
    min-height: 300px;
    border-radius: 20px;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .contact-footer-line {
    justify-content: space-between;
    gap: 10px;
    margin-top: 32px;
  }

  .contact-footer-line span {
    font-size: 0.56rem;
    letter-spacing: 0.16em;
  }

}
/* =====================================================
   PREMIUM ZORO MAP BUTTON + MODAL
   ===================================================== */

.contact-map-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}


/* MAP BUTTON */

.contact-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px 16px 28px;
  border: 1px solid rgba(193, 154, 255, 0.7);
  border-radius: 999px;
  background: rgba(125, 76, 205, 0.16);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: 0.35s ease;
}

.contact-map-btn:hover {
  transform: translateY(-3px);
  border-color: #d3b5ff;
  background: rgba(145, 91, 230, 0.3);
  box-shadow: 0 18px 50px rgba(116, 66, 190, 0.25);
}

.contact-map-btn .contact-btn-arrow {
  transition: transform 0.35s ease;
}

.contact-map-btn:hover .contact-btn-arrow {
  transform: translateX(4px);
}


/* MAP MODAL */

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.map-modal.show {
  display: flex;
}

.map-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 8, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


.map-modal-card {
  position: relative;
  z-index: 1;
  width: min(850px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(18, 15, 28, 0.94);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  text-align: center;
  animation: mapModalIn 0.35s ease;
}

@keyframes mapModalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* CLOSE BUTTON */

.map-modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}


/* MODAL TEXT */

.map-modal-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #c19aff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.map-modal-card h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.map-modal-card > p {
  margin: 8px auto 18px;
  color: rgba(235, 229, 245, 0.7);
  font-size: 0.85rem;
}


/* MAP FRAME */

.map-frame {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #080711;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}


/* ADDRESS */

.map-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 15px;
}

.map-address strong {
  color: #ffffff;
  font-size: 0.85rem;
}

.map-address span {
  color: rgba(225, 218, 237, 0.62);
  font-size: 0.75rem;
}


/* MOBILE */

@media (max-width: 700px) {

  .contact-map-action {
    min-height: auto;
    justify-content: flex-start;
  }

  .contact-map-btn {
    width: 100%;
    justify-content: space-between;
  }

  .map-modal {
    padding: 12px;
  }

  .map-modal-card {
    padding: 30px 16px 20px;
    border-radius: 22px;
  }

  .map-modal-card h3 {
    font-size: 1.7rem;
  }

  .map-frame {
  height: 240px;
  border-radius: 16px;
}
}
/* =====================================================
   CONTACT ACTION BUTTONS — SIDE BY SIDE
   ===================================================== */

.contact-details .contact-map-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-top: 0;
  margin-left: 10px;
  vertical-align: middle;
}

.contact-details .contact-email-btn {
  vertical-align: middle;
}


/* Keep buttons aligned nicely */

.contact-details .contact-email-btn,
.contact-details .contact-map-btn {
  margin-top: 28px;
}


/* MOBILE */

@media (max-width: 700px) {

  .contact-details .contact-email-btn,
  .contact-details .contact-map-action {
    width: 100%;
    margin-left: 0;
  }

  .contact-details .contact-map-action {
    display: flex;
    margin-top: 12px;
  }

  .contact-details .contact-map-btn {
    width: 100%;
    justify-content: space-between;
    margin-top: 0;
  }

}
/* =====================================================
   PREMIUM ZORO INTRODUCTION PAGE
   ===================================================== */

.zoro-introduction-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background: #07060e;
}


/* =====================================================
   BACKGROUND
   ===================================================== */

.intro-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.intro-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  transform: scale(1.02);
}

.intro-background-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 4, 12, 0.98) 0%,
      rgba(7, 5, 16, 0.94) 35%,
      rgba(9, 6, 20, 0.72) 62%,
      rgba(8, 5, 17, 0.52) 100%
    );
}

.intro-background-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(5, 4, 12, 0.98) 0%,
      transparent 35%,
      rgba(12, 7, 25, 0.3) 100%
    );
}


/* =====================================================
   MAIN CONTAINER
   ===================================================== */

.intro-container {
  position: relative;
  z-index: 1;
  width: min(1250px, 100%);
  margin: 0 auto;
  padding: 115px 6% 85px;

  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.75fr);
  gap: 70px;
  align-items: center;
}


/* =====================================================
   INTRO CONTENT
   ===================================================== */

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

.intro-eyebrow {
  display: block;
  margin-bottom: 22px;

  color: #c19aff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.intro-content h1 {
  margin: 0;

  font-size: clamp(3.5rem, 6vw, 6.3rem);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.intro-content h1 span {
  display: block;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #d0b5ff 50%,
    #9b73e5 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* =====================================================
   DIVIDER
   ===================================================== */

.intro-divider {
  width: 58px;
  height: 3px;
  margin: 30px 0 24px;

  background: #c19aff;
  box-shadow: 0 0 20px rgba(193, 154, 255, 0.45);
}


/* =====================================================
   INTRO TEXT
   ===================================================== */

.intro-lead {
  max-width: 720px;
  margin: 0;

  color: #f1ebf8;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.intro-text {
  max-width: 680px;
  margin: 15px 0 0;

  color: rgba(226, 218, 238, 0.68);
  font-size: 0.9rem;
  line-height: 1.8;
}


/* =====================================================
   INTERNATIONAL AFFILIATION
   ===================================================== */

.intro-affiliation {
  max-width: 700px;
  margin-top: 35px;
  padding-top: 24px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.intro-affiliation-label {
  display: block;
  margin-bottom: 9px;

  color: #bfa0ed;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.intro-affiliation h2 {
  margin: 0 0 8px;

  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.intro-affiliation h2 span {
  color: #c19aff;
}

.intro-affiliation > p {
  margin: 0 0 15px;

  color: rgba(225, 218, 237, 0.58);
  font-size: 0.78rem;
}


/* =====================================================
   AFFILIATION ITEMS
   ===================================================== */

.intro-affiliation-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.intro-affiliation-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;

  padding: 15px;

  border: 1px solid rgba(193, 154, 255, 0.16);
  border-radius: 14px;

  background: rgba(120, 75, 190, 0.08);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.intro-affiliation-item:hover {
  transform: translateY(-3px);

  border-color: rgba(193, 154, 255, 0.42);
  background: rgba(120, 75, 190, 0.14);
}

.intro-affiliation-number {
  flex-shrink: 0;

  color: #c19aff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.intro-affiliation-item strong {
  display: block;

  color: #ffffff;
  font-size: 0.75rem;
  line-height: 1.45;
  font-weight: 600;
}

.intro-affiliation-item small {
  display: block;
  margin-top: 5px;

  color: #bfa0ed;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}


/* =====================================================
   SINCE 2004
   ===================================================== */

.intro-since {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: 20px;
}

.intro-since span {
  width: 34px;
  height: 1px;

  background: rgba(193, 154, 255, 0.5);
}

.intro-since strong {
  color: rgba(235, 225, 249, 0.8);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
}


/* =====================================================
   ACTION BUTTONS
   ===================================================== */

.intro-actions {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: 30px;
}

.intro-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  min-width: 205px;
  padding: 13px 16px 13px 24px;

  border: 1px solid rgba(193, 154, 255, 0.75);
  border-radius: 999px;

  background: rgba(125, 76, 205, 0.16);

  color: #ffffff;

  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;

  cursor: pointer;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: 0.35s ease;
}

.intro-primary-btn:hover {
  transform: translateY(-3px);

  border-color: #d3b5ff;
  background: rgba(145, 91, 230, 0.3);

  box-shadow:
    0 18px 50px rgba(116, 66, 190, 0.25);
}

.intro-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border-radius: 50%;

  background: #c19aff;
  color: #120a1c;

  font-size: 1rem;

  transition: transform 0.35s ease;
}

.intro-primary-btn:hover .intro-btn-arrow {
  transform: translateX(4px);
}

.intro-secondary-btn {
  padding: 12px 18px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.04);

  color: rgba(255, 255, 255, 0.72);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;

  cursor: pointer;

  transition: 0.3s ease;
}

.intro-secondary-btn:hover {
  border-color: rgba(193, 154, 255, 0.5);
  color: #ffffff;
  background: rgba(193, 154, 255, 0.08);
}


/* =====================================================
   IMAGE PANEL
   ===================================================== */

.intro-image-panel {
  display: flex;
  justify-content: flex-end;
}

.intro-image-frame {
  position: relative;

  width: min(100%, 500px);
  aspect-ratio: 4 / 4.8;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;

  background: rgba(10, 8, 18, 0.65);

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.5);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.intro-image-frame::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(5, 4, 12, 0.92) 100%
    );

  pointer-events: none;
}

.intro-image-frame img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.7s ease;
}

.intro-image-frame:hover img {
  transform: scale(1.035);
}


/* =====================================================
   IMAGE CAPTION
   ===================================================== */

.intro-image-caption {
  position: absolute;
  z-index: 2;

  left: 24px;
  right: 24px;
  bottom: 22px;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

.intro-image-caption span {
  color: #c19aff;

  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.intro-image-caption strong {
  color: #ffffff;

  font-size: 1.05rem;
  font-weight: 500;
}


/* =====================================================
   BOTTOM BRANDING
   ===================================================== */

.intro-bottom-branding {
  position: absolute;
  z-index: 2;

  left: 6%;
  right: 6%;
  bottom: 27px;

  display: flex;
  align-items: center;
  gap: 35px;

  padding-top: 16px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-bottom-branding span {
  color: rgba(213, 197, 235, 0.5);

  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 950px) {

  .intro-container {
    grid-template-columns: 1fr;
    gap: 45px;

    padding-bottom: 120px;
  }

  .intro-image-panel {
    justify-content: flex-start;
  }

  .intro-image-frame {
    width: min(100%, 600px);
    aspect-ratio: 16 / 9;
  }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

  .zoro-introduction-page {
    min-height: 100vh;
    align-items: flex-start;
    margin-top: 28px;
  }

  .intro-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 5, 15, 0.55) 0%,
        rgba(7, 5, 15, 0.72) 30%,
        rgba(7, 5, 15, 0.96) 70%,
        rgba(5, 4, 12, 1) 100%
      );
  }

  .intro-container {
    display: flex;
    flex-direction: column;

    gap: 35px;

    padding: 95px 24px 115px;
  }

  .intro-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.19em;
  }

  .intro-content h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .intro-divider {
    margin: 24px 0 20px;
  }

  .intro-lead {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .intro-text {
    font-size: 0.82rem;
    line-height: 1.7;
  }

  .intro-affiliation {
    margin-top: 28px;
    padding-top: 20px;
  }

  .intro-affiliation h2 {
    font-size: 1.7rem;
  }

  .intro-affiliation-list {
    grid-template-columns: 1fr;
  }

  .intro-affiliation-item {
    padding: 13px;
  }

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

  .intro-primary-btn {
    width: 100%;
  }

  .intro-secondary-btn {
    width: 100%;
  }

  .intro-image-panel {
    width: 100%;
  }

  .intro-image-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .intro-image-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .intro-bottom-branding {
    left: 24px;
    right: 24px;
    bottom: 22px;

    justify-content: space-between;
    gap: 8px;
  }

  .intro-bottom-branding span {
    font-size: 0.45rem;
    letter-spacing: 0.12em;
  }

}
/* =========================================
   ENQUIRY VIEW MODAL
========================================= */

.enquiry-modal-overlay {
  position: fixed;
  inset: 0;

  z-index: 500;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1.5rem;

  background: rgba(15, 23, 42, 0.48);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.enquiry-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.enquiry-modal {
  position: relative;

  width: 100%;
  max-width: 680px;
  max-height: 90vh;

  overflow-y: auto;

  background: #ffffff;
  color: #111827;

  border: 1px solid #e5e7eb;
  border-radius: 16px;

  padding: 2rem;

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.18);

  transform: translateY(12px) scale(0.98);

  transition:
    transform 0.2s ease;
}

.enquiry-modal-overlay.active .enquiry-modal {
  transform: translateY(0) scale(1);
}

.enquiry-modal-close {
  position: absolute;

  top: 1rem;
  right: 1rem;

  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: #f1f5f9;
  color: #475569;

  font-size: 1.4rem;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.enquiry-modal-close:hover {
  background: #e2e8f0;
  color: #111827;
}

.enquiry-modal-label {
  margin-bottom: 0.4rem;

  color: #64748b;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.12em;
}

.enquiry-modal h2 {
  margin: 0 3rem 1.5rem 0;

  color: #111827;

  font-size: 1.45rem;
  font-weight: 650;

  overflow-wrap: anywhere;
}

.enquiry-modal-details {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1rem;

  padding: 1.2rem 0;

  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.enquiry-modal-details div {
  display: flex;
  flex-direction: column;

  gap: 0.25rem;

  min-width: 0;
}

.enquiry-modal-details span {
  color: #94a3b8;

  font-size: 0.72rem;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.enquiry-modal-details strong {
  color: #334155;

  font-size: 0.88rem;
  font-weight: 500;

  overflow-wrap: anywhere;
}

.enquiry-modal-message {
  padding: 1.4rem 0;
}

.enquiry-modal-message-label {
  margin-bottom: 0.65rem;

  color: #475569;

  font-size: 0.78rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.enquiry-modal-message p {
  margin: 0;

  color: #475569;

  font-size: 0.92rem;
  line-height: 1.7;

  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.enquiry-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;

  gap: 0.75rem;

  padding-top: 1rem;

  border-top: 1px solid #e5e7eb;
}

.btn-delete-enquiry-modal,
.btn-close-enquiry {
  padding: 0.6rem 1rem;

  border-radius: 8px;

  font-size: 0.8rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn-delete-enquiry-modal {
  background: #fff1f2;

  border: 1px solid #fecdd3;

  color: #dc2626;
}

.btn-delete-enquiry-modal:hover {
  background: #ffe4e6;

  border-color: #fda4af;
}

.btn-close-enquiry {
  background: #111827;

  border: 1px solid #111827;

  color: #ffffff;
}

.btn-close-enquiry:hover {
  background: #374151;

  border-color: #374151;
}


/* =========================
   ENQUIRY MOBILE
========================= */

@media (max-width: 600px) {

  .enquiry-modal-overlay {
    padding: 0.75rem;
  }

  .enquiry-modal {
    padding: 1.4rem;

    max-height: 94vh;

    border-radius: 14px;
  }

  .enquiry-modal-details {
    grid-template-columns: 1fr;
  }

  .enquiry-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .btn-delete-enquiry-modal,
  .btn-close-enquiry {
    width: 100%;
  }

}
/* =========================================
   ENQUIRY LIST PREVIEW
========================================= */

.enquiry-preview {
  margin: 0;

  color: #64748b;

  font-size: 0.84rem;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  width: 100%;
}


.enquiries-loading {
  min-height: 180px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;

  color: #64748b;

  font-size: 0.85rem;
}

.enquiry-spinner {
  width: 18px;
  height: 18px;

  border: 2px solid #e2e8f0;
  border-top-color: #475569;

  border-radius: 50%;

  animation: enquirySpin 0.7s linear infinite;
}

@keyframes enquirySpin {
  to {
    transform: rotate(360deg);
  }
}
/* ================= AUTHENTICATION GATE ================= */

#authGate {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--bg);
}

.auth-gate-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;

  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.auth-gate-spinner {
  width: 28px;
  height: 28px;

  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);

  border-radius: 50%;

  animation: authGateSpin 0.8s linear infinite;
}

@keyframes authGateSpin {
  to {
    transform: rotate(360deg);
  }
}
/* =========================
   ZORO CINEMATIC FOOTER
========================= */

.zoro-footer {
  position: relative;
  width: 100%;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(142, 92, 220, 0.12),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      #0a0910 0%,
      #07070d 100%
    );

  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.zoro-footer-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 3rem 1.5rem;
}

/* =========================
   MAIN FOOTER CONTENT
========================= */

.zoro-footer-main {
  display: grid;
  grid-template-columns:
    1.4fr
    1.1fr
    0.8fr
    0.8fr;

  gap: 3rem;
}

/* =========================
   BRAND
========================= */

.zoro-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.zoro-footer-logo {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.035);
}

.zoro-footer-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.zoro-footer-brand-text h2 {
  margin: 0;

  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.zoro-footer-brand-text p {
  margin: 0.35rem 0 0;

  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
}

/* =========================
   DESCRIPTION
========================= */

.zoro-footer-description {
  padding-top: 0.15rem;
}

.zoro-footer-description p {
  margin: 0;

  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.zoro-footer-description span {
  display: block;

  margin-top: 0.65rem;

  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* =========================
   FOOTER NAVIGATION
========================= */

.zoro-footer-navigation,
.zoro-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.zoro-footer-label {
  margin-bottom: 0.45rem;

  color: rgba(255, 255, 255, 0.3);

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.zoro-footer-navigation button {
  padding: 0;

  border: 0;
  background: transparent;

  color: #b45f06;

  font: inherit;
  font-size: 0.75rem;

  cursor: pointer;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.zoro-footer-navigation button:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* =========================
   CONTACT
========================= */

.zoro-footer-contact span:not(.zoro-footer-label) {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

/* =========================
   LARGE ZORO MARK
========================= */

.zoro-footer-mark {
  margin-top: 4rem;

  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 800;
  line-height: 0.72;

  letter-spacing: -0.06em;

  color: transparent;

  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);

  user-select: none;
  pointer-events: none;
}

/* =========================
   BOTTOM BAR
========================= */

.zoro-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 2rem;
  padding-top: 1.2rem;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: rgba(255, 255, 255, 0.32);

  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.zoro-footer-established {
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

  .zoro-footer-inner {
    padding: 3.5rem 1.5rem 1.2rem;
  }

  .zoro-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

  .zoro-footer-description {
    grid-column: 1 / -1;
  }

  .zoro-footer-mark {
    margin-top: 3.5rem;
    font-size: 26vw;
  }

}

@media (max-width: 520px) {

  .zoro-footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .zoro-footer-description {
    grid-column: auto;
  }

  .zoro-footer-mark {
    margin-top: 3rem;
    font-size: 28vw;
  }

  .zoro-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

}
/* =========================
   ZORO LEGAL PAGES
========================= */

.legal-page {
  display: none;

  min-height: 100vh;

  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(142, 92, 220, 0.08),
      transparent 35%
    ),
    #08080d;

  color: #ffffff;
}

.legal-page.active {
  display: block;
}

.legal-page-inner {
  width: min(900px, calc(100% - 3rem));
  margin: 0 auto;

  padding: 2rem 0 6rem;
}

/* ---------- BACK BUTTON ---------- */

.legal-back-btn {
  display: inline-flex;
  align-items: center;

  padding: 0.55rem 0;

  border: 0;
  background: transparent;

  color: rgba(255, 255, 255, 0.5);

  font: inherit;
  font-size: 0.78rem;

  cursor: pointer;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.legal-back-btn:hover {
  color: #ffffff;
  transform: translateX(-3px);
}

/* ---------- HEADER ---------- */

.legal-header {
  padding: 5rem 0 3.5rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-eyebrow {
  display: block;

  margin-bottom: 1rem;

  color: rgba(255, 255, 255, 0.35);

  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.legal-header h1 {
  margin: 0;

  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal-header p {
  max-width: 560px;

  margin: 1.2rem 0 0;

  color: rgba(255, 255, 255, 0.45);

  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- CONTENT ---------- */

.legal-content {
  padding-top: 3.5rem;
}

.legal-content section {
  padding: 0 0 2.8rem;
}

.legal-content h2 {
  margin: 0 0 0.8rem;

  color: rgba(255, 255, 255, 0.92);

  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.legal-content p {
  max-width: 760px;

  margin: 0 0 0.85rem;

  color: rgba(255, 255, 255, 0.52);

  font-size: 0.86rem;
  line-height: 1.85;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {

  .legal-page-inner {
    width: min(100% - 2rem, 900px);
    padding-bottom: 4rem;
  }

  .legal-header {
    padding: 3.5rem 0 2.5rem;
  }

  .legal-header h1 {
    font-size: 2.4rem;
  }

  .legal-content {
    padding-top: 2.5rem;
  }

  .legal-content section {
    padding-bottom: 2.3rem;
  }

}
/* Wider workspace for News Editor */
.admin-main:has(#newsUploadView.active) {
  max-width: 1400px;
}
/* =========================================================
   ZORO ADMIN DASHBOARD — MEMBERS / PHOTOS / LEADERS
   Desktop workspace redesign
   News + Enquiries remain untouched
   ========================================================= */

@media (min-width: 769px) {

  /* -----------------------------------------
     LEFT CONTROL PANE
     ----------------------------------------- */

  #admin .admin-nav-wrapper {
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;

    width: 260px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;

    padding: 32px 18px 24px;

    box-sizing: border-box;

    background: rgba(12, 12, 20, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-right: 1px solid rgba(255, 255, 255, 0.08);

    z-index: 40;
  }

  #admin .admin-nav-wrapper .admin-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    width: 100%;
    gap: 6px;

    margin: 0;
    padding: 0;
  }

  #admin .admin-nav-wrapper .admin-nav .admin-nav-button {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0 18px;

    border-radius: 12px;

    text-align: left;

    font-size: 14px;
    font-weight: 600;

    transition:
      background 0.25s ease,
      color 0.25s ease,
      transform 0.25s ease;
  }

  #admin .admin-nav-wrapper .admin-nav .admin-nav-button:hover {
    transform: translateX(3px);
  }

  /* Logout area */
  #admin .admin-nav-wrapper .admin-actions {
    width: 100%;
    margin: 0;
  }

  #admin .admin-nav-wrapper .admin-actions .btn-logout {
    width: 100%;
  }


  /* -----------------------------------------
     MAIN DASHBOARD AREA
     ----------------------------------------- */

  #admin .admin-main {
    width: calc(100% - 260px);
    max-width: none;

    margin-left: 260px;
    margin-right: 0;

    padding: 42px 42px 60px;

    box-sizing: border-box;
  }


  /* -----------------------------------------
     ONLY MEMBERS / PHOTOS / LEADERS
     ----------------------------------------- */

  #admin #membersSection,
  #admin #photosSection,
  #admin #leadersSection {
    width: 100%;
    max-width: none;
  }

  #admin #membersSection .admin-grid,
  #admin #photosSection .admin-grid,
  #admin #leadersSection .admin-grid {
    width: 100%;
    max-width: none;

    display: grid;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 24px;

    align-items: start;
  }

  #admin #membersSection .admin-grid > *,
  #admin #photosSection .admin-grid > *,
  #admin #leadersSection .admin-grid > * {
    min-width: 0;
    width: 100%;
  }


  /* -----------------------------------------
     PREMIUM CARDS
     ----------------------------------------- */

  #admin #membersSection .card,
  #admin #photosSection .card,
  #admin #leadersSection .card {
    width: 100% !important;
    max-width: none !important;

    box-sizing: border-box;

    border-radius: 18px;
  }

}
/* =========================================================
   ZORO ADMIN — CONTROL PANE POLISH
   ========================================================= */

@media (min-width: 769px) {

  /* Clean the old header area */
  #admin .admin-header {
    min-height: 70px;
    height: 70px;
    box-sizing: border-box;

    background: rgba(8, 8, 14, 0.96);
  }

  #admin .admin-header h1 {
    margin: 0;
  }


  /* Control pane */
  #admin .admin-nav-wrapper {
    top: 70px;

    background:
      linear-gradient(
        180deg,
        rgba(15, 15, 27, 0.98) 0%,
        rgba(9, 9, 16, 0.98) 100%
      );

    border-right: 1px solid rgba(255, 255, 255, 0.07);

    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.18);
  }


  /* Small sidebar heading */
  #admin .admin-nav::before {
    content: "CONTROL PANEL";

    display: block;

    padding: 4px 16px 14px;

    color: rgba(255, 255, 255, 0.35);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
  }


  /* Navigation buttons */
  #admin .admin-nav-wrapper .admin-nav .admin-nav-button {
    position: relative;

    min-height: 48px;

    color: #a8a8b8 !important;

    background: transparent !important;

    border: 1px solid transparent !important;

    border-radius: 12px;

    transition:
      color 0.25s ease,
      background 0.25s ease,
      border-color 0.25s ease,
      transform 0.25s ease;
  }


  /* Hover */
  #admin .admin-nav-wrapper .admin-nav .admin-nav-button:hover {
    color: #ffffff !important;

    background: rgba(255, 255, 255, 0.055) !important;

    border-color: rgba(255, 255, 255, 0.06) !important;

    transform: translateX(3px);
  }


  /* Active button */
  #admin .admin-nav-wrapper .admin-nav .admin-nav-button.active {
    color: #ffffff !important;

    background: linear-gradient(
      90deg,
      rgba(99, 102, 241, 0.20),
      rgba(99, 102, 241, 0.08)
    ) !important;

    border-color: rgba(99, 102, 241, 0.22) !important;

    box-shadow:
      inset 3px 0 0 #6366f1,
      0 8px 24px rgba(0, 0, 0, 0.12);
  }


  /* Active indicator */
  #admin .admin-nav-wrapper .admin-nav .admin-nav-button.active::after {
    content: "";

    position: absolute;

    right: 12px;
    top: 50%;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #7c7cff;

    transform: translateY(-50%);

    box-shadow: 0 0 10px rgba(124, 124, 255, 0.7);
  }


  /* Logout */
  #admin .admin-nav-wrapper .admin-actions .btn-logout {
    min-height: 44px;

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition:
      background 0.25s ease,
      border-color 0.25s ease;
  }

  #admin .admin-nav-wrapper .admin-actions .btn-logout:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
  }

}
/* Fix admin sidebar/header overlap */
@media (min-width: 769px) {

  #admin .admin-header {
    position: sticky;
    top: 0;
    height: 70px;
    min-height: 70px;
    padding: 0 2rem;
    box-sizing: border-box;
  }

  #admin .admin-nav-wrapper {
    top: 70px;
    height: calc(100vh - 70px);
    bottom: auto;
  }

  #admin .admin-main {
    position: relative;
    z-index: 1;
  }

}
@media (min-width: 769px) {
  #admin .admin-nav::before {
    color: #b45f06;
    font-size: 13px;
    letter-spacing: 0.16em;
  }
}
/* =========================================
   IN-PAGE ANCHOR OFFSET (fixed navbar)
========================================= */

#features,
#donate,
#contact {
  scroll-margin-top: 90px;
}

@media (max-width: 768px) {

  #features,
  #donate,
  #contact {
    scroll-margin-top: 76px;
  }

}
