﻿:root {
  --bg: #eddcc7;
  --ink: #3f2a20;
  --muted: #7a5a46;
  --gold: #c58a2c;
  --rose: #df94a7;
  --brown: #cfa97a;
  --shadow: 0 12px 24px rgba(50, 34, 24, 0.22);
  --radius: 18px;
  --footer-pill: #e0c8a8;
  --footer-icon: rgba(90, 59, 43, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 30% 20%, #f7e6d2 0%, var(--bg) 45%, #d9c4a8 100%);
  min-height: 100vh;
}

.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 18px 48px;
}

.hero {
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.logo {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: #e6d4bf;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  padding: 6px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-family: "Cinzel", serif;
  font-size: 26px;
  letter-spacing: 2.5px;
  color: var(--gold);
  font-weight: 600;
}

.hero-locale {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-sub {
  font-size: 14px;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 10px;
  margin: 4px 0 4px;
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  font-size: 13px;
  letter-spacing: 0.5px;
  font-family: "Nunito Sans", sans-serif;
}

.social img {
  width: 18px;
  height: 18px;
  display: block;
}

.facebook {
  background: #3b5998;
}

.youtube {
  background: #d11c24;
}

.instagram {
  background: #e23e77;
}

.whatsapp {
  background: #1db954;
}

.welcome {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(197, 138, 44, 0.12);
  border: 1px solid rgba(197, 138, 44, 0.35);
  box-shadow: 0 10px 18px rgba(60, 42, 30, 0.2);
  width: 100%;
  text-align: center;
}

.map-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 6px;
}

.map-embed {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(63, 42, 32, 0.16);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 240px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 12px 16px;
  width: 100%;
  border-radius: 14px;
  background: #ddb088;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  border: 1px solid rgba(63, 42, 32, 0.16);
}

.pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(63, 42, 32, 0.14);
  color: #6b4a35;
}

.pill-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill-icon svg path,
.pill-icon svg rect,
.pill-icon svg circle {
  vector-effect: non-scaling-stroke;
}

.section {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.section-title {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-heading .section-title {
  text-align: left;
}

.birthdays-admin-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #6d442e;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(63, 42, 32, 0.22);
  background: rgba(255, 255, 255, 0.45);
}

.birthdays-admin-link:hover {
  background: rgba(255, 255, 255, 0.7);
}

.birthdays-help {
  font-size: 13px;
  color: var(--muted);
}

.birthdays-message {
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(63, 42, 32, 0.16);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: #5f412e;
}

.birthdays-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.birthday-item {
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(63, 42, 32, 0.16);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.birthday-item.is-current-month {
  border-color: rgba(197, 138, 44, 0.48);
  box-shadow: 0 10px 18px rgba(60, 42, 30, 0.14);
}

.birthday-date {
  font-family: "Cinzel", serif;
  font-size: clamp(18px, 4vw, 28px);
  color: #7d512f;
  background: rgba(197, 138, 44, 0.18);
  border-radius: 10px;
  text-align: center;
  padding: 10px 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

.birthday-name {
  font-weight: 700;
  font-size: clamp(20px, 4.5vw, 32px);
  color: #4a2f22;
}

.birthday-note {
  margin-top: 4px;
  font-size: 12px;
  color: #6e4c37;
}

.section-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  text-align: center;
  color: var(--muted);
}

.section.footer-area {
  margin-top: 18px;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.card.image {
  background: rgba(255, 255, 255, 0.2);
}

.video-card {
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.video-card:focus-visible {
  outline: 3px solid rgba(197, 138, 44, 0.72);
  outline-offset: 4px;
}

.card-media {
  display: block;
  width: 100%;
  height: auto;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.05), rgba(10, 10, 10, 0.6));
}

.card-overlay.pink {
  background: linear-gradient(90deg, rgba(236, 168, 188, 0.2), rgba(112, 43, 72, 0.75));
}

.card-overlay.warm {
  background: linear-gradient(90deg, rgba(255, 232, 209, 0.15), rgba(88, 44, 22, 0.65));
}

.card-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 18px 18px 16px;
  display: grid;
  gap: 6px;
}

.card-content.right {
  text-align: right;
  align-items: end;
}

.card-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
}

.card-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 38px;
  letter-spacing: 2px;
}

.card-title.script {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
}

.card-title.neon {
  color: #ffd1df;
  text-shadow: 0 0 12px rgba(255, 150, 190, 0.65);
}

.card-script {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-info {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

.card-tag {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
  width: fit-content;
}

.plan {
  background: #edc79d;
  color: #7a4d26;
  display: grid;
  gap: 8px;
  padding: 18px;
  text-align: center;
}

.plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, #7cc3de 0%, #f1b062 45%, #7fd79b 100%);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(122, 77, 38, 0.75);
}

.plan-title {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.plan-main {
  font-family: "Bebas Neue", sans-serif;
  font-size: 38px;
  letter-spacing: 2px;
}

.plan-footer {
  font-size: 24px;
  font-weight: 700;
}

.prayer {
  background: linear-gradient(135deg, #c8d8e8 0%, #8fb0d4 45%, #3d4a64 100%);
  color: #fff;
  display: grid;
  align-items: center;
  text-align: center;
}

.prayer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
}

.prayer-content {
  position: relative;
  z-index: 1;
  padding: 22px 16px;
  display: grid;
  gap: 8px;
}

.channels {
  display: grid;
  gap: 12px;
}

.pill-footer {
  background: #d9b187;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 10px 18px rgba(60, 42, 30, 0.2);
}

.pill-footer .pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--footer-icon);
}

.footer {
  margin-top: 22px;
  background: #232026;
  color: #f3dfc3;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  box-shadow: var(--shadow);
}

body.video-modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 10, 9, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.video-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.video-modal::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.video-modal.is-flashing::before {
  animation: videoFlash 560ms ease-out;
}

.video-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  transform: scale(0.94);
  transition: transform 240ms ease;
}

.video-modal.is-visible .video-shell {
  transform: scale(1);
}

.video-shell video {
  display: block;
  width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  background: #050505;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.video-close {
  position: absolute;
  top: -44px;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #3f2a20;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@keyframes videoFlash {
  0% {
    opacity: 0;
  }

  18% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
  }
}

.admin-body {
  color: #2f1f17;
}

.admin-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 28px 18px 48px;
  display: grid;
  gap: 14px;
}

.admin-header {
  display: grid;
  gap: 6px;
}

.admin-title {
  font-family: "Cinzel", serif;
  color: #8a5e2d;
  font-size: 24px;
}

.admin-subtitle {
  font-size: 13px;
  color: #694834;
}

.admin-back-link {
  width: fit-content;
  color: #5d3d2a;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(63, 42, 32, 0.2);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 8px 12px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(63, 42, 32, 0.16);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 18px rgba(60, 42, 30, 0.12);
}

.admin-status {
  border-radius: 10px;
  padding: 10px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(63, 42, 32, 0.14);
}

.admin-status.error {
  color: #812f27;
  background: rgba(255, 224, 220, 0.8);
  border-color: rgba(129, 47, 39, 0.25);
}

.admin-status.success {
  color: #1f5c32;
  background: rgba(220, 248, 229, 0.9);
  border-color: rgba(31, 92, 50, 0.25);
}

.admin-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-field {
  display: grid;
  gap: 6px;
}

.admin-field.full {
  grid-column: 1 / -1;
}

.admin-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6c4a34;
}

.admin-input {
  width: 100%;
  border: 1px solid rgba(63, 42, 32, 0.22);
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  font-family: "Nunito Sans", sans-serif;
  background: rgba(255, 255, 255, 0.85);
  color: #3f2a20;
}

.admin-input:focus {
  outline: 2px solid rgba(197, 138, 44, 0.36);
  border-color: rgba(197, 138, 44, 0.54);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-btn {
  border: 1px solid rgba(63, 42, 32, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  cursor: pointer;
  font-weight: 700;
}

.admin-btn.primary {
  background: #ddb088;
  color: #3a281d;
}

.admin-btn.secondary {
  background: rgba(255, 255, 255, 0.85);
  color: #5d3b29;
}

.admin-btn.danger {
  background: #f8d9d3;
  color: #7b2d26;
}

.admin-panel-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.admin-user {
  font-size: 13px;
  color: #6f4e3a;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(63, 42, 32, 0.16);
  border-radius: 10px;
  padding: 8px 10px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(63, 42, 32, 0.12);
  padding: 10px 8px;
  text-align: left;
  font-size: 13px;
}

.admin-table th {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6f4b34;
}

.admin-table .empty {
  text-align: center;
  color: #6f4f3a;
}

.table-actions {
  display: flex;
  gap: 6px;
}

.table-btn {
  border: 1px solid rgba(63, 42, 32, 0.2);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  cursor: pointer;
}

.table-btn.delete {
  background: #f9e1dc;
  color: #822f27;
}

.setup-note {
  border-left: 4px solid #c58a2c;
}

@media (min-width: 720px) {
  .page {
    max-width: 480px;
  }
}

@media (max-width: 680px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .birthday-date {
    font-size: 13px;
    padding: 6px 8px;
  }

  .admin-table-wrap {
    overflow-x: visible;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody tr {
    display: block;
    border: 1px solid rgba(63, 42, 32, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
    padding: 4px 6px;
  }

  .admin-table td {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: none;
    padding: 5px 4px;
  }

  .admin-table td::before {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6f4b34;
    font-weight: 700;
    min-width: 44px;
    flex-shrink: 0;
  }

  .admin-table td:nth-child(1)::before {
    content: "Nome";
  }

  .admin-table td:nth-child(2)::before {
    content: "Data";
  }

  .admin-table td:nth-child(3)::before {
    display: none;
  }

  .admin-table td.empty {
    display: block;
    text-align: center;
    padding: 12px;
  }

  .admin-table td.empty::before {
    display: none;
  }
}
