/* ===== PALETĂ DIN LOGO SENS CHURCH ===== */
:root {
  --bg:       #19231e;   /* verde forest foarte întunecat */
  --card:     #1f2e28;   /* card ușor mai deschis */
  --card2:    #243329;   /* card alternativ */
  --text:     #ede8e0;   /* cream cald */
  --muted:    #92aaa2;   /* sage decolorat */
  --line:     #2b3d35;   /* borduri subtile verzi */
  --accent:   #c07a56;   /* teracotă din logo */
  --accent2:  #7a9e96;   /* sage din logo */
  --green:    #3a6358;   /* verde forest din logo */
  --dark:     #111a16;   /* cel mai întunecat */
  --soft:     #1c2b24;   /* mai ușor decât bg */
  --success:  #72b05d;
  --danger:   #d97060;
  --radius:   16px;
  --radius-lg:24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== LOGO WATERMARK FIX (centrat, rămâne pe loc la scroll) ===== */
.page-watermark-wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.page-watermark {
  width: min(60vw, 600px);
  height: auto;
  opacity: 0.10;
  /* blur fin ca logo-ul să nu se amestece cu textul */
  filter: brightness(5) saturate(0.3) blur(2.5px);
  pointer-events: none;
  user-select: none;
}

/* Site content stă deasupra watermark-ului */
#publicSite { position: relative; z-index: 1; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.65; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
h1 { font-size: clamp(34px, 5.5vw, 66px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 8px; }

/* ===== TOPBAR ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(25, 35, 30, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.brand span { color: var(--accent); }
.brand-logo-img { height: 36px; width: auto; display: block; }

.public-nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.nav-btn {
  border: 0;
  background: transparent;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-btn:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-btn.active { background: var(--accent); color: #fff; font-weight: 700; }

.login-pill {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.login-pill:hover { background: var(--soft); border-color: var(--accent2); }

/* "Zona membri" din lista de opțiuni — apare doar pe telefon */
.nav-login { display: none; }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

/* ===== PAGES ===== */
.page { display: none; padding: 48px 5% 60px; }
.page.active { display: block; }

/* ===== BUTTONS ===== */
.primary {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: opacity .15s, transform .1s;
}
.primary:hover { opacity: .88; transform: translateY(-1px); }

.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s, border-color .15s;
}
.secondary:hover { background: var(--soft); border-color: var(--accent2); }

.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  transition: color .15s, border-color .15s;
}
.ghost:hover { color: var(--text); border-color: var(--accent2); }

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* ===== GRIDS ===== */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color .2s;
}

/* ===== LABELS / SMALL TEXT ===== */
.small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.muted { color: var(--muted); }

/* ===== HOMEPAGE ===== */
/* Screen 1 – Hero foto */
.hero-screen {
  min-height: 84vh;
  border-radius: var(--radius-lg);
  background-color: #111a16;
  display: flex;
  align-items: flex-end;
  padding: 52px;
  position: relative;
  overflow: hidden;
  margin-bottom: 72px;
}
/* Imaginea de fundal — strat separat, cu zoom lent (efect Ken Burns) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,18,14,.92) 0%, rgba(10,18,14,.35) 52%, rgba(10,18,14,.12) 100%),
    linear-gradient(105deg, rgba(10,18,14,.55) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.hero-screen-inner { position: relative; z-index: 2; max-width: 820px; }

/* Etichetă mică deasupra titlului */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(237, 232, 224, .92);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: heroRise .7s .1s cubic-bezier(.22,1,.36,1) both;
}
.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(192,122,86,.6);
  animation: heroPulse 2.2s ease-out infinite;
}
@keyframes heroPulse {
  0%   { box-shadow: 0 0 0 0 rgba(192,122,86,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(192,122,86,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,122,86,0); }
}

.hero-screen h1 {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
  filter: drop-shadow(0 4px 26px rgba(0,0,0,.55));
  animation: heroRise .8s .22s cubic-bezier(.22,1,.36,1) both;
}
/* Ultimele cuvinte din titlu — accent teracotă cu gradient */
.hero-accent {
  background: linear-gradient(100deg, #e0a37e 0%, var(--accent) 55%, #d98d63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Butoane pe hero */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: heroRise .8s .38s cubic-bezier(.22,1,.36,1) both;
}
.hero-btn { padding: 14px 26px; font-size: 15px; box-shadow: 0 14px 30px -10px rgba(192,122,86,.55); }
.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .15s;
}
.hero-btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); transform: translateY(-1px); }
.hero-btn-arrow { transition: transform .2s; }
.hero-btn-ghost:hover .hero-btn-arrow { transform: translateX(4px); }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* Indicator de scroll — săgeată subtilă jos, centrat */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border-right: 2px solid rgba(255,255,255,.55);
  border-bottom: 2px solid rgba(255,255,255,.55);
  transform: rotate(45deg);
  z-index: 2;
  animation: heroScrollBounce 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: .55; }
  50%      { transform: translateY(8px) rotate(45deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-eyebrow, .hero-screen h1, .hero-cta, .hero-scroll, .hero-eyebrow-dot { animation: none; }
}

/* Screen 2 – Viziune */
.vision-screen {
  max-width: 700px;
  margin: 0 auto 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Linia decorativă teracotă */
.vision-screen::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 24px;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}
.vision-screen h2 { margin-bottom: 18px; }
.vision-text { font-size: 18px; color: var(--muted); line-height: 1.8; }
.vision-screen .actions { justify-content: center; }

/* Homepage feature cards */
/* auto-fit: dacă unul sau două carduri sunt ascunse din Sheets, restul ocupă frumos spațiul */
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(192, 122, 86, .3); transform: translateY(-2px); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; margin-bottom: 6px; }

/* ===== SECȚIUNEA PROGRAM ===== */
.next-service-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
  align-items: start;
}

/* Card stânga — ziua și ora */
.next-service-main {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.next-service-time-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 14px 0 16px;
  flex-wrap: wrap;
}
.next-service-day {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--text);
}
.next-service-hour {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Card dreapta — eveniment special */
/* Rândurile de program — cardul e static; doar butonul „+ Salvează în calendar" e link */
.program-row {
  display: block;
  padding: 16px 18px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.program-row .next-service-time-row { margin: 0 0 6px; }
.program-row .next-service-hour { font-size: clamp(32px, 4vw, 50px); }
.program-row-desc { margin: 0 0 8px; font-size: 14px; }
.program-row-hint {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: .02em;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s, border-color .15s, transform .1s;
}
.program-row-hint:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.program-row-hint:active { transform: scale(.95); }

/* Adresa — click = Google Maps */
.program-adresa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 2px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.program-adresa:hover { color: var(--accent); border-color: var(--accent); }
.program-adresa-pin { flex-shrink: 0; }

.next-event-card {
  background: linear-gradient(145deg, var(--green), #223d34);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.next-event-card[role="button"]:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
}
.next-event-photo {
  height: 150px;
  background-size: cover;
  background-position: center;
  background-color: rgba(0,0,0,.25);
}
.next-event-body { padding: 26px 30px 30px; }
.next-event-card .small { color: rgba(255,255,255,.55); margin-bottom: 10px; }
.next-event-card h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.next-event-card p { color: rgba(255,255,255,.72); margin: 0; }
.next-event-loc { margin-top: 6px !important; font-size: 14px; }
.next-event-cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

/* ===== IMAGE BLOCK ===== */
.image-block {
  min-height: 200px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1c2b24, #243329);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: var(--text);
  overflow: hidden;
  position: relative;
  margin-top: 20px;
}
.image-block h3 { color: #fff; margin-bottom: 4px; }
.image-block p { color: rgba(255,255,255,.7) !important; margin: 0; }

/* ===== SECTION HEAD ===== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head p { max-width: 520px; margin: 0; }

/* ===== EVENTS ===== */
.event-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.event-row:first-of-type { border-top: 0; padding-top: 8px; }
.datebox {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 62px;
  text-align: center;
  padding: 10px 8px;
  font-weight: 800;
  font-size: 12px;
  color: var(--accent);
  line-height: 1.4;
  flex-shrink: 0;
}
.event-row strong { display: block; font-size: 15px; margin-bottom: 2px; color: var(--text); }
.event-row p { margin: 0; font-size: 13px; }

/* Timeline */
.timeline { border-left: 2px solid var(--line); padding-left: 20px; display: grid; gap: 12px; margin-top: 12px; }
.timeline-item {
  position: relative;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px; top: 18px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.timeline-item strong { font-size: 13px; color: var(--accent); display: block; margin-bottom: 2px; }
.timeline-item p { font-size: 14px; margin: 0; }

/* ===== SERMONS ===== */
.sermon-card { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: center; }
.play-box {
  height: 82px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green), #2a4e44);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  flex-shrink: 0;
}

/* ===== DEPARTMENTS ===== */
.department-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}

/* ===== SHOP ===== */
.product-card { display: flex; flex-direction: column; gap: 10px; }
.product-photo {
  height: 190px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1c2b24, #243329);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  padding: 12px;
  letter-spacing: .06em;
}
.product-price { font-size: 22px; font-weight: 850; color: var(--text); }
.size-row { display: flex; gap: 6px; flex-wrap: wrap; }
.size-chip {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}
.buy-btn { width: 100%; text-align: center; }

.shop-banner {
  background: linear-gradient(135deg, var(--soft), #1a2820);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.shop-banner::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(192,122,86,.07);
}
.shop-banner h2 { margin-bottom: 8px; }
.shop-banner p { max-width: 540px; }

/* ===== FORMS ===== */
label {
  display: block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 6px;
}
input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--text);
  font-size: 14px;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent2);
}
textarea { min-height: 110px; resize: vertical; }

.form-status { font-size: 13px; font-weight: 700; margin-top: 12px; min-height: 18px; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

.hint {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
}

/* ===== ABOUT ===== */
/* Capul paginii: titlu în stânga, butoanele de selectare în dreapta (pe desktop) */
.about-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.about-head h2 { margin-bottom: 6px; }
.about-head .muted { max-width: 520px; }

.about-tabbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Panourile tab-urilor: doar cel activ este vizibil */
.about-panel { display: none; animation: aboutFade .25s ease; }
.about-panel.active { display: block; }
@keyframes aboutFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Poza cu mesaj (imaginea din Sheets > Imagini > "Despre noi") */
.about-photo {
  min-height: 44vh;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--card), var(--card2));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.about-photo-inner { max-width: 760px; }
.about-photo h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-style: italic;
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
.about-photo p {
  color: rgba(255,255,255,.82);
  font-size: 15.5px;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}

/* Povestea / Crezul — layout editorial: titlul în stânga, textul în dreapta */
.about-story {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 22px;
}
.about-story-head { position: sticky; top: 90px; align-self: start; }
.about-story-title {
  font-size: clamp(24px, 2.8vw, 36px);
  margin-bottom: 0;
}
.about-story-text p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 15.5px;
}
.about-story-text p:first-child {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
}
.about-story-text p + p { margin-top: 16px; }

.about-leaders { align-items: stretch; }

/* Capul tab-urilor 2 și 3 */
.about-section-head { margin-bottom: 24px; }
.about-section-head .about-story-title { margin-bottom: 12px; }
.about-intro {
  color: var(--muted);
  max-width: 640px;
}

/* Cardurile de valori (Slujire · Părtășie · Evanghelizare · Ucenicizare) — numerotate automat */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  counter-reset: valoare;
}
.value-card {
  position: relative;
  padding: 30px 28px;
  counter-increment: valoare;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.value-card:hover { border-color: rgba(192, 122, 86, .3); transform: translateY(-2px); }
.value-card::before {
  content: "0" counter(valoare);
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(237, 232, 224, .08);
  pointer-events: none;
}
.value-card .small { margin-bottom: 8px; color: var(--accent2); padding-right: 52px; }
.value-card h3 { font-size: 21px; margin-bottom: 10px; }
.value-card > p:not(.small):not(.value-verse) { flex: 1; }
.value-verse {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 13.5px;
  color: var(--text);
}

.quote-band {
  background: linear-gradient(135deg, var(--card), var(--card2));
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 24px 0;
}
.quote-band h2 {
  font-size: clamp(18px, 2.5vw, 26px);
  margin-bottom: 8px;
  color: var(--text);
  font-style: italic;
  font-weight: 700;
}

.pastor-box { display: grid; grid-template-columns: 86px 1fr; gap: 18px; align-items: center; }
.person-photo {
  width: 86px; height: 86px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--green), #4a7a6e);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 26px;
  flex-shrink: 0;
}

/* ===== PILLS ===== */
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.info-pill {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}

/* ===== GIVE ===== */
.notice {
  border-left: 3px solid var(--accent) !important;
  margin-top: 16px;
  font-size: 14px;
}

/* ===== MEMBER SOON ===== */
.member-soon {
  max-width: 500px;
  margin: 40px auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.member-soon h2 { margin-bottom: 14px; }
.member-soon p { margin-bottom: 24px; }

/* ===== LOGIN — ZONA MEMBRI ===== */
.login-wrap {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.login-card {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(160deg, rgba(36, 51, 41, .92), rgba(25, 35, 30, .96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(255, 255, 255, .02) inset,
    0 1px 0 rgba(255, 255, 255, .05) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  animation: loginIn .5s cubic-bezier(.22, 1, .36, 1);
}
@keyframes loginIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.login-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(192, 122, 86, .28), transparent 70%);
  pointer-events: none;
}
.login-head { text-align: center; margin-bottom: 28px; position: relative; }
.login-logo {
  display: block;
  height: 130px;
  width: auto;
  max-width: 320px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .4));
  user-select: none;
}
.login-logo:not([src]) { display: none; }
.login-title { margin-bottom: 8px; }
.login-sub { font-size: 14px; max-width: 320px; margin: 0 auto; }

.login-form { display: grid; gap: 18px; position: relative; }
.login-field { display: block; }
.login-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.login-input-wrap { position: relative; display: flex; align-items: center; }
.login-ic {
  position: absolute;
  left: 15px;
  width: 19px;
  height: 19px;
  color: var(--muted);
  pointer-events: none;
  transition: color .2s;
}
.login-input-wrap:focus-within .login-ic { color: var(--accent); }
.login-input-wrap input {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  padding: 14px 46px 14px 46px;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.login-input-wrap input::placeholder { color: rgba(146, 170, 162, .45); }
.login-input-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 122, 86, .18);
}
.login-eye {
  position: absolute;
  right: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px;
  border-radius: 10px;
  display: flex;
  transition: color .15s, background .15s;
}
.login-eye:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.login-eye svg { width: 19px; height: 19px; }
.login-eye.on { color: var(--accent); }

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.login-remember { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.login-remember input { accent-color: var(--accent); width: 15px; height: 15px; }
.login-forgot { color: var(--accent2); font-weight: 600; transition: color .15s; }
.login-forgot:hover { color: var(--accent); }

.login-denied[hidden] { display: none; }
.login-denied {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(217, 112, 96, .12);
  border: 1px solid rgba(217, 112, 96, .4);
  color: var(--danger);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  animation: deniedIn .3s ease;
}
.login-denied svg { width: 18px; height: 18px; flex-shrink: 0; }
@keyframes deniedIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.login-card.shake { animation: loginShake .45s cubic-bezier(.36, .07, .19, .97); }
@keyframes loginShake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.login-submit {
  position: relative;
  border: 0;
  border-radius: 14px;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, #cf8a63, var(--accent) 45%, #a35f3f);
  box-shadow: 0 12px 28px -10px rgba(192, 122, 86, .55);
  transition: transform .15s, box-shadow .2s, filter .2s;
  overflow: hidden;
}
.login-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -10px rgba(192, 122, 86, .65); }
.login-submit:hover::after { transform: translateX(120%); }
.login-submit:active { transform: translateY(0); filter: brightness(.95); }
.login-submit.loading { pointer-events: none; filter: saturate(.7) brightness(.9); }
.login-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: loginSpin .7s linear infinite;
  vertical-align: -3px;
  margin-left: 8px;
}
.login-submit.loading .login-spinner { display: inline-block; }
@keyframes loginSpin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .login-card { padding: 34px 22px 26px; }
  .login-row { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 60px;
  background: var(--dark);
  border-top: 1px solid var(--line);
  padding: 44px 5%;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}
.footer h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer p { font-size: 14px; color: #4a6a5e; }
.footer a { display: block; font-size: 14px; color: #5a7a70; margin-bottom: 8px; transition: color .15s; }
.footer a:hover { color: var(--accent); }
.footer-brand { font-weight: 900; font-size: 18px; letter-spacing: .04em; margin-bottom: 10px; color: var(--text); }
.footer-brand span { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  /* Butonul "Meniu" împins maxim în dreapta; logarea intră în lista de opțiuni */
  .menu-toggle { display: inline-block; margin-left: auto; }
  .login-pill { display: none; }
  .nav-login {
    display: block;
    margin-top: 6px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    color: var(--text);
    font-weight: 600;
  }
  .public-nav {
    display: none;
    position: absolute;
    top: 65px; left: 0; right: 0;
    /* Fundal complet opac — blur + fundal semi-transparent se redau greșit
       pe unele telefoane și textul paginii se vedea prin meniu */
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 5% 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    z-index: 99;
    /* Pe ecrane scurte (sau telefon pe orizontală) meniul lung derulează intern */
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }
  .public-nav.open { display: flex; }
  .nav-btn { text-align: left; padding: 13px 14px; border-radius: 12px; font-size: 15px; }
  .page { padding: 28px 5% 48px; }
  .hero-screen { min-height: 62vh; padding: 26px 22px 44px; border-radius: 18px; margin-bottom: 48px; }
  .hero-screen h1 { font-size: clamp(26px, 7vw, 40px); }
  .hero-eyebrow { font-size: 10.5px; padding: 7px 13px; margin-bottom: 16px; }
  .hero-cta { margin-top: 22px; }
  .hero-btn, .hero-btn-ghost { padding: 12px 20px; font-size: 14px; }
  .hero-scroll { display: none; }
  .vision-screen { margin-bottom: 48px; }
  .vision-text { font-size: 16px; }
  .next-service-wrap { grid-template-columns: 1fr; }
  .feature-cards, .grid3, .grid4 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .sermon-card { grid-template-columns: 72px 1fr; }
  .pastor-box { grid-template-columns: 72px 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .about-head { flex-direction: column; align-items: flex-start; }
  .about-story { grid-template-columns: 1fr; gap: 18px; padding: 26px; }
  /* Titlul rămâne lipit sub meniu și pe telefon.
     În repaus arată ca text normal în pagină (fundal transparent);
     clasa .stuck (adăugată din JS doar cât e lipit) îi dă fundal
     semi-transparent cu blur, ca textul să alunece natural pe sub el. */
  .about-story-head {
    position: sticky;
    top: 72px;                       /* imediat sub topbar */
    z-index: 5;
    margin: -14px -26px -12px;       /* compensat de padding — în repaus nimic nu se mișcă */
    padding: 14px 26px 12px;
    border-radius: 0 0 14px 14px;
    transform: translateZ(0);        /* strat propriu — fără pâlpâit la blur */
    transition: background-color .25s ease, box-shadow .25s ease;
  }
  .about-story-head.stuck {
    background: rgba(31, 46, 40, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5);
  }
  .about-photo { min-height: 0; aspect-ratio: 16 / 10; padding: 22px; }
  /* Butoanele Despre: un singur rând, cu scroll orizontal (fără bară vizibilă) */
  .about-tabbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }
  .about-tabbar::-webkit-scrollbar { display: none; }
  .about-tabbar .shop-cat-pill { flex: 0 0 auto; }
  .section-head { flex-direction: column; }
  .footer { grid-template-columns: 1fr; padding: 32px 5%; gap: 24px; }
}

@media (max-width: 600px) {
  .topbar { padding: 12px 4%; }
  .page { padding: 20px 4% 40px; }
  /* Pe telefon titlul se lipește sub bara cu butoanele Despre (care e și ea sticky) */
  .about-story-head { top: 125px; }
  /* Hero pe telefon: format portret, cu loc pentru etichetă + titlu + butoane */
  .hero-screen {
    min-height: 0;
    aspect-ratio: 3 / 4;
    padding: 18px 18px 26px;
    margin-bottom: 36px;
  }
  /* Titlul de peste imagine: natural, stânga-jos, ca pe desktop */
  .hero-screen h1 {
    font-size: clamp(22px, 6.4vw, 30px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-align: left;
  }
  .hero-screen-inner { max-width: 100%; }
  .hero-eyebrow { font-size: 10px; padding: 6px 12px; margin-bottom: 14px; gap: 7px; }
  .hero-cta { margin-top: 18px; gap: 10px; }
  .hero-btn, .hero-btn-ghost { padding: 11px 18px; font-size: 13.5px; }

  /* ===== ACASĂ pe telefon ===== */
  /* Cardul cu programul: mai puțin spațiu pierdut */
  .next-service-main { padding: 24px 18px; }
  .program-row { padding: 14px 16px; margin-top: 12px; }
  /* Ziua sus, ora mare dedesubt — ambele programe arată la fel,
     indiferent cât de lung e numele zilei */
  .program-row .next-service-time-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .program-row .next-service-day { font-size: 15px; }
  .program-row .next-service-hour { font-size: 38px; }
  .next-event-body { padding: 22px 20px 24px; }

  /* Cardurile Închinare / Familie / Comunitate — mai compacte */
  .feature-card { padding: 22px 20px; }
  .feature-cards { gap: 12px; }

  .actions { flex-direction: column; }
  .actions .primary, .actions .secondary, .actions .ghost { width: 100%; text-align: center; }

  /* ===== DESPRE pe telefon ===== */
  /* display:contents scoate .about-head din calcul, astfel încât bara cu butoane
     să fie copil direct al secțiunii și sticky să funcționeze pe toată pagina */
  .about-head { display: contents; }
  .about-head > div { margin-bottom: 12px; }
  /* Bara cu butoane rămâne lipită sub meniul de sus când derulezi,
     ca să poți schimba tab-ul de oriunde din pagină.
     Fundal solid (fără blur — blur + sticky pâlpâie pe telefoane) și
     fără scroll orizontal: cele 3 butoane împart lățimea ecranului. */
  .about-tabbar {
    position: sticky;
    top: 56px;
    z-index: 50;
    margin: 0 -4% 12px;
    /* padding-top mai mare: butoanele coboară puțin, să nu pară lipite de meniul de sus */
    padding: 17px 4% 10px;
    width: auto;
    /* semi-transparent + blur ușor; translateZ ține bara pe strat propriu, fără pâlpâit */
    background: rgba(25, 35, 30, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateZ(0);
    gap: 6px;
    flex-wrap: nowrap;
    overflow: visible;
  }
  .about-tabbar .shop-cat-pill {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 6px;
    font-size: 12.5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .about-photo {
    aspect-ratio: 4 / 3;
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 18px;
  }
  .about-photo h2 { font-size: 20px; line-height: 1.25; }
  .about-photo p { font-size: 13.5px; }
  .about-story { padding: 22px 18px; gap: 12px; margin-bottom: 16px; border-radius: 18px; }
  .about-story-text p { font-size: 14.5px; line-height: 1.75; }
  .about-story-text p:first-child { font-size: 16px; }
  .about-story-text p + p { margin-top: 12px; }
  .about-section-head { margin-bottom: 16px; }
  .values-grid { gap: 12px; }
  .value-card { padding: 22px 18px; border-radius: 18px; }
  .value-card .small { padding-right: 42px; }
  .value-card h3 { font-size: 19px; }
  .value-card::before { top: 16px; right: 18px; font-size: 26px; }
  .value-verse { margin-top: 14px; padding: 10px 14px; font-size: 13px; }
  .about-leaders { gap: 12px; }
  .about-leaders .pastor-box { padding: 18px; border-radius: 18px; }
}

/* ===== „CE CREDEM" — Citește mai mult / Mai puțin ===== */
.crez-extra {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s ease;
}
.crez-extra > div { overflow: hidden; }
.crez-extra.open { grid-template-rows: 1fr; }

.crez-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--accent2);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s, border-color .15s, transform .12s;
}
.crez-toggle:hover { color: var(--accent); border-color: var(--accent); }
.crez-toggle:active { transform: scale(.95); }
.crez-toggle-sageata { font-size: 12px; }

#about-crez-titlu { scroll-margin-top: 90px; }

@media (prefers-reduced-motion: reduce) {
  .crez-extra { transition: none; }
}

/* ===== SOCIAL — Instagram / Facebook / TikTok ===== */
/* Pastilă cu contur în gradient animat + butoane colorate în brandul fiecărei rețele */
.social-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 14px 20px;
  border-radius: 20px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(120deg,
      rgba(249, 206, 52, .55), rgba(238, 42, 123, .55), rgba(98, 40, 215, .55),
      rgba(24, 119, 242, .55), rgba(249, 206, 52, .55)) border-box;
  background-size: 100% 100%, 300% 300%;
  animation: socialBorder 9s linear infinite;
}
@keyframes socialBorder {
  0%   { background-position: 0 0, 0% 50%; }
  100% { background-position: 0 0, 300% 50%; }
}

.social-meta { display: flex; flex-direction: column; gap: 1px; margin: 0 6px 0 2px; }
.social-label { margin: 0; color: var(--muted); letter-spacing: .14em; white-space: nowrap; }
.social-row .small { margin-bottom: 0; }
.social-handle { font-weight: 800; font-size: 14.5px; color: var(--text); }

.social-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s, box-shadow .18s;
}
.social-btn svg { width: 21px; height: 21px; position: relative; z-index: 1; }

/* Reflexie care „mătură" butonul la hover */
.social-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.social-btn:hover::after { left: 170%; }

.social-insta { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); box-shadow: 0 6px 16px rgba(238, 42, 123, .28); }
.social-fb    { background: #1877f2; box-shadow: 0 6px 16px rgba(24, 119, 242, .28); }
.social-tt    { background: #010101; border: 1px solid #333; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
/* Efectul „glitch" cyan/roz specific TikTok */
.social-tt svg { filter: drop-shadow(1.4px 0 0 #fe2c55) drop-shadow(-1.4px 0 0 #25f4ee); }

.social-btn:hover  { transform: translateY(-4px) scale(1.07); }
.social-insta:hover { box-shadow: 0 12px 26px rgba(238, 42, 123, .45); }
.social-fb:hover    { box-shadow: 0 12px 26px rgba(24, 119, 242, .45); }
.social-tt:hover    { box-shadow: 0 12px 26px rgba(37, 244, 238, .25), 0 12px 26px rgba(254, 44, 85, .2); }
.social-btn:active { transform: scale(.9); }

/* Pe pagina Contact: sub lista de informații, deasupra hărții */
.social-row--contact { margin: 4px 0 18px; }


@media (max-width: 480px) {
  .social-row { width: 100%; justify-content: space-between; gap: 8px; padding: 12px 16px; }
  .social-btn { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .social-row { animation: none; }
  .social-btn::after { display: none; }
}

/* ===== DONAȚII ===== */
/* Cele 3 opțiuni = carduri egale, pe un singur rând pe desktop */
.give-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}
/* Cardurile din interior devin copii direcți ai grilei, ca toate să fie egale */
#give-categorii { display: contents; }

.give-cat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 28px;
  border-left: none;
  transition: border-color .2s, transform .18s, box-shadow .18s;
}
.give-cat:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.give-cat h3 { margin: 0 0 6px; font-size: 20px; }
.give-cat p { margin: 0; max-width: none; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.give-cat .primary { flex-shrink: 0; margin-top: auto; width: 100%; padding-top: 13px; padding-bottom: 13px; }

/* Imagine de fundal pe cardurile de donații (link din Sheet), ușor transparentă */
.give-cat, .give-lunar { position: relative; overflow: hidden; }
.give-cat > *, .give-lunar > * { position: relative; z-index: 1; }
.give-card--img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--card-img);
  background-size: cover;
  background-position: center;
  opacity: var(--card-img-op, .22);
  pointer-events: none;
}
/* Un voal discret peste imagine, ca textul să rămână lizibil */
.give-card--img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.28));
  pointer-events: none;
}

.give-lunar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--green), #223d34);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .18s, box-shadow .18s;
}
.give-lunar:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.give-lunar-eticheta { color: rgba(255,255,255,.55); margin: 0; }
.give-lunar h3 { color: #fff; font-size: 20px; margin: 0; }
.give-lunar p { color: rgba(255,255,255,.72); margin: 0; font-size: 14.5px; line-height: 1.55; }
.give-lunar .primary { margin-top: auto; width: 100%; }
.give-lunar-note {
  font-size: 12.5px;
  color: rgba(255,255,255,.5) !important;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 12px;
  width: 100%;
}

@media (max-width: 980px) {
  .give-wrap { grid-template-columns: 1fr; }
  .give-cat:hover, .give-lunar:hover { transform: none; box-shadow: none; }
}

.don-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 16, 13, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
}
.don-overlay.open { display: flex; animation: donFade .25s ease; }

.don-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.don-overlay.open .don-modal { animation: donPop .5s cubic-bezier(.34, 1.45, .64, 1); }

@keyframes donFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes donPop {
  0%   { opacity: 0; transform: translateY(28px) scale(.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Eticheta mică de deasupra titlului — aceeași structură pentru toate cele 3 donații */
.don-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(192, 122, 86, .12);
  border: 1px solid rgba(192, 122, 86, .35);
  padding: 4px 11px;
  border-radius: 999px;
  margin: 0 0 10px;
}

.don-modal h3 { font-size: 20px; margin-bottom: 4px; padding-right: 30px; }
.don-subtitlu { font-size: 13.5px; margin-bottom: 18px; }
.don-modal form { display: flex; flex-direction: column; gap: 14px; }

/* Versetul din panoul lateral — vizibil doar pe desktop */
.don-side-foot { display: none; }

/* Mesajul de stare (gol până la trimitere) nu ocupă loc degeaba */
.don-modal .form-status:empty { display: none; }
.don-modal .form-status { margin-top: 0; min-height: 0; }

/* ===== Fereastra de donație pe DESKTOP — două panouri, aspect natural de web ===== */
@media (min-width: 700px) {
  .don-modal {
    max-width: 820px;
    padding: 0;
    display: grid;
    grid-template-columns: 300px 1fr;
    overflow: hidden;
  }
  .don-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 38px 30px 30px;
    background: linear-gradient(160deg, var(--green), #223d34);
  }
  .don-side .don-badge {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.28);
    margin-bottom: 4px;
  }
  .don-side h3 {
    color: #fff;
    font-size: 25px;
    line-height: 1.2;
    padding-right: 0;
    margin: 0;
  }
  .don-side .don-subtitlu {
    color: rgba(255,255,255,.72);
    font-size: 13.5px;
    margin: 0;
  }
  .don-side-foot {
    display: block;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .don-side-foot p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.62);
    font-style: italic;
  }
  .don-side-foot .don-side-ref {
    margin-top: 6px;
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
  }
  .don-body {
    padding: 38px 34px 30px;
    overflow-y: auto;
    max-height: calc(100dvh - 24px);
  }
}

.don-close {
  position: absolute;
  top: 14px; right: 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s;
}
.don-close:hover { color: var(--text); }

.don-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) {
  .don-grid2 { grid-template-columns: 1fr; }
  /* Sumele 10/20/50/100 stau mereu pe un singur rând, oricât de îngust e telefonul:
     chip-urile împart lățimea în mod egal și se strâng la nevoie */
  .don-suma-row { flex-wrap: nowrap; gap: 6px; }
  .don-suma-chip {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 4px;
    font-size: clamp(11.5px, 3.4vw, 14px);
    text-align: center;
    white-space: nowrap;
  }

  /* ===== Fereastra de donație compactă pe telefon — totul încape fără scroll ===== */
  .don-overlay { padding: 10px; }
  .don-modal { padding: 20px 16px 16px; border-radius: 20px; }
  .don-badge { font-size: 9.5px; margin-bottom: 8px; }
  .don-modal h3 { font-size: 17.5px; }
  .don-subtitlu { font-size: 12px; margin-bottom: 12px; }
  .don-modal form { gap: 9px; }
  /* Nume + Prenume rămân pe același rând în fereastra de donație, ca să fie mai scundă */
  #don-form .don-grid2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .don-modal .cc-field-group { gap: 3px; }
  .don-modal .cc-label { font-size: 0.7rem; }
  /* 16px previne zoom-ul automat pe iPhone la atingerea câmpului */
  .don-modal .cc-input { padding: 9px 12px; font-size: 16px; border-radius: 9px; }
  .don-suma-row { margin-bottom: 4px; }
  .don-modal .cc-submit { padding: 12px 20px; margin-top: 0; }
  .don-secure { font-size: 10.5px; margin-top: 2px; }
  .don-close { top: 10px; right: 12px; }
}

/* Telefoane cu ecran scund — comprimăm și mai mult ca să nu apară scroll */
@media (max-width: 480px) and (max-height: 700px) {
  .don-modal { padding: 16px 14px 12px; }
  .don-badge { margin-bottom: 6px; }
  .don-modal h3 { font-size: 16px; }
  .don-subtitlu { font-size: 11.5px; margin-bottom: 8px; }
  .don-modal form { gap: 7px; }
  .don-modal .cc-input { padding: 8px 11px; }
  .don-suma-chip { padding: 6px 4px; }
  .don-suma-row { margin-bottom: 2px; gap: 5px; }
  .don-modal .cc-submit { padding: 11px 20px; }
  .don-secure { font-size: 10px; }
}

/* ===== Animație la apăsarea butoanelor de donație ===== */
.give-cat .primary,
.give-lunar .primary,
.don-modal .cc-submit {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.give-cat .primary:active,
.give-lunar .primary:active,
.don-modal .cc-submit:active { transform: scale(.95); opacity: .92; }

/* Butoanele cu efect ripple au nevoie de poziționare proprie, ca unda să rămână în buton */
.give-cat .primary, .give-lunar .primary, #don-submit { position: relative; overflow: hidden; }

.don-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transform: scale(0);
  animation: donRipple .55s ease-out forwards;
  pointer-events: none;
}
@keyframes donRipple {
  to { transform: scale(2.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .don-overlay.open,
  .don-overlay.open .don-modal,
  .don-ripple { animation: none; }
}

.don-suma-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.don-suma-chip {
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.don-suma-chip:hover { border-color: var(--accent2); }
.don-suma-chip.selected {
  border-color: var(--accent);
  background: rgba(192, 122, 86, .15);
  color: var(--accent);
}

.don-secure {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin: 4px 0 0;
}

.don-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 120px);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--danger);
  color: var(--text);
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  z-index: 300;
  transition: transform .4s cubic-bezier(0.34, 1.3, 0.64, 1);
  max-width: 90vw;
}
.don-toast.ok { border-left-color: var(--success); }
.don-toast.show { transform: translate(-50%, 0); }

/* ===== CONTACT ===== */
.contact-info-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 14.5px;
  transition: background .15s;
}
a.contact-info-item:hover { background: var(--soft); }
.contact-info-static { cursor: default; }
.contact-info-ic {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 15px;
}
.contact-map {
  width: 100%;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 4px;
  filter: grayscale(0.25) contrast(1.05);
}
#contact-form { display: flex; flex-direction: column; gap: 14px; }

/* ===== MAGAZIN: CATEGORII + PRODUSE COMPACTE ===== */
.shop-catbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 20px;
}
.shop-cat-pill {
  border: 1.5px solid var(--line);
  background: var(--soft);
  color: var(--text);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.shop-cat-pill:hover { border-color: var(--accent2); }
.shop-cat-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Grid dens: multe produse mici pe rând */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.shop-grid .product-card {
  padding: 10px;
  border-radius: var(--radius);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .18s, transform .15s, box-shadow .18s;
}
.shop-grid .product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.shop-grid .product-card:active { transform: scale(.98); }
.shop-grid .product-photo {
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
  margin-bottom: 8px;
  font-size: 11px;
  position: relative;
}
.shop-grid .product-card h3 { font-size: 14px; margin-bottom: 2px; }
.shop-grid .product-card .product-price { font-size: 14px; margin: 2px 0 6px; }
.product-view-hint {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: .02em;
}
.shop-grid .product-card:hover .product-view-hint { color: var(--accent); }
.product-size { margin-bottom: 10px; padding: 8px 10px; font-size: 13px; }

.product-buy-row { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.product-buy-row .cart-qty { align-self: flex-start; }
.product-buy-row .cart-qty button { width: 30px; height: 30px; font-size: 15px; }
.product-buy-row .cart-qty span { min-width: 16px; font-size: 14px; }
.product-buy-row .buy-btn {
  width: 100%;
  padding: 9px 8px;
  font-size: 13.5px;
  white-space: nowrap;
}

/* ===== Fereastra de detalii produs ===== */
.prod-modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.don-overlay.open .prod-modal { animation: donPop .5s cubic-bezier(.34, 1.45, .64, 1); }

.prod-modal-photo {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background-color: var(--soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  color: var(--accent2);
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.prod-modal-info { display: flex; flex-direction: column; gap: 10px; }
.prod-modal-info h3 { font-size: 22px; margin: 0; padding-right: 26px; }
.prod-modal-info .product-price { font-size: 20px; }
.prod-desc { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.prod-controls { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.prod-controls .product-size { margin-bottom: 0; }
.prod-controls .product-buy-row { flex-direction: row; align-items: center; gap: 12px; }
.prod-controls .buy-btn { flex: 1; padding: 12px 8px; }

/* Desktop: poza în stânga, detaliile în dreapta */
@media (min-width: 700px) {
  .prod-modal {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    padding: 24px;
    align-items: start;
  }
  .prod-modal-info { padding-top: 4px; }
}

/* Telefon: poza mai scundă ca totul să încapă fără scroll */
@media (max-width: 480px) {
  .prod-modal { padding: 12px 12px 14px; border-radius: 20px; gap: 10px; }
  .prod-modal-photo { aspect-ratio: 16 / 10; }
  .prod-modal-info { gap: 8px; }
  .prod-modal-info h3 { font-size: 18px; }
  .prod-modal-info .product-price { font-size: 17px; }
  .prod-desc { font-size: 13.5px; }
}

.product-epuizat-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,16,13,.82);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .03em;
  border-radius: inherit;
}

.cart-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  cursor: pointer;
  z-index: 150;
  transition: transform .15s, background .15s;
}
.cart-fab:hover { transform: scale(1.06); }
#shop.active .cart-fab { display: flex; }

.cart-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--dark);
  border: 2px solid var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: flex-end;
  background: rgba(10, 16, 13, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
}
.cart-overlay.open { display: flex; }

.cart-drawer {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100%;
  overflow-y: auto;
  background: var(--card);
  border-left: 1px solid var(--line);
  padding: 28px 26px 40px;
  box-shadow: -30px 0 80px rgba(0,0,0,.5);
}
.cart-drawer h3 { font-size: 20px; margin-bottom: 14px; }
.cart-drawer form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-nume { font-weight: 700; font-size: 14.5px; }
.cart-item-pret { font-size: 13px; color: var(--muted); }

.cart-qty { display: flex; align-items: center; gap: 10px; }
.cart-qty button {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s;
}
.cart-qty button:hover { border-color: var(--accent); }
.cart-qty span { min-width: 18px; text-align: center; font-weight: 700; }

.cart-nota { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }

/* Nota despre donație — apare înainte de finalizarea comenzii */
.cart-donatie-nota {
  margin: 14px 0 2px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text);
  background: rgba(192, 122, 86, .10);
  border: 1px solid rgba(192, 122, 86, .35);
  border-radius: 12px;
}

.cart-totals { border-top: 1px solid var(--line); padding-top: 12px; }
.cart-totals > div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  padding: 3px 0;
}
.cart-total-row {
  font-size: 17px !important;
  font-weight: 800;
  color: var(--text) !important;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 10px !important;
}

/* ===== CONNECT CARD — SKELETON LOADER ===== */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}

.cc-skeleton { display: flex; flex-direction: column; gap: 14px; }

.sk-field,
.sk-btn {
  border-radius: 10px;
  background: linear-gradient(90deg,
    var(--card2) 25%,
    var(--green) 50%,
    var(--card2) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
}

.sk-field          { height: 48px; width: 100%; }
.sk-field--half    { width: 60%; }
.sk-btn            { height: 44px; width: 140px; margin-top: 6px; }

/* ===== CONNECT CARD — FORM FIELDS ===== */
.connect-card-form { display: flex; flex-direction: column; gap: 16px; }

.cc-field-group { display: flex; flex-direction: column; gap: 6px; }

.cc-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.cc-required { color: var(--accent); }

.cc-input {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.97rem;
  padding: 11px 14px;
  width: 100%;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.cc-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 122, 86, 0.18);
}

.cc-input::placeholder { color: var(--muted); opacity: 0.7; }

select.cc-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2392aaa2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

/* ===== CONNECT CARD — VARIANTE DE RĂSPUNS (radio premium) ===== */
.cc-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.cc-option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  padding: 11px 14px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.12s;
  user-select: none;
}

.cc-option:hover {
  border-color: var(--accent2);
  background: var(--soft);
}

.cc-option:active { transform: scale(0.99); }

/* Radio-ul/checkbox-ul nativ e invizibil, dar rămâne funcțional (validare + tastatură) */
.cc-option input[type="radio"],
.cc-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cc-option-dot {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  position: relative;
  transition: border-color 0.18s;
}

.cc-option-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cc-option-text {
  font-size: 0.93rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  line-height: 1.45;
}

.cc-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--soft);
  box-shadow: 0 0 0 3px rgba(192, 122, 86, 0.14);
}

.cc-option:has(input:checked) .cc-option-dot { border-color: var(--accent); }
.cc-option:has(input:checked) .cc-option-dot::after { transform: scale(1); }

.cc-option:has(input:focus-visible) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 122, 86, 0.22);
}

/* Checkbox (bifare multiplă): pătrat în loc de cerc */
.cc-option--check .cc-option-dot { border-radius: 6px; }
.cc-option--check .cc-option-dot::after { border-radius: 3px; }

.cc-submit {
  align-self: flex-start;
  margin-top: 4px;
  padding: 12px 32px;
  font-size: 0.97rem;
  letter-spacing: 0.03em;
}

.cc-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== CONNECT CARD — SUCCESS STATE ===== */
@keyframes pop-in {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.connect-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  gap: 12px;
}

.connect-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 1.8rem;
  line-height: 60px;
  text-align: center;
  animation: pop-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  margin-bottom: 4px;
}

.connect-success h3 {
  font-size: 1.25rem;
  color: var(--text);
}

.connect-success p {
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 320px;
}

/* Card cu formular: elimină înălțimea fixă (nu mai e nevoie de scroll intern) */
.connect-form-card { align-self: start; }

/* ===================================================================
   MEDIA (Worship & Predici) + PLAYER VIDEO
   =================================================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.media-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}
.media-card--clickable { cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.media-card--clickable:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 30px rgba(0,0,0,.28); }
.media-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-thumb--empty::after {
  content: "SENS";
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 3px;
  opacity: .5;
}
.media-play {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(192,122,86,.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 3px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: transform .18s ease;
}
.media-card--clickable:hover .media-play,
.ev-video-thumb:hover .media-play { transform: scale(1.08); }
.media-card h3 { font-size: 16px; margin: 4px 2px 0; }
.media-desc { font-size: 13.5px; color: var(--muted); margin: 0 2px; }

/* Player video (overlay partajat) */
.video-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6,9,7,.82);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-overlay.open { display: flex; }
.video-modal {
  position: relative;
  width: min(920px, 100%);
}
.video-modal .don-close {
  position: absolute;
  top: -42px;
  right: 0;
  color: #fff;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===================================================================
   EVENIMENTE (înscrieri)
   =================================================================== */
.ev-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--green), #223d34);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.08);
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 20px;
}
.ev-banner-inner { position: relative; padding: 26px 28px; width: 100%; }
.ev-banner-inner h3 { color: #fff; font-size: 26px; line-height: 1.2; margin: 0 0 8px; }
.ev-banner-meta { color: rgba(255,255,255,.86); margin: 0; font-size: 15px; }
.ev-banner-loc { color: rgba(255,255,255,.72); margin: 4px 0 0; font-size: 14px; }
.ev-price-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.ev-desc { color: var(--muted); line-height: 1.75; max-width: 720px; margin: 0 0 22px; }
.ev-video { margin-bottom: 24px; }
.ev-video h3 { font-size: 17px; margin-bottom: 12px; }
.ev-video-thumb {
  position: relative;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--card2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ev-form-card { max-width: 620px; }
.ev-form-card > h3 { font-size: 19px; margin-bottom: 16px; }
.ev-form { display: flex; flex-direction: column; gap: 14px; }
#ev-selector-titlu { margin-bottom: 10px; }

@media (max-width: 640px) {
  .media-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .media-card h3 { font-size: 14px; }
  .ev-banner-inner h3 { font-size: 22px; }
  .video-modal .don-close { top: -38px; }
}
