/* =========================================================
   NYSFTD — Global Styles
   ========================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --yellow: #f5c518;
  --yellow-dark: #d4a900;
  --dark: #0d0d0d;
  --dark-2: #1a1a1a;
  --dark-3: #222;
  --mid: #3a3a3a;
  --light-gray: #f4f4f4;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #444;
  --text-light: #e0e0e0;
  --shadow: 0 4px 24px rgba(0,0,0,0.14);
  --radius: 8px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --header-h: 104px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

/* ---- UTILITY ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
  position: relative;
  overflow: hidden;
}
.btn-yellow::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-yellow:hover::after { animation: btnShine 0.55s ease forwards; }
@keyframes btnShine { to { left: 130%; } }
.btn-dark { background: var(--dark-2); color: var(--white); }
.btn-dark:hover { background: var(--mid); }

/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  height: var(--header-h);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { width: 54px; height: 54px; object-fit: contain; }

/* Parking bar */
.header-parking {
  background: rgba(245,197,24,0.10);
  border-top: 1px solid rgba(245,197,24,0.18);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}
.header-parking-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.header-parking-link:hover {
  color: var(--yellow);
  background: rgba(245,197,24,0.08);
}
.header-parking-label {
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 3px;
}
.header-parking-addr { opacity: 0.85; }
@media (max-width: 480px) {
  .header-parking-addr { display: none; }
  .header { --header-h: 104px; }
}

/* NAV */
.nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--yellow);
  background: rgba(245,197,24,0.08);
}
/* Animated underline on non-CTA nav links */
.nav-link:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.nav-link:not(.nav-cta):hover::after { transform: scaleX(1); }

/* ----- Nav dropdown (EL PLAY SOFTBALL) ----- */
.nav-has-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #181818;
  border: 1px solid rgba(245,197,24,0.22);
  border-radius: 8px;
  list-style: none;
  min-width: 172px;
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}
.nav-has-dropdown:hover .nav-dropdown-menu,
.nav-has-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}
.nav-dropdown-item:hover {
  color: var(--yellow);
  background: rgba(245,197,24,0.08);
}
/* Suppress underline animation on the dropdown trigger */
.nav-has-dropdown > a.nav-link:not(.nav-cta)::after {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- SECTIONS ---- */
.section {
  padding: 80px 0;
}
.section-light { background: var(--light-gray); }
.section-dark { background: var(--dark-2); color: var(--white); }
.section-yellow { background: var(--yellow); color: var(--dark); }

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  position: relative;
  color: var(--text-dark);
}
.section-title::after {
  content: '';
  display: block;
  margin-top: 10px;
  width: 56px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.section-title.visible::after { transform: scaleX(1); }
.section-title.light { color: var(--white); }
.section-title.light::after { background: var(--yellow); }
.section-title.dark { color: var(--dark); }
.section-title.dark::after { background: var(--dark); }
.section-title.left { text-align: left; }

.section-sub {
  max-width: 780px;
  margin: -20px auto 48px;
  text-align: center;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---- HERO ---- */
.hero {
  min-height: calc(100vh - var(--header-h));
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.72);
  z-index: 1;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://static.wixstatic.com/media/3de861_6ce4d6524dc74218ae302b9b288097f2~mv2.jpg/v1/fill/w_1400,h_900,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/car-overtaking-another-vehicle-on-the-road-2024-07-16-19-57-24-utc.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.3;
  animation: heroBgPan 20s ease-in-out infinite alternate;
}
@keyframes heroBgPan {
  0%   { background-position: center 35%; }
  100% { background-position: center 65%; }
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 760px;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.6));
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
  text-align: center;
}
.hero-image-col {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Animated logo */
.hero-logo-anim {
  position: relative;
  width: 1100px;
  height: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-anim-img {
  width: 1000px;
  height: 1000px;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  opacity: 0.42;
  animation: heroBob 4s ease-in-out infinite;
  filter: drop-shadow(0 0 80px rgba(245,197,24,0.55));
}
@keyframes heroBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}
@keyframes floatBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  animation: heroRingPulse 3s ease-out infinite;
  opacity: 0;
}
.hero-logo-ring-1 { width: 1020px; height: 1020px; animation-delay: 0s; }
.hero-logo-ring-2 { width: 1060px; height: 1060px; animation-delay: 0.8s; }
.hero-logo-ring-3 { width: 1100px; height: 1100px; animation-delay: 1.6s; }
@keyframes heroRingPulse {
  0%   { transform: scale(0.75); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text p { margin-bottom: 16px; color: var(--text-mid); font-size: 1rem; }
.about-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 340px;
}

/* ---- MISSION ---- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.mission-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 20px;
}
.mission-list {
  padding-left: 20px;
  margin-bottom: 24px;
}
.mission-list li {
  margin-bottom: 12px;
  color: var(--text-light);
}
.mission-text p { color: var(--text-light); margin-bottom: 12px; }
.mission-quote {
  font-style: italic;
  color: var(--yellow) !important;
  border-left: 3px solid var(--yellow);
  padding-left: 16px;
  margin-top: 24px !important;
}
.mission-img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  height: 380px;
  box-shadow: var(--shadow);
}

/* ---- BENEFITS ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.benefit-card {
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-icon {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}
.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--dark);
}
.benefit-card p { color: var(--dark); font-size: 0.95rem; }

/* ---- WE PROVIDE ---- */
.provide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.provide-img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  height: 360px;
  box-shadow: var(--shadow);
}
.provide-text { display: flex; flex-direction: column; gap: 24px; }
.provide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.provide-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text-mid);
  font-size: 1rem;
}
.provide-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---- OUR WORK ---- */
.work-feature {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.work-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}
.work-text h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--yellow);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.work-text p { color: var(--text-light); margin-bottom: 12px; }
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.work-gallery-img:hover { transform: scale(1.02); }

/* ---- TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.16);
}
.team-card > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.42s ease;
}
.team-card:hover > img { transform: scale(1.07); }
.team-info {
  padding: 20px 20px 24px;
}
.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.team-role {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--yellow-dark);
  margin-bottom: 12px;
}
.team-info p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: flex-start;
}
.contact-info .section-title { margin-bottom: 24px; }
.contact-phone {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 8px;
}
.contact-address, .contact-hours {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 6px;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}
.social-link {
  color: var(--text-light);
  transition: color 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
}
.social-link:hover { color: var(--yellow); transform: translateY(-2px); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; color: var(--text-light); font-weight: 600; }
.form-group .required { color: var(--yellow); }
.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid #444;
  background: #2a2a2a;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: #1f1f1f;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #666; }
.form-success {
  color: var(--yellow);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  padding: 24px;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  color: var(--text-light);
  padding-top: 60px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-logo { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; margin-top: 2px; }
.footer-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--white); }
.footer-tagline { font-size: 0.85rem; color: #888; }
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-contact p { color: #888; font-size: 0.88rem; margin-bottom: 6px; }
.footer-socials { display: flex; gap: 14px; margin-top: 16px; }
.footer-socials a { color: #888; transition: color 0.2s, transform 0.15s; }
.footer-socials a:hover { color: var(--yellow); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  text-align: center;
  padding: 20px 24px;
  font-size: 0.83rem;
  color: #555;
}

/* ================================
   DRIVE PAGE (drive.html)
   ================================ */
.drive-hero {
  background: var(--dark);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.drive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://static.wixstatic.com/media/3de861_31c61e1e3f2848af98fd2378287d1007~mv2.jpg/v1/fill/w_1400,h_800,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/yellow-taxi-2023-11-27-04-51-39-utc.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.drive-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.drive-hero-inner h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}
.drive-hero-inner h1 span { color: var(--yellow); }
.drive-hero-inner .subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 32px;
}
.drive-benefits {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 40px;
  text-align: left;
}
.drive-benefits li {
  color: var(--text-light);
  font-size: 1rem;
  padding-left: 28px;
  position: relative;
}
.drive-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

.drive-form-section {
  background: var(--light-gray);
  padding: 80px 24px;
}
.drive-form-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.drive-form-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 32px;
}
.drive-form { display: flex; flex-direction: column; gap: 18px; }
.drive-form .form-group label { color: var(--text-dark); }
.drive-form input,
.drive-form select {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.drive-form input:focus,
.drive-form select:focus {
  outline: none;
  border-color: var(--yellow-dark);
}
.drive-form select { appearance: none; cursor: pointer; }
.drive-note {
  font-size: 0.82rem;
  color: #888;
  text-align: center;
  margin-top: 8px;
}

/* ================================
   NEWS PAGE
   ================================ */
.news-hero {
  background: var(--dark);
  padding: 80px 24px 60px;
  text-align: center;
}
.news-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
}
.news-hero h1 span { color: var(--yellow); }

.news-section { padding: 60px 0 80px; background: var(--light-gray); }
.news-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: 20px;
  border: 2px solid #ccc;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  color: var(--text-mid);
  transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--yellow);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.13); }
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.news-date { font-size: 0.8rem; color: #888; font-weight: 600; }
.news-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}
.news-card-body p { font-size: 0.92rem; color: var(--text-mid); flex: 1; }
.news-read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--yellow-dark);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
.news-read-more:hover { color: var(--dark); }

/* ================================
   GALLERY PAGE
   ================================ */
.gallery-hero {
  background: var(--dark);
  padding: 80px 24px 60px;
  text-align: center;
}
.gallery-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
}
.gallery-hero h1 span { color: var(--yellow); }

.gallery-section { padding: 60px 0 80px; background: var(--light-gray); }

/* Gallery album filter buttons */
.gallery-filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--yellow);
  background: transparent;
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.gallery-filter-btn:hover { background: rgba(253, 185, 39, .15); }
.gallery-filter-btn.active {
  background: var(--yellow);
  color: var(--dark);
}

.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s, opacity 0.2s;
}
.gallery-item:hover img { transform: scale(1.03); opacity: 0.9; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.4rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--yellow); }

/* ================================
   SOFTBALL TOURNAMENT PAGE
   ================================ */
.softball-hero {
  background: linear-gradient(135deg, #0d2c1a 0%, #1a1a1a 100%);
  padding: 90px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.softball-hero::before {
  content: '⚾';
  position: absolute;
  font-size: 28rem;
  opacity: 0.04;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}
.softball-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.softball-hero h1 span { color: var(--yellow); }
.softball-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* ── Live Stream ── */
.livestream-section {
  background: linear-gradient(135deg, #1a0a0a 0%, #111 50%, #0a0a1a 100%);
  padding: 48px 0;
  border-bottom: 2px solid rgba(239, 68, 68, 0.25);
}
.livestream-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.livestream-badge {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .08em;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  animation: live-pulse 2s ease-in-out infinite;
}
.livestream-badge.on-demand {
  background: var(--yellow);
  color: #111;
  animation: none;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}
.livestream-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}
.livestream-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(239, 68, 68, 0.2);
}
.livestream-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}
.livestream-caption {
  color: rgba(255,255,255,0.55);
  font-size: .9rem;
  margin-top: 16px;
  display: none;
}

.softball-tabs-section {
  background: var(--dark-2);
  border-bottom: 2px solid rgba(245,197,24,0.15);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}
.softball-tabs {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}
.softball-tab-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
  bottom: -2px;
}
.softball-tab-btn:hover { color: var(--white); }
.softball-tab-btn.active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
.softball-content {
  background: var(--light-gray);
  padding: 60px 0 80px;
}
.softball-panel { display: none; }
.softball-panel.active { display: block; }
.softball-article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}
.softball-article h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.softball-article .article-meta {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 24px;
  font-weight: 600;
}
.softball-article p {
  color: var(--text-mid);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 16px;
}
.softball-article p:last-child { margin-bottom: 0; }
.softball-photos-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.softball-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.softball-photo-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #e2f0e2;
  position: relative;
}
.softball-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, opacity 0.2s;
}
.softball-photo-item:hover img { transform: scale(1.04); opacity: 0.9; }
.softball-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  color: #388e3c;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  gap: 10px;
  text-transform: uppercase;
}
.softball-coming-soon {
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.softball-coming-soon .cs-icon { font-size: 3.5rem; margin-bottom: 16px; }
.softball-coming-soon h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.softball-coming-soon p { color: var(--text-mid); font-size: 0.95rem; }

/* ================================
   PUBLIC BRACKET DISPLAY
   ================================ */
.sb-bracket-wrap { margin: 40px 0; }
.sb-champion-banner {
  text-align: center;
  padding: 16px 24px;
  background: linear-gradient(90deg, #1a2e0a, #0d1f07);
  border-radius: 10px;
  margin-bottom: 24px;
  border: 1px solid rgba(245, 197, 24, 0.3);
  font-family: var(--font-heading);
}
.sb-champion-banner strong { color: var(--yellow); font-size: 1.2rem; }
.sb-champion-banner span   { color: #888; font-size: .9rem; }
.sb-bracket-scroll {
  overflow-x: auto;
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
}
.sb-round-col {
  min-width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sb-round-name {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 8px 0;
  border-bottom: 2px solid rgba(245, 197, 24, 0.2);
  margin-bottom: 4px;
  white-space: nowrap;
}
.sb-match {
  background: var(--white);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  border: 1px solid #e5e5e5;
}
.sb-match-done { border-color: rgba(74, 222, 128, 0.3); }
.sb-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
}
.sb-team-name {
  font-size: .82rem;
  color: var(--text-dark);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-team-win .sb-team-name { color: #166534; font-weight: 700; }
.sb-team-loss .sb-team-name { color: #aaa; }
.sb-score {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 24px;
  text-align: right;
}
.sb-team-win .sb-score { color: #166534; }
.sb-vs { font-size: .68rem; color: #aaa; text-align: center; font-family: var(--font-heading); letter-spacing: .05em; }
.sb-trophy { font-size: .85rem; }
.softball-tab-btn {
  background: var(--white);
  border: 2px solid var(--yellow);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.softball-tab-btn:hover,
.softball-tab-btn.active {
  background: var(--yellow);
  color: var(--dark);
}

/* ================================
   GALA PAGE
   ================================ */
.gala-hero {
  background: linear-gradient(135deg, #0d1117 0%, #1a1400 50%, #0d1117 100%);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid rgba(245, 197, 24, 0.25);
}
.gala-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(245, 197, 24, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.gala-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.gala-hero-badge {
  display: inline-block;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.gala-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.gala-hero h1 span { color: var(--yellow); }
.gala-hero p { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* Gala tabs */
.gala-tabs-section {
  background: var(--dark);
  border-bottom: 1px solid rgba(245,197,24,0.15);
  padding: 0 24px;
  display: flex;
  justify-content: center;
}
.gala-tabs { display: flex; gap: 4px; }
.gala-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255,255,255,.5);
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  padding: 18px 28px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.gala-tab-btn:hover { color: rgba(255,255,255,.85); }
.gala-tab-btn.active { color: var(--yellow); border-bottom-color: var(--yellow); }

/* Gala Content */
.gala-content { padding: 60px 0 80px; background: var(--light-gray); }
.gala-panel { display: none; }
.gala-panel.active { display: block; }

.gala-year-header { text-align: center; margin-bottom: 40px; }
.gala-year-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.gala-year-badge.past   { background: rgba(74,222,128,.12); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.gala-year-badge.upcoming { background: rgba(245,197,24,.12); color: var(--yellow); border: 1px solid rgba(245,197,24,.3); }
.gala-year-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.gala-year-sub { color: var(--text-mid); font-size: 1rem; }

/* Detail cards */
.gala-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.gala-detail-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #e5e5e5;
  box-shadow: var(--shadow);
}
.gala-detail-card.upcoming { border-color: rgba(245,197,24,.2); }
.gala-detail-icon { font-size: 1.8rem; flex-shrink: 0; }
.gala-detail-card strong { display: block; font-family: var(--font-heading); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 4px; }
.gala-detail-card span { font-size: .95rem; color: var(--text-dark); font-weight: 600; }

/* Gala article */
.gala-article {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  border: 1px solid #e5e5e5;
}
.gala-article h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.gala-article p { color: var(--text-mid); line-height: 1.75; margin-bottom: 12px; }
.gala-article p:last-child { margin-bottom: 0; }

/* Upcoming banner */
.gala-upcoming-banner {
  background: linear-gradient(135deg, #1a1400, #0d1117);
  border: 1px solid rgba(245,197,24,.25);
  border-radius: 14px;
  padding: 36px 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  color: #fff;
}
.gala-upcoming-icon { font-size: 2.8rem; flex-shrink: 0; }
.gala-upcoming-banner h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--yellow); margin-bottom: 10px; }
.gala-upcoming-banner p { color: rgba(255,255,255,.7); line-height: 1.7; }

/* Notify box */
.gala-notify-box {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: var(--shadow);
  border: 1px solid #e5e5e5;
  text-align: center;
}
.gala-notify-box h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.gala-notify-box p { color: var(--text-mid); margin-bottom: 24px; }
.gala-notify-socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gala-social-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.gala-social-btn:hover { opacity: .85; transform: translateY(-2px); }
.gala-social-btn.facebook  { background: #1877f2; color: #fff; }
.gala-social-btn.instagram { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); color: #fff; }
.gala-social-btn.tiktok    { background: #010101; color: #fff; }

/* Photos coming soon reuse */
.gala-photos-coming-soon {
  background: var(--white);
  border-radius: 14px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
  border: 1px solid #e5e5e5;
  text-align: center;
}
.gala-photos-coming-soon .cs-icon { font-size: 2.5rem; margin-bottom: 12px; }
.gala-photos-coming-soon h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.gala-photos-coming-soon p { color: var(--text-mid); font-size: .95rem; }

@media (max-width: 600px) {
  .gala-upcoming-banner { flex-direction: column; gap: 14px; padding: 24px; }
  .gala-article, .gala-notify-box { padding: 24px; }
}

/* ================================
   BATHROOMS PAGE
   ================================ */
.bathrooms-section { padding: 80px 0; background: var(--light-gray); }
.bathrooms-intro { max-width: 720px; margin-bottom: 40px; }
.bathrooms-intro h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.bathrooms-intro p { color: var(--text-mid); font-size: 1rem; }
.bathrooms-table-wrap { overflow-x: auto; }
.bathrooms-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}
.bathrooms-table th {
  background: var(--dark);
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
}
.bathrooms-table td { padding: 12px 16px; border-bottom: 1px solid #eee; color: var(--text-mid); }
.bathrooms-table tr:last-child td { border-bottom: none; }
.bathrooms-table tr:hover td { background: #fafafa; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-green { background: #d4f0dc; color: #166534; }
.badge-yellow { background: #fef3c7; color: #92400e; }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 900px) {
  .hero-image-col { display: flex; }
  .hero-content { padding: 60px 24px; max-width: 100%; }

  .about-grid,
  .mission-grid,
  .provide-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img-col img,
  .mission-img-col img,
  .provide-img-col img { height: 260px; }

  .benefits-grid { grid-template-columns: 1fr; gap: 24px; }
  .work-gallery { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .gallery-masonry { columns: 2; }
  .softball-photo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  /* Dropdown: expand inline in mobile menu */
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(245,197,24,0.25);
    border-radius: 0;
    background: transparent;
    margin-left: 16px;
    padding: 2px 0;
    min-width: unset;
  }
  .nav-dropdown-item { padding: 8px 16px; }
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--dark-2);
    padding: 16px 0 20px;
    gap: 2px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 999;
  }
  .nav-list.open { display: flex; }
  .nav-link { padding: 12px 24px; font-size: 0.88rem; }

  .section { padding: 56px 0; }
  .section-title { font-size: 1.5rem; }
  .team-grid { grid-template-columns: 1fr; }
  .work-gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .gallery-masonry { columns: 1; }
  .news-grid { grid-template-columns: 1fr; }
  .softball-photo-grid { grid-template-columns: 1fr; }
  .softball-article { padding: 24px 20px; }
  .softball-tab-btn { padding: 14px 20px; font-size: 0.8rem; }
}

/* ================================================================
   CONVERSION / ENGAGEMENT ADDITIONS
   ================================================================ */

/* ---- Button extras ---- */
.btn-lg  { padding: 16px 42px; font-size: 1rem; }
.btn-xl  { padding: 18px 52px; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; }
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ---- Nav CTA button ---- */
.nav-cta {
  background: var(--yellow) !important;
  color: var(--dark) !important;
  border-radius: var(--radius) !important;
  padding: 8px 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  border: none;
}
.nav-cta:hover { background: var(--yellow-dark) !important; transform: translateY(-1px); }

/* ---- Floating mobile Join button ---- */
.float-join-btn {
  display: none;
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 999;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 13px 24px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0,0,0,0.36);
  transition: transform 0.2s, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.float-join-btn.visible {
  opacity: 1;
  pointer-events: auto;
  animation: floatBob 2.8s ease-in-out 1.2s infinite;
}
.float-join-btn:hover {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.05);
  background: var(--yellow-dark);
}
@media (max-width: 680px) { .float-join-btn { display: flex; align-items: center; } }

/* ---- Section label (small caps above heading) ---- */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 10px;
}
.section-label.light { color: var(--yellow); }
.section-label.dark-label { color: var(--text-mid); }

/* ---- section-title centered ---- */
.section-title.centered { text-align: center; }
.section-title.centered::after { margin-left: auto; margin-right: auto; transform-origin: center center; }

/* ---- Hero enhancements ---- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,0.13);
  border: 1px solid rgba(245,197,24,0.35);
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 24px;
  margin-bottom: 22px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--white);
  text-transform: none;
}
.hero-title-accent { color: var(--yellow); }
.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 30px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  justify-content: center;
}
.hero-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}
.hero-trust span { display: flex; align-items: center; gap: 4px; }

/* ---- Stats bar ---- */
.stats-bar {
  background: var(--dark);
  border-top: 3px solid var(--yellow);
  padding: 32px 24px;
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stat-plus { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.stat-dollar { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.15); }
@media (max-width: 680px) {
  .stats-inner { gap: 20px; }
  .stat-divider { display: none; }
}

/* ---- Why Join grid ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(0,0,0,0.14); }
@keyframes iconBounce {
  0%   { transform: scale(1) rotate(0deg); }
  35%  { transform: scale(1.22) rotate(-10deg); }
  70%  { transform: scale(0.94) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.why-card:hover .why-icon { animation: iconBounce 0.5s ease; }
.why-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #fff8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
}
.why-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }
.why-value {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yellow-dark);
  margin-top: 4px;
  padding: 4px 10px;
  background: #fff8e0;
  border-radius: 4px;
  align-self: flex-start;
}

/* ---- About section: achievement badge ---- */
.about-achievement-stack { position: relative; display: inline-block; }
.about-img { width: 100%; border-radius: 12px; display: block; }
.achievement-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.achievement-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.achievement-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.about-text a.btn { display: inline-block; }

/* ---- Mission section ---- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .mission-grid { grid-template-columns: 1fr; gap: 36px; } }
.mission-img { width: 100%; border-radius: 12px; object-fit: cover; height: 400px; }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px; height: 42px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--white); font-size: 0.9rem; }
.testimonial-author span  { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* ---- Join Form section ---- */
.join-section { background: var(--light-gray); }
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; gap: 36px; } }

.join-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.15;
}
.join-lead { color: var(--text-mid); font-size: 1rem; margin-bottom: 24px; }
.join-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 8px;
}
.join-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.perk-check {
  color: var(--yellow-dark);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1.6;
}

.join-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8e0;
  border: 1.5px solid var(--yellow-dark);
  color: var(--yellow-dark);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: 18px;
}

.join-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

/* ---- Plan toggle ---- */
.plan-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f0f0f0;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 20px;
}
.plan-toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 8px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #777;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}
.plan-toggle-btn.active {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.plan-toggle-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}
.plan-toggle-btn:not(.active) .plan-toggle-price { color: #999; }
.plan-toggle-badge {
  position: absolute;
  top: -10px;
  right: -6px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ---- Plan detail row ---- */
.plan-detail {
  text-align: center;
  padding: 14px 0 4px;
  border-bottom: 1px solid #eee;
  margin-bottom: 4px;
  animation: planFadeIn 0.2s ease;
}
@keyframes planFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.plan-detail-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
}
.plan-detail-price span {
  font-size: 1rem;
  font-weight: 600;
  color: #888;
  margin-left: 2px;
}
.plan-detail-line {
  font-size: 0.78rem;
  color: #999;
  margin-top: 4px;
}
.join-form { display: flex; flex-direction: column; gap: 14px; }
.join-form input,
.join-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  appearance: none;
}
.join-form input:focus,
.join-form select:focus { outline: none; border-color: var(--yellow-dark); }
.join-disclaimer {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 4px;
  line-height: 1.5;
}
.form-success-join {
  text-align: center;
  padding: 24px 0;
}
.success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success-join h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-success-join p { color: var(--text-mid); font-size: 0.95rem; }

/* ---- Benefits section: section-label in yellow bg ---- */
.section-yellow .section-label { color: rgba(0,0,0,0.45); }
.benefits-grid { margin-top: 12px; }

/* ---- Stripe trust row (join form) ---- */
.join-form-sub {
  font-size: 0.88rem;
  color: #777;
  margin: 0 0 16px;
  line-height: 1.5;
}
.stripe-trust-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #999;
  margin: 12px 0 6px;
  line-height: 1.5;
}
.stripe-trust-row strong { color: #6772e5; }

/* ---- Subscription tab styles ---- */
.payment-success-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #0f3d1f;
  border: 1.5px solid #22c55e;
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 28px;
  color: #fff;
}
.paysuccess-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.subscription-card {
  background: var(--dark-2);
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 680px;
  margin: 0 auto;
}
.sub-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sub-status-badge {
  background: #0f3d1f;
  color: #22c55e;
  border: 1px solid #22c55e;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.sub-status-inactive {
  background: #2a1a1a;
  color: #ef4444;
  border-color: #ef4444;
}
.sub-plan-label {
  font-size: 0.95rem;
  color: #ccc;
  font-weight: 600;
}
.sub-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #2a2a2a;
  text-align: center;
}
.sub-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sub-detail-value {
  font-size: 0.97rem;
  font-weight: 600;
  color: #eee;
}
.sub-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sub-note { font-size: 0.75rem; color: #666; margin: 0; }
.sub-inactive-card { border-color: #2a1a1a; }

/* ---- Provide section additions ---- */
.provide-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.coming-soon-tag { color: var(--yellow-dark); }

/* ---- CTA band ---- */
.cta-band {
  background: var(--dark-2);
  padding: 30px 24px;
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
}
.cta-band-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 400;
}
.cta-band-text strong { color: var(--yellow); font-weight: 800; }
@media (max-width: 680px) { .cta-band-inner { flex-direction: column; text-align: center; } }

/* ---- Final CTA section ---- */
.final-cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 100px 24px;
  text-align: center;
  border-top: 4px solid var(--yellow);
}
.final-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.final-cta-logo {
  width: 90px; height: 90px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  padding: 6px;
  background: rgba(255,255,255,0.04);
}
.final-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.final-cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 540px;
}
.final-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---- Scroll fade-in animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Directional variants */
.fade-in-left {
  opacity: 0;
  transform: translateX(-42px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-right {
  opacity: 0;
  transform: translateX(42px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ================================================================
   MOBILE OPTIMIZATIONS
   ================================================================ */

/* Prevent horizontal scroll globally */
html, body { overflow-x: hidden; }

/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-anim-img { animation: none !important; }
  .hero-logo-ring     { animation: none !important; }
  .hero-badge-dot     { animation: none !important; }
  .hero::before       { animation: none !important; }
  .float-join-btn     { animation: none !important; }
  .btn-yellow::after  { display: none; }
  .fade-in            { opacity: 1; transform: none; transition: none; }
  .fade-in-left,
  .fade-in-right      { opacity: 1; transform: none; transition: none; }
  .section-title::after { transform: scaleX(1); transition: none; }
}

/* -- Tablet (≤ 900px): scale logo down, fix badge, stack work row -- */
@media (max-width: 900px) {
  /* Hero animated logo: scale to ~70% of viewport */
  .hero-logo-anim {
    width: min(80vw, 640px);
    height: min(80vw, 640px);
  }
  .hero-logo-anim-img {
    width: min(70vw, 560px);
    height: min(70vw, 560px);
  }
  .hero-logo-ring-1 { width: min(74vw, 580px); height: min(74vw, 580px); }
  .hero-logo-ring-2 { width: min(78vw, 610px); height: min(78vw, 610px); }
  .hero-logo-ring-3 { width: min(83vw, 640px); height: min(83vw, 640px); }

  /* Achievement badge: keep inside image bounds */
  .achievement-badge { right: 14px; bottom: 14px; }

  /* Work feature: stack vertically */
  .work-feature { flex-direction: column; gap: 20px; }
  .work-logo    { width: 64px; height: 64px; }

  /* Mission image shorter */
  .mission-img { height: 280px; }
}

/* -- Mobile (≤ 680px): hero, forms, sections -- */
@media (max-width: 680px) {
  /* Hero content */
  .hero-content  { padding: 40px 20px; gap: 14px; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-badge    { font-size: 0.74rem; padding: 6px 12px; margin-bottom: 12px; }

  /* Hero CTAs: full-width stacked buttons */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-ctas .btn { text-align: center; }

  /* Hero trust: tighter */
  .hero-trust { gap: 8px; font-size: 0.72rem; }

  /* Hero logo: viewport-sized */
  .hero-logo-anim {
    width: 100vw;
    height: 100vw;
  }
  .hero-logo-anim-img {
    width: 90vw;
    height: 90vw;
    opacity: 0.28;
  }
  .hero-logo-ring-1 { width: 93vw;  height: 93vw; }
  .hero-logo-ring-2 { width: 97vw;  height: 97vw; }
  .hero-logo-ring-3 { width: 101vw; height: 101vw; }

  /* Stats bar */
  .stats-bar { padding: 24px 16px; }

  /* Join section */
  .join-title     { font-size: 1.5rem; }
  .join-form-card { padding: 24px 18px; }

  /* Final CTA */
  .final-cta-section { padding: 60px 20px; }

  /* Mission image */
  .mission-img { height: 220px; }

  /* About images */
  .about-img-col img,
  .provide-img-col img { height: 220px; }
}

/* -- Small mobile (≤ 480px): tightest layout -- */
@media (max-width: 480px) {
  /* Stats: 2 × 2 grid */
  .stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 16px 8px;
  }

  /* Hero trust: stack vertically */
  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  /* Sections tighter */
  .section           { padding: 44px 0; }
  .final-cta-section { padding: 52px 16px; }

  /* Join form card tightest */
  .join-form-card { padding: 20px 16px; }

  /* Slightly smaller large buttons */
  .btn-xl { padding: 14px 28px; font-size: 0.9rem; }
  .btn-lg { padding: 13px 24px; font-size: 0.9rem; }

  /* Section title a touch smaller */
  .section-title { font-size: 1.35rem; }

  /* CTA band text */
  .cta-band-text { font-size: 0.95rem; }
}

/* ---- Context overrides (bg-swap fixes) ---- */
/* About section is now dark — lighten paragraph text */
.section-dark .about-text p { color: rgba(255,255,255,0.78); }
/* Mission section is now light — darken text that was styled for dark bg */
.section-light .mission-list li  { color: var(--text-mid); }
.section-light .mission-text p   { color: var(--text-mid); }
.section-light .mission-quote    { color: var(--text-dark) !important; border-left-color: var(--yellow-dark); }
/* hero-title: new version should NOT be uppercase */
.hero-title { text-transform: none !important; }
/* section-sub in dark context */
.section-dark .section-sub { color: rgba(255,255,255,0.65); margin-bottom: 36px; }


/* =========================================================
   MEMBER PORTAL & LOGIN — Styles
   ========================================================= */

/* ---- Nav Member Login button ---- */
.nav-member {
  background: transparent !important;
  color: var(--yellow) !important;
  border: 1.5px solid var(--yellow) !important;
  border-radius: var(--radius) !important;
  padding: 7px 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  transition: background 0.18s, color 0.18s !important;
}
.nav-member:hover,
.nav-member-active { background: var(--yellow) !important; color: var(--dark) !important; }

/* ---- Login Page Layout ---- */
.login-page {
  min-height: calc(100vh - var(--header-h));
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.login-container {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.login-logo-wrap { text-align: center; }
.login-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--yellow), 0 0 32px rgba(245,197,24,0.3);
}
.login-card {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 16px;
  padding: 36px 36px 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.login-header { text-align: center; margin-bottom: 28px; }
.login-badge {
  display: inline-block;
  background: rgba(245,197,24,0.15);
  color: var(--yellow);
  border: 1px solid rgba(245,197,24,0.4);
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  margin-bottom: 14px;
}
.login-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.25;
}
.login-sub { font-size: 0.9rem; color: #999; margin: 0; }

/* ---- Auth Forms ---- */
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.auth-form label { font-size: 0.82rem; font-weight: 600; color: #ccc; letter-spacing: 0.04em; }
.auth-form input {
  background: #111;
  border: 1.5px solid #333;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}
.auth-form input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.15);
}
.auth-form input::placeholder { color: #555; }
.auth-error {
  background: rgba(220,38,38,0.12);
  border: 1px solid rgba(220,38,38,0.4);
  border-radius: var(--radius);
  color: #f87171;
  font-size: 0.85rem;
  padding: 10px 14px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: #555;
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: #2a2a2a; }
.btn-block { width: 100%; justify-content: center; }
.btn-dark {
  background: #222;
  color: #ccc;
  border: 1.5px solid #333;
  font-weight: 600;
}
.btn-dark:hover { background: #2a2a2a; border-color: #555; color: var(--white); }
.auth-confirm {
  text-align: center;
  padding: 28px 20px;
  background: rgba(245,197,24,0.06);
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 12px;
}
.auth-confirm-icon { font-size: 2.5rem; margin-bottom: 10px; }
.auth-confirm h3 { color: var(--yellow); font-size: 1.2rem; margin: 0 0 8px; }
.auth-confirm p  { color: #aaa; font-size: 0.9rem; margin: 0; }
.auth-note { text-align: center; font-size: 0.85rem; color: #666; margin-top: 20px; }
.auth-link { color: var(--yellow); text-decoration: none; font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

/* ---- Portal Welcome Banner ---- */
.portal-welcome {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border-bottom: 1px solid rgba(245,197,24,0.2);
  padding: 40px 0 32px;
  margin-top: var(--header-h);
}
.portal-welcome-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.portal-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.portal-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.2;
}
.portal-title span { color: var(--yellow); }
.portal-sub { color: #999; font-size: 0.95rem; max-width: 520px; margin: 0; }
.portal-welcome-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.portal-member-since { font-size: 0.82rem; color: #777; }
.portal-member-since strong { color: var(--yellow); }
.btn-outline-yellow {
  background: transparent;
  border: 1.5px solid var(--yellow);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.82rem;
}
.btn-outline-yellow:hover { background: var(--yellow); color: var(--dark); }
.btn-sm { padding: 7px 16px !important; font-size: 0.82rem !important; }

/* ---- Portal Tabs ---- */
.portal-tabs-section {
  background: #111;
  border-bottom: 1px solid #1e1e1e;
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}
.portal-tabs {
  display: flex;
  gap: 0;
}
.portal-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: #777;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 16px 24px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}
.portal-tab:hover { color: #ccc; }
.portal-tab.active { color: var(--yellow); border-bottom-color: var(--yellow); }

/* ---- Portal Sections ---- */
.portal-section {
  background: #0d0d0d;
  padding: 60px 0 80px;
}
.portal-section-header { text-align: center; margin-bottom: 48px; }
.portal-section-header .section-title { color: var(--white); }
.portal-section-header .section-sub   { color: #888; }

/* ---- Digital ID Card ---- */
.id-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.id-card {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1.586;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.4),
    0 8px 24px rgba(0,0,0,0.6),
    0 0 0 1px rgba(245,197,24,0.35),
    0 0 60px rgba(245,197,24,0.12);
  position: relative;
  cursor: default;
  user-select: none;
}
.id-card-front {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a16 55%, #0f0f0a 100%);
  display: flex;
  flex-direction: column;
  padding: 5.5% 6%;
  box-sizing: border-box;
  position: relative;
}
.id-card-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(245,197,24,0.07) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(245,197,24,0.04) 0%, transparent 45%);
  pointer-events: none;
}
.id-card-header {
  display: flex;
  align-items: center;
  gap: 5%;
  flex: 0 0 auto;
}
.id-card-logo-block { flex-shrink: 0; }
.id-card-logo {
  width: 13%;
  min-width: 42px;
  max-width: 56px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid rgba(245,197,24,0.5);
}
.id-card-org { flex: 1; min-width: 0; }
.id-card-org-abbr {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  color: var(--yellow);
  letter-spacing: 0.1em;
  line-height: 1;
}
.id-card-org-full {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(0.55rem, 1.4vw, 0.7rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.3;
  margin-top: 2px;
}
.id-card-official-badge {
  flex-shrink: 0;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(0.45rem, 1.2vw, 0.62rem);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.3;
  white-space: nowrap;
}
.id-card-divider {
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--yellow), rgba(245,197,24,0.3), transparent);
  margin: 4% 0 3%;
  flex-shrink: 0;
}
.id-card-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex: 1;
  gap: 4%;
  min-height: 0;
}
.id-card-member-info { flex: 1; min-width: 0; }
.id-card-label {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.45rem, 1.2vw, 0.6rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(245,197,24,0.7);
  text-transform: uppercase;
  line-height: 1;
}
.id-card-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(0.75rem, 2.3vw, 1.15rem);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-top: 3px;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.id-card-id {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.id-card-qr {
  flex-shrink: 0;
  width: clamp(42px, 14%, 68px);
  aspect-ratio: 1;
  background: #1a1a1a;
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.id-card-qr canvas,
.id-card-qr img { width: 100% !important; height: 100% !important; }
.id-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 2%;
}
.id-card-since { display: flex; flex-direction: column; gap: 2px; }
.id-card-since-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(0.72rem, 2vw, 1rem);
  color: var(--white);
  line-height: 1;
}
.id-card-barcode { display: flex; align-items: flex-end; }
.barcode-bars { display: inline-flex; align-items: flex-end; }
.id-card-actions { text-align: center; }
.id-card-tip { font-size: 0.82rem; color: #666; margin: 10px 0 0; }

/* ---- Order Card Section ---- */
.order-card-wrap {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.order-card-preview {
  background: var(--dark-2);
  border: 1.5px solid rgba(245,197,24,0.25);
  border-radius: 12px;
  padding: 24px 28px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.7;
}
.order-preview-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.order-form {
  background: var(--dark-2);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.order-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.order-form label { font-size: 0.82rem; font-weight: 600; color: #ccc; letter-spacing: 0.04em; }
.order-form input {
  background: #111;
  border: 1.5px solid #333;
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}
.order-form input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.15);
}
.order-form input::placeholder { color: #555; }

/* ---- Action benefit cards (Fuel / EV / Insurance) ---- */
.benefit-action-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 36px;
}
@media (max-width: 900px) { .benefit-action-row { grid-template-columns: 1fr; max-width: 560px; } }

.benefit-action-card {
  background: var(--dark-2);
  border: 1.5px solid rgba(245,197,24,0.18);
  border-radius: 14px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.benefit-action-card:hover { border-color: rgba(245,197,24,0.45); transform: translateY(-3px); }

.benefit-action-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-action-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit-action-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}
.benefit-action-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.benefit-action-card p {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

.btn-benefit-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.btn-benefit-action::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-benefit-action:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-benefit-action:hover::after { animation: btnShine 0.5s ease forwards; }

.btn-benefit-ev { background: #22c55e; color: #fff; }
.btn-benefit-ev:hover { background: #16a34a; }

.btn-benefit-insurance {
  background: #3b82f6;
  color: #fff;
}
.btn-benefit-insurance:hover { background: #2563eb; }

.benefit-action-note {
  font-size: 0.7rem;
  color: #555;
  margin: 0;
  text-align: center;
}

/* section divider */
.benefits-section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 960px;
  margin: 4px auto 24px;
  color: #444;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.benefits-section-divider::before,
.benefits-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #2a2a2a;
}

/* ---- Benefits Portal Grid ---- */
.benefits-portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.benefit-portal-card {
  background: var(--dark-2);
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.benefit-portal-card:hover { border-color: rgba(245,197,24,0.3); transform: translateY(-2px); }
.benefit-portal-icon { font-size: 2rem; margin-bottom: 12px; }
.benefit-portal-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--yellow); margin: 0 0 8px; }
.benefit-portal-card p  { font-size: 0.85rem; color: #888; line-height: 1.6; margin: 0; }
.portal-contact-block {
  text-align: center;
  padding: 36px;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  max-width: 420px;
  margin: 0 auto;
}
.portal-contact-block h3 { color: var(--white); font-size: 1.1rem; margin: 0 0 8px; }
.portal-contact-block p  { color: #888; font-size: 0.9rem; margin: 0 0 20px; }

/* ---- Responsive — Login & Portal ---- */
@media (max-width: 680px) {
  .login-card { padding: 28px 20px 22px; }
  .login-title { font-size: 1.3rem; }
  .portal-title { font-size: 1.4rem; }
  .portal-welcome-actions { align-items: flex-start; }
  .portal-tab { padding: 12px 14px; font-size: 0.75rem; }
  .order-form-grid { grid-template-columns: 1fr; }
  .benefits-portal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .benefits-portal-grid { grid-template-columns: 1fr; }
  .id-card { max-width: 340px; }
}


/* =========================================================
   ADMIN PANEL — Styles
   ========================================================= */

/* ---- Admin Welcome ---- */
.admin-welcome {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border-bottom: 1px solid rgba(245,197,24,0.2);
  padding: 36px 0 28px;
  margin-top: var(--header-h);
}
.admin-welcome-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.admin-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 10px;
}
.admin-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 6px;
}
.admin-sub { color: #888; font-size: 0.9rem; margin: 0; }
.admin-role-badge { display:inline-block; font-size:.65rem; font-weight:800; letter-spacing:.08em; padding:2px 8px; border-radius:20px; vertical-align:middle; margin-left:6px; text-transform:uppercase; }
.admin-role-admin { background:rgba(253,185,39,.12); color:var(--yellow); border:1px solid rgba(253,185,39,.3); }
.admin-role-agent { background:rgba(96,165,250,.12); color:#60a5fa; border:1px solid rgba(96,165,250,.3); }
.admin-welcome-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* ---- Editor section ---- */
.admin-editor-section {
  background: #0d0d0d;
  padding: 48px 0 56px;
}
.admin-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.admin-form-panel,
.admin-preview-panel {
  background: var(--dark-2);
  border: 1px solid #222;
  border-radius: 14px;
  overflow: hidden;
}
.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #1e1e1e;
  background: #141414;
}
.admin-panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.03em;
}
.preview-hint {
  font-size: 0.75rem;
  color: #555;
}

/* ---- Post form ---- */
.admin-post-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.admin-post-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.admin-post-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #bbb;
  letter-spacing: 0.05em;
}
.required { color: var(--yellow); }
.field-optional { color: #555; font-weight: 400; }
.field-hint { font-size: 0.75rem; color: #555; margin-top: 2px; }
.admin-post-form input,
.admin-post-form select,
.admin-post-form textarea {
  background: #111;
  border: 1.5px solid #2a2a2a;
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  resize: vertical;
}
.admin-post-form input:focus,
.admin-post-form select:focus,
.admin-post-form textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.12);
}
.admin-post-form input::placeholder,
.admin-post-form textarea::placeholder { color: #444; }
.admin-post-form select { appearance: none; cursor: pointer; }
.admin-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}

/* ---- Live preview panel ---- */
.admin-live-preview {
  padding: 20px;
  min-height: 240px;
}
.preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
  color: #444;
}
.preview-empty-icon { font-size: 2rem; margin-bottom: 10px; }
.preview-empty p { font-size: 0.85rem; }
.preview-scale-wrap .news-card {
  max-width: 100%;
  font-size: 0.9em;
}

/* ---- "NEW" badge on admin-posted news cards ---- */
.news-admin-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 30px;
  margin-bottom: 8px;
}
.news-card-admin { border-color: rgba(245,197,24,0.25) !important; }

/* ---- Published posts section ---- */
.admin-posts-section {
  background: #0a0a0a;
  padding: 48px 0 64px;
  border-top: 1px solid #1a1a1a;
}
.admin-posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-posts-header-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-posts-note {
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius);
  color: #aaa;
  font-size: 0.85rem;
  padding: 10px 16px;
  margin-bottom: 20px;
}
.admin-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-posts-empty {
  color: #555;
  font-size: 0.9rem;
  padding: 32px;
  text-align: center;
  border: 1px dashed #222;
  border-radius: 12px;
}
.admin-post-item {
  background: var(--dark-2);
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 20px 22px;
  transition: border-color 0.18s;
}
.admin-post-item:hover { border-color: rgba(245,197,24,0.2); }
.admin-post-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.admin-post-item-cat {
  background: rgba(245,197,24,0.12);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 30px;
}
.admin-post-item-date { font-size: 0.8rem; color: #666; }
.admin-post-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
  line-height: 1.3;
}
.admin-post-item-excerpt { font-size: 0.85rem; color: #666; margin: 0 0 14px; line-height: 1.5; }
.admin-post-item-actions { display: flex; gap: 8px; }

/* ---- How-to section ---- */
.admin-howto-section {
  background: #0d0d0d;
  padding: 0 0 60px;
}
.admin-howto-card {
  display: flex;
  gap: 20px;
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 14px;
  padding: 28px 28px 28px 24px;
  align-items: flex-start;
}
.admin-howto-icon { font-size: 1.8rem; flex-shrink: 0; }
.admin-howto-content h3 { font-size: 1rem; color: var(--yellow); margin: 0 0 8px; }
.admin-howto-content p { font-size: 0.88rem; color: #888; line-height: 1.65; margin: 0 0 12px; }
.admin-howto-steps {
  padding-left: 20px;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-howto-steps li { font-size: 0.88rem; color: #888; line-height: 1.6; }
.admin-howto-steps code {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.82em;
  color: var(--yellow);
  font-family: monospace;
}

/* ---- Toast notification ---- */
.admin-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: var(--white);
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  z-index: 9999;
  white-space: nowrap;
  animation: toastIn 0.25s ease;
}
.admin-toast-success { border: 1.5px solid rgba(245,197,24,0.4); color: var(--yellow); }
.admin-toast-error   { border: 1.5px solid rgba(220,38,38,0.4);  color: #f87171; }
.admin-toast-info    { border: 1.5px solid #333; color: #aaa; }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ---- Admin responsive ---- */
@media (max-width: 860px) {
  .admin-editor-grid { grid-template-columns: 1fr; }
  .admin-form-row    { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .admin-posts-header { flex-direction: column; align-items: flex-start; }
  .admin-form-actions { flex-direction: column; }
  .admin-form-actions .btn { width: 100%; justify-content: center; }
  .admin-howto-card { flex-direction: column; }
}

/* =============================================================
   LANGUAGE SWITCHER (dropdown)
   ============================================================= */
.lang-switcher {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.lang-select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 24px 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  min-width: 68px;
}
.lang-select:hover,
.lang-select:focus {
  border-color: var(--yellow);
  background-color: rgba(212,169,0,0.1);
  outline: none;
}
.lang-select option {
  background: var(--dark, #1a1a1a);
  color: #fff;
  font-weight: 600;
}
@media (max-width: 900px) {
  .lang-switcher {
    margin: 10px 0 4px;
    justify-content: center;
  }
  .lang-select {
    font-size: 0.8rem;
    padding: 6px 28px 6px 10px;
  }
}

/* =======================================================
   ADMIN PANEL — shared with admin.html
   ======================================================= */

/* ---- Tab Navigation ---- */
.admin-tabs-bar { background:#111; border-bottom:1px solid #1e1e1e; position:sticky; top:var(--header-h); z-index:100; }
.admin-tabs { display:flex; flex-wrap:wrap; gap:0; align-items:center; padding:0 4px; }
.admin-tab { background:none; border:none; border-bottom:3px solid transparent; color:#666; font-size:.76rem; font-weight:700; letter-spacing:.05em; padding:10px 14px; cursor:pointer; white-space:nowrap; transition:color .18s,border-color .18s,background .18s; font-family:inherit; }
.admin-tab:hover { color:#bbb; background:rgba(255,255,255,.03); }
.admin-tab.active { color:var(--yellow); border-bottom-color:var(--yellow); background:rgba(245,197,24,.04); }
.admin-tab-divider { width:1px; height:20px; background:#2a2a2a; margin:0 4px; flex-shrink:0; }
.admin-tab-panel { display:none; }
.admin-tab-panel.active { display:block; }

/* ---- Stats grid ---- */
.admin-stats-section { background:#0d0d0d; padding:40px 0 32px; }
.admin-stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.admin-stat-card { background:var(--dark-2); border:1px solid #1e1e1e; border-radius:14px; padding:24px 20px; display:flex; flex-direction:column; gap:6px; transition:border-color .18s; }
.admin-stat-card:hover { border-color:rgba(245,197,24,.25); }
.admin-stat-icon { font-size:1.5rem; line-height:1; }
.admin-stat-label { font-size:.72rem; font-weight:700; letter-spacing:.1em; color:#555; text-transform:uppercase; }
.admin-stat-value { font-size:2rem; font-weight:900; color:var(--yellow); line-height:1; }
.admin-stat-sub { font-size:.78rem; color:#555; }

/* ---- Section header shared ---- */
.admin-section-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; flex-wrap:wrap; padding-top:40px; }
.admin-recent-section { background:#0a0a0a; padding:0 0 56px; }

/* ---- Users section ---- */
.admin-users-section { background:#0d0d0d; padding:0 0 64px; }
.admin-toolbar { display:flex; gap:12px; margin-bottom:20px; flex-wrap:wrap; align-items:center; }
.admin-search { flex:1; min-width:200px; background:#111; border:1.5px solid #2a2a2a; border-radius:var(--radius); padding:10px 14px; color:var(--white); font-size:.88rem; font-family:inherit; outline:none; transition:border-color .18s; }
.admin-search:focus { border-color:var(--yellow); }
.admin-search::placeholder { color:#444; }
.admin-filter-select { background:#111; border:1.5px solid #2a2a2a; border-radius:var(--radius); padding:10px 14px; color:var(--white); font-size:.85rem; font-family:inherit; cursor:pointer; outline:none; }
.admin-filter-select:focus { border-color:var(--yellow); }

/* ---- Data table ---- */
.admin-table-wrap { overflow-x:auto; border-radius:14px; border:1px solid #1e1e1e; }
.admin-table { width:100%; border-collapse:collapse; font-size:.875rem; }
.admin-table th { background:#141414; color:#666; font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:12px 16px; text-align:left; border-bottom:1px solid #1e1e1e; white-space:nowrap; }
.admin-table td { padding:13px 16px; border-bottom:1px solid #151515; color:#ccc; vertical-align:middle; }
.admin-table tr:last-child td { border-bottom:none; }
.admin-table tbody tr { background:#0f0f0f; transition:background .12s; }
.admin-table tbody tr:hover { background:#141414; }
.admin-table-empty { text-align:center; color:#444; padding:48px 20px !important; font-size:.88rem; }

/* ---- Role / status badges ---- */
.role-badge { display:inline-block; font-size:.68rem; font-weight:800; letter-spacing:.1em; padding:3px 10px; border-radius:30px; text-transform:uppercase; }
.role-badge-admin { background:rgba(245,197,24,.15); color:var(--yellow); border:1px solid rgba(245,197,24,.3); }
.role-badge-member { background:rgba(255,255,255,.06); color:#888; border:1px solid #2a2a2a; }
.status-badge { display:inline-block; font-size:.68rem; font-weight:700; padding:3px 9px; border-radius:30px; }
.status-active { background:rgba(34,197,94,.12); color:#4ade80; }
.status-inactive { background:rgba(239,68,68,.1); color:#f87171; }

/* ---- Table action buttons ---- */
.tbl-actions { display:flex; gap:6px; align-items:center; }
.tbl-btn { background:#1a1a1a; border:1px solid #2a2a2a; border-radius:8px; padding:6px 10px; font-size:.78rem; font-weight:600; cursor:pointer; color:#aaa; transition:all .15s; font-family:inherit; white-space:nowrap; }
.tbl-btn:hover { background:#222; border-color:#3a3a3a; color:var(--white); }
.tbl-btn-yellow { color:var(--yellow); border-color:rgba(245,197,24,.3); }
.tbl-btn-yellow:hover { background:rgba(245,197,24,.1); }
.tbl-btn-red { color:#f87171; border-color:rgba(239,68,68,.3); }
.tbl-btn-red:hover { background:rgba(239,68,68,.08); }

/* ---- Modal overlay ---- */
.admin-modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.78); z-index:8000; display:flex; align-items:center; justify-content:center; padding:20px; }
.admin-modal { background:#141414; border:1px solid #2a2a2a; border-radius:18px; width:100%; max-width:520px; max-height:90vh; overflow-y:auto; box-shadow:0 20px 60px rgba(0,0,0,.7); }
.admin-modal-header { display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid #1e1e1e; }
.admin-modal-title { font-size:1rem; font-weight:800; color:var(--white); margin:0; }
.admin-modal-close { background:none; border:1px solid #333; border-radius:8px; color:#666; font-size:1rem; width:32px; height:32px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .15s; font-family:inherit; }
.admin-modal-close:hover { background:#222; color:var(--white); }
.admin-modal-body { padding:24px; }
.admin-modal-form { display:flex; flex-direction:column; gap:16px; }
.admin-modal-form .form-group { display:flex; flex-direction:column; gap:6px; }
.admin-modal-form label { font-size:.8rem; font-weight:600; color:#bbb; letter-spacing:.04em; }
.admin-modal-form input,.admin-modal-form select,.admin-modal-form textarea { background:#111; border:1.5px solid #2a2a2a; border-radius:var(--radius); padding:11px 14px; color:var(--white); font-size:.9rem; font-family:inherit; outline:none; transition:border-color .18s,box-shadow .18s; }
.admin-modal-form input:focus,.admin-modal-form select:focus,.admin-modal-form textarea:focus { border-color:var(--yellow); box-shadow:0 0 0 3px rgba(245,197,24,.1); }
.admin-modal-form input::placeholder,.admin-modal-form textarea::placeholder { color:#444; }
.admin-modal-footer { display:flex; gap:10px; padding:16px 24px; border-top:1px solid #1e1e1e; justify-content:flex-end; }

/* ---- Settings section ---- */
.admin-settings-section { background:#0d0d0d; padding:0 0 64px; }
.admin-settings-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.admin-settings-card { background:var(--dark-2); border:1px solid #1e1e1e; border-radius:14px; overflow:hidden; }
.admin-settings-card-header { padding:16px 20px; border-bottom:1px solid #1e1e1e; background:#141414; }
.admin-settings-card-header h3 { font-size:.88rem; font-weight:700; color:var(--white); margin:0; }
.admin-settings-card-header p { font-size:.78rem; color:#555; margin:4px 0 0; }
.admin-settings-card-body { padding:20px; }
.admin-email-list { display:flex; flex-direction:column; gap:8px; margin-bottom:14px; min-height:40px; }
.admin-email-item { display:flex; align-items:center; justify-content:space-between; background:#111; border:1px solid #222; border-radius:8px; padding:9px 12px; font-size:.85rem; color:#ccc; }
.admin-email-item.is-self { border-color:rgba(245,197,24,.2); color:var(--yellow); }
.admin-email-remove { background:none; border:none; color:#f87171; cursor:pointer; font-size:.75rem; padding:2px 6px; border-radius:4px; font-family:inherit; }
.admin-email-remove:hover { background:rgba(239,68,68,.1); }
.admin-add-row { display:flex; gap:8px; }
.admin-add-row input { flex:1; background:#111; border:1.5px solid #2a2a2a; border-radius:var(--radius); padding:9px 12px; color:var(--white); font-size:.85rem; font-family:inherit; outline:none; }
.admin-add-row input:focus { border-color:var(--yellow); }
.admin-add-row input::placeholder { color:#444; }
.site-info-list { display:flex; flex-direction:column; }
.site-info-item { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid #1a1a1a; font-size:.85rem; }
.site-info-item:last-child { border-bottom:none; }
.site-info-label { color:#666; }
.site-info-value { color:#ccc; font-weight:600; font-size:.82rem; }

/* ---- Toast notification ---- */
.admin-toast { position:fixed; bottom:24px; right:24px; padding:12px 20px; border-radius:10px; font-size:.88rem; font-weight:600; z-index:9999; box-shadow:0 4px 20px rgba(0,0,0,.5); }
.admin-toast-success { background:#166534; color:#4ade80; border:1px solid #166534; }
.admin-toast-error   { background:#7f1d1d; color:#fca5a5; border:1px solid #7f1d1d; }
.admin-toast-info    { background:#1e3a5f; color:#93c5fd; border:1px solid #1e3a5f; }

/* ---- Responsive ---- */
@media(max-width:860px) {
  .admin-stats-grid { grid-template-columns:repeat(2,1fr); }
  .admin-settings-grid { grid-template-columns:1fr; }
}
@media(max-width:540px) {
  .admin-stats-grid { grid-template-columns:1fr 1fr; }
  .admin-tab { padding:9px 11px; font-size:.72rem; }
}

/* =======================================================
   ADMIN — Howto collapsible
   ======================================================= */
.admin-howto-details { background:var(--dark-2); border:1px solid #1e1e1e; border-radius:12px; overflow:hidden; }
.admin-howto-summary { display:flex; align-items:center; justify-content:space-between; gap:10px; list-style:none; padding:14px 20px; cursor:pointer; font-size:.88rem; font-weight:700; color:#ccc; user-select:none; }
.admin-howto-summary::-webkit-details-marker { display:none; }
.admin-howto-summary:hover { color:var(--white); }
.admin-howto-details[open] .howto-chevron { transform:rotate(180deg); }
.howto-chevron { font-size:.7rem; color:#555; transition:transform .2s; display:inline-block; margin-left:auto; }
.admin-howto-body { padding:0 20px 16px; border-top:1px solid #1a1a1a; }
.admin-howto-body p { font-size:.88rem; color:#999; margin:12px 0 0; }
.admin-howto-body code { background:#1a1a1a; padding:2px 6px; border-radius:4px; font-size:.82rem; color:#f5c518; }

/* =======================================================
   ADMIN — Membership tab badges
   ======================================================= */
.membership-status-badge { display:inline-block; font-size:.68rem; font-weight:700; padding:3px 10px; border-radius:30px; text-transform:uppercase; letter-spacing:.05em; }
.ms-active          { background:rgba(34,197,94,.12);  color:#4ade80; border:1px solid rgba(34,197,94,.25); }
.ms-pending_payment { background:rgba(234,179,8,.1);   color:#facc15; border:1px solid rgba(234,179,8,.3); }
.ms-inactive        { background:rgba(239,68,68,.1);   color:#f87171; border:1px solid rgba(239,68,68,.3); }
.membership-sponsor-badge { display:inline-block; background:rgba(99,102,241,.12); color:#a5b4fc; border:1px solid rgba(99,102,241,.3); border-radius:30px; padding:3px 10px; font-size:.72rem; font-weight:700; }
.tbl-btn-green { color:#4ade80; border-color:rgba(34,197,94,.3); }
.tbl-btn-green:hover { background:rgba(34,197,94,.1); }
.tbl-btn-blue { color:#60a5fa; border-color:rgba(96,165,250,.3); }
.tbl-btn-blue:hover { background:rgba(96,165,250,.1); }

/* =======================================================
   ADMIN — CSV modal column list
   ======================================================= */
.csv-column-list { display:flex; flex-wrap:wrap; gap:8px; background:#111; border:1px solid #1e1e1e; border-radius:8px; padding:12px; }
.csv-column-list code { background:#1e1e1e; color:#f5c518; padding:4px 10px; border-radius:6px; font-size:.82rem; }

/* =======================================================
   MEMBER PORTAL — Company sponsor + payment banners
   ======================================================= */
.company-sponsor-banner { display:flex; align-items:flex-start; gap:16px; background:rgba(34,197,94,.08); border:1px solid rgba(34,197,94,.25); border-radius:14px; padding:20px 24px; margin-bottom:28px; }
.company-sponsor-banner h3 { color:#4ade80; }
.company-sponsor-banner p  { color:#aaa; margin:4px 0 0; font-size:.9rem; }
.payment-required-banner { display:flex; align-items:flex-start; gap:16px; background:rgba(234,179,8,.07); border:1px solid rgba(234,179,8,.3); border-radius:14px; padding:20px 24px; margin-bottom:28px; }
.payment-required-banner h3 { color:#facc15; }
.sponsor-banner-icon { font-size:2rem; line-height:1; padding-top:2px; }

/* =========================================================
   ADMIN — Two-column editor layout (Events / Documents)
   ========================================================= */
.admin-two-col { display:grid; grid-template-columns:380px 1fr; gap:0; border:1px solid #1e1e1e; border-radius:14px; overflow:hidden; min-height:520px; }
@media(max-width:900px){ .admin-two-col{ grid-template-columns:1fr; } }
.admin-editor-panel { background:#0f0f0f; border-right:1px solid #1e1e1e; padding:24px; }
.admin-editor-title { font-size:1rem; font-weight:800; color:var(--yellow); margin:0 0 18px; letter-spacing:.04em; }

/* =========================================================
   ADMIN — Forms Builder
   ========================================================= */
/* Field cards */
.fb-field-list { display:flex; flex-direction:column; gap:10px; margin-bottom:6px; }
.fb-field-card { background:#181818; border:1px solid #2a2a2a; border-radius:10px; padding:12px 14px; }
.fb-field-row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:8px; }
.fb-field-type { flex:1; min-width:140px; background:#111; border:1.5px solid #2a2a2a; border-radius:6px; padding:7px 10px; color:var(--white); font-size:.82rem; font-family:inherit; cursor:pointer; }
.fb-req-label { display:flex; align-items:center; gap:5px; font-size:.78rem; color:#aaa; cursor:pointer; white-space:nowrap; }
.fb-req-label input { accent-color:var(--yellow); width:14px; height:14px; cursor:pointer; }
.fb-field-del { background:none; border:none; color:#666; font-size:1rem; cursor:pointer; padding:4px 6px; border-radius:4px; transition:color .15s; line-height:1; }
.fb-field-del:hover { color:#e55; }
.fb-field-label-input,
.fb-field-ph-input,
.fb-field-opts-input { width:100%; background:#111; border:1.5px solid #2a2a2a; border-radius:6px; padding:7px 10px; color:var(--white); font-size:.83rem; font-family:inherit; margin-bottom:6px; box-sizing:border-box; }
.fb-field-label-input:focus,
.fb-field-ph-input:focus,
.fb-field-opts-input:focus { border-color:var(--yellow); outline:none; }
.fb-field-opts-input { font-size:.78rem; color:#ccc; }
.fb-move-btn { background:none; border:1px solid #2a2a2a; color:#666; font-size:.9rem; cursor:pointer; padding:3px 7px; border-radius:4px; margin-top:4px; margin-right:4px; transition:color .15s, border-color .15s; }
.fb-move-btn:hover { color:var(--yellow); border-color:var(--yellow); }

/* Publish toggle */
.fb-publish-toggle { display:inline-flex; align-items:center; gap:7px; font-size:.82rem; color:#ccc; cursor:pointer; }
.fb-publish-toggle input { accent-color:var(--yellow); width:15px; height:15px; cursor:pointer; }

/* Fields section */
.fb-fields-section { background:#111; border:1px solid #1e1e1e; border-radius:10px; padding:14px; margin:16px 0; }

/* Hint text */
.fb-hint { display:block; font-size:.74rem; color:#555; margin-top:4px; }

/* Google Sheets section */
.fb-gsheet-section { background:#0c1a0c; border:1px solid #1a2e1a; border-radius:10px; padding:14px; margin:16px 0; }
.fb-gsheet-toggle-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.fb-gsheet-toggle-label { display:inline-flex; align-items:center; gap:8px; font-size:.88rem; font-weight:700; color:#4ade80; cursor:pointer; }
.fb-gsheet-toggle-label input { accent-color:#4ade80; width:16px; height:16px; cursor:pointer; }
.fb-gsheet-section .form-group label { color:#b0f0b0; }

/* Column mapping */
.fb-col-map-section { margin:12px 0 4px; }
.fb-col-map-grid { display:grid; grid-template-columns:auto 1fr; gap:3px 12px; font-size:.78rem; margin-top:4px; }
.fb-col-letter { background:rgba(74,222,128,.15); color:#4ade80; border-radius:4px; padding:2px 8px; font-weight:700; font-family:monospace; text-align:center; width:28px; }
.fb-col-lbl { color:#ccc; padding:2px 0; align-self:center; }

/* Apps Script box */
.fb-script-box { background:#0a0a0a; border:1px solid #2a2a2a; border-radius:8px; padding:14px; margin-top:14px; }
.fb-script-pre { background:#050505; border:1px solid #1e1e1e; border-radius:6px; padding:12px 14px; color:#7ec97e; font-size:.73rem; font-family:'Courier New',monospace; overflow-x:auto; white-space:pre; margin:0 0 10px; line-height:1.6; }
.fb-script-steps { margin:8px 0 0 18px; padding:0; color:#888; font-size:.78rem; line-height:2; }
.fb-script-steps li strong { color:#ccc; }

/* Sub-nav (forms / submissions / sheet) */
.fb-subnav { display:flex; gap:2px; margin-bottom:16px; background:#111; border:1px solid #1e1e1e; border-radius:8px; padding:3px; }
.fb-subnav-btn { flex:1; background:none; border:none; color:#666; font-size:.8rem; font-weight:700; padding:8px 10px; border-radius:6px; cursor:pointer; transition:background .15s, color .15s; }
.fb-subnav-btn.active { background:var(--yellow); color:#111; }
.fb-subnav-btn:hover:not(.active) { background:#1e1e1e; color:#ccc; }

/* Form card in admin list */
.fb-form-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; }

/* Submission cards */
.fb-sub-card { background:#111; border:1px solid #1e1e1e; border-radius:8px; padding:14px; margin-bottom:10px; }
.fb-sub-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; flex-wrap:wrap; gap:6px; }

/* Sheet data table */
.fb-sheet-table { width:100%; border-collapse:collapse; font-size:.78rem; min-width:480px; }
.fb-sheet-table th { background:#1a1a1a; color:#aaa; font-weight:700; padding:8px 12px; text-align:left; border-bottom:1px solid #2a2a2a; white-space:nowrap; }
.fb-sheet-table td { padding:7px 12px; color:#ccc; border-bottom:1px solid #161616; }
.fb-sheet-table tr:last-child td { border-bottom:none; }
.fb-sheet-table tr:hover td { background:#131313; }
.fb-sheet-error { background:#1a0808; border:1px solid #3a1a1a; border-radius:8px; padding:16px 18px; color:#e55; font-size:.83rem; }
.fb-sheet-error p { margin:6px 0 0; color:#aaa; }

/* =========================================================
   PUBLIC — Forms Directory (forms.html)
   ========================================================= */
.forms-dir-hero { background:linear-gradient(160deg,#0a0a0a 0%,#111 60%,#0a1a0a 100%); padding:80px 20px 56px; text-align:center; border-bottom:1px solid #1e1e1e; }
.forms-dir-hero-inner { max-width:760px; margin:0 auto; }
.forms-dir-badge { display:inline-block; background:rgba(74,222,128,.12); color:#4ade80; border:1px solid rgba(74,222,128,.3); border-radius:20px; font-size:.72rem; font-weight:800; letter-spacing:.12em; padding:5px 16px; margin-bottom:20px; }
.forms-dir-hero h1 { font-size:clamp(1.8rem,5vw,2.8rem); font-weight:900; color:var(--white); margin:0 0 14px; }
.forms-dir-hero p  { color:#888; font-size:1rem; margin:0 0 28px; }
.forms-dir-search-wrap { max-width:480px; margin:0 auto 20px; }
.forms-dir-search { width:100%; background:#111; border:1.5px solid #2a2a2a; border-radius:50px; padding:12px 20px; color:var(--white); font-size:.9rem; font-family:inherit; box-sizing:border-box; transition:border-color .2s; }
.forms-dir-search:focus { border-color:var(--yellow); outline:none; }
.forms-dir-search::placeholder { color:#444; }

/* Category filter */
.forms-dir-cats { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.forms-dir-cat  { background:none; border:1.5px solid #2a2a2a; color:#666; font-size:.78rem; font-weight:700; padding:6px 14px; border-radius:20px; cursor:pointer; transition:all .18s; font-family:inherit; }
.forms-dir-cat:hover  { border-color:#444; color:#bbb; }
.forms-dir-cat.active { background:rgba(253,185,39,.12); border-color:var(--yellow); color:var(--yellow); }

/* Grid */
.forms-dir-section { padding:48px 20px 80px; background:#080808; min-height:42vh; }
.forms-dir-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:20px; }

/* Form card */
.fd-card { background:#0f0f0f; border:1px solid #1e1e1e; border-radius:14px; padding:24px 20px; display:flex; align-items:flex-start; gap:16px; cursor:pointer; transition:border-color .18s, transform .18s, background .18s; }
.fd-card:hover { border-color:var(--yellow); transform:translateY(-3px); background:#121212; }
.fd-card-icon { font-size:2rem; line-height:1; flex-shrink:0; }
.fd-card-body { flex:1; }
.fd-card-cat { display:inline-block; font-size:.7rem; font-weight:800; letter-spacing:.1em; color:#666; text-transform:uppercase; margin-bottom:6px; }
.fd-card-title { font-size:1rem; font-weight:800; color:var(--white); margin:0 0 6px; line-height:1.3; }
.fd-card-desc { font-size:.8rem; color:#777; margin:0 0 8px; line-height:1.5; }
.fd-card-meta { font-size:.74rem; color:#444; margin:0; }
.fd-card-arrow { color:#444; font-size:1.2rem; align-self:center; transition:color .18s; }
.fd-card:hover .fd-card-arrow { color:var(--yellow); }

/* Empty state */
.forms-dir-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:60px 20px; color:#555; text-align:center; font-size:1rem; }
.forms-dir-empty p { margin:0; line-height:1.6; }

/* Modal overlay */
.fd-modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.8); z-index:8000; display:flex; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(4px); }
.fd-modal { background:#0f0f0f; border:1px solid #2a2a2a; border-radius:18px; width:100%; max-width:560px; max-height:90vh; overflow:hidden; display:flex; flex-direction:column; }
.fd-modal-header { padding:28px 28px 18px; border-bottom:1px solid #1e1e1e; display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-shrink:0; }
.fd-modal-cat { font-size:.72rem; font-weight:800; letter-spacing:.1em; color:#4ade80; text-transform:uppercase; margin:0 0 6px; }
.fd-modal-title { font-size:1.25rem; font-weight:900; color:var(--white); margin:0 0 6px; }
.fd-modal-desc { font-size:.85rem; color:#888; margin:0; }
.fd-modal-close { background:none; border:1.5px solid #2a2a2a; color:#666; border-radius:50%; width:32px; height:32px; font-size:.9rem; cursor:pointer; flex-shrink:0; transition:color .15s, border-color .15s; display:flex; align-items:center; justify-content:center; }
.fd-modal-close:hover { color:var(--white); border-color:#666; }
.fd-modal-body { padding:24px 28px 28px; overflow-y:auto; flex:1; }

/* Field error state */
.fd-field-error { border-color:#e55 !important; }
.fd-form-error { background:#1a0808; border:1px solid rgba(229,85,85,.3); border-radius:8px; padding:10px 14px; color:#e55; font-size:.83rem; margin-bottom:14px; }

/* Form footer */
.fd-form-footer { display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-top:20px; padding-top:18px; border-top:1px solid #1e1e1e; }
.fd-privacy-note { font-size:.74rem; color:#555; margin:0; }

/* Checkbox field */
.fd-checkbox-group { display:flex; align-items:flex-start; }
.fd-checkbox-label { display:flex; align-items:flex-start; gap:10px; cursor:pointer; }
.fd-checkbox-label input { accent-color:var(--yellow); width:16px; height:16px; margin-top:2px; flex-shrink:0; cursor:pointer; }
.fd-checkbox-label span { font-size:.88rem; color:#ccc; line-height:1.4; }
.fd-required { color:var(--yellow); }

/* Success panel */
.fd-success-panel { display:flex; flex-direction:column; align-items:center; text-align:center; padding:24px 0; gap:16px; }
.fd-success-icon { width:56px; height:56px; background:rgba(74,222,128,.12); border:2px solid #4ade80; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.6rem; color:#4ade80; }
.fd-success-panel h3 { font-size:1.3rem; font-weight:800; color:var(--white); margin:0; }
.fd-success-panel p  { color:#888; margin:0; font-size:.9rem; line-height:1.5; }

/* =========================================================
   ADMIN — Popups / Announcements tab
   ========================================================= */
.popup-form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(max-width:500px){ .popup-form-row{ grid-template-columns:1fr; } }

.popup-admin-card { background:#0f0f0f; border:1px solid #1e1e1e; border-radius:12px; padding:16px 18px; margin-bottom:10px; }
.popup-admin-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; }

.popup-status-badge { display:inline-block; font-size:.7rem; font-weight:800; letter-spacing:.06em; padding:3px 10px; border-radius:20px; }
.popup-status-live      { background:rgba(74,222,128,.12); color:#4ade80; border:1px solid rgba(74,222,128,.3); }
.popup-status-off       { background:rgba(100,100,100,.12); color:#666; border:1px solid #2a2a2a; }
.popup-status-scheduled { background:rgba(96,165,250,.1); color:#60a5fa; border:1px solid rgba(96,165,250,.25); }
.popup-status-expired   { background:rgba(239,68,68,.08); color:#f87171; border:1px solid rgba(239,68,68,.2); }

/* =========================================================
   SITE — Event Popup / Announcement Modal
   ========================================================= */
.site-popup-overlay { position:fixed; inset:0; background:rgba(0,0,0,.75); z-index:9500; display:flex; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(6px); opacity:0; pointer-events:none; transition:opacity .3s ease; }
.site-popup-overlay.site-popup-visible { opacity:1; pointer-events:auto; }

.site-popup-box { background:#0f0f0f; border:1px solid #2a2a2a; border-radius:20px; width:100%; max-width:500px; overflow:hidden; transform:translateY(28px) scale(.97); transition:transform .32s cubic-bezier(.22,.68,0,1.2); position:relative; }
.site-popup-overlay.site-popup-visible .site-popup-box { transform:translateY(0) scale(1); }

.site-popup-accent-bar { height:5px; width:100%; }

.site-popup-img-wrap { overflow:hidden; line-height:0; }
.site-popup-img { width:100%; max-height:320px; object-fit:contain; display:block; background:#000; }

.site-popup-close { position:absolute; top:14px; right:14px; background:rgba(255,255,255,.06); border:1.5px solid #2a2a2a; color:#888; border-radius:50%; width:32px; height:32px; font-size:.85rem; cursor:pointer; z-index:2; display:flex; align-items:center; justify-content:center; transition:color .15s, border-color .15s, background .15s; }
.site-popup-close:hover { color:var(--white); border-color:#666; background:rgba(255,255,255,.1); }

.site-popup-inner { padding:28px 32px 32px; }

.site-popup-eyebrow { font-size:.7rem; font-weight:800; letter-spacing:.14em; color:#666; text-transform:uppercase; margin:0 0 12px; }

.site-popup-headline { font-size:clamp(1.2rem,4vw,1.65rem); font-weight:900; margin:0 0 14px; line-height:1.25; letter-spacing:-.01em; }

.site-popup-body { color:#aaa; font-size:.92rem; line-height:1.65; margin:0 0 22px; white-space:pre-wrap; }

.site-popup-cta-wrap { margin-top:4px; }
.site-popup-cta-btn  { display:inline-block; font-size:.88rem; padding:12px 28px; font-weight:800; letter-spacing:.04em; }

@media(max-width:480px){
  .site-popup-inner { padding:22px 20px 26px; }
  .site-popup-headline { font-size:1.15rem; }
}

@media(max-width:600px){
  .fd-modal-header { padding:20px 18px 14px; }
  .fd-modal-body   { padding:18px 18px 22px; }
  .forms-dir-hero  { padding:56px 16px 40px; }
}
.admin-list-panel { background:#0a0a0a; padding:20px; overflow-y:auto; }

/* Admin Events */
.admin-event-item { display:flex; align-items:flex-start; gap:14px; padding:14px; border-bottom:1px solid #141414; transition:background .12s; }
.admin-event-item:hover { background:#111; }
.admin-event-item.evt-past { opacity:.5; }
.admin-event-date-block { background:#1a1a1a; border:1px solid #252525; border-radius:10px; min-width:52px; text-align:center; padding:8px 6px; flex-shrink:0; }
.evt-day   { font-size:1.35rem; font-weight:900; color:var(--yellow); line-height:1; }
.evt-month { font-size:.65rem; font-weight:700; color:#666; letter-spacing:.08em; margin-top:2px; }
.admin-event-info { flex:1; min-width:0; }
.evt-cat-badge { display:inline-block; font-size:.65rem; font-weight:700; padding:2px 8px; border-radius:20px; text-transform:uppercase; letter-spacing:.06em; }

/* Admin Documents */
.admin-doc-item { display:flex; align-items:flex-start; gap:14px; padding:14px; border-bottom:1px solid #141414; transition:background .12s; }
.admin-doc-item:hover { background:#111; }
.admin-doc-icon { font-size:1.4rem; flex-shrink:0; margin-top:2px; }
.admin-doc-info { flex:1; min-width:0; }

/* =========================================================
   ADMIN — Messages tab (badge + two-pane inbox)
   ========================================================= */
.admin-tab-badge { background:#f87171; color:#0a0a0a; border-radius:30px; font-size:.65rem; font-weight:900; padding:1px 7px; margin-left:5px; vertical-align:middle; display:inline-flex; align-items:center; }
.msg-panes { display:grid; grid-template-columns:300px 1fr; border:1px solid #1e1e1e; border-radius:14px; overflow:hidden; min-height:520px; }
@media(max-width:760px){ .msg-panes{ grid-template-columns:1fr; } .msg-thread-list{ max-height:240px; border-right:none; border-bottom:1px solid #1e1e1e; } }
.msg-thread-list { background:#0f0f0f; border-right:1px solid #1e1e1e; overflow-y:auto; }
.msg-thread-item { padding:13px 15px; border-bottom:1px solid #151515; cursor:pointer; position:relative; transition:background .12s; }
.msg-thread-item:hover { background:#141414; }
.msg-thread-item.active { background:#1a1a1a; border-left:3px solid var(--yellow); }
.msg-thread-top { display:flex; justify-content:space-between; align-items:center; gap:6px; margin-bottom:3px; }
.msg-thread-name { font-size:.85rem; font-weight:700; color:#999; }
.msg-thread-item.unread .msg-thread-name { color:var(--white); }
.msg-thread-time { font-size:.72rem; color:#444; white-space:nowrap; }
.msg-thread-preview { font-size:.78rem; color:#555; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:5px; }
.msg-thread-meta { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.msg-thread-status { font-size:.64rem; font-weight:700; padding:2px 8px; border-radius:20px; text-transform:uppercase; letter-spacing:.06em; }
.msg-status-open     { background:rgba(245,197,24,.1); color:var(--yellow); }
.msg-status-resolved { background:rgba(34,197,94,.1); color:#4ade80; }
.msg-unread-pill { background:#f5c518; color:#0a0a0a; font-size:.64rem; font-weight:900; padding:1px 7px; border-radius:20px; }
.msg-conversation { background:#0a0a0a; display:flex; flex-direction:column; }
.msg-conversation-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; color:#444; font-size:.9rem; padding:40px; text-align:center; }
.msg-conv-header { padding:14px 18px; border-bottom:1px solid #1e1e1e; background:#111; flex-shrink:0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.msg-conv-body { flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:12px; min-height:0; max-height:360px; }
.msg-bubble-wrap { display:flex; flex-direction:column; }
.msg-from-member { align-items:flex-start; }
.msg-from-admin  { align-items:flex-end; }
.msg-bubble { padding:10px 14px; border-radius:14px; max-width:75%; font-size:.88rem; line-height:1.45; }
.msg-bubble-member { background:#1e1e1e; color:#ccc; border-bottom-left-radius:4px; }
.msg-bubble-admin  { background:var(--yellow); color:#0a0a0a; font-weight:600; border-bottom-right-radius:4px; }
.msg-bubble-meta { font-size:.7rem; color:#555; margin-top:3px; padding:0 3px; }
.msg-from-admin .msg-bubble-meta { text-align:right; }
.msg-conv-footer { padding:12px 16px; border-top:1px solid #1e1e1e; background:#111; flex-shrink:0; }
.msg-reply-input { width:100%; background:#1a1a1a; border:1.5px solid #2a2a2a; border-radius:10px; padding:10px 13px; color:var(--white); font-size:.88rem; font-family:inherit; resize:none; outline:none; margin-bottom:10px; box-sizing:border-box; }
.msg-reply-input:focus { border-color:var(--yellow); }
.msg-conv-footer-actions { display:flex; gap:8px; flex-wrap:wrap; }

/* =========================================================
   MEMBER PORTAL — Notification bell
   ========================================================= */
.portal-notif-bell { background:none; border:1.5px solid #2a2a2a; border-radius:30px; color:#e0e0e0; font-size:.82rem; font-weight:700; padding:6px 13px; cursor:pointer; display:inline-flex; align-items:center; gap:6px; transition:border-color .15s; }
.portal-notif-bell:hover { border-color:var(--yellow); color:var(--yellow); }
.notif-badge { background:#f87171; color:#0a0a0a; border-radius:20px; font-size:.7rem; font-weight:900; padding:1px 6px; }

/* =========================================================
   MEMBER PORTAL — Events tab
   ========================================================= */
.member-content-empty { text-align:center; padding:60px 20px; color:#444; }
.member-events-section-label { font-size:.8rem; font-weight:800; letter-spacing:.1em; margin:24px 0 12px; padding:0; }
.upcoming-label { color:var(--yellow); }
.past-label { color:#444; }
.member-event-card { display:flex; align-items:flex-start; gap:16px; background:#111; border:1px solid #1e1e1e; border-radius:14px; padding:16px 18px; margin-bottom:10px; transition:border-color .15s; }
.member-event-card:hover { border-color:#2a2a2a; }
.member-event-card.evt-past { opacity:.45; }
.member-event-date { background:#1a1a1a; border:1px solid #252525; border-radius:10px; min-width:54px; text-align:center; padding:8px 6px; flex-shrink:0; }
.mevt-num   { font-size:1.5rem; font-weight:900; color:var(--yellow); line-height:1; }
.mevt-month { font-size:.65rem; font-weight:700; color:#666; letter-spacing:.08em; margin-top:2px; }
.member-event-info { flex:1; min-width:0; }
.mevt-title  { font-size:.95rem; font-weight:700; color:#e0e0e0; margin-bottom:5px; }
.mevt-detail { font-size:.8rem; color:#888; margin-top:3px; }
.mevt-desc   { font-size:.8rem; color:#666; margin-top:6px; line-height:1.4; }
.mevt-cat    { font-size:.65rem; font-weight:700; padding:3px 9px; border-radius:20px; text-transform:uppercase; letter-spacing:.06em; flex-shrink:0; align-self:flex-start; }

/* =========================================================
   MEMBER PORTAL — Documents tab
   ========================================================= */
.member-doc-section { margin-bottom:28px; }
.member-doc-cat-title { font-size:.85rem; font-weight:800; color:#aaa; letter-spacing:.07em; text-transform:uppercase; margin:0 0 10px; padding-bottom:8px; border-bottom:1px solid #1e1e1e; }
.member-doc-grid { display:flex; flex-direction:column; gap:8px; }
.member-doc-card { display:flex; align-items:center; gap:14px; background:#111; border:1px solid #1e1e1e; border-radius:12px; padding:14px 16px; text-decoration:none; transition:border-color .15s; }
.member-doc-card:hover { border-color:var(--yellow); }
.member-doc-icon { font-size:1.4rem; flex-shrink:0; }
.member-doc-details { flex:1; min-width:0; }
.member-doc-title { font-size:.9rem; font-weight:700; color:#e0e0e0; margin-bottom:3px; }
.member-doc-desc  { font-size:.78rem; color:#666; }
.member-doc-arrow { font-size:1.1rem; color:#555; flex-shrink:0; }
.member-doc-card:hover .member-doc-arrow { color:var(--yellow); }

/* =========================================================
   MEMBER PORTAL — Profile & Selfie tab
   ========================================================= */
.profile-grid { display:grid; grid-template-columns:280px 1fr; gap:24px; align-items:start; }
@media(max-width:700px){ .profile-grid{ grid-template-columns:1fr; } }
.profile-photo-card { background:#111; border:1px solid #1e1e1e; border-radius:16px; padding:24px; text-align:center; }
.profile-photo-wrap { position:relative; width:120px; height:120px; margin:0 auto 16px; }
.profile-photo-img { width:120px; height:120px; border-radius:50%; object-fit:cover; border:3px solid var(--yellow); display:block; }
.profile-photo-placeholder { width:120px; height:120px; border-radius:50%; background:#1a1a1a; border:3px solid #2a2a2a; display:flex; align-items:center; justify-content:center; font-size:2.2rem; font-weight:900; color:#444; letter-spacing:-.04em; }
.profile-photo-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:10px; }
.profile-photo-note { font-size:.72rem; color:#555; margin:0; line-height:1.4; }
.profile-selfie-error { color:#f87171; font-size:.82rem; margin-top:8px; }
.profile-info-card { background:#111; border:1px solid #1e1e1e; border-radius:16px; padding:24px; }

/* =========================================================
   ID CARD — Photo area
   ========================================================= */
.id-card-photo-wrap { width:56px; height:56px; flex-shrink:0; margin-right:2px; }
.id-card-photo-placeholder { width:56px; height:56px; border-radius:50%; background:#252525; border:2px solid var(--yellow); display:flex; align-items:center; justify-content:center; font-size:.9rem; font-weight:900; color:#777; }
.id-card-photo-img { width:56px; height:56px; border-radius:50%; object-fit:cover; border:2px solid var(--yellow); display:block; }

/* =========================================================
   CHAT WIDGET (member portal)
   ========================================================= */
.chat-bubble-btn { position:fixed; bottom:28px; right:28px; z-index:9000; background:var(--yellow); border:none; border-radius:50%; width:56px; height:56px; font-size:1.4rem; cursor:pointer; box-shadow:0 4px 20px rgba(0,0,0,.5); display:flex; align-items:center; justify-content:center; transition:transform .18s; }
.chat-bubble-btn:hover { transform:scale(1.08); }
.chat-bubble-icon { pointer-events:none; }
.chat-unread-dot { position:absolute; top:6px; right:6px; width:12px; height:12px; background:#f87171; border-radius:50%; border:2px solid #0a0a0a; }
.chat-panel { position:fixed; bottom:96px; right:28px; z-index:9000; width:340px; max-height:520px; background:#141414; border:1px solid #2a2a2a; border-radius:18px; box-shadow:0 12px 40px rgba(0,0,0,.7); flex-direction:column; overflow:hidden; }
@media(max-width:420px){ .chat-panel{ width:calc(100vw - 24px); right:12px; } .chat-bubble-btn{ bottom:16px; right:16px; } }
.chat-panel-header { display:flex; align-items:center; justify-content:space-between; padding:13px 15px; background:#1a1a1a; border-bottom:1px solid #222; flex-shrink:0; }
.chat-panel-header-info { display:flex; align-items:center; gap:10px; }
.chat-panel-avatar { background:var(--yellow); color:#0a0a0a; font-weight:900; font-size:.76rem; border-radius:50%; width:36px; height:36px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.chat-panel-title  { font-size:.88rem; font-weight:700; color:var(--white); }
.chat-panel-status { font-size:.72rem; color:#666; margin-top:1px; }
.chat-panel-close  { background:none; border:none; color:#666; font-size:1rem; cursor:pointer; padding:4px; line-height:1; }
.chat-panel-close:hover { color:var(--white); }
.chat-messages { flex:1; overflow-y:auto; padding:14px 12px; display:flex; flex-direction:column; gap:10px; min-height:0; max-height:330px; }
.chat-date-divider { text-align:center; font-size:.72rem; color:#444; margin:2px 0; }
.chat-msg { display:flex; flex-direction:column; max-width:86%; }
.chat-msg-admin  { align-self:flex-start; }
.chat-msg-member { align-self:flex-end; }
.chat-msg-bubble { padding:10px 13px; border-radius:14px; font-size:.88rem; line-height:1.45; }
.chat-msg-admin  .chat-msg-bubble { background:#1e1e1e; color:#ccc; border-bottom-left-radius:4px; }
.chat-msg-member .chat-msg-bubble { background:var(--yellow); color:#0a0a0a; font-weight:600; border-bottom-right-radius:4px; }
.chat-msg-time { font-size:.7rem; color:#555; margin-top:3px; padding:0 3px; }
.chat-msg-member .chat-msg-time { text-align:right; }
.chat-input-row { display:flex; align-items:flex-end; gap:8px; padding:10px 12px; border-top:1px solid #1e1e1e; background:#0f0f0f; flex-shrink:0; }
.chat-textarea { flex:1; background:#1a1a1a; border:1.5px solid #2a2a2a; border-radius:10px; padding:9px 12px; color:var(--white); font-size:.88rem; font-family:inherit; resize:none; outline:none; line-height:1.4; max-height:100px; overflow-y:auto; }
.chat-textarea:focus { border-color:var(--yellow); }
.chat-send-btn { background:var(--yellow); border:none; border-radius:10px; width:36px; height:36px; font-size:1rem; cursor:pointer; flex-shrink:0; display:flex; align-items:center; justify-content:center; transition:opacity .15s; color:#0a0a0a; }
.chat-send-btn:hover { opacity:.85; }

/* =========================================================
   PUBLIC LIVE CHAT WIDGET (ny-chat-*)
   ========================================================= */
#ny-chat-wrap { position:fixed; bottom:28px; right:28px; z-index:10000; display:flex; flex-direction:column; align-items:flex-end; gap:12px; }
#ny-chat-fab { background:var(--yellow); border:none; border-radius:50%; width:58px; height:58px; cursor:pointer; box-shadow:0 4px 22px rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; color:#0a0a0a; position:relative; transition:transform .18s; flex-shrink:0; }
#ny-chat-fab:hover { transform:scale(1.08); }
#ny-chat-badge { position:absolute; top:7px; right:7px; width:12px; height:12px; background:#f87171; border-radius:50%; border:2px solid #0a0a0a; }
#ny-chat-panel { width:330px; max-height:500px; background:#141414; border:1px solid #2a2a2a; border-radius:18px; box-shadow:0 12px 40px rgba(0,0,0,.75); flex-direction:column; overflow:hidden; }
@media(max-width:460px){ #ny-chat-wrap{ right:12px; bottom:16px; } #ny-chat-panel{ width:calc(100vw - 24px); } }
.ny-chat-header { display:flex; align-items:center; justify-content:space-between; padding:13px 15px; background:#1a1a1a; border-bottom:1px solid #222; flex-shrink:0; }
.ny-chat-title { font-size:.9rem; font-weight:700; color:var(--white); }
.ny-chat-close { background:none; border:none; color:#666; font-size:1.2rem; cursor:pointer; line-height:1; padding:2px 6px; }
.ny-chat-close:hover { color:var(--white); }
#ny-chat-body { display:flex; flex-direction:column; flex:1; min-height:0; overflow:hidden; }
.ny-chat-intro { padding:16px 15px 8px; font-size:.85rem; color:#999; line-height:1.5; }
.ny-chat-intro p { margin:0; }
.ny-chat-start-form { display:flex; flex-direction:column; gap:10px; padding:8px 15px 15px; }
.ny-chat-start-form input, .ny-chat-start-form textarea { background:#1a1a1a; border:1.5px solid #2a2a2a; border-radius:10px; padding:9px 12px; color:var(--white); font-size:.88rem; font-family:inherit; outline:none; resize:none; line-height:1.4; }
.ny-chat-start-form input:focus, .ny-chat-start-form textarea:focus { border-color:var(--yellow); }
.ny-chat-start-form button[type="submit"] { background:var(--yellow); border:none; border-radius:10px; padding:10px; font-size:.9rem; font-weight:700; color:#0a0a0a; cursor:pointer; transition:opacity .15s; }
.ny-chat-start-form button[type="submit"]:hover { opacity:.85; }
.ny-chat-error { font-size:.78rem; color:#f87171; padding:0 2px; }
.ny-chat-messages { flex:1; overflow-y:auto; padding:12px 12px 6px; display:flex; flex-direction:column; gap:10px; min-height:120px; max-height:320px; }
.ny-chat-empty-msgs { font-size:.82rem; color:#555; text-align:center; padding:20px 0; }
.ny-bubble-wrap { display:flex; flex-direction:column; }
.ny-from-visitor { align-items:flex-end; }
.ny-from-admin   { align-items:flex-start; }
.ny-bubble { padding:10px 14px; border-radius:14px; max-width:80%; font-size:.87rem; line-height:1.45; word-break:break-word; }
.ny-bubble-visitor { background:var(--yellow); color:#0a0a0a; font-weight:600; border-bottom-right-radius:4px; }
.ny-bubble-admin   { background:#1e1e1e; color:#ccc; border-bottom-left-radius:4px; }
.ny-bubble-meta { font-size:.7rem; color:#555; margin-top:2px; padding:0 3px; }
.ny-from-visitor .ny-bubble-meta { text-align:right; }
.ny-chat-reply-form { display:flex; align-items:flex-end; gap:8px; padding:10px 12px; border-top:1px solid #1e1e1e; background:#0f0f0f; flex-shrink:0; }
#ny-chat-reply-input { flex:1; background:#1a1a1a; border:1.5px solid #2a2a2a; border-radius:10px; padding:9px 12px; color:var(--white); font-size:.88rem; font-family:inherit; resize:none; outline:none; line-height:1.4; max-height:90px; overflow-y:auto; }
#ny-chat-reply-input:focus { border-color:var(--yellow); }
#ny-chat-reply-btn { background:var(--yellow); border:none; border-radius:10px; width:36px; height:36px; cursor:pointer; flex-shrink:0; display:flex; align-items:center; justify-content:center; color:#0a0a0a; transition:opacity .15s; }
#ny-chat-reply-btn:hover { opacity:.85; }
.ny-chat-closed-note { padding:12px 14px; font-size:.82rem; color:#666; border-top:1px solid #1e1e1e; text-align:center; }
.ny-link-btn { background:none; border:none; color:var(--yellow); font-size:.82rem; cursor:pointer; text-decoration:underline; padding:0; }
.ny-chat-thread-badge { font-size:.62rem; font-weight:700; padding:2px 7px; border-radius:20px; text-transform:uppercase; letter-spacing:.06em; background:#1a3a4a; color:#60a5fa; margin-left:4px; }

