/* Feature landing page custom-church-mobile-app only (its mock UI from src/features/custom-church-mobile-app.ts).
   Split from the former site.css; rules keep their original order. Page types and files: Base.astro. */
.mah { --w: 620; --h: 600; max-width: 620px; margin-left: auto; }
.mah__obj { position: absolute; opacity: 0; translate: 0 50px; filter: blur(10px); transition: opacity .9s var(--ease-out), translate 1.4s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(var(--o) * .2s); }
.mah.is-in .mah__obj { opacity: 1; translate: 0 0; filter: none; }
.mah__phone { left: 300px; top: 10px; width: 290px; height: 580px; padding: 10px; border-radius: 46px; background: #fff; box-shadow: var(--shadow-frame), 0 0 0 1px var(--line-100); }
.mah__screen { position: relative; height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 12px 14px; border-radius: 37px; background: var(--surface-0); overflow: hidden; text-align: left; }
.mah__head { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 16px; }
.mah__head b { flex: 1; font-weight: 500; }
.mah__logo { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; transition: background .6s var(--ease-out); }
.mah__live { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 170px; padding: 16px; border-radius: 22px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .28), transparent 60%), linear-gradient(160deg, var(--accent), #10102a 120%); transition: background .6s var(--ease-out); }
.mah__live .flv__live { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .92); }
.mah__live b { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.mah__watch { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink-900); font-size: 12.5px; }
/* Icon above the label: a tile is ~117px wide, too narrow for "Evenimente" / "Rugăciune" next to the icon. */
.mah__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mah__actions span { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 12px; border-radius: 16px; background: #fff; font-size: 13.5px; line-height: 1.2; overflow-wrap: anywhere; }
.mah__actions i { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); transition: background .6s var(--ease-out), color .6s var(--ease-out); }
.mah__tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; font-size: 10px; letter-spacing: -0.01em; white-space: nowrap; color: var(--ink-400); }
.mah__tabbar span.is-on { color: var(--accent); transition: color .6s var(--ease-out); }
.mah__panel { left: 10px; top: 120px; width: 300px; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 24px; box-shadow: var(--shadow-float); text-align: left; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
.mah__panel-title { margin-bottom: 4px; font-size: 17px; font-weight: 500; }
.mah__panel small { margin-top: 6px; font-size: 12px; color: var(--ink-450); }
.mah__field { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-200); background: #fff; font-size: 14px; }
.mah__swatches { display: flex; gap: 10px; }
.mah__swatches button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; transition: box-shadow .3s var(--ease-out); }
.mah__swatches button.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.mah__icon { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(16, 17, 28, .18); transition: background .6s var(--ease-out); }
.mah__stores { left: 40px; top: 470px; display: flex; gap: 8px; }
.mah__stores span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: var(--ink-950); color: #fff; font-size: 13.5px; }
.reduce-motion .mah__obj { opacity: 1; translate: none; filter: none; transition: none; }
.mex-intro__row { margin-top: 64px; }
.mex-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-top: 30px; font-size: 15.5px; }
.mex-checks li { display: flex; align-items: center; gap: 10px; }
.mex-store { max-width: 480px; }
.mex-store__head { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.mex-store__icon { width: 72px; height: 72px; flex: none; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--blue-500); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .3); }
.mex-store__head > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mex-store__head b { font-size: 19px; font-weight: 500; }
.mex-store__head small { font-size: 13px; color: var(--ink-450); }
.mex-store__stars { display: flex; align-items: center; gap: 2px; color: #f5b324; }
.mex-store__stars .i { fill: currentColor; }
.mex-store__stars em { margin-left: 6px; font-style: normal; font-size: 12px; color: var(--ink-450); }
.mex-store__get { padding: 8px 18px; border-radius: 999px; background: var(--blue-500); color: #fff; font-size: 14px; font-weight: 500; }
.mex-store__shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.mex-store__shot { aspect-ratio: 9 / 17; border-radius: 16px; background: var(--surface-1); border: 1px solid var(--line-100); position: relative; overflow: hidden; }
.mex-store__shot::before { content: ""; position: absolute; left: 10%; right: 10%; top: 8%; height: 34%; border-radius: 12px; }
.mex-store__shot::after { content: ""; position: absolute; left: 10%; right: 10%; top: 48%; height: 6%; border-radius: 6px; background: var(--surface-3); box-shadow: 0 18px 0 var(--surface-3), 0 36px 0 var(--surface-3); }
.mex-store__shot--0::before { background: linear-gradient(160deg, #2563eb, #1d3fb8); }
.mex-store__shot--1::before { background: var(--grad-card-panel); }
.mex-store__shot--2::before { background: linear-gradient(135deg, #fde4ec, #f2b3d3); }
.mex__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.mex__stage { position: sticky; top: 110px; display: flex; justify-content: center; }
.mex__phone { width: 320px; height: 650px; padding: 11px; border-radius: 50px; background: #fff; box-shadow: var(--shadow-frame), 0 0 0 1px var(--line-100); }
.mex__screens { position: relative; height: 100%; border-radius: 40px; background: var(--surface-0); overflow: hidden; }
.mex__screen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; padding: 14px 16px; text-align: left; opacity: 0; translate: 0 14px; transition: opacity .5s var(--ease-out), translate .7s var(--ease-out); pointer-events: none; }
.mex__screen.is-on { opacity: 1; translate: 0 0; }
.mex__bar { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 0; font-size: 13px; }
.mex__bar b { font-weight: 500; }
.mex__bar span { display: flex; gap: 3px; }
.mex__bar i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-900); }
.mex-btn--soft { background: var(--blue-100); color: var(--blue-600); }
.mex-give { display: flex; flex-direction: column; gap: 12px; }
.mex-list { display: flex; flex-direction: column; gap: 10px; }
.mex-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: #fff; font-size: 14px; }
.mex-row > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.mex-row b { font-weight: 500; }
.mex-row small { font-size: 12px; color: var(--ink-450); }
.mex-row .mex-low { color: #c45d86; }
.mex-card--stat b { font-size: 24px; letter-spacing: -0.03em; }
.mex-ev { display: flex; flex-direction: column; gap: 12px; }
.mex-ev__poster { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; height: 210px; padding: 18px; border-radius: 22px; color: #fff; background: radial-gradient(120% 80% at 100% 0%, #9dbff5 0%, rgba(157, 191, 245, 0) 55%), linear-gradient(160deg, #2563eb 0%, #1d3fb8 55%, #10102a 100%); }
.mex-ev__poster small { font-size: 12px; color: rgba(255, 255, 255, .8); }
.mex-ev__poster b { font-size: 26px; font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; }
.mex-ev__ticket { flex-direction: row; align-items: center; }
.mex-ev__ticket > span:last-child { display: flex; flex-direction: column; }
.mex-ev__qr { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--surface-1); }
.mex-notes { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.mex-notes .chip { gap: 6px; width: max-content; height: 30px; font-size: 12.5px; }
.mex-notes__hl { padding: 8px 12px; border-radius: 10px; background: var(--blue-100); color: var(--ink-900); }
.mex-att { display: flex; align-items: center; }
.mex-att .mk-av { width: 30px; height: 30px; margin-right: -6px; border: 2px solid #fff; }
.mex-att em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--blue-600); }
.mex-tr { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 22px; background: var(--surface-ink-card); color: #fff; }
.mex-tr .flv__live { width: max-content; }
.mex-tr__langs { display: flex; gap: 6px; }
.mex-tr__langs span { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; color: var(--ink-300); }
.mex-tr__langs span.is-on { background: var(--blue-500); color: #fff; }
.mex-tr p { font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
.mex-tr__wave { display: flex; align-items: center; justify-content: space-between; height: 28px; }
.mex-tr__wave i { width: 3px; height: 30%; border-radius: 2px; background: var(--blue-500); animation: flvWave 1.1s ease-in-out infinite alternate; }
.mex-tr__wave i:nth-child(3n) { animation-duration: .8s; }
.mex-tr__wave i:nth-child(4n+1) { animation-delay: -.5s; }
.mex-pray b { font-size: 15px; }
.mex-pray__btn { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 5px 12px; border-radius: 999px; background: var(--pink-150); color: #b9587b; font-size: 12.5px; }
.mex-auth { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 10px; text-align: center; }
.mex-auth img { border-radius: 16px; margin-bottom: 8px; box-shadow: 0 12px 28px rgba(37, 99, 235, .3); }
.mex-auth b { font-size: 24px; font-weight: 400; letter-spacing: -0.03em; }
.mex-auth small { margin-bottom: 18px; font-size: 14px; color: var(--ink-450); }
.mex-auth__btn { width: 100%; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-200); font-size: 14.5px; }
.mex-auth__btn--dark { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }
.mex-verse { display: flex; flex-direction: column; gap: 12px; }
.mex-verse__card { padding: 20px; border-radius: 22px; color: #fff; background: radial-gradient(120% 90% at 0% 0%, rgba(242, 179, 211, .5), transparent 60%), linear-gradient(160deg, #5b3fcf, #1f2347); }
.mex-verse__card p { font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
.mex-verse__card small { display: block; margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.mex-verse__by { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-500); }
.mex-verse__by .mk-av { width: 26px; height: 26px; }
.mex-lock { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 6px 0; color: #fff; background: radial-gradient(120% 70% at 100% 0%, rgba(157, 191, 245, .6), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(242, 179, 211, .45), transparent 60%), linear-gradient(170deg, #2e3a8c, #10102a); margin: -14px -16px; }
.mex-lock > b { font-size: 56px; font-weight: 400; line-height: 1; letter-spacing: -0.04em; }
.mex-lock > small { margin-bottom: 18px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.mex-lock__n { width: calc(100% - 12px); display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; background: rgba(255, 255, 255, .8); color: var(--ink-900); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.mex-lock__n img { border-radius: 7px; }
.mex-lock__n > span { display: flex; flex-direction: column; font-size: 13.5px; }
.mex-lock__n small { font-size: 11px; color: var(--ink-450); }
.mex-lock__n b { font-weight: 500; }
.mex__list { display: flex; flex-direction: column; gap: 4px; padding-top: 30px; }
.mex__item { border-radius: 20px; transition: background .4s var(--ease-out); }
.mex__item.is-on { background: #fff; box-shadow: var(--shadow-soft); }
.mex__item.is-on .mex__btn { color: var(--ink-900); }
.mex__ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--surface-1); color: var(--ink-500); transition: background .3s var(--ease-out), color .3s var(--ease-out); }
.mex__item.is-on .mex__ico { background: var(--blue-500); color: #fff; }
.mex__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.mex__more > div { overflow: hidden; padding: 0 20px 0 68px; }
.mex__item.is-on .mex__more { grid-template-rows: 1fr; }
.mex__item.is-on .mex__more > div { padding-bottom: 18px; }
.mex__more p { font-size: 15.5px; line-height: 1.55; color: var(--ink-500); }
.mex__more ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 15px; }
.mex__more li { display: flex; align-items: center; gap: 10px; }
.mex__more .cmp-yes { width: 20px; height: 20px; }
.reduce-motion .mex__screen, .reduce-motion .mex__more { transition: none; }
.mex-rhema { max-width: 460px; }
.mex-rhema__head { display: flex; align-items: center; gap: 14px; }
.mex-rhema__head img { border-radius: 12px; }
.mex-rhema__head > span { display: flex; flex-direction: column; }
.mex-rhema__head b { font-size: 19px; font-weight: 500; }
.mex-rhema__head small { font-size: 13px; color: var(--ink-450); }
.mex-rhema__blur { overflow: hidden; }
.mex-rhema__blur img { filter: blur(3px); transform: scale(1.15); }
.mex-rhema__ig { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; border-radius: 16px; background: var(--surface-0); color: var(--ink-900); }
.mex-rhema__ig > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.mex-rhema__ig small { font-size: 12px; color: var(--ink-450); }
.mex-rhema__ig b { font-weight: 500; }
@media (max-width: 1100px) {
  .mex__wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mex__stage { position: relative; top: 0; }
  .mex__list { padding-top: 0; }
  .mex-intro__row .fsec__media { order: -1; }
}
@media (max-width: 720px) {
  .mah { --w: 440; --h: 880; }
  .mah__phone { left: 75px; top: 0; }
  .mah__panel { left: 0; top: 566px; width: 270px; padding: 16px; }
  .mah__stores { left: 284px; top: 600px; flex-direction: column; align-items: flex-start; }
  .mex-checks { grid-template-columns: minmax(0, 1fr); }
  .mex__phone { width: 300px; height: 610px; }
  .mex__more > div { padding: 0 14px 0 14px; }
  .mex-store__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 10px; align-items: start; }
  .mex-store__icon { grid-row: span 2; }
  .mex-store__get { grid-column: 2; justify-self: start; }
  .mex-store__head small, .mex-store__stars em { white-space: nowrap; }
}
