* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  padding: 18px;
  background:
    radial-gradient(circle at top, rgba(255, 223, 140, 0.50), transparent 30%),
    linear-gradient(180deg, #b9d8a8 0%, #cfe5b4 18%, #f4df9a 45%, #f0c97a 68%, #d1b36d 100%);
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.35), transparent 18%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.22), transparent 14%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  padding: 38px 28px 34px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(90, 72, 30, 0.18);
  backdrop-filter: blur(12px);
}

.logo img {
  max-width: 210px;
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.brand {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  font-size: 12px;
  color: #6d5b2d;
  margin-bottom: 12px;
  font-weight: 700;
}

h1 {
  font-size: 2.7rem;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #3b2e14;
}

.today-date {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  color: #7a6022;
  margin-bottom: 12px;
  font-weight: 700;
}

.subtitle {
  font-family: Arial, Helvetica, sans-serif;
  color: #5d4b1f;
  margin-bottom: 18px;
  font-size: 1.02rem;
  font-weight: 600;
}

.top-actions,
.actions,
.bottom-activate {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.top-actions {
  margin-bottom: 22px;
}

.bottom-activate {
  margin-top: 22px;
}

.apple-inline-cta {
  display: none;
  justify-content: center;
  margin-top: 14px;
  margin-bottom: 24px;
}

.bottom-apple-cta {
  margin-top: 14px;
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.98;
}

.btn-icon {
  margin-right: 8px;
}

.btn-push {
  background: linear-gradient(180deg, #fff2bc, #e2b95b);
  color: #3c2d0f;
  box-shadow: 0 10px 24px rgba(95, 76, 27, 0.18);
}

.btn-push-wide {
  min-width: 320px;
}

.btn-primary {
  background: linear-gradient(180deg, #f7d98b, #dba64e);
  color: #37260d;
  box-shadow: 0 10px 24px rgba(95, 76, 27, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.32);
  color: #4c3912;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.btn-apple-guide {
  background: linear-gradient(180deg, #f6f6f6, #dadada);
  color: #2b2b2b;
  box-shadow: 0 10px 24px rgba(95, 76, 27, 0.10);
  gap: 10px;
}

.apple-logo {
  width: 18px;
  height: 22px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M318.7 268.1c-.2-47.6 39.1-70.4 40.8-71.5-22.3-32.6-57-37-69.3-37.5-29.5-3-57.6 17.4-72.6 17.4-15.1 0-38.2-17-62.8-16.5-32.3 .5-62.1 18.8-78.7 47.6-33.6 58.2-8.6 144.3 24.1 191.6 16 23.1 35.1 49.1 60.2 48.2 24.2-1 33.3-15.7 62.5-15.7 29.2 0 37.4 15.7 63 15.2 26.1-.4 42.6-23.6 58.5-46.8 18.3-26.7 25.9-52.6 26.2-53.9-.6-.2-50.1-19.2-50.3-76.1zM273.3 116.1c13.3-16.1 22.3-38.5 19.8-60.8-19.2 .8-42.5 12.8-56.2 28.8-12.3 14.2-23 36.9-20.1 58.7 21.4 1.7 43.2-10.9 56.5-26.7z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M318.7 268.1c-.2-47.6 39.1-70.4 40.8-71.5-22.3-32.6-57-37-69.3-37.5-29.5-3-57.6 17.4-72.6 17.4-15.1 0-38.2-17-62.8-16.5-32.3 .5-62.1 18.8-78.7 47.6-33.6 58.2-8.6 144.3 24.1 191.6 16 23.1 35.1 49.1 60.2 48.2 24.2-1 33.3-15.7 62.5-15.7 29.2 0 37.4 15.7 63 15.2 26.1-.4 42.6-23.6 58.5-46.8 18.3-26.7 25.9-52.6 26.2-53.9-.6-.2-50.1-19.2-50.3-76.1zM273.3 116.1c13.3-16.1 22.3-38.5 19.8-60.8-19.2 .8-42.5 12.8-56.2 28.8-12.3 14.2-23 36.9-20.1 58.7 21.4 1.7 43.2-10.9 56.5-26.7z'/></svg>") center / contain no-repeat;
}

.block,
.device-help,
.priority-links,
.secondary-links {
  text-align: left;
  max-width: 780px;
  margin: 0 auto 24px auto;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  padding: 24px 22px;
}

.top-priority {
  margin-top: 24px;
  margin-bottom: 24px;
}

.block h2,
.device-help h3,
.priority-links h3,
.secondary-links h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #8f6b1f;
  margin-bottom: 14px;
  font-weight: 800;
}

.reflection-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  color: #3e2d0e;
  margin-bottom: 16px;
  line-height: 1.4;
}

.reflection p,
.prayer p,
.verse p {
  font-size: 1.18rem;
  line-height: 1.8;
  color: #3c3015;
  margin-bottom: 16px;
}

.reflection p:last-child,
.prayer p:last-child,
.verse p:last-child {
  margin-bottom: 0;
}

.verse-cite {
  display: inline-block;
  margin-top: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #8f6b1f;
  border-top: 1px solid rgba(143, 107, 31, 0.25);
  padding-top: 8px;
}

.share-fallback {
  max-width: 780px;
  margin: 20px auto 0 auto;
  display: none;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.share-fallback a {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.32);
  color: #503a12;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.device-box {
  display: none;
}

.device-box.active {
  display: block;
}

.device-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: #3d2b0a;
  margin-bottom: 14px;
}

.device-steps {
  display: grid;
  gap: 12px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #473716;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  font-size: 0.98rem;
}

.step-icon {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d8b25b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.safari-share-visual {
  padding-left: 40px;
  font-weight: 700;
  color: #6b5319;
}

.device-status {
  margin-top: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #4b3a17;
  display: none;
}

.device-status.show {
  display: block;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.priority-item,
.secondary-item {
  text-decoration: none;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.22);
  color: #3d2d0d;
}

.priority-item {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
  min-height: 106px;
}

.priority-whatsapp {
  background: linear-gradient(180deg, rgba(37, 211, 102, 0.18), rgba(30, 190, 93, 0.10));
  border: 1px solid rgba(37, 211, 102, 0.30);
}

.big-icon {
  font-size: 1.7rem !important;
}

.priority-item .icon,
.secondary-item .icon {
  font-size: 1.22rem;
  line-height: 1;
}

.priority-item strong,
.secondary-item strong {
  color: #7d5e18;
  font-size: 0.98rem;
  font-family: Arial, Helvetica, sans-serif;
}

.priority-item span,
.secondary-item span {
  color: #4c3b18;
  font-size: 0.92rem;
  line-height: 1.45;
  font-family: Arial, Helvetica, sans-serif;
}

.secondary-list {
  display: grid;
  gap: 10px;
}

.secondary-item {
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.secondary-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-note {
  margin-top: 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  color: #5d4921;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #25D366, #1ebe5d);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 35, 13, 0.42);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 18px;
}

.popup-overlay.show {
  display: flex;
}

.popup-card {
  width: 100%;
  max-width: 560px;
  background: #fff8ea;
  border-radius: 24px;
  padding: 26px 20px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-card-apple {
  max-width: 760px;
}

.popup-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  color: #6f5316;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.popup-content {
  font-family: Arial, Helvetica, sans-serif;
  color: #4a3915;
  line-height: 1.65;
  font-size: 0.98rem;
}

.popup-content .popup-step {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.popup-content .popup-step-number {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d8b25b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #7a6022;
}

.apple-guide-content {
  display: grid;
  gap: 18px;
}

.apple-copy-box,
.apple-video-box,
.apple-steps-box,
.apple-screenshots-box {
  background: #fffdf6;
  border: 1px solid #f0e2b8;
  border-radius: 18px;
  padding: 16px;
}

.apple-copy-label,
.apple-section-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: #7a5c1b;
  margin-bottom: 12px;
}

.apple-copy-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.apple-copy-row input {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dec98f;
  font-size: 0.95rem;
}

.btn-copy {
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7d98b, #dba64e);
  color: #37260d;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.apple-copy-status {
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  color: #5c4718;
}

.apple-video-placeholder {
  min-height: 280px;
  border-radius: 18px;
  border: 2px dashed #d8c389;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  color: #6d5721;
  font-family: Arial, Helvetica, sans-serif;
  background: #fffaf0;
}

.apple-step-list {
  display: grid;
  gap: 10px;
}

.apple-step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: Arial, Helvetica, sans-serif;
  color: #4d3b16;
  line-height: 1.55;
}

.apple-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.apple-shot {
  background: #fffaf0;
  border: 1px solid #ead8aa;
  border-radius: 16px;
  padding: 10px;
  text-align: center;
}

.apple-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background: #f4e8c4;
}

.apple-shot-caption {
  margin-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  color: #5d4a1c;
}

@media (max-width: 900px) {
  .priority-grid,
  .apple-shot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .card {
    padding: 28px 18px 30px;
    border-radius: 22px;
  }

  .logo img {
    max-width: 170px;
  }

  h1 {
    font-size: 2rem;
  }

  .block,
  .device-help,
  .priority-links,
  .secondary-links {
    padding: 18px 16px;
  }

  .reflection p,
  .prayer p,
  .verse p {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }

  .btn-push-wide {
    min-width: unset;
  }

  .whatsapp-float {
    right: 12px;
    left: 12px;
    bottom: 12px;
    justify-content: center;
  }

  .apple-copy-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  body {
    padding: 12px;
  }

  h1 {
    font-size: 1.7rem;
  }

  .subtitle {
    font-size: 0.94rem;
  }

  .reflection p,
  .prayer p,
  .verse p {
    font-size: 1rem;
  }
}