/* RcSVIT Premium Design System — Apple Liquid Glass UI (VisionOS & iOS 26)
   Optics: Chromatic Prism Dispersion, Convex Fluid Lenses, Ambient Translucency, Specular Crests */

:root {
  --e: cubic-bezier(0.16, 1, 0.3, 1);
  --jelly-e: cubic-bezier(0.34, 1.56, 0.64, 1);
  --bg: #060a16;
  --bg-deep: #03060c;
  --tx: #f8fafc;
  --ink: #060a16;
  --paper: #0b1224;
  --line: rgba(255, 255, 255, 0.14);
  --mute: #94a3b8;
  --mute-light: #cbd5e1;
  --royal: #1d4ed8;
  --cran: #ff1a6c;
  --cran-bright: #ff337e;
  --pink: #ff2d78;
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --pink-glow: rgba(255, 26, 108, 0.70);
  --cyan-glow: rgba(0, 240, 255, 0.35);

  /* Apple Liquid Glass Optical Tokens — Pure Optical Transparent Glass */
  --liquid-glass-bg: rgba(255, 255, 255, 0.035);
  --liquid-glass-border: rgba(255, 255, 255, 0.10);
  --liquid-glass-top-rim: rgba(255, 255, 255, 0.22);
  --liquid-blur: blur(16px) saturate(160%);
  --liquid-shadow: 0 10px 32px -4px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);

  /* Chromatic Prism Dispersion Spectrum - Soft Refined Optics */
  --prism-spectrum: conic-gradient(
    from 180deg at 50% 50%,
    rgba(0, 240, 255, 0.45) 0deg,
    rgba(59, 130, 246, 0.40) 55deg,
    rgba(168, 85, 247, 0.45) 115deg,
    rgba(236, 72, 153, 0.45) 175deg,
    rgba(225, 29, 72, 0.50) 225deg,
    rgba(245, 158, 11, 0.45) 285deg,
    rgba(16, 185, 129, 0.40) 330deg,
    rgba(0, 240, 255, 0.45) 360deg
  );
  --prism-halo: 0 0 10px rgba(0, 240, 255, 0.15), 0 0 14px rgba(225, 29, 72, 0.20);

  /* Dynamic Pointer Reflection defaults */
  --pointer-x: 50%;
  --pointer-y: 20%;

  --w: 1180px;
}

[data-page="leadership"] {
  --bg: #05081a;
  --glow: rgba(29, 78, 216, 0.3);
}
[data-page="awards"] {
  --bg: #070604;
  --glow: rgba(212, 175, 55, 0.3);
}
[data-page="contact"] {
  --bg: #0a0410;
  --glow: rgba(217, 27, 92, 0.3);
}
[data-page="history"] {
  --bg: #040d16;
  --glow: rgba(16, 185, 129, 0.25);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #450b1f transparent;
}

/* ═════════════════════════════════════════════════════════════════
   ROTARACT CRANBERRY WINE SCROLLBAR (MATCHING USER REFERENCE)
   Color: #450b1f (RGB 69, 11, 31) with sleek capsule edges
   ═════════════════════════════════════════════════════════════════ */
*::-webkit-scrollbar,
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

*::-webkit-scrollbar-track,
::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
  background: #450b1f;
  background-clip: padding-box;
  border-radius: 999px;
  min-height: 44px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

*::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:hover {
  background: #be123c;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.6);
}

*::-webkit-scrollbar-thumb:active,
::-webkit-scrollbar-thumb:active {
  background: #e11d48;
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.85);
}

*::-webkit-scrollbar-corner,
::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  font: 16px/1.6 "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--tx);
  background-color: #060a16;
  background-image: 
    radial-gradient(ellipse at 50% 40%, rgba(6, 10, 22, 0.28) 0%, rgba(3, 6, 14, 0.68) 100%),
    url('assets/rotaract-bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

body[data-page="login"] {
  background-color: #04020a;
  background-image: 
    linear-gradient(160deg, rgba(4, 2, 10, 0.55) 0%, rgba(10, 4, 18, 0.72) 100%),
    radial-gradient(circle at 50% 45%, rgba(217, 27, 92, 0.18) 0%, transparent 60%),
    url('assets/rotaract-bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h1, h2, h3 {
  font-family: Cinzel, Newsreader, Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
h3 {
  font-size: 1.3rem;
}

p {
  max-width: 65ch;
  color: var(--mute-light);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--gold);
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 9999;
}

/* ═════════════════════════════════════════════════════════════════
   LIVING BACKGROUND STAGE (#scene canvas & dynamic layers)
   ═════════════════════════════════════════════════════════════════ */
#scene {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 0 !important;
  overflow: hidden !important;
}

#scene canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  pointer-events: none !important;
}

#scene .pl,
#scene .pl.a,
#scene .pl.b,
#scene .pl.c,
#scene .pl.d {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#scene .beam {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#scene .rg {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(225, 29, 72, 0.65);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#scene .ff {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f2c14e;
  box-shadow: 0 0 12px 3px rgba(242, 193, 78, 0.65);
  pointer-events: none;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* ═════════════════════════════════════════════════════════════════
   UNIFIED APPLE LIQUID GLASS FLOATING NAVBAR
   One unified transparent liquid pill: Logo + Nav Links + Action CTA
   ═════════════════════════════════════════════════════════════════ */
.hd {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 10px 24px;
  pointer-events: none;
  transition: transform 0.35s var(--e), padding 0.35s var(--e);
}

.hd.sc {
  padding: 6px 24px;
}

/* ── True Apple iPhone Liquid Glass Navbar (VisionOS Optics) ── */
.nav-bar-unified {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.5vw, 20px);
  width: 100%;
  max-width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 6px 10px 6px 16px;
  /* Luminous Floating Apple Liquid Glass — elevated, not dull */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  box-shadow:
    0 12px 40px -6px rgba(0, 0, 0, 0.50),
    0 4px 16px rgba(0, 0, 0, 0.20),
    0 0 28px rgba(225, 29, 72, 0.06),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Subtle chromatic rainbow accent along top bevel */
.nav-bar-unified::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 240, 255, 0.25) 20%,
    rgba(168, 85, 247, 0.30) 40%,
    rgba(225, 29, 72, 0.35) 60%,
    rgba(245, 158, 11, 0.25) 80%,
    transparent
  );
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.nav-bar-unified:hover::before,
.hd.sc .nav-bar-unified::before {
  opacity: 1;
}

.nav-bar-unified:hover,
.hd.sc .nav-bar-unified {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.24);
  border-top-color: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 16px 48px -6px rgba(0, 0, 0, 0.55),
    0 6px 20px rgba(0, 0, 0, 0.22),
    0 0 36px rgba(225, 29, 72, 0.08),
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.10);
}

/* Hairline glass divider */
.nav-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent 10%, rgba(255, 255, 255, 0.35) 50%, transparent 90%);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.06);
}

/* Nav Brand (Logo) inside Unified Bar */
.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 3px 6px;
}

.nav-brand .brand-logo-main {
  height: clamp(30px, 2.6vw, 38px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s;
}

.nav-brand:hover .brand-logo-main {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(225, 29, 72, 0.55));
}

/* Center Navigation Links */
.nav-links-center {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
}

/* ── Apple Pink Liquid Glass Jelly Pill Indicator with Chromatic Aberration Rim ── */
.nav-jelly-pill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 36px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  /* Crisp Apple Rotary Pink Liquid Glass Jelly Pill */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(135deg, #ff1a6c 0%, #eb0054 55%, #c80042 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.90);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.80);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  backdrop-filter: blur(20px) saturate(200%);
  opacity: 0;
  transform: translate3d(0, -50%, 0);
  /* Organic Jelly Physics — dynamic spring bounce */
  transition:
    transform 0.44s cubic-bezier(0.34, 1.56, 0.64, 1),
    width 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    height 0.3s ease,
    opacity 0.22s ease;
  will-change: transform, width;
}

/* Chromatic Aberration Dispersion Ring (Subtle Optical Bevel) */
.nav-jelly-pill::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 999px;
  background: var(--prism-spectrum);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  opacity: 0.40;
}

.nav-links-center a,
.nav-item-link {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  font-size: 0.90rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.25s ease, text-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.3px;
  background: transparent !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-links-center a:hover,
.nav-item-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: transparent !important;
  transform: none !important;
  text-shadow: 0 1px 8px rgba(225, 29, 72, 0.20);
}

/* Active Page Pill — transparent base so pink jelly pill shines through */
.nav-links-center a.active,
.nav-links-center a[aria-current="page"],
.nav-item-link.active,
.nav-item-link[aria-current="page"] {
  color: #ffffff !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Right Action Slot */
.nav-action-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-action-slot .btn {
  padding: 8px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  position: relative;
  /* Luminous Bright Rotary Pink Liquid Glass CTA Pill */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(135deg, #ff1a6c 0%, #eb0054 55%, #b8003a 100%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow:
    0 4px 16px -2px rgba(0, 0, 0, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.70);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.nav-action-slot .btn:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(0, 0, 0, 0.10) 100%),
    linear-gradient(135deg, #ff337e 0%, #ff1a6c 55%, #d10044 100%);
  border-color: rgba(255, 255, 255, 0.65);
  border-top-color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px -2px rgba(0, 0, 0, 0.55),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.85);
}

.nav-action-slot .btn:active {
  transform: scale(0.96) translateY(1px);
}

/* ═════════════════════════════════════════════════════════════════
   ADVENTURE BACKGROUND MUSIC BUTTON (APPLE LIQUID GLASS)
   ═════════════════════════════════════════════════════════════════ */
.nav-music-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font: 600 0.82rem "Public Sans", system-ui, sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.nav-music-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  transform: translateY(-1px);
}

/* Playing state: Glowing Pink Liquid Glass */
.nav-music-btn.playing {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.88) 0%, rgba(190, 18, 60, 0.96) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  box-shadow:
    0 4px 18px rgba(225, 29, 72, 0.50),
    0 0 12px rgba(244, 63, 94, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

/* Animated Equalizer Visualizer Bars */
.music-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  width: 12px;
}

.music-bar {
  width: 2.5px;
  height: 4px;
  background: #ffffff;
  border-radius: 1px;
  transition: height 0.2s ease;
}

.nav-music-btn.playing .music-bar {
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.nav-music-btn.playing .music-bar.b1 {
  animation-duration: 0.60s;
}
.nav-music-btn.playing .music-bar.b2 {
  animation-duration: 0.85s;
  animation-delay: 0.15s;
}
.nav-music-btn.playing .music-bar.b3 {
  animation-duration: 0.50s;
  animation-delay: 0.3s;
}

@keyframes eqBounce {
  0% { height: 3px; }
  50% { height: 13px; }
  100% { height: 6px; }
}

@media (max-width: 1100px) {
  .nav-music-btn .music-label {
    display: none;
  }
  .nav-music-btn {
    padding: 8px 10px;
  }
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 9px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  transition: all 0.25s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Mobile Dropdown Drawer */
.mobile-nav-drawer {
  pointer-events: auto;
  position: absolute;
  top: calc(100% + 12px);
  left: clamp(16px, 3vw, 36px);
  right: clamp(16px, 3vw, 36px);
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%), rgba(10, 16, 32, 0.7);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  padding: 16px;
  display: none;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.3s var(--e), transform 0.3s var(--e);
  z-index: 1001;
}

.mobile-nav-drawer.open {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mute-light);
  border-radius: 12px;
  transition: all 0.2s;
  text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fff;
  background: rgba(217, 27, 92, 0.25);
  border: 1px solid rgba(217, 27, 92, 0.5);
}

.mobile-account-slot {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-account-slot .btn {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  position: relative;
  /* Luminous Bright Rotary Pink Liquid Glass Pill */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(135deg, #ff1a6c 0%, #eb0054 55%, #b8003a 100%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  backdrop-filter: blur(20px) saturate(200%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.25px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 4px 16px -2px rgba(0, 0, 0, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.70);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.btn:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(0, 0, 0, 0.10) 100%),
    linear-gradient(135deg, #ff337e 0%, #ff1a6c 55%, #d10044 100%);
  border-color: rgba(255, 255, 255, 0.65);
  border-top-color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px -2px rgba(0, 0, 0, 0.55),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.85);
}

.btn:active {
  transform: scale(0.97) translateY(1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.btn.ghost {
  position: relative;
  /* Visible Apple Neutral Liquid Glass — clearly readable */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 1.5px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  box-shadow:
    0 6px 22px -4px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn.ghost:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.40);
  border-top-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px -4px rgba(0, 0, 0, 0.50),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.28);
}

/* ═════════════════════════════════════════════════════════════════
   HERO SECTION (TRANSPARENT LIQUID GLASS OVERLAY)
   ═════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: #060a12;
  color: #fff;
  overflow: hidden;
  margin-top: -82px;
  padding-top: 82px;
  padding-bottom: clamp(60px, 8vw, 100px);
  min-height: clamp(520px, 75vh, 720px);
  display: flex;
  align-items: center;
  z-index: 2; /* Ensures hero completely isolates video from background watermark */
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 1;
  transform: scale(1.05);
  transform-origin: center 40%;
  filter: brightness(1.05) contrast(1.06) saturate(1.15);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    /* Subtle left scrim ensuring white text is always crisp while preserving video brilliance */
    linear-gradient(90deg, rgba(6, 10, 22, 0.48) 0%, rgba(6, 10, 22, 0.22) 48%, transparent 75%),
    /* Top nav legibility and gentle bottom edge feathering */
    linear-gradient(180deg, rgba(6, 10, 18, 0.45) 0%, rgba(6, 10, 18, 0.05) 18%, transparent 35%, transparent 70%, rgba(6, 10, 22, 0.60) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 22, 0.85) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-vid-toggle {
  position: absolute;
  bottom: clamp(140px, 18vh, 180px);
  right: clamp(20px, 3vw, 36px);
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.hero-vid-toggle:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(225, 29, 72, 0.5);
  transform: translateY(-2px);
  color: #fff;
}



.hero > .wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(36px, 5vw, 60px);
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 6.2vw, 4.8rem);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.90);
  letter-spacing: -0.015em;
}

.hero p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #f8fafc;
  margin: 24px 0 36px;
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95), 0 1px 6px rgba(0, 0, 0, 0.90);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

/* Luminous Rotary Electric Cerise Liquid Glass Hero CTA */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  border-radius: 9999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.12) 48%, rgba(0, 0, 0, 0.10) 100%),
    linear-gradient(135deg, #ff1a6c 0%, #eb0054 50%, #b8003a 100%);
  -webkit-backdrop-filter: blur(24px) saturate(210%);
  backdrop-filter: blur(24px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-top: 1.8px solid #ffffff;
  box-shadow:
    0 6px 20px -3px rgba(0, 0, 0, 0.45),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.hero-btn-primary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.16) 48%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(135deg, #ff337e 0%, #ff1a6c 50%, #d10044 100%);
  border-color: rgba(255, 255, 255, 0.75);
  border-top-color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 10px 26px -3px rgba(0, 0, 0, 0.55),
    inset 0 2px 3px rgba(255, 255, 255, 0.95);
  color: #ffffff;
}

.hero-btn-primary .hero-btn-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-primary:hover .hero-btn-arrow {
  transform: translateX(4px);
}

/* Radiant Apple Crystal Liquid Glass Hero Ghost Button */
.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.3px;
  color: #ffffff;
  border-radius: 9999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(15, 23, 42, 0.50) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-top: 1.8px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 6px 20px -3px rgba(0, 0, 0, 0.40),
    inset 0 1.2px 2px rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.hero-btn-ghost:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.14) 50%, rgba(30, 41, 59, 0.65) 100%);
  border-color: rgba(255, 255, 255, 0.60);
  border-top-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 10px 26px -3px rgba(0, 0, 0, 0.50),
    inset 0 1.8px 3px rgba(255, 255, 255, 0.70);
}

.hero-btn-ghost .hero-btn-play {
  color: #ffd15c;
  transition: transform 0.3s ease;
}

.hero-btn-ghost:hover .hero-btn-play {
  transform: scale(1.18);
}

.hero .btn.ghost {
  margin-left: 0;
}

/* Glass facts bar - Apple VisionOS HUD Container */
.facts {
  position: relative;
  z-index: 10;
  margin-top: 48px;
}

.facts .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 32px;
  /* Clean Uniform Frosted Obsidian Liquid Glass Substrate */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 35%, rgba(10, 16, 28, 0.78) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.65),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px rgba(0, 0, 0, 0.30);
  font-size: 0.95rem;
  color: #ffffff;
  transition: transform 0.4s var(--e), border-color 0.4s, box-shadow 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}

.facts .wrap:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 35%, rgba(14, 22, 38, 0.82) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.70);
  transform: translateY(-3px);
  box-shadow:
    0 24px 60px -10px rgba(0, 0, 0, 0.70),
    inset 0 1.8px 2.5px rgba(255, 255, 255, 0.45);
}

.fact-col,
.facts .wrap > div {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  padding: 8px 12px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

.fact-col:hover,
.facts .wrap > div:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
}

.fact-col:hover b,
.facts .wrap > div:hover b {
  color: #ffe082;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.facts .wrap > div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.fact-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1.5px solid rgba(255, 255, 255, 0.60);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-col:hover .fact-icon-badge {
  transform: scale(1.08) rotate(2deg);
}

.fact-icon-charter {
  background: linear-gradient(135deg, rgba(255, 209, 92, 0.22) 0%, rgba(245, 158, 11, 0.12) 100%);
  color: #ffd15c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.40);
}

.fact-icon-campus {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.12) 100%);
  color: #7dd3fc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.40);
}

.fact-icon-global {
  background: linear-gradient(135deg, rgba(255, 51, 126, 0.24) 0%, rgba(225, 29, 72, 0.12) 100%);
  color: #ff669d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.40);
}

.fact-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.facts b {
  display: block;
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffd15c;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  line-height: 1.25;
}

.facts span {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.4;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* ═════════════════════════════════════════════════════════════════
   PAGE HEADER (INNER PAGES)
   ═════════════════════════════════════════════════════════════════ */
.ph {
  position: relative;
  background: transparent;
  margin-top: -72px;
  padding-top: calc(72px + clamp(48px, 7vw, 80px));
  padding-bottom: clamp(44px, 6vw, 68px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ph h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 20ch;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.ph p {
  color: var(--mute-light);
  margin-top: 18px;
  font-size: 1.12rem;
  max-width: 60ch;
}

/* ═════════════════════════════════════════════════════════════════
   SECTIONS & LIQUID GLASS CARDS
   ═════════════════════════════════════════════════════════════════ */
.sec {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0;
  z-index: 1;
}

.sec.alt {
  /* No dark box behind section text — fully transparent */
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.split > div > p {
  color: var(--mute-light);
  margin-top: 18px;
  font-size: 1.05rem;
}

.head {
  margin-bottom: 36px;
}
.head p {
  color: var(--mute-light);
  margin-top: 12px;
  font-size: 1.02rem;
}

/* ═══════════════════════════════════════════════════════════════
   TRUE APPLE iPHONE LIQUID GLASS CARDS
   ═══════════════════════════════════════════════════════════════ */
.def > div,
.ev,
.aw,
.ms,
.p,
.links a,
.story,
.contact-person-card,
.contact-links-v2 {
  position: relative;
  /* Thick optical frosted glass with dynamic cursor glint */
  /* Pure Optical Apple Liquid Glass - Clear transparency, no dark color */
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 26px 30px;
  margin-bottom: 22px;
  box-shadow:
    0 10px 32px -6px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.4s var(--e), border-color 0.4s, box-shadow 0.4s, background 0.4s;
  overflow: hidden;
}

.def > div:hover,
.ev:hover,
.aw:hover,
.ms:hover,
.p:hover,
.links a:hover,
.contact-person-card:hover,
.contact-links-v2:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.20);
  border-top-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 18px 48px -8px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

/* Definition Cards (Avenues / Values) */
.def > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
}
.def h3 {
  color: var(--gold);
}
.def dd, .def p {
  color: var(--mute-light);
  line-height: 1.55;
}

/* Events List */
.ev {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
}

.ev time {
  font-family: Cinzel, Newsreader, Georgia, serif;
  text-align: center;
  color: var(--mute-light);
  font-size: 0.92rem;
  line-height: 1.2;
}
.ev time b {
  display: block;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.ev h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 4px;
}

.ev p {
  color: var(--mute-light);
  font-size: 0.94rem;
}

.ev a.more {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pink);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(217, 27, 92, 0.14);
  border: 1px solid rgba(217, 27, 92, 0.35);
  transition: all 0.3s var(--e);
  white-space: nowrap;
}
.ev a.more:hover {
  background: var(--cran);
  color: #fff;
  box-shadow: 0 4px 16px var(--pink-glow);
}

/* ==========================================================================
   ROSTER / PEOPLE CARDS (Leadership Page)
   ========================================================================== */
.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.roster.sm {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.p {
  position: relative;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  /* Pure Apple Liquid Glass */
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  box-shadow:
    0 12px 36px -6px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.4s var(--e), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  overflow: hidden;
}

.p::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--prism-spectrum);
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

.p:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.20);
  border-top-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 18px 48px -8px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.22);
}

.p:hover::before {
  opacity: 1;
}

.p img,
.p .ini {
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 154px;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.05));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 2.5px solid rgba(255, 255, 255, 0.40);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.50);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.p:hover img,
.p:hover .ini {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.55),
    inset 0 1px 2px #ffffff;
}

.p .ini {
  display: grid;
  place-items: center;
  color: var(--gold);
  font: 700 2.2rem Cinzel, Newsreader, Georgia, serif;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 100%);
  text-shadow: 0 2px 10px rgba(212, 160, 23, 0.4);
}

.p-header {
  text-align: center;
  margin-bottom: 8px;
}

.p .role-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font: 600 0.78rem "Public Sans", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(225, 29, 72, 0.22);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fff;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.p.sm-card .role-pill {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.p h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.p .designation {
  display: block;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 500;
  margin-top: 4px;
  text-align: center;
}

.p p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  margin-top: 12px;
  line-height: 1.55;
  text-align: center;
  flex-grow: 1;
}

.p-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.p-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.p-links a:hover {
  background: rgba(225, 29, 72, 0.2);
  border-color: rgba(225, 29, 72, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

/* ═════════════════════════════════════════════════════════════════
   LEADERSHIP CARDS WITH RESTORED BG IMAGES (NO HARSH LIGHT FADES)
   ═════════════════════════════════════════════════════════════════ */
.p.bg-female {
  background:
    linear-gradient(175deg, rgba(16, 10, 24, 0.78) 0%, rgba(10, 5, 18, 0.88) 100%),
    url('assets/bg-female.png') center top / cover no-repeat !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 64, 129, 0.35) !important;
  border-top: 1.5px solid rgba(255, 128, 171, 0.75) !important;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.p.bg-female::before {
  display: none !important;
}

.p.bg-female:hover {
  transform: translateY(-6px) !important;
  background:
    linear-gradient(175deg, rgba(20, 12, 30, 0.72) 0%, rgba(12, 6, 22, 0.84) 100%),
    url('assets/bg-female.png') center top / cover no-repeat !important;
  border-color: rgba(255, 64, 129, 0.60) !important;
  border-top-color: rgba(255, 128, 171, 0.95) !important;
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.p.bg-female .role-pill {
  background: rgba(225, 29, 72, 0.22) !important;
  border: 1px solid rgba(255, 64, 129, 0.50) !important;
  color: #ffa4c2 !important;
  text-shadow: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.p.bg-male {
  background:
    linear-gradient(175deg, rgba(6, 18, 18, 0.78) 0%, rgba(4, 12, 14, 0.88) 100%),
    url('assets/bg-male.png') center top / cover no-repeat !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-top: 1.5px solid rgba(52, 211, 153, 0.75) !important;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.p.bg-male::before {
  display: none !important;
}

.p.bg-male:hover {
  transform: translateY(-6px) !important;
  background:
    linear-gradient(175deg, rgba(8, 22, 22, 0.72) 0%, rgba(5, 15, 18, 0.84) 100%),
    url('assets/bg-male.png') center top / cover no-repeat !important;
  border-color: rgba(16, 185, 129, 0.60) !important;
  border-top-color: rgba(52, 211, 153, 0.95) !important;
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.p.bg-male .role-pill {
  background: rgba(16, 185, 129, 0.20) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #6ee7b7 !important;
  text-shadow: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.p.bg-female img,
.p.bg-female .ini,
.p.bg-male img,
.p.bg-male .ini {
  border: 2.5px solid rgba(255, 255, 255, 0.40) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.p.bg-female:hover img,
.p.bg-female:hover .ini,
.p.bg-male:hover img,
.p.bg-male:hover .ini {
  border-color: rgba(255, 255, 255, 0.80) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55) !important;
}

/* ==========================================================================
   AWARDS & CITATIONS CARDS (Awards Page)
   ========================================================================== */
.aw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.aw {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  overflow: hidden;
}

.aw::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.50), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.aw:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(245, 158, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.aw:hover::before {
  opacity: 1;
}

.aw-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.aw .yr {
  font: 700 1.6rem Cinzel, Newsreader, Georgia, serif;
  color: var(--gold);
  letter-spacing: 1px;
}

.aw .badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold);
}

.aw h3 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

.aw p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.aw-footer-district {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #38bdf8;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.aw img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 14px;
}

/* Contact Links */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}

.links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
}

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

/* ── Combined contact card: one card per person ── */
.contact-links-v2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Keep the fixed links (club email + president) as existing <a> style */
.contact-links-v2 > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  /* inherits the liquid glass card style from .links a universal rule */
}

.contact-person-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  /* Transparent Apple Liquid Glass */
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  flex-wrap: wrap;
}

.contact-person-card:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transform: translateY(-2px);
}

.contact-person-name {
  font-weight: 600;
  font-size: 0.96rem;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact-person-name small {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--gold);
  margin-left: 8px;
  opacity: 0.9;
}

.contact-person-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

a.contact-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}

a.contact-inline-link:hover {
  background: rgba(225, 29, 72, 0.18);
  border-color: rgba(225, 29, 72, 0.40);
  color: #fff;
}

@media (max-width: 640px) {
  .contact-person-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-person-links {
    justify-content: flex-start;
  }
}


.links small {
  font-weight: 400;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════
   ACTIVITIES & PROJECTS - VERTICAL RECTANGLE GRID
   ═══════════════════════════════════════════════════════════════ */
.act-bar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.act-search-wrap {
  position: relative;
  max-width: 520px;
  width: 100%;
}

.act-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

#actSearch {
  width: 100%;
  padding: 14px 22px 14px 48px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  outline: none;
  transition: all 0.35s var(--e);
}

#actSearch::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

#actSearch:focus {
  border-color: rgba(225, 29, 72, 0.5);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.20), 0 10px 28px -4px rgba(0, 0, 0, 0.45);
}

/* Avenue Filter Chips */
.act-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.act-chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  color: var(--mute-light);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--e);
  font-family: inherit;
}

.act-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.act-chip.active {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px -3px rgba(225, 29, 72, 0.45);
}

/* Side-by-Side Responsive Grid Container */
#activities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* Vertical Rectangle Activity Card */
.act-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  margin-bottom: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(14, 18, 30, 0.65);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.act-card:hover {
  transform: translateY(-7px);
  background: rgba(20, 26, 44, 0.78);
  border-color: rgba(255, 255, 255, 0.26);
  border-top-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 22px 50px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.act-card:focus-visible {
  outline: 2px solid #ff5c9e;
  outline-offset: 3px;
}

/* Top Media Cover Area */
.act-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: rgba(8, 12, 22, 0.7);
  flex-shrink: 0;
}

.act-card-media .act-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  border: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.act-card:hover .act-card-media .act-img {
  transform: scale(1.06);
}

/* Fallback Media when no cover photo */
.act-card-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.18), rgba(15, 23, 42, 0.85));
}

.act-card-placeholder-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.65;
}

.act-card-watermark {
  width: 72px;
  height: 72px;
  color: rgba(255, 255, 255, 0.16);
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--e), color 0.4s;
}

.act-card:hover .act-card-watermark {
  transform: scale(1.12) rotate(10deg);
  color: rgba(255, 92, 158, 0.35);
}

/* Media bottom gradient fade */
.act-card-media-scrim {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(14, 18, 30, 0.95), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Floating Badges */
.act-card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}

.act-card-badge-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(10, 14, 26, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.act-card-badge-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  background: rgba(225, 29, 72, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(225, 29, 72, 0.5);
  border-radius: 999px;
  color: #ffa4c2;
  font-size: 0.70rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Content Body */
.act-card-body {
  padding: 22px 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.act-card-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.act-card-loc svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.act-card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.30rem;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.act-card:hover .act-card-title {
  color: #fff;
}

.act-card-desc {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--mute-light);
  margin: 0 0 18px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Card Bottom Footer */
.act-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ff5c9e;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.act-card:hover .act-card-foot {
  color: #ffa4c2;
}

.act-card-foot .act-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s var(--e);
  font-size: 1rem;
}

.act-card:hover .act-card-foot .act-arrow {
  transform: translateX(5px);
}

/* Skeleton Loading State */
.act-skeleton {
  pointer-events: none;
}
.act-skeleton .sk-media {
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}
.act-skeleton .sk-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: skShimmer 1.6s infinite;
}

/* Empty State */
#activities .empty {
  grid-column: 1 / -1;
  color: var(--mute);
  padding: 42px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

/* CTA Section */
.cta {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.cta h2 {
  max-width: 24ch;
  color: #fff;
}

.cta p {
  color: var(--mute-light);
  margin: 18px 0 32px;
  font-size: 1.08rem;
}

.cta .btn.ghost {
  margin-left: 14px;
}

/* ═════════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════════ */
.ft {
  background:
    radial-gradient(1200px circle at 50% 0%, rgba(225, 29, 72, 0.09) 0%, transparent 65%),
    radial-gradient(800px circle at 85% 60%, rgba(245, 158, 11, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, rgba(8, 12, 24, 0.96) 0%, #03060f 100%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  backdrop-filter: blur(48px) saturate(200%);
  color: var(--mute);
  padding: 38px 0 24px;
  font-size: 0.90rem;
  border-top: 1.5px solid rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.ft::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), rgba(225, 29, 72, 0.5), transparent);
  pointer-events: none;
}

/* ── Top Newsletter Banner (Compact Streamlined Bar) ── */
.ft-newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.ft-nl-left {
  max-width: 360px;
}

.ft-nl-title {
  font: 700 1.25rem "Public Sans", -apple-system, sans-serif;
  color: #fff;
  margin: 0 0 3px;
  letter-spacing: -0.2px;
}

.ft-nl-title em {
  font-style: italic;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  color: var(--gold, #f7a800);
  padding-left: 2px;
}

.ft-nl-subtitle {
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.84rem;
  margin: 0;
}

.ft-nl-right {
  flex-grow: 1;
  max-width: 480px;
}

.ft-nl-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1.2px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 4px 5px 4px 14px;
  box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ft-nl-input-wrap:focus-within {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.20), inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.ft-nl-icon {
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.ft-nl-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.86rem;
}

.ft-nl-input::placeholder {
  color: rgba(255, 255, 255, 0.40);
}

.ft-nl-btn {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1.2px solid rgba(255, 255, 255, 0.60);
  border-radius: 999px;
  padding: 8px 18px;
  color: #111;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.65);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  white-space: nowrap;
}

.ft-nl-btn:hover {
  transform: translateY(-1px) scale(1.015);
  box-shadow: 0 5px 16px rgba(245, 158, 11, 0.50), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.ft-nl-btn:active {
  transform: translateY(0) scale(0.97);
}

.ft-nl-legal {
  font-size: 0.70rem;
  color: rgba(255, 255, 255, 0.40);
  margin: 6px 0 0 10px;
  line-height: 1.35;
}

.ft-nl-legal a {
  display: inline;
  color: var(--gold, #f7a800);
  text-decoration: underline;
  padding: 0;
}

.ft-nl-status {
  font-size: 0.82rem;
  margin: 8px 0 0 12px;
  font-weight: 500;
}

/* ── Main 4-Column Grid ── */
.ft-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.35fr;
  gap: 28px;
  margin-bottom: 24px;
}

.ft-brand-emblem-wrap {
  margin-bottom: 14px;
}

.ft-brand-logo {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.ft-brand-motto {
  font: 600 1.05rem "Newsreader", Georgia, serif;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 12px;
}

.ft-brand-motto span {
  color: var(--gold, #f7a800);
  font-style: italic;
}

.ft-brand-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 320px;
}

.ft-col-heading {
  font: 700 0.80rem "Public Sans", sans-serif;
  color: var(--gold, #f7a800);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.ft-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ft-links li {
  margin-bottom: 10px;
}

.ft-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.22s ease;
  padding: 2px 0;
}

.ft-links a:hover {
  color: #fff;
  transform: translateX(4px);
  text-decoration: none;
}

/* Reach Out Column */
.ft-reach-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ft-reach-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ft-reach-label {
  font-weight: 700;
  font-size: 0.90rem;
  color: #fff;
}

.ft-reach-val {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s;
}

.ft-reach-val:hover {
  color: #fff;
}

.ft-reach-mail {
  color: #38bdf8 !important;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.ft-reach-mail:hover {
  color: #7dd3fc !important;
  text-decoration: underline;
}

/* ── Bottom Sub-Footer Bar ── */
.ft-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 16px;
  padding-right: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  flex-wrap: wrap;
}

.ft-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ft-copy {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  letter-spacing: 0.4px;
}

.ft-legal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
}

.ft-legal-nav a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.ft-legal-nav a:hover {
  color: #fff;
}

.ft-dot {
  color: rgba(255, 255, 255, 0.3);
}

/* Developer Pill Badge (Apple Liquid Glass) */
.ft-dev-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  background:
    radial-gradient(140px circle at 50% 0%, rgba(255, 255, 255, 0.15) 0%, transparent 70%),
    rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-decoration: none;
  user-select: none;
}

.ft-dev-logo {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #0c1020;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ft-dev-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ft-dev-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.65);
}

.ft-dev-name {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--gold, #f7a800);
}

/* Social Squircle Row */
.ft-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ft-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.80);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.ft-social-btn:hover {
  background: rgba(225, 29, 72, 0.30);
  border-color: rgba(225, 29, 72, 0.60);
  color: #fff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ft-social-btn:active {
  transform: translateY(0) scale(0.94);
}

@media (max-width: 960px) {
  .ft-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .ft-newsletter {
    flex-direction: column;
    gap: 20px;
  }
  .ft-nl-right {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ft-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ft-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .ft-social-row {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ═════════════════════════════════════════════════════════════════
   FLOATING CONTACT WIDGET (WHATSAPP + EMAIL NOTIFICATION POPUP)
   ═════════════════════════════════════════════════════════════════ */
#contactWidgetWrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

#contactWidget {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%), rgba(10, 16, 32, 0.65);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

#contactWidget:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

#contactWidget .label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--gold, #f7a800);
}

#contactWidget a,
#contactWidget button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  border: none;
  outline: none;
  text-decoration: none;
}
#contactWidget a:hover,
#contactWidget button:hover {
  transform: scale(1.12);
}

#contactWidget .wa-btn {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.9) 0%, rgba(18, 140, 66, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
#contactWidget .mail-btn {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.9) 0%, rgba(180, 16, 75, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
#contactWidget .mail-btn.active {
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.8), inset 0 1px 1px #fff;
  transform: scale(1.08);
}

/* ═════════════════════════════════════════════════════════════════
   EMAIL NOTIFICATION SUBSCRIBER BAR / FLYOUT (LIQUID GLASS)
   ═════════════════════════════════════════════════════════════════ */
.esp-popover {
  pointer-events: auto;
  width: 360px;
  max-width: calc(100vw - 32px);
  margin-bottom: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%), rgba(10, 16, 32, 0.85);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.esp-popover.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.esp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.esp-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.esp-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.3), rgba(247, 168, 0, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff4081;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
  flex-shrink: 0;
}

.esp-title {
  margin: 0;
  font-family: Cinzel, Newsreader, Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.esp-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a0b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}
.esp-close:hover {
  background: rgba(225, 29, 72, 0.2);
  color: #fff;
  border-color: rgba(225, 29, 72, 0.5);
}

.esp-desc {
  margin: 0 0 14px 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.esp-field-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.esp-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  outline: none;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: all 0.25s;
}

.esp-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(225, 29, 72, 0.6);
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.esp-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 700;
  font-family: inherit;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.9) 0%, rgba(180, 16, 75, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
}
.esp-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(255, 64, 129, 0.95) 0%, rgba(225, 29, 72, 0.88) 100%);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}
.esp-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.esp-status {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.4;
  animation: fadeIn 0.25s ease;
}
.esp-status.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}
.esp-status.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.esp-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
}
.esp-mailto {
  color: #f43f5e;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.esp-mailto:hover {
  color: #ff4081;
  text-decoration: underline;
}

/* ═════════════════════════════════════════════════════════════════
   GROWING TREE (HISTORY PAGE)
   ═════════════════════════════════════════════════════════════════ */
.grow {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  min-height: 150vh;
}

.art {
  position: sticky;
  top: 96px;
  height: calc(100vh - 120px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  background: radial-gradient(70% 50% at 50% 100%, rgba(212, 175, 55, 0.18), transparent 70%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%),
              rgba(10, 16, 32, 0.5);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.art .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  font: 600 0.88rem "Public Sans", sans-serif;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.br {
  fill: none;
  stroke-linecap: round;
}
.lf {
  transform-box: fill-box;
  transform-origin: center;
}
.sw {
  transform-box: fill-box;
  transform-origin: center;
  animation: sway 4s ease-in-out infinite alternate;
}
.lf circle {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s var(--e);
  cursor: pointer;
}
.lf circle:hover, .pulse .lf circle {
  transform: scale(1.8);
}
@keyframes sway {
  to { transform: translate(1.6px, -1.6px) rotate(8deg); }
}

.ms {
  cursor: pointer;
}
.ms .yr {
  font: 600 2rem/1 Cinzel, Newsreader, Georgia, serif;
  color: var(--gold);
}
.ms h3 {
  margin: 8px 0;
  transition: color 0.3s;
}
.ms:hover h3, .ms:focus-visible h3 {
  color: var(--pink);
}
.ms p {
  color: var(--mute-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ms.open p {
  display: block;
  -webkit-line-clamp: unset;
}
.ms small {
  display: block;
  margin-top: 8px;
  color: var(--pink);
  font-weight: 600;
  font-size: 0.85rem;
}
.story p {
  color: var(--mute-light);
  margin-bottom: 14px;
}

/* ═════════════════════════════════════════════════════════════════
   SCROLL REVEAL & SKELETON LOADERS
   ═════════════════════════════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--e), transform 0.85s var(--e);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.rv.in {
  opacity: 1;
  transform: none;
}

.sk {
  display: block;
  background: linear-gradient(90deg, #101932 25%, #1e2c54 50%, #101932 75%);
  background-size: 220% 100%;
  animation: sh 1.5s linear infinite;
  border-radius: 6px;
}
@keyframes sh {
  to { background-position: -220% 0; }
}

.sk.l { height: 16px; margin: 10px 0; }
.sk.t { height: 26px; width: 55%; }
.sk.w30 { width: 30%; }
.sk.w60 { width: 60%; }
.sk.w90 { width: 90%; }
.sk.b { height: 64px; }
.sk.ph4 { aspect-ratio: 4/5; width: 100%; border-radius: 14px; }

.skr {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  margin-bottom: 16px;
}
.ska {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ═════════════════════════════════════════════════════════════════
   AUTH & JOIN CLUB (APPLE DARK LIQUID GLASS UI)
   ═════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   AUTH PAGE — FULL SPLIT LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.auth-page-sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 65px);
  padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 40px);
  gap: clamp(24px, 4vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Ambient Floating Pastel Glow (Reference Image 2 — soft creams, warm highlights, delicate blues) */
.auth-page-sec::before {
  content: '';
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  top: 10%;
  right: 5%;
  background: radial-gradient(circle, rgba(254, 215, 170, 0.22) 0%, rgba(244, 63, 94, 0.16) 45%, transparent 70%);
  filter: blur(95px);
  pointer-events: none;
  z-index: 0;
  animation: liquidGlowPulse 14s ease-in-out infinite alternate;
}

.auth-page-sec::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  bottom: 8%;
  left: 5%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.20) 0%, rgba(225, 29, 72, 0.14) 45%, transparent 70%);
  filter: blur(95px);
  pointer-events: none;
  z-index: 0;
  animation: liquidGlowPulse 14s ease-in-out infinite alternate -5s;
}

/* LEFT: Branding / hero panel */
.auth-welcome-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  text-align: center;
  animation: introFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  z-index: 1;
}

.auth-emblem-wrap {
  margin: 0 auto 24px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.auth-dual-emblem {
  height: clamp(64px, 7vw, 92px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(225, 29, 72, 0.6));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-dual-emblem:hover {
  transform: scale(1.08) rotate(-1deg);
}

.auth-welcome-title {
  font-family: Cinzel, Newsreader, Georgia, serif;
  font-size: clamp(1.35rem, 2.15vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35em;
  margin: 0 0 16px 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
  width: 100%;
}

.auth-welcome-pre {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
}

.auth-word-welcome,
.auth-word-to {
  display: inline-block;
  color: #f59e0b;
  font-size: 0.65em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-club-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  max-width: 100%;
}

.auth-word-club {
  color: #fff;
  white-space: nowrap;
  display: inline;
}

.auth-type-cursor {
  display: inline-block;
  color: #f59e0b;
  font-weight: 300;
  margin-left: 4px;
  animation: authBlinkCursor 0.85s infinite;
}

@keyframes authBlinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.auth-gradient-accent-line {
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #e11d48 0%, #f59e0b 100%);
  border-radius: 999px;
  margin: 18px auto 24px auto;
  box-shadow: 0 0 18px rgba(225, 29, 72, 0.55), 0 0 8px rgba(245, 158, 11, 0.4);
}

/* Sub text under the title on the left side */
.auth-welcome-container::after {
  content: 'Rotary International District 3192 · Since 2022';
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 24px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* RIGHT: Apple Frosted Liquid Glass Card (Reference Image 2 & 4) */
.auth-card-glass {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border-radius: 36px;
  /* Pure transparent optical liquid glass */
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 20px 52px -10px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  position: relative;
  padding: clamp(34px, 5vw, 50px) clamp(26px, 4vw, 44px);
  z-index: 1;
}

/* Chromatic Prism Reflection along top curved bevel (Image 1 & 4) */
.auth-card-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: conic-gradient(
    from 90deg at 50% 50%,
    rgba(0, 240, 255, 0.95),
    rgba(168, 85, 247, 0.95),
    rgba(244, 63, 94, 1),
    rgba(245, 158, 11, 0.95),
    rgba(0, 240, 255, 0.95)
  );
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.45), 0 0 26px rgba(225, 29, 72, 0.45);
  z-index: 2;
}

/* Ambient liquid glow blob inside right panel */
.auth-card-glass::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, transparent 70%);
  bottom: -40px;
  right: -40px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Auth Tabs Bar */
.auth-tabs-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px;
  gap: 4px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 1.5px 2px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Sliding Tab Indicator with Refined Liquid Glass Rim */
.tab-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(0, 0, 0, 0.20) 100%),
    linear-gradient(180deg, rgba(180, 20, 60, 0.82) 0%, rgba(136, 19, 55, 0.90) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(180, 20, 60, 0.20),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.30);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition: all 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 0;
}

/* Prismatic chromatic halo ring on tab indicator (Image 1) */
.tab-indicator::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: var(--prism-spectrum);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1.5px;
  pointer-events: none;
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.45));
}

.auth-tab {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font: 600 0.88rem "Public Sans", system-ui, sans-serif;
  cursor: pointer;
  transition: color 0.25s ease;
  text-align: center;
  position: relative;
  z-index: 1;
}

.auth-tab:hover {
  color: #fff;
  background: transparent;
}

.auth-tab.active {
  color: #fff;
  background: transparent;
  box-shadow: none;
  border: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.auth-card-body {
  padding: 0;
  position: relative;
  z-index: 1;
}

/* ─── RESPONSIVE: stack on mobile ─── */
@media (max-width: 860px) {
  .auth-page-sec {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding: 18px 16px 36px;
  }
  .auth-welcome-container {
    align-items: center;
    text-align: center;
    padding: 24px 16px 16px;
  }
  .auth-welcome-container::after {
    display: none;
  }
  .auth-welcome-title {
    align-items: center;
  }
  .auth-card-glass {
    border-radius: 28px;
    padding: 28px 20px;
    min-height: auto;
  }
}

.form-panel {
  display: none;
  animation: fadeInAuth 0.3s var(--e);
}

.form-panel.active {
  display: block;
}

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

.auth-header {
  margin-bottom: 22px;
}

.auth-header h2 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 4px;
}

.auth-header p {
  color: var(--mute-light);
  font-size: 0.92rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.input-wrapper {
  position: relative;
}

/* Recessed Liquid Glass Wells for inputs */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  color: #fff;
  font: 500 0.95rem "Public Sans", system-ui, sans-serif;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), inset 0 -1px 1px rgba(255, 255, 255, 0.12);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(244, 63, 94, 0.75);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.25),
    0 0 0 3px rgba(225, 29, 72, 0.28),
    0 0 20px rgba(244, 63, 94, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.form-input.has-icon-right {
  padding-right: 48px;
}

.eye-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--mute-light);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.eye-toggle:hover {
  color: #fff;
}

.eye-toggle svg {
  width: 20px;
  height: 20px;
}

/* Refined Dark Apple Liquid Glass Action Buttons */
.btn-primary, .btn-guest {
  display: block;
  width: 100%;
  padding: 14px 24px;
  position: relative;
  /* Pure Apple Liquid Glass Pill - Cranberry, no blinding white gloss */
  background: rgba(225, 29, 72, 0.26);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  color: #fff;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.25px;
  border-radius: 999px;
  border: 1px solid rgba(225, 29, 72, 0.40);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  box-shadow:
    0 8px 24px -4px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(225, 29, 72, 0.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  overflow: hidden;
}

.btn-primary:hover, .btn-guest:hover {
  background: rgba(225, 29, 72, 0.38);
  border-color: rgba(225, 29, 72, 0.55);
  border-top-color: rgba(255, 255, 255, 0.40);
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px -4px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(225, 29, 72, 0.26);
}

.btn-primary:active, .btn-guest:active {
  transform: scale(0.97) translateY(1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.btn-secondary {
  display: block;
  width: 100%;
  padding: 13px 20px;
  position: relative;
  /* Pure Apple Liquid Glass Pill - Neutral, no dark fill, no blinding gloss */
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  overflow: hidden;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.26);
  border-top-color: rgba(255, 255, 255, 0.36);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
}

.form-footer {
  margin-top: 20px;
  text-align: center;
}

.form-link {
  background: none;
  border: none;
  font-size: 0.88rem;
  color: var(--pink);
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  color: var(--mute);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.divider span {
  padding: 0 14px;
}

.back-btn {
  background: none;
  border: none;
  font-size: 0.88rem;
  color: var(--mute-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.back-btn:hover {
  color: #fff;
}

.back-btn svg {
  width: 16px;
  height: 16px;
}

.password-reqs {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--mute);
  list-style: none;
}

.password-reqs li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.password-reqs li.valid {
  color: #10b981;
}

#loginMsg, #signupMsg, #resetMsg, #verifyMsg, #guestMsg, #trackMsg {
  margin-bottom: 16px;
  font-size: 0.88rem;
  padding: 12px 16px;
  border-radius: 12px;
  display: none;
  line-height: 1.4;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%), rgba(10, 16, 32, 0.65);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0;
  transition: all 0.3s var(--e);
  z-index: 9999;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  border-left: 4px solid #10b981;
}

.toast.error {
  border-left: 4px solid #ef4444;
}

.toast.info {
  border-left: 4px solid #3b82f6;
}

/* ═════════════════════════════════════════════════════════════════
   APP INTRO LOADING SCREEN (Cinematic First-Visit Splash)
   ═════════════════════════════════════════════════════════════════ */
.app-intro-splash {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #060a16;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

html:not(.needs-welcome) .app-intro-splash {
  display: none !important;
}

.app-intro-splash.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

.intro-ambient-glow {
  display: none !important;
}

.intro-container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: introFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes introFadeIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.intro-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(225, 29, 72, 0.5));
  animation: splashPulse 2s ease-in-out infinite alternate;
}

@keyframes splashPulse {
  0% { transform: scale(0.96); filter: drop-shadow(0 4px 14px rgba(225, 29, 72, 0.4)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 8px 26px rgba(225, 29, 72, 0.75)); }
}

.intro-headline {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
  margin: 0 auto 10px;
}

.intro-welcome-text {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold, #f7a800), var(--pink, #ff4081));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.intro-club-text {
  font-family: Cinzel, Newsreader, Georgia, serif;
  font-size: clamp(1.5rem, 3.8vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.intro-district {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  font-weight: 500;
  color: #38bdf8;
  letter-spacing: 1.2px;
  text-align: center;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 28px;
}

.intro-loader-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 16px;
}

.intro-loader-bar {
  width: 160px;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.intro-loader-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #f7a800, #ff4081);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.85);
  animation: introFillProgress 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes introFillProgress {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

.intro-skip-hint {
  font-size: 0.82rem;
  color: var(--mute-light);
  letter-spacing: 0.8px;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.intro-skip-hint:hover {
  opacity: 1;
  color: #fff;
}

/* ═════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (SCALES UP FOR DESKTOP, SCALES DOWN FOR MOBILE)
   ═════════════════════════════════════════════════════════════════ */
@media (max-width: 1160px) {
  .nav-links-center,
  .nav-links-island {
    display: none !important;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 960px) {
  .split, .cols {
    grid-template-columns: 1fr;
  }
  .grow {
    grid-template-columns: 1fr;
  }
  .art {
    top: 70px;
    height: 38vh;
    z-index: 2;
  }
}

@media (max-width: 640px) {
  .hd {
    top: 10px;
    padding: 0 10px;
  }
  .brand-island {
    padding: 5px 12px 5px 8px;
  }
  .brand-logo {
    height: 32px;
    width: 32px;
  }
  .brand-logos {
    gap: 6px;
  }
  .brand-title {
    font-size: 0.85rem;
  }
  .brand-sub {
    font-size: 0.65rem;
  }
  .action-island .btn {
    display: none;
  }
  .action-island {
    padding: 4px;
  }
  .facts .wrap,
  .ft .wrap > div:first-child {
    grid-template-columns: 1fr;
  }
  .facts .wrap > div:not(:last-child)::after {
    display: none;
  }
  .facts .wrap > div:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 14px;
  }
  .def > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ev {
    grid-template-columns: 72px 1fr;
  }
  .ev a.more {
    grid-column: 2;
  }
  #activities {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .act-card-media {
    height: 200px;
  }
  .hero .btn.ghost {
    margin: 12px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rv {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RCSVIT AI OFFICIAL DIGITAL ASSISTANT (APPLE LIQUID GLASS)
   ═══════════════════════════════════════════════════════════════ */

/* Floating Launcher Trigger (Bottom Right, above connect widget) */
#rcsvitAiTrigger {
  position: fixed;
  bottom: 82px;
  right: 24px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 8px;
  background:
    radial-gradient(120px circle at 50% 0%, rgba(255, 255, 255, 0.35) 0%, transparent 70%),
    linear-gradient(135deg, rgba(225, 29, 72, 0.40) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(225, 29, 72, 0.25) 100%),
    rgba(16, 12, 26, 0.76);
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.10);
  backdrop-filter: blur(36px) saturate(210%) brightness(1.10);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-top: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(225, 29, 72, 0.32),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.80),
    inset 0 -1px 1px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.35s ease;
  user-select: none;
  text-decoration: none;
}

#rcsvitAiTrigger::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 999px;
  background: var(--prism-spectrum);
  opacity: 0.45;
  filter: blur(3px);
  z-index: -1;
  transition: opacity 0.35s ease;
}

#rcsvitAiTrigger:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.58),
    0 0 34px rgba(225, 29, 72, 0.50),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
}

#rcsvitAiTrigger:hover::before {
  opacity: 0.85;
}

#rcsvitAiTrigger:active {
  transform: translateY(-1px) scale(0.97);
}

.rcsvit-ai-trigger-orb {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e11d48, #fb7185);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

.rcsvit-ai-trigger-orb .pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 63, 94, 0.6);
  animation: triggerPulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes triggerPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  60% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.rcsvit-ai-trigger-label {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
  white-space: nowrap;
}

.rcsvit-ai-trigger-sparkle {
  color: var(--gold, #f7a800);
  font-size: 0.76rem;
  animation: sparkleRotate 4s linear infinite;
  display: inline-block;
}

@keyframes sparkleRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Chat Modal Window (Apple Liquid Glass) */
#rcsvitAiModal {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 590px;
  max-height: calc(100vh - 110px);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.65);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 24px 60px -10px rgba(0, 0, 0, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px) scale(0.94);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease, visibility 0.38s;
}

#rcsvitAiModal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Header */
.rcsvit-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(135deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.rcsvit-ai-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rcsvit-ai-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rcsvit-ai-avatar img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
}

.rcsvit-ai-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0f172a;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

.rcsvit-ai-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.rcsvit-ai-subtitle {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.75);
  margin: 2px 0 0;
  letter-spacing: 0.3px;
}

.rcsvit-ai-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rcsvit-ai-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: rgba(255, 255, 255, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rcsvit-ai-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: scale(1.08);
}

.rcsvit-ai-icon-btn:active {
  transform: scale(0.92);
}

/* Chat Messages Body */
.rcsvit-ai-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.rcsvit-ai-body::-webkit-scrollbar {
  width: 5px;
}
.rcsvit-ai-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

/* Messages */
.rcsvit-msg {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: msgFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.rcsvit-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.rcsvit-msg.bot {
  align-self: flex-start;
}

.rcsvit-msg-bubble {
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  line-height: 1.52;
  word-break: break-word;
}

.rcsvit-msg.user .rcsvit-msg-bubble {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px 20px 4px 20px;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.rcsvit-msg.bot .rcsvit-msg-bubble {
  background:
    radial-gradient(160px circle at top left, rgba(255, 255, 255, 0.10) 0%, transparent 80%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
    rgba(15, 23, 42, 0.65);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px 20px 20px 4px;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0.5px rgba(255, 255, 255, 0.35);
}

.rcsvit-msg.bot .rcsvit-msg-bubble p {
  margin: 0 0 8px;
}
.rcsvit-msg.bot .rcsvit-msg-bubble p:last-child {
  margin-bottom: 0;
}

.rcsvit-msg.bot .rcsvit-msg-bubble ul {
  margin: 6px 0;
  padding-left: 20px;
}

.rcsvit-msg.bot .rcsvit-msg-bubble li {
  margin-bottom: 4px;
}

.rcsvit-msg.bot .rcsvit-msg-bubble strong {
  color: #fff;
  font-weight: 600;
}

/* Action Buttons inside Bot replies (Apple Liquid Glass Pills) */
.rcsvit-ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.rcsvit-ai-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%),
    rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #f8fafc !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
}

.rcsvit-ai-action-btn:hover {
  transform: translateY(-2px) scale(1.03);
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.22) 0%, rgba(244, 63, 94, 0.18) 100%),
    rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 16px rgba(56, 189, 248, 0.25), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.8);
}

.rcsvit-ai-action-btn:active {
  transform: translateY(0) scale(0.96);
}

/* Typing Indicator */
.rcsvit-ai-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  width: fit-content;
}

.rcsvit-ai-typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.rcsvit-ai-typing .dot:nth-child(1) { animation-delay: -0.32s; }
.rcsvit-ai-typing .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Suggestion Chips Bar */
.rcsvit-ai-chips-wrap {
  padding: 8px 16px 10px;
  background: rgba(10, 15, 28, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.rcsvit-ai-chips-label {
  font-size: 0.70rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(226, 232, 240, 0.65);
  margin-bottom: 6px;
}

.rcsvit-ai-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.rcsvit-ai-chips::-webkit-scrollbar {
  height: 3px;
}
.rcsvit-ai-chips::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.rcsvit-ai-chip {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #bae6fd;
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.rcsvit-ai-chip:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.60);
  color: #fff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

.rcsvit-ai-chip:active {
  transform: scale(0.95);
}

/* Form Input Area (Recessed Liquid Well) */
.rcsvit-ai-form {
  padding: 10px 16px 14px;
  background: rgba(10, 15, 28, 0.70);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  flex-shrink: 0;
}

.rcsvit-ai-input-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.rcsvit-ai-input-box:focus-within {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(56, 189, 248, 0.60);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25), inset 0 1.5px 2px rgba(255, 255, 255, 0.4);
}

.rcsvit-ai-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  resize: none;
  max-height: 72px;
  line-height: 1.4;
}

.rcsvit-ai-input::placeholder {
  color: rgba(255, 255, 255, 0.50);
}

/* 3D Convex Droplet Send Button */
.rcsvit-ai-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(100px circle at 50% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 65%),
    linear-gradient(145deg, #e11d48 0%, #be123c 100%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.65);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}

.rcsvit-ai-send:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.55), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.90);
}
}

.rcsvit-ai-send:active {
  transform: scale(0.92);
}

.rcsvit-ai-hint {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.40);
  text-align: center;
  margin-top: 6px;
}

@media (max-width: 640px) {
  #rcsvitAiTrigger {
    bottom: 74px;
    right: 16px;
    height: 40px;
    padding: 0 14px 0 6px;
  }
  #rcsvitAiModal {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 72px;
    height: calc(100vh - 90px);
    max-height: 520px;
    border-radius: 24px;
  }
}

/* ═════════════════════════════════════════════════════════════════
/* ═════════════════════════════════════════════════════════════════
   LIQUID GLASS MICRO-BUBBLE CURSOR POINT (samasante/liquid-glass Optics)
   Compact 16px optical micro-bead centered right at the mouse cursor
   ═════════════════════════════════════════════════════════════════ */
.liquid-glass-lens {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  will-change: transform, opacity;
  transform: translate3d(-100px, -100px, 0) scale(0.6);
  transition: opacity 0.25s ease;
  /* Crystal-clear optical glass micro-bead */
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.10) 50%, rgba(0, 0, 0, 0.30) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-backdrop-filter: blur(1.5px) saturate(150%);
  backdrop-filter: blur(1.5px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-top: 1.2px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.60),
    0 0 6px rgba(0, 240, 255, 0.30),
    0 0 8px rgba(244, 63, 94, 0.25),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.35);
}

/* Chromatic dispersion ring hugging outer contour */
.liquid-glass-lens .lens-chroma-rim {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: conic-gradient(
    from 140deg at 50% 50%,
    rgba(0, 240, 255, 0.45) 0deg,
    rgba(168, 85, 247, 0.40) 90deg,
    rgba(244, 63, 94, 0.45) 180deg,
    rgba(245, 158, 11, 0.40) 270deg,
    rgba(0, 240, 255, 0.45) 360deg
  ) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  filter: drop-shadow(0 0 2px rgba(0, 240, 255, 0.30));
}

/* Internal convex dome specular glint */
.liquid-glass-lens .lens-specular-ring {
  position: absolute;
  top: 1.5px;
  left: 2.5px;
  width: 5px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.90) 0%, transparent 80%);
  transform: rotate(-25deg);
  pointer-events: none;
}

.liquid-glass-lens .lens-glint {
  position: absolute;
  bottom: 1.5px;
  right: 2.5px;
  width: 4px;
  height: 2.5px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 240, 255, 0.65) 0%, transparent 85%);
  transform: rotate(-20deg);
  pointer-events: none;
}

/* ═════════════════════════════════════════════════════════════════
   NAVBAR MEMBER PROFILE CHIP & DROPDOWN MENU (Logged-in State)
   ═════════════════════════════════════════════════════════════════ */
.nav-member-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-member-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(135deg, #ff1a6c 0%, #eb0054 55%, #b8003a 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 4px 10px 4px 5px;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.40),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.70);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
}

.nav-member-chip:hover,
.nav-member-chip[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.50),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.nav-member-chevron {
  color: rgba(255, 255, 255, 0.75);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.nav-member-chip[aria-expanded="true"] .nav-member-chevron {
  transform: rotate(180deg);
}

.nav-member-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-member-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-member-avatar-inits {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.nav-member-name {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ── Member Dropdown Menu ── */
.nav-member-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 270px;
  background:
    radial-gradient(180px circle at 85% 0%, rgba(225, 29, 72, 0.18) 0%, transparent 75%),
    linear-gradient(180deg, rgba(10, 15, 30, 0.96) 0%, rgba(4, 7, 16, 0.98) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  box-shadow:
    0 20px 48px -8px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(225, 29, 72, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s;
  z-index: 1000;
}

.nav-member-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dd-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.nav-dd-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-dd-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.nav-dd-name {
  font-size: 0.90rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-dd-role {
  font-size: 0.72rem;
  color: var(--gold, #f7a800);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-dd-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.nav-dd-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.nav-dd-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.nav-dd-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.3);
  display: grid;
  place-items: center;
  color: var(--pink, #ff4081);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dd-item:hover .nav-dd-icon {
  transform: scale(1.08);
}

.nav-dd-icon-danger {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.nav-dd-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-dd-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.nav-dd-sub {
  font-size: 0.70rem;
  color: var(--mute-light);
  line-height: 1.2;
}

.nav-dd-logout:hover {
  background: rgba(239, 68, 68, 0.14);
}

/* ═════════════════════════════════════════════════════════════════
   ROTARY BACKGROUND GEAR SYSTEM (REMOVED)
   ═════════════════════════════════════════════════════════════════ */
.rotary-gear-system,
#rotaryGearSystem {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* ═════════════════════════════════════════════════════════════════
   ACTIVITY DETAIL MODAL (Deep Frosted Obsidian Liquid Glass)
   ═════════════════════════════════════════════════════════════════ */
.activity-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(4, 6, 12, 0.82);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 36px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

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

.activity-modal-container {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: min(90vh, 840px);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgba(22, 28, 44, 0.85) 0%, rgba(10, 12, 22, 0.95) 50%, rgba(14, 18, 30, 0.90) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  box-shadow:
    0 24px 60px -10px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(225, 29, 72, 0.15),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.activity-modal-overlay.open .activity-modal-container {
  transform: translateY(0) scale(1);
}

.activity-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

.activity-modal-close:hover {
  background: rgba(225, 29, 72, 0.85);
  border-color: rgba(255, 255, 255, 0.45);
  transform: rotate(90deg);
}

.activity-modal-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.act-modal-hero {
  position: relative;
  width: 100%;
  height: clamp(200px, 32vw, 320px);
  background-size: cover;
  background-position: center 35%;
}

.act-modal-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 22, 0.3) 0%, rgba(10, 12, 22, 0.95) 100%);
}

.act-modal-content-wrap {
  padding: 24px clamp(20px, 4vw, 36px) 32px;
}

.act-modal-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.act-modal-badge {
  background: rgba(225, 29, 72, 0.20);
  border: 1px solid rgba(225, 29, 72, 0.50);
  color: #ff80a0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.act-modal-tag {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.40);
  color: #fcd34d;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
}

.act-modal-title {
  font: 700 clamp(1.4rem, 3.2vw, 2.0rem) "Cinzel", Georgia, serif;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.act-modal-info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 22px;
}

.act-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mute-light);
  font-size: 0.88rem;
}

.act-info-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.act-info-item a {
  color: #ff80a0;
  text-decoration: none;
}

.act-modal-section {
  margin-bottom: 22px;
}

.act-modal-section h4 {
  font: 600 1.02rem "Public Sans", sans-serif;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
}

.act-modal-desc {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 0;
}

.act-modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.act-stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
}

.act-stat-box .stat-num {
  display: block;
  font: 700 1.35rem "Public Sans", sans-serif;
  color: #fff;
  margin-bottom: 2px;
}

.act-stat-box .stat-lbl {
  font-size: 0.74rem;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.act-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.act-modal-thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.act-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.act-modal-thumb:hover img {
  transform: scale(1.04);
}

.act-modal-footer-org {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: var(--mute);
}

/* ═════════════════════════════════════════════════════════════════
   STREAMLINED FLOATING EMAIL CARD
   ═════════════════════════════════════════════════════════════════ */
.esp-quick-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0 16px;
}

.esp-email-address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.esp-email-text {
  font-family: monospace;
  font-size: 0.84rem;
  color: #f1f5f9;
  word-break: break-all;
  user-select: all;
}

.esp-copy-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.esp-copy-btn:hover {
  background: rgba(245, 158, 11, 0.8);
  border-color: rgba(245, 158, 11, 1);
  color: #111;
}

.esp-launch-mail-btn {
  display: block;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(145deg, rgba(160, 20, 55, 0.90) 0%, rgba(120, 16, 44, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1.2px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 8px 14px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.esp-launch-mail-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
}

.esp-sub-section {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.esp-sub-label {
  display: block;
  font-size: 0.76rem;
  color: var(--mute-light);
  margin-bottom: 8px;
}

/* Typewriter Caret Animation */
.intro-type-cursor {
  display: inline-block;
  color: var(--gold, #f7a800);
  font-weight: 300;
  margin-left: 3px;
  animation: introCaretBlink 0.75s infinite;
}

@keyframes introCaretBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ═════════════════════════════════════════════════════════════════
   ENHANCED FULL-WIDTH FOOTER ON LAPTOPS & DESKTOPS
   ═════════════════════════════════════════════════════════════════ */
.ft .wrap {
  max-width: 1440px !important;
  width: 100% !important;
  padding: 0 clamp(24px, 4vw, 56px) !important;
}

.ft-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 28px;
}

.ft-brand-logo {
  height: clamp(38px, 3.2vw, 52px);
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s;
}

.ft-brand-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 14px rgba(225, 29, 72, 0.5));
}

@media (max-width: 991px) {
  .ft-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 580px) {
  .ft-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ft-bottom-bar {
    padding-right: 0;
  }
}

/* ═════════════════════════════════════════════════════════════════
   ABOUT PAGE: ROTARY HERITAGE, 4-WAY TEST, 7 AREAS OF FOCUS
   ═════════════════════════════════════════════════════════════════ */

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold, #f7a800);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.four-way-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.four-way-card {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 32px -6px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--e), border-color 0.35s, box-shadow 0.35s, background 0.35s;
  overflow: hidden;
}

.four-way-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
  pointer-events: none;
}

.four-way-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 18px 48px -8px rgba(0, 0, 0, 0.45), 0 0 24px rgba(212, 175, 55, 0.15);
}

.four-way-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(225, 29, 72, 0.2) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Cinzel, Newsreader, Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold, #f7a800);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.four-way-card h3 {
  font: 700 1.22rem "Newsreader", Georgia, serif;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.four-way-card h3 span {
  color: var(--gold, #f7a800);
}

.four-way-card p {
  font-size: 0.90rem;
  line-height: 1.6;
  color: var(--mute-light);
  margin: 0;
}

.rotary-heritage-banner {
  background:
    radial-gradient(900px circle at 0% 0%, rgba(225, 29, 72, 0.15) 0%, transparent 60%),
    radial-gradient(800px circle at 100% 100%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  padding: clamp(28px, 4vw, 44px);
  margin-top: 24px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  box-shadow: 0 16px 44px -8px rgba(0, 0, 0, 0.45);
}

@media (max-width: 860px) {
  .rotary-heritage-banner {
    grid-template-columns: 1fr;
  }
}

.rotary-heritage-left h3 {
  font: 700 1.55rem "Newsreader", Georgia, serif;
  color: #fff;
  margin: 0 0 14px;
}

.rotary-heritage-left p {
  color: var(--mute-light);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.rotary-heritage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.rotary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.80rem;
  font-weight: 600;
  color: #fff;
}

.rotary-pill em {
  font-style: normal;
  color: var(--gold, #f7a800);
}

.rotary-heritage-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.motto-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px 22px;
}

.motto-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold, #f7a800);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.motto-val {
  font: 600 1.25rem "Cinzel", Georgia, serif;
  color: #fff;
  margin: 0;
  letter-spacing: 0.5px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.focus-card {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--e), border-color 0.35s, box-shadow 0.35s;
}

.focus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: 0 16px 44px -8px rgba(0, 0, 0, 0.45), 0 0 20px rgba(225, 29, 72, 0.12);
}

.focus-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.focus-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink, #ff4081);
  flex-shrink: 0;
}

.focus-card h3 {
  font: 700 1.05rem "Public Sans", sans-serif;
  color: #fff;
  margin: 0;
  line-height: 1.35;
}

.focus-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--mute-light);
  margin: 0;
}

.avenues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.avenue-card {
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 26px 24px;
  transition: transform 0.3s var(--e), border-color 0.3s;
}

.avenue-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.avenue-card h3 {
  color: var(--gold, #f7a800);
  font: 700 1.1rem "Public Sans", sans-serif;
  margin: 0 0 10px;
}

.avenue-card p {
  color: var(--mute-light);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
