/* ريمونتادا — mobile conference app */
:root {
  --blue: #0a2d6b;
  --blue-mid: #1648a0;
  --blue-soft: #1e5ec4;
  --orange: #f15a24;
  --orange-deep: #d94816;
  --gold: #f0b429;
  --red: #e31c23;
  --green: #5a9e3a;
  --bg: #f3f6fc;
  --white: #ffffff;
  --text: #102446;
  --muted: #5c6d8a;
  --shadow: 0 10px 28px rgba(10, 45, 107, 0.14);
  --radius: 22px;
  --nav-h: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(ellipse 120% 60% at 100% 0%, rgba(241, 90, 36, 0.12), transparent 55%),
    radial-gradient(ellipse 100% 50% at 0% 20%, rgba(30, 94, 196, 0.1), transparent 50%),
    linear-gradient(180deg, #eef3fb 0%, var(--bg) 40%, #e8eef8 100%);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.7;
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px);
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Layout ---------- */
.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
}

/* ---------- Header ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 28px 20px 36px;
  background:
    radial-gradient(circle at 70% 20%, rgba(240, 180, 41, 0.35), transparent 45%),
    linear-gradient(160deg, #0a2d6b 0%, #133f8f 48%, #1a56b8 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(241, 90, 36, 0.25), transparent 40%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.hero--short {
  min-height: 180px;
  padding: 24px 20px 28px;
}

.hero--orange {
  background:
    radial-gradient(circle at 80% 10%, rgba(240, 180, 41, 0.4), transparent 40%),
    linear-gradient(155deg, #d94816 0%, #f15a24 55%, #ff7a3d 100%);
}

.hero--green {
  background:
    radial-gradient(circle at 20% 30%, rgba(240, 180, 41, 0.3), transparent 45%),
    linear-gradient(155deg, #3d7a24 0%, #5a9e3a 60%, #78b84f 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.hero-logo {
  width: min(78%, 300px);
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
  animation: float-in 0.7s ease both;
}

.hero-title {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  animation: float-in 0.6s ease 0.05s both;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 6px;
}

.back-link {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  color: white;
  backdrop-filter: blur(6px);
}

.back-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------- Home grid ---------- */
.section {
  padding: 22px 16px 8px;
}

.section-label {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 158px;
  padding: 18px 12px 16px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #fff9e0 0%, #ffe98a 55%, #ffd84a 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
  animation: rise 0.5s ease both;
}

.menu-card:nth-child(1) { animation-delay: 0.05s; }
.menu-card:nth-child(2) { animation-delay: 0.1s; }
.menu-card:nth-child(3) { animation-delay: 0.15s; }
.menu-card:nth-child(4) { animation-delay: 0.2s; }
.menu-card:nth-child(5) { animation-delay: 0.25s; }

.menu-card:active {
  transform: scale(0.97);
}

.menu-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.menu-card__icon svg {
  width: 40px;
  height: 40px;
  fill: var(--blue);
}

.menu-card__btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: white;
  font-weight: 800;
  font-size: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(217, 72, 22, 0.35);
}

.menu-card--wide {
  grid-column: 1 / -1;
  min-height: 120px;
  flex-direction: row;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(120deg, #0a2d6b 0%, #1e5ec4 100%);
}

.menu-card--wide .menu-card__icon {
  background: rgba(255, 255, 255, 0.15);
}

.menu-card--wide .menu-card__icon svg {
  fill: white;
}

.menu-card--wide .menu-card__btn {
  background: linear-gradient(180deg, var(--gold) 0%, #d99a12 100%);
  color: var(--blue);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ---------- Content blocks ---------- */
.content {
  padding: 18px 16px 24px;
}

.page-heading {
  text-align: center;
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
}

.block {
  background: var(--blue);
  color: white;
  border-radius: 20px;
  padding: 18px 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.block--alt {
  background: linear-gradient(145deg, #0a2d6b, #1648a0);
}

.block--orange {
  background: linear-gradient(145deg, #d94816, #f15a24);
}

.block--gold {
  background: linear-gradient(145deg, #c99212, #f0b429);
  color: #1a2030;
}

.block--soft {
  background: white;
  color: var(--text);
  border: 1px solid rgba(10, 45, 107, 0.08);
}

.block h2,
.block h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.5;
}

.block p {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.block p:last-child {
  margin-bottom: 0;
}

.block .verse {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.85;
  opacity: 0.98;
}

.block .ref {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 700;
}

.block--soft .ref {
  background: rgba(10, 45, 107, 0.08);
  color: var(--blue);
}

.question-list,
.num-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question-list li,
.num-list li {
  position: relative;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 1rem;
}

.block--soft .question-list li,
.block--soft .num-list li {
  background: #f0f4fb;
}

.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 8px;
}

.tag--dark {
  background: rgba(10, 45, 107, 0.1);
  color: var(--blue);
}

/* ---------- Day cards ---------- */
.day-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.day-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 45, 107, 0.06);
  transition: transform 0.15s ease;
}

.day-card:active {
  transform: scale(0.98);
}

.day-card__badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1.4rem;
  background: linear-gradient(145deg, var(--blue), var(--blue-soft));
}

.day-card__badge--2 {
  background: linear-gradient(145deg, var(--orange-deep), var(--orange));
}

.day-card__badge--3 {
  background: linear-gradient(145deg, #3d7a24, var(--green));
}

.day-card__body {
  flex: 1;
  text-align: right;
}

.day-card__body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue);
}

.day-card__body p {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

.day-card__arrow {
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 800;
}

/* ---------- Slogan / lyrics ---------- */
.lyrics {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 2;
}

.lyrics .chorus {
  margin: 18px 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.1rem;
  color: #ffe08a;
}

.lyrics .repeat {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 600;
}

/* ---------- Hymns ---------- */
.hymn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hymn-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(10, 45, 107, 0.08);
  border: 1px solid rgba(10, 45, 107, 0.05);
}

.hymn-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--blue-soft));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.hymn-name {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
}

/* ---------- Schedule (icon grid) ---------- */
.day-section {
  margin-bottom: 32px;
}

.day-section__title {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  color: #f0c400;
  margin-bottom: 0;
  line-height: 1.3;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.day-section__title::after {
  content: "";
  display: block;
  width: 72%;
  max-width: 260px;
  height: 4px;
  margin: 8px auto 16px;
  background: #f0c400;
  border-radius: 4px;
}

.day-section__date {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 2px;
}

.sched-frame {
  border: 2.5px solid #f0c400;
  border-radius: 18px;
  background: #fff;
  padding: 18px 10px 10px;
}

.sched-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 8px;
}

.sched-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-height: 118px;
  padding: 4px 4px 8px;
}

.sched-item__time {
  color: #2a9bb0;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
  direction: ltr;
  unicode-bidi: isolate;
}

.sched-item__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sched-item__icon svg {
  width: 68px;
  height: 68px;
  display: block;
}

.sched-item__label {
  color: #111;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: 150px;
}

/* Shared decorative icon plates */
.icon-plate {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.icon-plate--bus { background: linear-gradient(145deg, #5dade2, #2980b9); }
.icon-plate--home { background: linear-gradient(145deg, #f5b041, #e67e22); }
.icon-plate--mic { background: linear-gradient(145deg, #af7ac5, #8e44ad); }
.icon-plate--book { background: linear-gradient(145deg, #5dade2, #1a5276); }
.icon-plate--pool { background: linear-gradient(145deg, #76d7c4, #1abc9c); }
.icon-plate--food { background: linear-gradient(145deg, #f5b7b1, #e74c3c); }
.icon-plate--rest { background: linear-gradient(145deg, #aed6f1, #5dade2); }
.icon-plate--pray { background: linear-gradient(145deg, #f9e79f, #f4d03f); }
.icon-plate--snack { background: linear-gradient(145deg, #f5cba7, #e67e22); }
.icon-plate--work { background: linear-gradient(145deg, #a9cce3, #3498db); }
.icon-plate--praise { background: linear-gradient(145deg, #d7bde2, #9b59b6); }
.icon-plate--ball { background: linear-gradient(145deg, #abebc6, #27ae60); }
.icon-plate--dance { background: linear-gradient(145deg, #f1948a, #e74c3c); }
.icon-plate--treasure { background: linear-gradient(145deg, #f7dc6f, #d4ac0d); }
.icon-plate--mission { background: linear-gradient(145deg, #85c1e9, #2980b9); }
.icon-plate--tv { background: linear-gradient(145deg, #85929e, #2c3e50); }
.icon-plate--mass { background: linear-gradient(145deg, #fad7a0, #d68910); }
.icon-plate--tea { background: linear-gradient(145deg, #a9dfbf, #1e8449); }
.icon-plate--party { background: linear-gradient(145deg, #f5b7b1, #c0392b); }
.icon-plate--quiet { background: linear-gradient(145deg, #d5dbdb, #7f8c8d); }
.icon-plate--talk { background: linear-gradient(145deg, #aed6f1, #2471a3); }
.icon-plate--game {
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
  padding: 6px;
}

/* ---------- Workshop scenarios ---------- */
.scenario {
  background: white;
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border-right: 5px solid var(--orange);
}

.scenario__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
  margin-bottom: 10px;
}

.scenario p {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}

/* ---------- Memory verse ---------- */
.memory {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.8;
}

/* ---------- Bottom nav ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: linear-gradient(180deg, #ffd84a 0%, #face0a 100%);
  box-shadow: 0 -6px 24px rgba(10, 45, 107, 0.12);
  display: flex;
  justify-content: center;
}

.bottom-nav__inner {
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
}

.bottom-nav a {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  transition: background 0.15s ease;
}

.bottom-nav a:active {
  background: rgba(10, 45, 107, 0.1);
}

.bottom-nav a.is-active {
  background: rgba(10, 45, 107, 0.12);
}

.bottom-nav svg {
  width: 28px;
  height: 28px;
  fill: var(--blue);
}

/* ---------- Utils ---------- */
.center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-2 {
  margin-top: 8px;
}

.story {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
  opacity: 0.95;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 481px) {
  body {
    background: #dfe8f5;
  }

  .page {
    box-shadow: 0 0 0 1px rgba(10, 45, 107, 0.06), 0 20px 60px rgba(10, 45, 107, 0.12);
    background: var(--bg);
  }
}
