@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --bg: #17132B;
  --surface: #221D3C;
  --surface-2: #2B2449;
  --navy: #F3F0FF;
  --gold: #FFC864;
  --coral: #FF8C5A;
  --violet: #A796FF;
  --cream: #FFF8EE;
  --ink: #BEB6DC;
  --muted: #8A82AC;
  --line: rgba(255, 255, 255, 0.10);
  --max: 1160px;
  --shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 14px 44px rgba(255, 140, 90, 0.30);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  position: relative;
}

/* subtle grain texture for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.nav-open { overflow: hidden; }

::selection { background: var(--violet); color: white; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--coral), var(--violet)); border-radius: 10px; border: 2px solid var(--bg); }

h1, h2, h3, h4 {
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  color: var(--navy);
  margin: 0 0 0.4em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; }
img { max-width: 100%; }

.accent {
  background: linear-gradient(90deg, var(--coral), var(--violet), var(--gold), var(--coral));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: light-shimmer 7s ease-in-out infinite;
}
@keyframes light-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
header.site {
  background: rgba(23, 19, 43, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
header.site.scrolled { box-shadow: var(--shadow-md); }
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: transform .3s var(--ease); flex-shrink: 0; margin-right: auto; }
.brand:hover { transform: translateY(-1px); }
.brand img { width: 54px; height: 54px; filter: drop-shadow(0 4px 10px rgba(255,140,90,0.35)); }
.brand span { font-family: 'Quicksand', sans-serif; font-weight: 800; font-size: 28px; color: var(--navy); white-space: nowrap; }

.site-search { flex-shrink: 0; order: 2; }

nav.main { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; order: 3; flex: 0 0 100%; justify-content: center; }
nav.main a:not(.btn) {
  text-decoration: none; font-weight: 700; font-size: 13.5px; color: var(--navy);
  position: relative; padding-bottom: 3px;
}
nav.main a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--violet));
  transition: width .3s var(--ease);
}
nav.main a:not(.btn):hover::after { width: 100%; }
nav.main a:not(.btn):hover { color: var(--coral); }

/* Signature motion: the header Donate button is the one place we "spend our boldness" —
   a slow breathing glow, quiet enough to sit in a sticky header all day without nagging. */
nav.main a.btn-primary { animation: breathe-glow 4s ease-in-out infinite; }
@keyframes breathe-glow {
  0%, 100% { box-shadow: 0 10px 26px rgba(255, 140, 90, 0.30); }
  50% { box-shadow: 0 12px 34px rgba(167, 150, 255, 0.42), 0 8px 20px rgba(255, 140, 90, 0.28); }
}

.menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; }
@media (min-width: 861px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
  font-family: 'Nunito', sans-serif;
}
.btn-primary {
  background: linear-gradient(90deg, var(--coral), var(--violet));
  color: white;
  box-shadow: 0 10px 26px rgba(255, 140, 90, 0.30);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); filter: brightness(1.04); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { transform: translateY(-3px); background: var(--navy); color: var(--bg); }
.btn-ghost {
  background: var(--surface);
  border: 2px solid var(--line);
  color: var(--navy);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--coral); box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg) 0%, #241D40 45%, #2E2555 100%);
  padding: 110px 0 100px;
  text-align: center;
}
.hero .blob {
  position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero .blob-1 { width: 460px; height: 460px; background: radial-gradient(circle, var(--gold), transparent 70%); opacity: .6; top: -160px; left: -120px; animation: glow-drift-1 12s ease-in-out infinite; }
.hero .blob-2 { width: 420px; height: 420px; background: radial-gradient(circle, var(--violet), transparent 70%); opacity: .5; bottom: -180px; right: -100px; animation: glow-drift-2 15s ease-in-out infinite; }
.hero .blob-3 { width: 260px; height: 260px; background: radial-gradient(circle, var(--coral), transparent 70%); opacity: .45; top: 40%; left: 46%; animation: glow-drift-3 9s ease-in-out infinite; }
/* Signature motion: the three hero blobs breathe, drift, and warm/cool independently —
   an "ambient light" effect rather than a mechanical loop. Each blob's timing is
   deliberately unsynced so they never repeat in unison. */
@keyframes glow-drift-1 {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); filter: blur(70px) hue-rotate(0deg); }
  50% { transform: translateY(-26px) translateX(16px) scale(1.09); filter: blur(76px) hue-rotate(14deg); }
}
@keyframes glow-drift-2 {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); filter: blur(70px) hue-rotate(0deg); }
  50% { transform: translateY(22px) translateX(-18px) scale(1.07); filter: blur(64px) hue-rotate(-12deg); }
}
@keyframes glow-drift-3 {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); filter: blur(70px) hue-rotate(0deg); }
  50% { transform: translateY(-14px) translateX(-12px) scale(1.14); filter: blur(74px) hue-rotate(10deg); }
}

.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 12.5px; font-weight: 800; color: var(--navy);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(90deg, var(--coral), var(--violet)); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 820px; margin: 0 auto 22px; }
.hero p.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 620px; margin: 0 auto 36px; }
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.wave-divider { display: block; width: 100%; height: 70px; margin-top: -2px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-label {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--coral); font-weight: 800; margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-label::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--coral), var(--violet)); display: inline-block; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon-badge {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 23px;
  box-shadow: 0 8px 20px rgba(255, 140, 90, 0.32);
  transition: transform .35s var(--ease);
}
.card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.stat-num { font-family: 'Quicksand', sans-serif; font-weight: 800; font-size: 40px; color: var(--navy); }
.stat-num .accent { display: inline; }
.stat-label { font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: .3px; }

.product-card { display: flex; flex-direction: column; }
.product-card .price { font-family: 'Quicksand', sans-serif; font-weight: 800; color: var(--violet); font-size: 21px; margin: 10px 0 18px; }
.product-card .btn { margin-top: auto; text-align: center; }

.callout {
  background: var(--surface);
  border-left: 5px solid var(--coral);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.resource-card { border-left: 5px solid var(--violet); }
.resource-card .phone { font-family: 'Quicksand', sans-serif; font-weight: 800; font-size: 22px; color: var(--navy); }

form.contact-form { display: grid; gap: 16px; max-width: 560px; }
form.contact-form input, form.contact-form textarea, form.contact-form select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--surface-2);
  color: var(--navy);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
form.contact-form input::placeholder, form.contact-form textarea::placeholder { color: var(--muted); }
form.contact-form input:focus, form.contact-form textarea:focus, form.contact-form select:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(142, 124, 232, 0.15);
}
form.contact-form select option { background: var(--surface-2); color: var(--navy); }
form.contact-form label { font-weight: 800; font-size: 13.5px; color: var(--navy); margin-bottom: 4px; display: block; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #120E22, #34285C);
  color: white;
  text-align: center;
  padding: 80px 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,200,100,0.18), transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(142,124,232,0.28), transparent 45%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: white; }
.cta-band p { color: #D8D4E8; max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 56px 0 30px;
}
footer.site .grid-3, footer.site .grid-4 { margin-bottom: 34px; }
footer.site h4 { font-size: 14px; color: var(--navy); }
footer.site a { text-decoration: none; font-size: 14px; color: var(--ink); display: block; margin-bottom: 9px; transition: color .25s, transform .25s; }
footer.site a:hover { color: var(--coral); transform: translateX(3px); }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(90deg, var(--coral), var(--violet));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0; transition: transform .25s, opacity .25s;
}
.footer-social a:hover { transform: translateY(-3px); opacity: 0.9; }
.footer-social svg { width: 17px; height: 17px; fill: white; }
.footer-support p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Campaign card ---------- */
.campaign-card {
  max-width: 640px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.campaign-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(255,200,100,0.10), transparent 45%),
              radial-gradient(circle at 85% 100%, rgba(167,150,255,0.12), transparent 45%);
  pointer-events: none;
}
.progress-track {
  position: relative; z-index: 1;
  width: 100%; height: 14px; border-radius: 999px;
  background: var(--surface-2); overflow: hidden; margin-top: 6px;
}
.progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--violet));
  transition: width 1.2s var(--ease);
}
.progress-labels {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink); margin-top: 10px; margin-bottom: 26px;
}
.progress-labels strong { color: var(--navy); font-family: 'Quicksand', sans-serif; }

.amount-row { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.amount-btn {
  flex: 1; min-width: 70px; text-align: center;
  padding: 12px 10px; border-radius: 12px;
  background: var(--surface-2); border: 1.5px solid var(--line);
  color: var(--navy); font-weight: 800; font-family: 'Quicksand', sans-serif; font-size: 15px;
  text-decoration: none; transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.amount-btn:hover { transform: translateY(-3px); border-color: var(--coral); }
.amount-btn.featured { background: linear-gradient(90deg, var(--coral), var(--violet)); color: white; border-color: transparent; }

/* ---------- Tab strip ---------- */
.tab-strip { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.tab-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 22px;
  text-decoration: none; font-weight: 700; font-size: 14px; color: var(--navy);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.tab-pill:hover { transform: translateY(-3px); border-color: var(--coral); }

/* ---------- Donation popup ---------- */
.popup-overlay {
  display: none !important;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10, 8, 20, 0.65);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
  padding: 20px;
}
.popup-overlay.open { opacity: 1; pointer-events: auto; }
.popup-card {
  position: relative;
  width: 100%; max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transform: translateY(18px) scale(0.97);
  transition: transform .35s var(--ease);
}
.popup-overlay.open .popup-card { transform: translateY(0) scale(1); }
.popup-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--surface-2); border: none; color: var(--navy);
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 13px;
}
.popup-badge {
  display: inline-block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 800; color: var(--coral); background: var(--surface-2);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 14px;
}
.freq-toggle {
  display: flex; background: var(--surface-2); border-radius: 999px; padding: 4px;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.freq-btn {
  flex: 1; border: none; background: none; cursor: pointer;
  padding: 9px 8px; border-radius: 999px; font-weight: 700; font-size: 12.5px;
  color: var(--ink); font-family: 'Nunito', sans-serif;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.freq-btn.active { background: linear-gradient(90deg, var(--coral), var(--violet)); color: white; }
.popup-card h3 { font-size: 21px; margin-bottom: 10px; }
.popup-card p { font-size: 13.5px; margin-bottom: 22px; }
.popup-dismiss {
  display: block; width: 100%; background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 12.5px; margin-top: 12px; text-decoration: underline;
}

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

@media (max-width: 860px) {
  html, body { overflow-x: hidden; }

  header.site .wrap {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .brand { margin-right: 0; min-width: 0; flex: 1 1 auto; }
  .brand span { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand img { width: 36px; height: 36px; }

  /* Search moves inside the nav dropdown on mobile instead of fighting the header for space */
  .site-search { order: 4; flex: 0 0 100%; margin-top: 4px; box-sizing: border-box; }
  .site-search input { width: 100% !important; box-sizing: border-box !important; }

  .menu-toggle {
    order: 3;
    flex: 0 0 auto;
    margin-left: 8px;
  }

  nav.main {
    order: 5;
    position: fixed; top: 72px; left: 16px; right: 16px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 18px; box-shadow: var(--shadow-md);
    transform: translateY(-16px) scale(0.98); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  nav.main a:not(.btn) { padding: 10px 4px; width: 100%; }
  nav.main.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
  nav.main a.btn-primary { width: 100%; text-align: center; margin-top: 8px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: 1fr; gap: 14px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 90px 0 70px; }
  .hero h1 { overflow-wrap: break-word; word-break: normal; max-width: 100%; font-size: clamp(1.5rem, 7vw, 3.6rem); }
  .card { padding: 22px; }
  .btn { padding: 11px 20px; font-size: 13.5px; }
  .campaign-card { padding: 32px 22px; }
  .amount-row { display: grid; grid-template-columns: repeat(2, 1fr); min-width: 0; }
  .amount-btn { min-width: 0; width: 100%; box-sizing: border-box; }
  .popup-overlay { padding: 14px; box-sizing: border-box; }
  .popup-card { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; box-sizing: border-box; }
  .freq-toggle { padding: 3px; min-width: 0; box-sizing: border-box; }
  .freq-btn { font-size: 11px; padding: 9px 4px; min-width: 0; box-sizing: border-box; }
}

/* ============================================================
   Language switcher
   ============================================================ */
#lang-switch { position: relative; margin-left: 10px; flex: 0 0 auto; }

#lang-switch-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 700;
  font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: border-color .15s ease, color .15s ease;
}
#lang-switch-btn:hover { border-color: var(--coral); color: var(--coral); }
#lang-switch-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

#lang-switch-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 200;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 6px; min-width: 190px; max-height: 340px; overflow-y: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
#lang-switch.open #lang-switch-menu { display: block; }

.lang-opt {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; border-radius: 8px;
  padding: 9px 12px; font-size: 13.5px; font-family: inherit;
  color: var(--ink); cursor: pointer;
}
.lang-opt:hover { background: var(--surface-2); color: var(--coral); }
.lang-opt:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.lang-opt.is-active { color: var(--gold); font-weight: 800; }
.lang-opt.is-active::after { content: " ✓"; }

/* Suppress Google Translate's injected banner and tooltip */
.skiptranslate iframe, iframe.skiptranslate { display: none !important; }
body { top: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

@media (max-width: 720px) {
  #lang-switch-btn .lang-current { display: none; }
  #lang-switch-btn { padding: 7px 10px; }
}

/* Right-to-left support (Arabic and other RTL languages) */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] #lang-switch-menu { right: auto; left: 0; }
html[dir="rtl"] .lang-opt { text-align: right; }
html[dir="rtl"] #lang-switch { margin-left: 0; margin-right: 10px; }
