/* ============================================================
   BOLERO SQUAD - STYLESHEET (style.css)
   Pure Vanilla CSS3 - Premium Overland Dakar & Matte Carbon Theme
   Color Palette: Deep Obsidian Slate, Warm Dakar Sandstone/Amber,
                  Tactical Ice Cyan, & Off-Road Gold
   ============================================================ */

:root {
  /* SURFACE PALETTE: Deep Obsidian Slate & Brushed Carbon */
  --bg-dark: #12151c;
  --bg-card: #1a1e28;
  --bg-card-hover: #222734;
  --bg-input: #161a22;
  --border-color: #272f40;
  --border-light: rgba(255, 255, 255, 0.07);
  --border-focus: #e59b2c;

  /* BRAND ACCENTS: Warm Dakar Amber Bronze & Desert Sandstone */
  --accent-amber: #e59b2c;
  --accent-gold: #f5b748;
  --accent-dark-amber: #b86e08;
  --accent-glow: rgba(229, 155, 44, 0.2);

  /* EXPEDITION HIGHLIGHT: Tactical Ice Cyan */
  --accent-cyan: #0ea5e9;
  --accent-cyan-light: #38bdf8;
  --accent-cyan-bg: rgba(14, 165, 233, 0.1);

  /* FUNCTIONAL & STATUS */
  --whatsapp-green: #22c55e;
  --danger: #f43f5e;
  --danger-bg: rgba(244, 63, 94, 0.12);
  --success: #10b981;
  
  /* TYPOGRAPHY COLORS */
  --text-main: #f8fafc;
  --text-muted: #8c9bb0;
  --text-dim: #5c6b80;

  /* RADII & SHADOWS */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 45px rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

h1, h2, h3, h4, .brand-text h1, .stat-num, .modal-brand-title, .fb-name {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(229, 155, 44, 0.12), transparent 70%),
    radial-gradient(circle at 90% 25%, rgba(14, 165, 233, 0.05), transparent 45%),
    radial-gradient(circle at 10% 75%, rgba(229, 155, 44, 0.04), transparent 45%);
  background-attachment: fixed;
}

/* TOP NOTICE BANNER */
.top-alert {
  display: none;
  background: linear-gradient(90deg, #9a3412, #c2410c, #b45309);
  color: #fff;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.top-alert .btn-banner {
  background: #ffffff;
  color: #7c2d12;
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.top-alert .btn-banner:hover { 
  background: #ffedd5;
  transform: translateY(-1px);
}
.top-alert .close-alert {
  float: right;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}
.top-alert .close-alert:hover { opacity: 1; }

/* HEADER & NAVIGATION */
header {
  background: rgba(14, 18, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* PORSCHE CLUB STYLE CENTERED BRAND ROW HEADER & NAVIGATION */
.porsche-header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.porsche-navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.porsche-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.porsche-brand-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 4px;
}

.brand-logo-inline {
  height: 52px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(245, 158, 11, 0.45));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.porsche-brand-header-link:hover .brand-logo-inline {
  transform: scale(1.06);
  filter: drop-shadow(0 5px 16px rgba(245, 158, 11, 0.7));
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.porsche-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.porsche-subtitle {
  font-size: 0.68rem;
  color: #f59e0b;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin: 3px 0 0 0;
}

/* Porsche Scroll Links Row */
.porsche-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.porsche-nav-link {
  color: #cbd5e1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 2px;
  position: relative;
  transition: all 0.22s ease;
}

.porsche-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #f59e0b;
  transition: all 0.22s ease;
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

.porsche-nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.porsche-nav-link:hover::after {
  width: 100%;
}

@media (max-width: 640px) {
  .porsche-navbar {
    padding: 10px 10px 8px 10px;
  }
  .porsche-brand-header-link {
    gap: 10px;
  }
  .brand-logo-inline {
    height: 42px;
  }
  .porsche-title {
    font-size: 1.15rem;
    letter-spacing: 1.8px;
  }
  .porsche-subtitle {
    font-size: 0.58rem;
    letter-spacing: 2px;
  }
  .porsche-nav-links {
    gap: 12px;
    margin-top: 6px;
  }
  .porsche-nav-link {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
  }
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  height: 48px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(229, 155, 44, 0.35));
}
.brand-text h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}
.brand-text p {
  font-size: 0.7rem;
  color: var(--accent-amber);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.guest-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
}
.btn-primary {
  background: linear-gradient(135deg, #e59b2c 0%, #b86e08 100%);
  color: #0a0d13;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(184, 110, 8, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f5b748 0%, #cc7a0a 100%);
  box-shadow: 0 6px 20px rgba(229, 155, 44, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  color: #000;
}
.btn-secondary {
  background: #141923;
  color: #e2e8f0;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.btn-secondary:hover {
  background: #1c2331;
  border-color: rgba(229, 155, 44, 0.4);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: rgba(229, 155, 44, 0.06);
  color: var(--accent-gold);
  border: 1px solid rgba(229, 155, 44, 0.35);
}
.btn-outline:hover {
  background: rgba(229, 155, 44, 0.16);
  border-color: var(--accent-gold);
  color: #fff;
}
.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #141923;
  border: 1px solid var(--border-color);
  padding: 5px 12px 5px 6px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.user-pill:hover {
  border-color: var(--accent-amber);
  background: #1a2230;
}
.user-pill-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a2230;
  border: 2px solid var(--accent-amber);
}
.user-pill-info {
  line-height: 1.2;
}
.user-pill-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
}
.user-pill-bts {
  font-size: 0.7rem;
  color: var(--accent-gold);
  font-weight: 600;
}

/* HERO SECTION */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 18, 25, 0.8) 0%, var(--bg-dark) 100%),
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%231e2838' fill-opacity='0.2'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 55px 24px 45px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 155, 44, 0.08);
  border: 1px solid rgba(229, 155, 44, 0.28);
  color: var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
  animation: pulseGlow 2s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}
.hero h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.15;
}
.hero h2 span {
  background: linear-gradient(135deg, #fff 10%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 0.98rem;
  line-height: 1.65;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.stat-badge {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  min-width: 150px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, border-color 0.2s;
}
.stat-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 155, 44, 0.4);
}
.stat-badge .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.stat-badge .stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 3px;
}

/* HERO ACTION BUTTONS */
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* SUB-NAVIGATION BAR (INTEGRATED INTO STICKY HEADER - DUAL SEGMENTED TABS) */
.sub-nav-bar {
  background: rgba(10, 13, 18, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  position: static;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 8px 16px;
}
.sub-nav-container.dual-tabs {
  max-width: 440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(16, 21, 30, 0.95);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 0, 0, 0.3);
}
.sub-nav-container.dual-tabs .sub-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  user-select: none;
}
.sub-nav-container.dual-tabs .sub-nav-link svg {
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.sub-nav-container.dual-tabs .sub-nav-link:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}
.sub-nav-container.dual-tabs .sub-nav-link.active {
  color: #0b0d10;
  background: linear-gradient(135deg, #f5b748 0%, #e59b2c 100%);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 4px 14px rgba(229, 155, 44, 0.35);
  font-weight: 800;
}
.sub-nav-container.dual-tabs .sub-nav-link.active svg {
  color: #0b0d10;
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .sub-nav-container.dual-tabs {
    max-width: 100%;
    gap: 4px;
    padding: 3px;
  }
  .sub-nav-container.dual-tabs .sub-nav-link {
    font-size: 0.84rem;
    padding: 8px 10px;
    gap: 6px;
  }
}

/* PORTAL VIEW CONTAINERS & SILKY SMOOTH TRANSITIONS */
.portal-view {
  width: 100%;
  will-change: opacity, transform;
}
.portal-view.view-enter {
  animation: smoothPortalEnter 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.portal-view.view-exit {
  animation: smoothPortalExit 0.14s ease-out forwards;
}
@keyframes smoothPortalEnter {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.996);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes smoothPortalExit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.996);
  }
}

/* MEMBER FLEET VIEW HEADER & MINI STATS */
.fleet-view-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 10px 24px;
  text-align: center;
}
.fleet-view-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 8px 0;
  letter-spacing: -0.5px;
}
.fleet-view-subtitle {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 22px auto;
  font-size: 0.92rem;
  line-height: 1.55;
}
.fleet-mini-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.fleet-stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
  text-align: left;
}
.fleet-stat-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.4);
}
.fleet-stat-icon {
  font-size: 1.35rem;
  line-height: 1;
}
.fleet-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.fleet-stat-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}


/* GENERAL SECTION HEADINGS & BADGES */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 55px 24px;
  text-align: center;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(229, 155, 44, 0.08);
  border: 1px solid rgba(229, 155, 44, 0.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 36px;
}

/* ============================================================
   SECTION 1: ABOUT THE CLUB (MISSION, VISION, VALUES & BENEFITS)
   ============================================================ */
.about-section {
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d121a 100%);
  padding: 64px 20px;
}

/* MISSION & VISION DUAL CARDS */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 32px;
}
.mv-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(20, 26, 38, 0.95) 100%);
  border: 1px solid rgba(229, 155, 44, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  opacity: 0.85;
}
.mv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 14px 40px rgba(245, 158, 11, 0.12), 0 8px 30px rgba(0, 0, 0, 0.5);
}
.mv-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.mv-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.mv-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  text-transform: uppercase;
}
.mv-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 2px 0 0 0;
}
.mv-quote {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #d1d5db;
  font-style: italic;
  margin: 0;
}

/* CORE VALUES STRIP */
.core-values-card {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 70%), #121722;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.values-fire-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #f59e0b;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.values-motto {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 22px 0;
  letter-spacing: 0.3px;
}
.values-chips-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f3f4f6;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 8px 18px;
  border-radius: 30px;
  transition: all 0.2s ease;
}
.value-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
}
.value-chip:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  transform: translateY(-2px);
}

/* 12 MEMBER BENEFITS */
.benefits-section-wrap {
  margin-top: 24px;
}
.benefits-header {
  text-align: center;
  margin-bottom: 32px;
}
.benefits-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 6px 0;
}
.benefits-subline {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.benefit-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(18, 23, 33, 0.85) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.benefit-card:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, rgba(22, 28, 40, 0.95) 100%);
}
.benefit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.benefit-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 9px;
  border-radius: 12px;
}
.benefit-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.35;
}
.benefit-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   SECTION 2: CLUB EVENTS & EXPEDITIONS GALLERY
   ============================================================ */
.events-section {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-dark);
}
.events-filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.event-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.event-filter-btn:hover {
  color: #fff;
  border-color: rgba(229, 155, 44, 0.4);
}
.event-filter-btn.active {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #0b0d10;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(229, 155, 44, 0.35);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  text-align: left;
}
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 155, 44, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.event-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #11151c;
}
.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.event-card:hover .event-img {
  transform: scale(1.05);
}
.event-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(229, 155, 44, 0.4);
  color: var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
}
.event-vehicles-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
}
.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.event-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.event-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}
.event-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
}
.event-location-text {
  color: #cbd5e1;
  font-weight: 600;
}
.event-view-link {
  color: var(--accent-amber);
  font-weight: 700;
  transition: color 0.2s;
}
.event-card:hover .event-view-link {
  color: #fbbf24;
}

/* AUTO-SLIDESHOW ON EVENT CARDS */
.event-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.4s ease;
  pointer-events: none;
}
.event-slide-img.active {
  opacity: 1;
  pointer-events: auto;
}
.event-card:hover .event-slide-img.active {
  transform: scale(1.04);
}

/* DOT INDICATORS */
.event-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 10px;
  z-index: 5;
}
.event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}
.event-dot.active {
  background: var(--accent-gold);
  width: 14px;
  border-radius: 6px;
}

/* CARD PHOTO CHIP */
.event-photos-chip {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 5;
}

/* CARD NEXT / PREV ARROWS */
.event-card-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 6;
}
.event-card:hover .event-card-nav-btn {
  opacity: 0.85;
}
.event-card-nav-btn:hover {
  opacity: 1 !important;
  background: rgba(229, 155, 44, 0.9);
  color: #0b0d10;
  transform: translateY(-50%) scale(1.1);
}
.event-card-nav-btn.prev {
  left: 8px;
}
.event-card-nav-btn.next {
  right: 8px;
}

/* EVENT MODAL GALLERY & LIGHTBOX */
.event-modal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.event-modal-gallery-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event-modal-img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f131a;
  border: 1px solid var(--border-color);
}
.event-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
.modal-photo-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 5;
}
.modal-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 6;
}
.modal-gallery-nav:hover {
  background: var(--accent-amber);
  color: #0b0d10;
  transform: translateY(-50%) scale(1.1);
}
.modal-gallery-nav.prev {
  left: 14px;
}
.modal-gallery-nav.next {
  right: 14px;
}

/* THUMBNAILS STRIP IN MODAL */
.modal-thumbs-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
  scrollbar-width: thin;
}
.modal-thumbs-strip::-webkit-scrollbar {
  height: 4px;
}
.modal-thumbs-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.modal-thumb-item {
  width: 80px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  background: #0f131a;
}
.modal-thumb-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.modal-thumb-item.active {
  opacity: 1;
  border-color: var(--accent-amber);
  box-shadow: 0 0 10px rgba(229, 155, 44, 0.45);
}
.modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MODAL META GRID & STORY */
.event-modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.event-meta-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: 10px;
  text-align: left;
}
.event-meta-box .lbl {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.event-meta-box .val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f1f5f9;
}
.event-modal-story h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.event-modal-story p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ============================================================
   SECTION 3: JOIN THE SQUAD BANNER
   ============================================================ */
.join-banner-section {
  padding: 40px 24px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0c1017 100%);
  border-bottom: 1px solid var(--border-color);
}
.join-banner-card {
  max-width: 1000px;
  margin: 0 auto;
  background: radial-gradient(circle at 100% 0%, rgba(229, 155, 44, 0.15) 0%, transparent 60%), #131822;
  border: 1px solid rgba(229, 155, 44, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.join-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.join-banner-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.join-banner-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.join-banner-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* EVENT MODAL LIGHTBOX */
.event-modal-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.event-modal-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.event-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-modal-img-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
}
.event-modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}
.event-meta-box .lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.event-meta-box .val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}
.event-modal-story h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.event-modal-story p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* MAIN CONTENT */
main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 24px;
}

/* DIRECTORY TOOLBAR */
.directory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.directory-title h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  letter-spacing: 0.3px;
}
.directory-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.filters-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 650px;
}
.search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.search-box input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(229, 155, 44, 0.15);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
}
.filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.filter-select:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(229, 155, 44, 0.15);
}

/* MEMBER LIST (HORIZONTAL ROW LAYOUT) */
.member-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.member-row {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.member-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.25s ease;
}
.member-row:hover {
  background: linear-gradient(180deg, rgba(229, 155, 44, 0.04) 0%, rgba(255, 255, 255, 0) 100%), var(--bg-card-hover);
  border-color: rgba(229, 155, 44, 0.4);
  transform: translateX(5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.member-row:hover::before {
  background: var(--accent-amber);
}
.member-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.member-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #141923;
  border: 2px solid rgba(229, 155, 44, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.member-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.member-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}
.member-bts {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0a0d13;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.6px;
}
.admin-badge-sm {
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.member-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.member-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.safari-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: #151b26;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tag-district {
  background: rgba(14, 165, 233, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
  font-weight: 700;
}

.empty-directory {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}
.empty-directory h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 6px;
}
.empty-directory p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   MODALS & OVERLAYS - ROBUST FULLSCREEN CENTERING
   ============================================================ */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  overflow-y: auto !important;
}

.modal-overlay.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* MODAL PARTICLES CANVAS (Subtle floating glowing embers & dust) */
.modal-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 100000;
  margin: auto;
}
.modal-card.wide {
  max-width: 680px;
}
.modal-card::-webkit-scrollbar {
  width: 6px;
}
.modal-card::-webkit-scrollbar-track {
  background: #0d1117;
}
.modal-card::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 6px;
}
.modal-card::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber);
}
.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 10;
}
.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
.modal-close:hover { color: #fff; }
.modal-body {
  padding: 24px;
}

/* BRANDED MODAL HEADER (WITH LOGO ON TOP) */
.modal-brand-header {
  position: relative;
  text-align: center;
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.12), transparent 70%), var(--bg-card);
}
.modal-brand-header .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  z-index: 5;
}
.modal-brand-header .modal-close:hover {
  color: #fff;
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  transform: rotate(90deg);
}
.modal-brand-logo-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #10141d;
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.15);
  padding: 8px;
  transition: transform 0.3s ease;
}
.modal-brand-logo-wrap:hover {
  transform: scale(1.05);
}
.modal-brand-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.modal-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
}
.modal-brand-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

/* FORM SECTION TITLES FOR NEAT VISUAL STRUCTURE */
.form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 22px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.form-section-title svg {
  color: var(--accent-amber);
}
.form-section-title:first-child {
  margin-top: 0;
}

/* SINGLE SESSION ACTIVE BOX (LOGIN MODAL) */
.session-notice-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 18px;
}
.session-notice-box svg {
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 2px;
}

/* SWITCH LINK BETWEEN LOGIN & REGISTER */
.modal-switch-text {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.modal-switch-text a {
  color: var(--accent-amber);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.2s;
}
.modal-switch-text a:hover {
  color: #fbbf24;
  text-decoration: underline;
}

/* FORMS */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e2e8f0;
}
.form-group label .req {
  color: var(--danger);
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-control:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(229, 155, 44, 0.15);
}
.form-control:disabled, .form-control[readonly] {
  background: #0f1217;
  color: var(--text-muted);
  cursor: not-allowed;
  border-style: dashed;
}
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon-left {
  position: absolute;
  left: 12px;
  color: var(--whatsapp-green);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.input-with-icon input {
  padding-left: 38px;
}
.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* SAFARI CHECKBOX & SELECTION */
.checkbox-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  user-select: none;
}
.checkbox-tile input[type="checkbox"] {
  accent-color: var(--accent-amber);
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.checkbox-tile span {
  font-size: 0.9rem;
  font-weight: 600;
}
.safari-options-container {
  display: none;
  margin-top: 12px;
  padding: 14px;
  background: rgba(245, 158, 11, 0.05);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
}
.safari-options-container.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}
.safari-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.safari-chip-toggle {
  display: none;
}
.safari-chip-label {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.safari-chip-toggle:checked + .safari-chip-label {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #0b0d10;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* PHOTO UPLOAD BOXES */
.photo-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.upload-card {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  background: var(--bg-input);
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.upload-card:hover {
  border-color: var(--accent-amber);
}
.upload-card.locked {
  cursor: not-allowed;
  border-style: solid;
  border-color: #334155;
  background: #0f1217;
  opacity: 0.85;
}
.upload-card input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-card.locked input[type="file"] {
  display: none;
}
.preview-img {
  width: 100%;
  max-height: 130px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: none;
}
.preview-img.active {
  display: block;
}
.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}
.upload-placeholder svg {
  color: var(--accent-amber);
}
.upload-placeholder span {
  font-size: 0.82rem;
  font-weight: 600;
}

/* PROFILE LOCKED NOTICE */
.locked-banner {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   DETAILED PROFILE VIEW MODAL (CLEAN HEADER WITH LEFT AVATAR)
   ============================================================ */
.fb-profile-modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  width: 100%;
  max-width: 650px;
  box-shadow: var(--shadow-lg);
  animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  margin: auto;
}
.fb-profile-header {
  padding: 24px 28px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.08), transparent 60%), #141822;
}
.fb-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: all 0.2s ease;
}
.fb-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fff;
  transform: rotate(90deg);
}
.fb-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.fb-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(245, 158, 11, 0.5);
  background: #1e2430;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.15);
  display: block;
}
.fb-admin-badge {
  position: absolute;
  bottom: 0px;
  right: -4px;
  background: linear-gradient(135deg, #ef4444, #991b1b);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  border: 2px solid #141822;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.fb-header-details {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.fb-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fb-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  letter-spacing: 0.3px;
}
.fb-bts-badge {
  display: inline-block;
  background: var(--accent-amber);
  color: #0b0d10;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: 14px;
  letter-spacing: 0.5px;
}
.fb-location {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}



.fb-body {
  padding: 24px;
}
.fb-section-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vehicle-showcase-card {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}
.vehicle-showcase-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #161b24;
}
.vehicle-showcase-caption {
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.safari-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.safari-badge-lg {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* FOOTER */
footer {
  background: #08090c;
  border-top: 1px solid var(--border-color);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 40px;
}
footer a {
  color: var(--accent-amber);
  text-decoration: none;
}

/* ANIMATIONS */
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   RESPONSIVE DESIGN (MOBILE & TABLET OPTIMIZATION)
   Ensures neat, structured, and airy layout on all phone screens
   ============================================================ */

/* TABLETS & INTERMEDIATE DEVICES (max-width: 768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 16px;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand-text h1 {
    font-size: 1.15rem;
  }
  .brand-text p {
    font-size: 0.62rem;
    letter-spacing: 1.2px;
  }
  .hero {
    padding: 34px 18px 26px;
  }
  .hero h2 {
    font-size: 1.85rem;
  }
  .hero p {
    font-size: 0.9rem;
    max-width: 540px;
    margin-bottom: 22px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .stat-badge {
    min-width: 0;
    padding: 12px 8px;
    text-align: center;
  }
  .stat-badge .stat-num {
    font-size: 1.55rem;
  }
  .stat-badge .stat-lbl {
    font-size: 0.66rem;
  }
  main {
    padding: 24px 16px;
  }
  .directory-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 20px;
  }
  .filters-bar {
    max-width: 100%;
    gap: 10px;
  }
  .search-box {
    flex: 1;
  }
  .member-row {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }
  .member-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .photo-upload-grid {
    grid-template-columns: 1fr;
  }
}

/* SMARTPHONES & MOBILE SCREENS (max-width: 540px) */
@media (max-width: 540px) {
  body {
    font-size: 14px;
    overflow-x: hidden;
  }
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .navbar {
    padding: 8px 12px;
    gap: 8px;
  }
  .brand {
    gap: 8px;
    min-width: 0;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .brand-text h1 {
    font-size: 0.98rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-text p {
    font-size: 0.54rem;
    letter-spacing: 0.8px;
    white-space: nowrap;
  }
  .nav-actions {
    gap: 5px;
    flex-shrink: 0;
  }
  .guest-controls {
    gap: 4px !important;
  }
  .user-controls {
    gap: 4px !important;
  }
  .nav-actions .btn {
    padding: 6px 10px;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 6px;
    gap: 4px;
  }
  .nav-actions .btn svg {
    width: 12px;
    height: 12px;
  }
  .user-pill {
    padding: 3px 8px 3px 4px;
    gap: 6px;
    border-radius: 20px;
    max-width: 130px;
  }
  .user-pill-avatar {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }
  .user-pill-name {
    font-size: 0.74rem;
    max-width: 65px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .user-pill-bts {
    font-size: 0.62rem;
  }

  /* TOP ALERT BANNER ON MOBILE */
  .top-alert {
    padding: 10px 14px;
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .top-alert .btn-banner {
    margin-left: 0;
    width: 100%;
    padding: 6px 12px;
  }
  .top-alert .close-alert {
    position: absolute;
    top: 6px;
    right: 10px;
  }

  /* HERO SECTION ON MOBILE */
  .hero {
    padding: 22px 14px 18px;
  }
  .hero-tag {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    margin: 0 auto 12px;
    max-width: 100%;
    line-height: 1.35;
    border-radius: 20px;
    display: inline-flex;
  }
  .pulse-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
  }
  .hero h2 {
    font-size: 1.48rem;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
  }
  .hero p {
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0 auto 16px;
    color: #94a3b8;
    max-width: 96%;
  }

  /* BALANCED 3-METRIC STATS BAR (FIXES 2+1 UNEVEN CLUSTER) */
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .stat-badge {
    min-width: 0 !important;
    padding: 10px 4px !important;
    border-radius: 10px !important;
    background: rgba(18, 23, 34, 0.92) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    text-align: center !important;
  }
  .stat-badge .stat-num {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.1 !important;
  }
  .stat-badge .stat-lbl {
    font-size: 0.58rem !important;
    letter-spacing: 0.3px !important;
    color: var(--text-muted) !important;
    line-height: 1.25 !important;
    margin-top: 3px !important;
  }

  /* HERO ACTIONS & SUB-NAV ON MOBILE */
  .hero-actions {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 16px !important;
  }
  .hero-actions .btn {
    width: 100% !important;
  }
  .sub-nav-bar {
    position: static !important;
    top: 0 !important;
  }
  .sub-nav-container {
    justify-content: flex-start !important;
    padding: 6px 12px !important;
    gap: 6px !important;
  }
  .sub-nav-link {
    padding: 5px 12px !important;
    font-size: 0.74rem !important;
  }

  /* FLEET VIEW HEADER ON MOBILE */
  .fleet-view-header {
    padding: 24px 14px 6px 14px !important;
  }
  .fleet-view-title {
    font-size: 1.6rem !important;
  }
  .fleet-view-subtitle {
    font-size: 0.82rem !important;
    margin-bottom: 16px !important;
  }
  .fleet-mini-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
  .fleet-stat-pill {
    padding: 8px 4px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 3px !important;
    border-radius: 10px !important;
  }
  .fleet-stat-icon {
    font-size: 1.15rem !important;
  }
  .fleet-stat-val {
    font-size: 1.15rem !important;
  }
  .fleet-stat-lbl {
    font-size: 0.56rem !important;
  }

  /* ABOUT & EVENTS SECTIONS ON MOBILE */
  .section-container {
    padding: 36px 14px !important;
  }
  .section-title {
    font-size: 1.55rem !important;
  }
  .section-subtitle {
    font-size: 0.84rem !important;
    margin-bottom: 24px !important;
  }
  .mv-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 24px !important;
  }
  .mv-card {
    padding: 22px 18px !important;
  }
  .mv-title {
    font-size: 1.2rem !important;
  }
  .mv-quote {
    font-size: 0.88rem !important;
  }
  .core-values-card {
    padding: 24px 16px !important;
    margin-bottom: 36px !important;
  }
  .values-motto {
    font-size: 1.1rem !important;
    margin-bottom: 16px !important;
  }
  .values-chips-wrap {
    gap: 8px !important;
  }
  .value-chip {
    padding: 6px 14px !important;
    font-size: 0.78rem !important;
  }
  .benefits-headline {
    font-size: 1.45rem !important;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .benefit-card {
    padding: 12px 10px !important;
  }
  .benefit-icon {
    font-size: 1.2rem !important;
  }
  .benefit-name {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
  }
  .benefit-text {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
  }
  .benefit-badge {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }
  .events-filter-bar {
    gap: 6px !important;
    margin-bottom: 20px !important;
  }
  .event-filter-btn {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
  }
  .events-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .event-img-wrap {
    height: 180px !important;
  }
  .event-content {
    padding: 16px 14px !important;
  }
  .event-title {
    font-size: 1.05rem !important;
  }
  .join-banner-section {
    padding: 24px 12px !important;
  }
  .join-banner-card {
    padding: 24px 16px !important;
  }
  .join-banner-card h2 {
    font-size: 1.45rem !important;
  }
  .join-banner-card p {
    font-size: 0.84rem !important;
  }
  .join-banner-btns {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .join-banner-btns .btn {
    width: 100% !important;
  }
  .event-modal-img-wrap {
    height: 180px !important;
  }
  .event-modal-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* MAIN DIRECTORY CONTROLS */
  main {
    padding: 18px 12px 36px;
  }
  .directory-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }
  .directory-title h3 {
    font-size: 1.22rem !important;
    gap: 8px !important;
  }
  .directory-title p {
    font-size: 0.78rem !important;
    margin-top: 2px !important;
  }
  .filters-bar {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
  }
  .search-box {
    width: 100% !important;
    min-width: 100% !important;
  }
  .search-box input {
    width: 100% !important;
    padding: 10px 12px 10px 38px !important;
    font-size: 0.86rem !important;
    border-radius: 8px !important;
  }
  .search-icon {
    left: 12px !important;
  }
  .filter-select {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 0.86rem !important;
    border-radius: 8px !important;
  }

  /* MEMBER CARDS LIST (AIRY & CLEAN MOBILE CARDS) */
  .member-list {
    gap: 10px !important;
  }
  .member-row {
    padding: 12px 14px !important;
    gap: 10px !important;
    border-radius: 12px !important;
    background: #131722 !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  }
  .member-row:hover {
    transform: none !important;
  }
  .member-left {
    width: 100% !important;
    gap: 12px !important;
  }
  .member-avatar {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(229, 155, 44, 0.45) !important;
    flex-shrink: 0 !important;
  }
  .member-info {
    min-width: 0 !important;
    flex: 1 !important;
  }
  .member-name-row {
    gap: 6px !important;
    margin-bottom: 3px !important;
  }
  .member-name {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: #fff !important;
  }
  .member-bts {
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 8px !important;
  }
  .admin-badge-sm {
    font-size: 0.6rem !important;
    padding: 1px 5px !important;
  }
  .member-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 10px !important;
    margin-top: 3px !important;
    font-size: 0.76rem !important;
    color: #94a3b8 !important;
  }
  .meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
  .member-right {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 4px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .safari-tags {
    display: flex !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }
  .tag {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
  }
  .tag-district {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
  }
  .member-right .btn {
    padding: 5px 11px !important;
    font-size: 0.74rem !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* MODALS & POPUPS ON MOBILE */
  .modal-overlay {
    padding: 10px !important;
  }
  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px !important;
    max-height: 94vh !important;
    margin: auto !important;
  }
  .modal-brand-header {
    padding: 20px 14px 14px !important;
  }
  .modal-brand-logo-wrap {
    width: 56px !important;
    height: 56px !important;
    border-radius: 12px !important;
    padding: 6px !important;
    margin-bottom: 8px !important;
  }
  .modal-brand-title {
    font-size: 1.15rem !important;
  }
  .modal-brand-subtitle {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }
  .modal-body {
    padding: 16px 14px !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .form-group {
    margin-bottom: 14px !important;
  }
  .form-group label {
    font-size: 0.8rem !important;
  }
  .form-control {
    padding: 10px 12px !important;
    font-size: 0.86rem !important;
  }
  .photo-upload-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .upload-box {
    padding: 14px 10px !important;
  }

  /* FACEBOOK-STYLE VIEW PROFILE MODAL ON MOBILE */
  .fb-profile-card {
    width: 100% !important;
    border-radius: 16px !important;
  }
  .fb-cover-banner {
    height: 85px !important;
  }
  .fb-profile-header {
    padding: 0 14px 14px !important;
    margin-top: -38px !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .fb-avatar {
    width: 76px !important;
    height: 76px !important;
  }
  .fb-header-details {
    text-align: center !important;
    width: 100% !important;
  }
  .fb-name-row {
    justify-content: center !important;
    gap: 6px !important;
  }
  .fb-name {
    font-size: 1.2rem !important;
  }
  .fb-location {
    justify-content: center !important;
    font-size: 0.8rem !important;
  }
  .fb-body {
    padding: 16px 14px !important;
  }
  .vehicle-showcase-img {
    height: 180px !important;
  }
  .fb-actions-bar {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .fb-actions-bar .btn {
    width: 100% !important;
    padding: 9px 14px !important;
  }

  /* TOAST & CONFIRM ON MOBILE */
  .toast-container {
    top: 10px !important;
    right: 10px !important;
    left: 10px !important;
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
  }
  .custom-confirm-card {
    padding: 20px 16px !important;
    width: calc(100% - 20px) !important;
    border-radius: 14px !important;
  }
}

/* NARROW PHONES (max-width: 380px) */
@media (max-width: 380px) {
  .brand-text h1 {
    font-size: 0.88rem;
  }
  .brand-text p {
    display: none;
  }
  .nav-actions .btn {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
  .stat-badge .stat-num {
    font-size: 1.2rem !important;
  }
  .stat-badge .stat-lbl {
    font-size: 0.54rem !important;
  }
  .hero h2 {
    font-size: 1.35rem;
  }
}

/* ============================================================
   CUSTOM TOAST & CONFIRMATION DIALOG SYSTEM
   Replaces default browser alert() and confirm() with premium UI
   ============================================================ */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  width: calc(100% - 40px);
  pointer-events: none;
}

.custom-toast {
  pointer-events: auto;
  background: #141822;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.custom-toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
}

.custom-toast.success::before { background: var(--success, #10b981); }
.custom-toast.warning::before { background: var(--accent-amber, #f59e0b); }
.custom-toast.danger::before { background: var(--danger, #ef4444); }
.custom-toast.info::before { background: #3b82f6; }

.custom-toast.closing {
  animation: toastSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.custom-toast.success .toast-icon { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.custom-toast.warning .toast-icon { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.custom-toast.danger .toast-icon { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.custom-toast.info .toast-icon { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

.toast-content {
  flex: 1;
  min-width: 0;
}
.toast-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.toast-desc {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.4;
  word-break: break-word;
}
.toast-close-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.2s;
}
.toast-close-btn:hover { color: #fff; }

@keyframes toastSlideIn {
  from { transform: translateX(110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(110%); opacity: 0; }
}

/* CUSTOM CONFIRM & ALERT MODAL */
.custom-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: confirmFadeIn 0.2s ease forwards;
}

.custom-confirm-card {
  background: #131720;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg, 16px);
  max-width: 480px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(245, 158, 11, 0.08);
  animation: confirmZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  text-align: center;
}

.custom-confirm-card.danger-theme {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(239, 68, 68, 0.1);
}

.custom-confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-confirm-card.warning-theme .custom-confirm-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 2px solid rgba(245, 158, 11, 0.25);
}

.custom-confirm-card.danger-theme .custom-confirm-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 2px solid rgba(239, 68, 68, 0.25);
}

.custom-confirm-card.success-theme .custom-confirm-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 2px solid rgba(16, 185, 129, 0.25);
}

.custom-confirm-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.custom-confirm-message {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.25);
  padding: 14px 18px;
  border-radius: var(--radius-sm, 6px);
  border: 1px solid var(--border-color, #242c3b);
  text-align: left;
}

.custom-confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.custom-confirm-actions .btn {
  flex: 1;
  padding: 11px 18px;
  font-size: 0.9rem;
}

@keyframes confirmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes confirmZoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* SPLASH SCREEN */
#splashScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#splashScreen.hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-logo {
  width: 150px;
  height: auto;
  animation: pulse-splash 1.5s infinite alternate;
}

@keyframes pulse-splash {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3)); }
  100% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.6)); }
}

/* HERO LAYOUT WITH MAP */
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.hero-content .hero-tag {
  margin: 0 0 16px 0;
}

.hero-content .hero-stats {
  margin: 0 0 30px 0;
}

.hero-map {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.sl-network-map {
  width: 100%;
  max-width: 350px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.15));
}

.sl-outline {
  fill: #1a202c;
  stroke: #333d52;
  stroke-width: 1.4;
  transition: all 0.25s ease;
  cursor: pointer;
}

.sl-outline:hover {
  fill: #242d3f;
  stroke: var(--accent-gold);
  stroke-width: 2.2;
}

.map-dot {
  fill: var(--accent-gold);
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.85));
}

.map-dot.animate-dot {
  opacity: 1;
  transform: scale(1);
  animation: mapDotGlow 2.5s infinite alternate ease-in-out;
  animation-delay: 0.4s;
}

.map-line {
  stroke: var(--accent-gold);
  stroke-width: 1.8;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.65));
}

@keyframes mapDotGlow {
  0% {
    fill: #f59e0b;
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.7));
  }
  100% {
    fill: #fbbf24;
    filter: drop-shadow(0 0 11px rgba(251, 191, 36, 1));
  }
}

@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  .hero-content .hero-tag {
    margin: 0 auto 16px auto;
  }
  .hero-content .hero-stats {
    margin: 0 auto 30px auto;
  }
}

/* INTERACTIVE MAP FLOATING TOOLTIP */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(15, 20, 30, 0.94);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 16px rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  padding: 8px 14px;
  z-index: 500;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.map-tooltip-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-tooltip-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f59e0b;
}

.map-tooltip-count.empty {
  color: #8c9bb0;
  font-weight: 600;
}

/* ============================================================
   BOLERO HUB: TECHNICAL ISSUES & ACCESSORIES SHOPS
   ============================================================ */
.hub-container {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.hub-header {
  text-align: center;
}

.hub-tab-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hub-tab-btn:hover {
  background: #334155;
  color: #f8fafc;
}

.hub-tab-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  border-color: #f59e0b;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.hub-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.pane-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 4px;
}

.pane-sub {
  color: #94a3b8;
  font-size: 0.88rem;
}

/* ISSUES GRID */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.issue-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.issue-card:hover {
  transform: translateY(-3px);
  border-color: #f59e0b;
}

.issue-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #f59e0b;
  margin-bottom: 8px;
  font-weight: 700;
}

.issue-author {
  color: #94a3b8;
}

.issue-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
}

.issue-card-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.issue-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
  border: 1px solid #334155;
}

.issue-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #334155;
  margin-top: auto;
}

.issue-comments-count {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* SHOPS GRID */
.shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.shop-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.shop-card:hover {
  transform: translateY(-3px);
  border-color: #f59e0b;
}

.shop-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #334155;
}

.shop-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shop-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 8px;
}

.shop-rating-box {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.stars-interactive span {
  font-size: 1.2rem;
  color: #475569;
  cursor: pointer;
  transition: color 0.15s ease;
}

.stars-interactive span.active {
  color: #f59e0b;
}

.rating-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f59e0b;
}

.shop-info-line {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-info-line svg {
  color: #f59e0b;
  flex-shrink: 0;
}

.shop-card-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

/* HUB ENTRY GRID & CARDS */
.hub-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hub-entry-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hub-entry-card:hover {
  transform: translateY(-5px);
  border-color: #f59e0b;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.2);
}

.entry-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.entry-icon {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
}

.entry-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.entry-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.entry-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 8px;
}

.entry-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 20px;
}

.entry-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f59e0b;
  font-weight: 700;
  font-size: 0.9rem;
  padding-top: 14px;
  border-top: 1px solid #334155;
}

.modal-card.extra-wide {
  max-width: 900px;
  width: 92%;
}

/* FACEBOOK-STYLE POST CARDS */
.fb-post-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.fb-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 12px;
}

.fb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fb-post-user-info {
  display: flex;
  flex-direction: column;
}

.fb-post-author {
  font-weight: 700;
  color: #f8fafc;
  font-size: 0.98rem;
}

.fb-post-time {
  font-size: 0.78rem;
  color: #94a3b8;
}

.fb-post-content {
  padding: 0 20px 14px;
}

.fb-post-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 8px;
}

.fb-post-body-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
  white-space: pre-line;
}

.fb-see-more-btn {
  background: transparent;
  border: none;
  color: #f59e0b;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0 2px;
  font-family: inherit;
  transition: color 0.2s;
}

.fb-see-more-btn:hover {
  color: #fbbf24;
  text-decoration: underline;
}

.fb-stat-comments-btn {
  cursor: pointer;
  transition: color 0.2s;
}

.fb-stat-comments-btn:hover {
  color: #f59e0b;
  text-decoration: underline;
}

.fb-post-media {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-top: 1px solid #334155;
  border-bottom: 1px solid #334155;
}

.fb-post-stats {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: #94a3b8;
  border-bottom: 1px solid #334155;
}

.fb-post-actions-bar {
  display: flex;
  padding: 4px 10px;
  border-bottom: 1px solid #334155;
}

.fb-action-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.fb-action-btn:hover {
  background: rgba(255,255,255,0.05);
  color: #f8fafc;
}

.fb-action-btn.liked {
  color: #f59e0b;
}

.fb-comments-section {
  padding: 16px 20px;
  background: #0f172a;
}

.fb-comment-bubble {
  background: #1e293b;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  border: 1px solid #334155;
}

.fb-comment-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.fb-comment-author {
  font-weight: 700;
  color: #f59e0b;
}

.fb-comment-time {
  color: #64748b;
}

.fb-comment-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.4;
}

/* CALENDAR GRID STYLES */
.calendar-grid-wrap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-header-day {
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #f59e0b;
  padding: 8px 0;
  background: #1e293b;
  border-radius: 6px;
  border: 1px solid #334155;
}

.cal-date-cell {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  min-height: 75px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.cal-date-cell:hover {
  border-color: #f59e0b;
  background: #283548;
}

.cal-date-cell.other-month {
  opacity: 0.35;
  cursor: default;
}

.cal-date-cell.has-event {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.cal-date-cell.selected {
  outline: 2px solid #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.cal-date-num {
  font-weight: 800;
  font-size: 0.95rem;
  color: #f8fafc;
}

.cal-event-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: #f59e0b;
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}

/* ============================================================
   FULL SCREEN PAGE VIEWS (TECHNICAL FORUM, SHOPS, CALENDAR)
   ============================================================ */
.modal-overlay.full-screen-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: #0b1120;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.full-screen-view .modal-card {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  min-height: 100vh;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #0b1120 !important;
  display: flex;
  flex-direction: column;
}

.modal-overlay.full-screen-view .modal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0f172a;
  border-bottom: 1px solid #334155;
  padding: 14px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-overlay.full-screen-view .modal-body {
  flex: 1;
  max-height: none !important;
  overflow-y: visible !important;
  padding: 20px 16px 40px 16px;
}

@media (max-width: 640px) {
  .modal-overlay.full-screen-view .modal-header {
    padding: 12px 14px;
  }
  .modal-overlay.full-screen-view .modal-body {
    padding: 14px 10px 30px 10px;
  }
}

/* ============================================================
   HUB ENTRY CARDS & SLEEK LOGO ICON STYLING
   ============================================================ */
.hub-container {
  max-width: 1200px;
  margin: 35px auto 0 auto;
  padding: 0 16px;
}

.hub-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hub-entry-card {
  background: linear-gradient(145deg, #131c2e 0%, #0f172a 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 14px;
  padding: 22px 14px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hub-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.25);
  background: linear-gradient(145deg, #19263e 0%, #111b30 100%);
}

.hub-entry-card .entry-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.22) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(245, 158, 11, 0.15);
  transition: all 0.28s ease;
  padding: 6px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.hub-entry-card:hover .entry-icon {
  border-color: #f59e0b;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5), inset 0 0 14px rgba(245, 158, 11, 0.3);
}

.entry-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.hub-entry-card .entry-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.1px;
}

@media (max-width: 768px) {
  .hub-entry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hub-entry-card {
    padding: 20px 10px;
    min-height: 120px;
    border-radius: 12px;
  }
  .hub-entry-card .entry-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 8px;
  }
  .entry-icon-img {
    width: 34px;
    height: 34px;
  }
  .hub-entry-card .entry-title {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .hub-entry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hub-entry-card {
    padding: 18px 8px;
    min-height: 115px;
    border-radius: 12px;
  }
  .hub-entry-card .entry-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 8px;
  }
  .entry-icon-img {
    width: 32px;
    height: 32px;
  }
  .hub-entry-card .entry-title {
    font-size: 0.82rem;
    line-height: 1.3;
  }
}

.entry-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.48;
  margin: 0 0 16px 0;
  flex: 1;
}

.entry-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  font-weight: 700;
  color: #f59e0b;
  transition: gap 0.2s ease, color 0.2s ease;
}

.hub-entry-card:hover .entry-action-btn {
  color: #fbbf24;
  gap: 10px;
}

/* ============================================================
   MISSION & VISION COMPACT DUAL CARDS & CORE VALUES
   ============================================================ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.mv-card {
  background: linear-gradient(145deg, #131c2e 0%, #0f172a 100%);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.mv-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mv-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mv-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #f59e0b;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.mv-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  line-height: 1.2;
}

.mv-quote {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.48;
  font-style: italic;
  margin: 0;
  flex: 1;
}

/* CORE VALUES STRIP */
.core-values-card {
  background: linear-gradient(145deg, #131c2e 0%, #0f172a 100%);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 14px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.values-fire-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
}

.values-motto {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 4px 0 12px 0;
  font-style: italic;
}

.values-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f59e0b;
}

/* COMPACT PHONE SCREEN OPTIMIZATIONS (<= 768px & <= 480px) */
@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .mv-card {
    padding: 12px 10px;
    border-radius: 10px;
  }

  .mv-header {
    gap: 6px;
    margin-bottom: 6px;
  }

  .mv-icon-wrap {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .mv-tag {
    font-size: 0.55rem;
    letter-spacing: 0.4px;
  }

  .mv-title {
    font-size: 0.88rem;
  }

  .mv-quote {
    font-size: 0.73rem;
    line-height: 1.35;
  }

  .core-values-card {
    padding: 12px 10px;
    margin-top: 10px;
    margin-bottom: 16px;
  }

  .values-motto {
    font-size: 0.82rem;
    margin-bottom: 8px;
  }

  .value-chip {
    font-size: 0.62rem;
    padding: 3px 8px;
  }
}

@media (max-width: 480px) {
  .mv-grid {
    gap: 8px;
  }
  .mv-card {
    padding: 10px 8px;
  }
  .mv-quote {
    font-size: 0.70rem;
    line-height: 1.32;
  }
}

/* ============================================================
   OFFICIAL SHOP COMPACT PRODUCT TILES (3 ITEMS PER ROW)
   ============================================================ */
.official-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.official-product-tile {
  background: linear-gradient(145deg, #131c2e 0%, #0f172a 100%);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.official-product-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.2);
  background: linear-gradient(145deg, #18243b 0%, #111b30 100%);
}

.official-product-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #0b1120;
}

.official-product-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .official-shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .official-product-tile {
    padding: 8px;
    border-radius: 10px;
  }
  .official-product-img {
    height: 100px;
    border-radius: 8px;
    margin-bottom: 6px;
  }
  .official-product-title {
    font-size: 0.74rem;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .official-shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .official-product-tile {
    padding: 6px;
  }
  .official-product-img {
    height: 85px;
  }
  .official-product-title {
    font-size: 0.68rem;
  }
}

/* ============================================================
   DETAILED MEMBER PROFILE MODAL (.fb-profile-modal)
   Fixes top clipping of avatar and modal content on mobile screens
   ============================================================ */
.fb-profile-modal {
  background: #111827;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.15);
  position: relative;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.fb-profile-header {
  position: relative;
  background: linear-gradient(180deg, #1f293d 0%, #111827 100%);
  padding: 32px 20px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fb-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.fb-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
}

.fb-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-top: 4px;
  margin-bottom: 14px;
}

.fb-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f59e0b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 158, 11, 0.4);
  background: #1e293b;
  color: #f59e0b;
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.fb-admin-badge {
  position: absolute;
  bottom: -4px;
  right: 50%;
  transform: translateX(50%);
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  border: 1.5px solid #111827;
  white-space: nowrap;
}

.fb-header-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.fb-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fb-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  line-height: 1.25;
}

.fb-bts-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.5);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.fb-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.fb-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fb-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.vehicle-showcase-card {
  background: #1a2336;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.vehicle-showcase-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #0f172a;
}

.vehicle-showcase-caption {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
}

.safari-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.safari-badge-lg {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
}

@media (max-width: 480px) {
  .fb-profile-modal {
    width: 94%;
    max-height: 90vh;
    border-radius: 16px;
  }
  .fb-profile-header {
    padding: 28px 16px 16px;
  }
  .fb-avatar {
    width: 76px;
    height: 76px;
    font-size: 1.9rem;
    border-width: 2.5px;
  }
  .fb-name {
    font-size: 1.2rem;
  }
  .fb-body {
    padding: 16px 14px;
  }
  .vehicle-showcase-img {
    height: 170px;
  }
}

/* ============================================================
   FIRST-TIME SETUP PHOTO UPLOADS SYSTEM
   ============================================================ */
.photo-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

@media (max-width: 580px) {
  .photo-upload-grid {
    grid-template-columns: 1fr;
  }
}

.upload-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 2px dashed rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s ease;
}

.upload-card:hover {
  border-color: rgba(245, 158, 11, 0.8);
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-2px);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}

.upload-placeholder svg {
  color: #f59e0b;
}

.photo-preview {
  width: 100%;
  height: 100%;
  max-height: 160px;
  object-fit: cover;
  display: none;
  border-radius: 10px;
}

.photo-preview.active {
  display: block;
}

/* ============================================================
   BIRTHDAY WISH MODAL STYLES (FESTIVE, LUXURY & ANIMATED)
   ============================================================ */
.bday-modal-card {
  max-width: 520px;
  width: 92%;
  background: linear-gradient(145deg, #131d31 0%, #0c1322 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.2);
  overflow: hidden;
}

.bday-modal-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: pulseBdayGlow 6s infinite alternate ease-in-out;
}

@keyframes pulseBdayGlow {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 1; }
}

.bday-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.bday-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
}

.bday-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
}

.bday-crown-icon {
  position: absolute;
  top: -16px;
  right: -6px;
  font-size: 2rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  animation: bounceCrown 2s infinite ease-in-out;
}

@keyframes bounceCrown {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-6px) rotate(18deg); }
}

.bday-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #f59e0b 60%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  line-height: 1.2;
}

.bday-subtext {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bday-family-tag {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #10b981;
  margin-top: 14px;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.bday-others-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.bday-others-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #38bdf8;
  flex-shrink: 0;
}

.bday-others-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #f8fafc;
  margin-bottom: 2px;
}

.bday-others-details {
  font-size: 0.8rem;
  color: #94a3b8;
}

.bday-btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* ============================================================
   PASSWORD EYE TOGGLE STYLES
   ============================================================ */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrap input {
  padding-right: 44px !important;
  width: 100%;
}

.password-toggle-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  z-index: 5;
}

.password-toggle-btn:hover {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
}

.nav-auth-link.profile-link {
  color: #f59e0b !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.nav-auth-link.profile-link:hover {
  color: #fbbf24 !important;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}
.nav-user-area {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-profile-btn.sleek {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 30px;
  padding: 5px 14px 5px 6px;
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.nav-profile-btn.sleek:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.nav-profile-btn.sleek:hover .nav-avatar-img {
  border-color: #000;
}

.nav-profile-btn.sleek:hover .nav-profile-text,
.nav-profile-btn.sleek:hover .nav-profile-icon {
  color: #000;
}

.nav-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f59e0b;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.nav-profile-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #f59e0b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-profile-icon {
  color: #f59e0b;
  transition: color 0.2s ease;
}

/* ============================================================
   FACEBOOK-STYLE PROFILE HEADER BANNER & PHOTO MENU
   ============================================================ */
.fb-profile-header-banner {
  position: relative;
  width: 100%;
  margin-bottom: 70px; /* Space for overlapping avatar */
  border-radius: 16px;
  overflow: visible;
  background: #0f172a;
}

.fb-cover-photo-container {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.fb-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fb-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.fb-cover-placeholder svg {
  color: #f59e0b;
}

/* 3-DOTS MENU & BUTTONS FOR COVER PHOTO */
.fb-photo-menu-dropdown {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
}

.fb-photo-menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #f8fafc;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.fb-photo-menu-btn:hover {
  background: #f59e0b;
  color: #000;
  border-color: #f59e0b;
}

.fb-photo-menu-options {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 6px;
  width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 50;
  animation: fadeInDown 0.2s ease;
}

.fb-photo-menu-options.avatar-menu-pos {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  margin-top: 12px;
}

.fb-photo-menu-options button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.fb-photo-menu-options button:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

/* AVATAR CONTAINER & OVERLAY */
.fb-avatar-container {
  position: absolute;
  bottom: -50px;
  left: 24px;
  z-index: 30;
}

.fb-avatar-ring {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #0f172a;
  border: 4px solid #0f172a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.3);
}

.fb-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.fb-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.fb-avatar-cam-btn {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f59e0b;
  color: #000;
  border: 3px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.fb-avatar-cam-btn:hover {
  transform: scale(1.1);
  background: #fbbf24;
}

/* LIGHTBOX PHOTO VIEWER */
.photo-viewer-overlay {
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.92) !important;
  backdrop-filter: blur(10px);
}

.photo-viewer-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.photo-viewer-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #fff;
  font-size: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.photo-viewer-header {
  color: #f59e0b;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.photo-viewer-body img {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* ============================================================
   CLUB LEADERSHIP & ADMIN PANEL SECTION (WEBSITE BOTTOM)
   ============================================================ */
.admin-panel-section {
  padding: 65px 20px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(10, 15, 26, 0.95) 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
}

.admin-panel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.admin-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  max-width: 1160px;
  margin: 36px auto 0;
  justify-content: center;
}

.admin-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 28px 18px 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.admin-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.2);
  background: #243247;
}

.admin-card.founder-card {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(145deg, #1e293b 0%, #261f14 100%);
}

.admin-avatar-wrap {
  position: relative;
  width: 125px;
  height: 125px;
  margin-bottom: 18px;
}

.admin-avatar-img {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f59e0b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.admin-card:hover .admin-avatar-img {
  transform: scale(1.05);
}

.sketch-avatar {
  background: radial-gradient(circle at center, #262e3d 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px dashed #f59e0b !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3) !important;
}

.role-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.founder-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  border: 1px solid #fbbf24;
}

.exec-badge {
  background: #3b82f6;
  color: #fff;
  border: 1px solid #60a5fa;
}

.media-badge {
  background: #ec4899;
  color: #fff;
  border: 1px solid #f472b6;
}

.assoc-badge {
  background: #10b981;
  color: #fff;
  border: 1px solid #34d399;
}

.admin-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin-top: 6px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.admin-role-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f59e0b;
  line-height: 1.3;
}





