:root {
  --color-sage: #5a7a5e;
  --color-sage-deep: #3d5c41;
  --color-sage-light: #7a9e7e;
  --color-gold: #c9a84c;
  --color-gold-light: #f0e4c4;
  --color-cream: #faf8f3;
  --color-warm-white: #fefdfb;
  --color-parchment: #f5f0e8;
  --color-ink: #2c2c2c;
  --color-ink-soft: #555;
  --color-ink-muted: #8a8a7a;
  --color-border: #e8e4db;
  --color-verse-bg: linear-gradient(135deg, #f5f0e8, #faf8f3);
  --color-prayer-bg: linear-gradient(135deg, #fdf8ef, #faf3e5);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-brand: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --color-sage: #7a9e7e;
  --color-sage-deep: #a8c5ab;
  --color-sage-light: #5a7a5e;
  --color-gold: #d4b85c;
  --color-gold-light: #3a3520;
  --color-cream: #1a1a1a;
  --color-warm-white: #222;
  --color-parchment: #2a2a2a;
  --color-ink: #e8e4db;
  --color-ink-soft: #bbb;
  --color-ink-muted: #888;
  --color-border: #444;
  --color-verse-bg: linear-gradient(135deg, #2a2a2a, #222);
  --color-prayer-bg: linear-gradient(135deg, #2a2820, #2a2a2a);
  --shadow-soft: 0 2px 20px rgba(0,0,0,0.3);
  --shadow-card: 0 4px 30px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 990px; margin: 0 auto; padding: 0 20px; }

/* ─── Hero ─── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background: linear-gradient(160deg, #3d5c41 0%, #5a7a5e 40%, #7a9e7e 70%, #a8c5ab 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 60px 24px;
}

.cross-icon {
  font-size: 2.4rem;
  color: var(--color-gold);
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  animation: fadeInDown 1s ease-out;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 12px;
  animation: fadeInDown 1s ease-out 0.1s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  animation: fadeInDown 1s ease-out 0.2s both;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 32px;
  animation: fadeInDown 1s ease-out 0.3s both;
}

.hero-verse {
  display: inline-block;
  max-width: 480px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 20px 28px;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-verse-icon {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-gold);
  display: block;
  margin-bottom: -8px;
}

.hero-verse p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 8px;
}

.hero-verse cite {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 0.04em;
}

.hero-social {
  margin-top: 28px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  transition: all var(--transition);
}

.hero-ig:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ─── Topbar ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,243,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.topbar-inner {
  max-width: 990px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.topbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-sage-deep);
}

.topbar-links {
  display: flex;
  gap: 20px;
}

.topbar-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  transition: color var(--transition);
}

.topbar-links a:hover { color: var(--color-sage-deep); }

/* ─── Sections ─── */
.section-intro { padding: 44px 0 12px; }
.section-today { padding: 48px 0 24px; }
.section-explore { padding: 12px 0 36px; }
.section-past { padding: 0 0 48px; }
.section-members { padding: 0 0 48px; }
.section-about { padding: 0 0 60px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.label-icon { font-size: 1.1rem; }

.section-label span:last-child {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-sage-deep);
}

/* ─── Intro ─── */
.intro-card {
  background: linear-gradient(135deg, var(--color-warm-white), var(--color-parchment));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 30px 32px;
  text-align: center;
}

.intro-kicker {
  display: inline-block;
  color: var(--color-sage-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.intro-card h2 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.intro-card p {
  color: var(--color-ink-soft);
  margin: 0 auto 20px;
  max-width: 720px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.intro-actions a {
  border: 1px solid var(--color-sage);
  border-radius: 999px;
  color: var(--color-sage-deep);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 18px;
  text-decoration: none;
  transition: all var(--transition);
}

.intro-actions a:first-child,
.intro-actions a:hover {
  background: var(--color-sage-deep);
  color: #fff;
}

/* ─── Search ─── */
.search-panel {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  margin-bottom: 22px;
}

.search-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-sage-deep);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(90,122,94,0.14);
}

.theme-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.theme-filter {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-ink-soft);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 12px;
  transition: all var(--transition);
}

.theme-filter:hover,
.theme-filter.active {
  background: var(--color-sage);
  border-color: var(--color-sage);
  color: #fff;
}

.search-summary {
  color: var(--color-ink-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.search-results {
  display: grid;
  gap: 14px;
}

.preview-card {
  align-items: stretch;
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 160px 1fr;
  overflow: hidden;
}

.preview-card img {
  display: block;
  height: 100%;
  min-height: 172px;
  object-fit: cover;
  width: 100%;
}

.preview-card-body {
  padding: 18px 20px;
}

.preview-date {
  color: var(--color-sage-deep);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.preview-card h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.25;
  margin-bottom: 4px;
}

.preview-reference {
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.preview-card p:not(.preview-reference) {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.preview-card a {
  color: var(--color-sage-deep);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

/* ─── Devotional Card ─── */
.devo-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: fadeInUp 0.6s ease-out both;
}

.devo-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.devo-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.devo-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}

.devo-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.devo-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-sage);
  margin-bottom: 4px;
}

.devo-header-text h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-ink);
}

.devo-fav {
  align-self: center;
  margin-right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform var(--transition);
  padding: 8px;
}

.devo-fav:hover { transform: scale(1.2); }

.devo-body { padding: 28px 28px 24px; }

/* ─── Verse Box ─── */
.verse-box {
  position: relative;
  background: var(--color-verse-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.verse-box::before {
  content: '';
  display: none;
  font-size: 0.9rem;
  color: var(--color-gold);
}

.verse-box blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-ink);
  margin: 0 0 10px;
  text-align: justify;
}

.verse-box cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-sage-deep);
}

.verse-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.verse-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  text-decoration: none;
  border: 1px solid var(--color-sage);
  border-radius: 999px;
  padding: 4px 12px;
  transition: all var(--transition);
  white-space: nowrap;
}

.verse-link:hover {
  background: var(--color-sage);
  color: #fff;
}

/* ─── Reflection ─── */
.devo-reflection {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
}

/* ─── Application ─── */
.devo-application { margin-bottom: 24px; }

.devo-application h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.devo-application h3::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.7rem;
}

.devo-application ul { list-style: none; padding: 0; }

.devo-application li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.devo-application li:last-child { border-bottom: none; }

.devo-application li::before {
  content: '🕊';
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 0.8rem;
}

/* ─── Prayer ─── */
.devo-prayer {
  background: var(--color-prayer-bg);
  border: 1px solid #ead8ad;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.devo-prayer h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.devo-prayer h3::before { content: '🙏'; font-size: 0.9rem; }

.devo-prayer p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75;
  color: #4a3c1e;
  margin: 0;
  text-align: justify;
}

/* ─── Share Buttons ─── */
.devo-share {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-whatsapp,
.btn-instagram,
.btn-facebook,
.btn-open,
.btn-download,
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.btn-instagram:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220,39,67,0.35);
}

.btn-facebook {
  background: #1877f2;
  color: #fff;
}

.btn-facebook:hover {
  background: #1463c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24,119,242,0.35);
}

.share-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-weight: 800;
  line-height: 1;
}

.btn-open,
.btn-download {
  background: var(--color-sage-deep);
  color: #fff;
}

.btn-open:hover,
.btn-download:hover {
  background: var(--color-sage);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(61,92,65,0.25);
}

.btn-copy {
  background: var(--color-cream);
  color: var(--color-sage-deep);
  border: 1px solid var(--color-border);
}

/* ─── Single Page ─── */
.single-main { min-height: 70vh; }
.single-devo-card { margin-top: 18px; }

.single-nav {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 36px;
}

.single-nav a {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-sage-deep);
  font-weight: 700;
  padding: 14px 16px;
  text-decoration: none;
  transition: all var(--transition);
}

.single-nav a:last-child { text-align: right; }

.single-nav a:hover {
  border-color: var(--color-sage);
  box-shadow: var(--shadow-soft);
  color: var(--color-sage);
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-sage-deep);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 14px;
}

.back-link:hover { color: var(--color-sage); }

.header-logo-link {
  display: inline-flex;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: var(--color-sage-light);
  border-color: var(--color-sage);
}

.share-msg {
  font-size: 0.82rem;
  color: var(--color-sage-deep);
  font-weight: 600;
  align-self: center;
}

/* ─── Notes ─── */
.devo-notes {
  background: var(--color-parchment);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.devo-notes h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.devo-notes h4::before { content: '✏️'; font-size: 0.85rem; }

.devo-notes textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
  min-height: 70px;
  line-height: 1.6;
  background: var(--color-warm-white);
  color: var(--color-ink);
  transition: border-color var(--transition);
}

.devo-notes textarea:focus {
  outline: none;
  border-color: var(--color-sage);
}

.devo-notes-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.btn-save {
  background: var(--color-sage);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-save:hover {
  background: var(--color-sage-deep);
  transform: translateY(-1px);
}

.save-msg {
  font-size: 0.78rem;
  color: var(--color-sage);
  font-weight: 500;
}

/* ─── Members ─── */
.members-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.members-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(135deg, var(--color-cream), var(--color-warm-white));
}

.members-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-sage-deep), var(--color-sage));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.members-header h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 2px;
}

.members-sub {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  margin: 0;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.members-box {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid var(--color-border);
  transition: background var(--transition);
}

.members-box:last-child { border-right: none; }
.members-box:hover { background: var(--color-cream); }

.members-box-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 8px;
}

.members-box h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.members-box p {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  margin-bottom: 12px;
}

.members-btn {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  cursor: pointer;
  transition: all var(--transition);
}

.members-btn:hover {
  background: var(--color-sage);
  color: #fff;
  border-color: var(--color-sage);
}

.members-panel {
  border-top: 1px solid var(--color-border);
  padding: 20px 28px;
}

.members-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  margin-bottom: 12px;
}

.members-panel ul {
  list-style: none;
  padding: 0;
}

.members-panel li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.members-panel li:last-child { border-bottom: none; }

.members-panel .panel-title {
  font-weight: 600;
  color: var(--color-ink);
}

.members-panel .panel-ref {
  font-size: 0.78rem;
  color: var(--color-ink-muted);
}

.panel-empty {
  color: var(--color-ink-muted);
  font-size: 0.88rem;
  font-style: italic;
}

/* ─── Members Page ─── */
.members-main { padding-bottom: 60px; }

.members-hero { padding: 34px 0 20px; }

.members-hero-card,
.member-login-card {
  background: linear-gradient(135deg, var(--color-warm-white), var(--color-parchment));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.members-hero-card {
  padding: 30px 32px;
  text-align: center;
}

.members-hero-card h2,
.member-login-copy h2 {
  font-family: var(--font-display);
  color: var(--color-sage-deep);
  line-height: 1.2;
}

.members-hero-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.members-hero-card p,
.member-login-copy p {
  color: var(--color-ink-soft);
  line-height: 1.75;
}

.members-access-section { padding: 18px 0 0; }

.member-login-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 30px 32px;
  align-items: center;
}

.member-login-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 6px 0 10px;
}

.member-security-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 12px;
  background: rgba(240,228,196,0.45);
  font-size: 0.88rem;
}

.member-login-form {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-warm-white);
}

.member-login-form label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-sage-deep);
}

.member-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 6px;
}

.member-auth-tab {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-ink-soft);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 12px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.member-auth-tab-active,
.member-auth-tab:hover {
  background: var(--color-sage-deep);
  border-color: var(--color-sage-deep);
  color: #fff;
}

.member-auth-msg {
  color: var(--color-sage-deep);
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 18px;
}

.member-login-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.members-dashboard {
  display: grid;
  gap: 22px;
}

.member-dashboard-card .members-header {
  justify-content: space-between;
}

.member-dashboard-card .members-header > div:nth-child(2) { flex: 1; }

.member-stats-grid { grid-template-columns: repeat(4, 1fr); }

.member-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.member-action-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 142px;
  padding: 22px 20px;
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.member-action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(90,122,94,0.35);
}

.member-action-card span { font-size: 1.8rem; }

.member-action-card strong {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--color-sage-deep);
}

.member-action-card small {
  color: var(--color-ink-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.member-content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.member-panel-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.member-panel-card li { gap: 14px; }

.member-highlights-panel {
  margin-top: 18px;
}

.member-highlights-panel h3 {
  color: var(--color-sage-deep);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.member-highlights-panel .panel-title {
  font-weight: 600;
}

.member-highlights-panel .panel-ref {
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.member-footer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-cream);
}

/* ─── About Cards ─── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-card-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.steps-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-top: 24px;
  padding: 28px 32px;
}

.steps-card h3 {
  color: var(--color-sage-deep);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.steps-card ol {
  color: var(--color-ink-soft);
  padding-left: 22px;
}

.steps-card li {
  margin-bottom: 10px;
  text-align: justify;
}

.steps-card li:last-child { margin-bottom: 0; }

.steps-card strong { color: var(--color-ink); }

/* ─── Bible Reader ─── */
.bible-main { min-height: 70vh; }

.bible-hero { padding: 34px 0 16px; }

.bible-hero-card {
  background: linear-gradient(135deg, var(--color-warm-white), var(--color-parchment));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 30px 32px;
}

.bible-hero-card h2 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.bible-hero-card p {
  color: var(--color-ink-soft);
  margin: 0;
  max-width: 780px;
}

.bible-reader-section { padding: 12px 0 54px; }

.bible-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 300px 1fr;
}

.bible-controls,
.bible-reader {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.bible-controls {
  display: grid;
  gap: 10px;
  padding: 22px;
  position: sticky;
  top: 70px;
}

.bible-controls label {
  color: var(--color-sage-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bible-search-row {
  display: grid;
  gap: 8px;
}

.bible-select {
  appearance: none;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
}

.bible-select:focus {
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(90,122,94,0.14);
  outline: none;
}

.bible-nav-buttons {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: 4px;
}

.bible-nav-buttons button {
  background: var(--color-sage-deep);
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 12px;
}

.bible-nav-buttons button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.bible-source-note {
  background: var(--color-parchment);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-ink-soft);
  display: grid;
  font-size: 0.82rem;
  gap: 3px;
  line-height: 1.5;
  margin-top: 8px;
  padding: 12px;
}

.bible-reader { overflow: hidden; }

.bible-reader-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 24px 28px;
}

.bible-reader-header h2 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-top: 6px;
}

.bible-verses {
  padding: 28px;
}

.bible-verse {
  color: var(--color-ink-soft);
  font-family: var(--font-display);
  font-size: 1.13rem;
  line-height: 1.9;
  margin-bottom: 13px;
  text-align: justify;
}

.bible-verse sup {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  margin-right: 8px;
}

.bible-verse.highlight {
  background: var(--color-gold-light);
  border-radius: 8px;
  color: var(--color-ink);
  padding: 6px 8px;
}

.bible-verse.bible-marked {
  background: #fff59d;
  border-radius: 4px;
  padding: 4px 6px;
  cursor: pointer;
  position: relative;
}

.bible-verse.bible-marked::after {
  content: "🖍";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  opacity: 0.5;
}

.bible-verse:not(.bible-marked) {
  cursor: pointer;
}

.bible-verse:hover {
  background: #fff9c4;
  border-radius: 4px;
  padding: 4px 6px;
}

.bible-mark-hint {
  color: var(--color-ink-light);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 12px;
  opacity: 0.7;
}

.bible-results {
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 10px;
  padding: 0 28px 28px;
}

.bible-results:empty {
  display: none;
}

.bible-results h3 {
  color: var(--color-sage-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding-top: 24px;
}

.bible-result {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-ink-soft);
  cursor: pointer;
  display: grid;
  font-family: var(--font-body);
  gap: 4px;
  line-height: 1.55;
  padding: 14px 16px;
  text-align: left;
}

.bible-result strong {
  color: var(--color-sage-deep);
}

.bible-result:hover {
  border-color: var(--color-sage);
  box-shadow: var(--shadow-soft);
}

/* ─── Books ─── */
.books-main { min-height: 70vh; }

.books-hero { padding: 34px 0 16px; }

.books-hero-card {
  background: linear-gradient(135deg, var(--color-warm-white), var(--color-parchment));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 30px 32px;
}

.books-hero-card h2 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.books-hero-card p {
  color: var(--color-ink-soft);
  margin: 0;
  max-width: 760px;
}

.books-section { padding: 12px 0 54px; }

.books-toolbar {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
  padding: 22px;
}

.books-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}

.book-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
}

.book-cover,
.book-cover-placeholder {
  height: 100%;
  min-height: 230px;
  width: 100%;
}

.book-cover {
  display: block;
  object-fit: cover;
}

.book-cover-placeholder {
  align-items: center;
  background: linear-gradient(150deg, var(--color-sage-deep), var(--color-sage-light));
  color: var(--color-gold-light);
  display: flex;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.08em;
}

.book-card-body { padding: 22px; }

.book-kind {
  color: var(--color-sage-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-card h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 5px 0;
}

.book-author {
  color: var(--color-gold);
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.book-description {
  color: var(--color-ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 12px;
  text-align: justify;
}

.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 15px;
}

.book-tags span {
  background: var(--color-gold-light);
  border-radius: 999px;
  color: var(--color-sage-deep);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 9px;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.books-empty {
  background: var(--color-warm-white);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  color: var(--color-ink-soft);
  grid-column: 1 / -1;
  padding: 42px 28px;
  text-align: center;
}

.books-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.books-empty h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.books-empty p {
  margin: 6px auto;
  max-width: 640px;
}

.books-legal {
  margin-top: 48px;
  padding: 28px 20px;
  background: var(--color-parchment);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.books-legal details {
  cursor: pointer;
}

.books-legal summary {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  user-select: none;
}

.books-legal summary::-webkit-details-marker {
  display: none;
}

.books-legal summary::before {
  content: "⚖";
  font-size: 1.3rem;
  flex-shrink: 0;
}

.books-legal summary::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted var(--color-border);
}

.books-legal summary:hover {
  color: var(--color-gold);
}

.books-legal details[open] summary::before {
  content: "⚖";
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.books-legal .legal-text {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-ink-soft);
}

.books-legal .legal-text p {
  margin-bottom: 12px;
  text-align: justify;
}

.books-legal .legal-text p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--color-sage-deep);
  font-size: 0.85rem;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.about-icon { font-size: 2rem; margin-bottom: 12px; }

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ─── Footer ─── */
.footer {
  background: var(--color-sage-deep);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.footer-main-logo {
  max-width: 280px;
  height: auto;
  margin-bottom: 16px;
  border-radius: 50%;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.35));
}

.footer p {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
}

.footer-social {
  margin: 16px 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.footer-sub {
  font-size: 0.82rem;
  opacity: 0.7;
  font-weight: 300;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  transition: all var(--transition);
  background: rgba(255,255,255,0.05);
}

.footer-logo-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-main-logo-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
}

.footer-main-logo-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 50%;
}

/* ─── Biography Modal ─── */
.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bio-modal[hidden] {
  display: none;
}

.bio-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  animation: bioFadeIn 0.3s ease;
}

.bio-modal-content {
  position: relative;
  background: var(--color-warm-white);
  color: var(--color-ink);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px 28px;
  box-shadow: var(--shadow-hover);
  animation: bioSlideUp 0.4s ease;
}

@keyframes bioFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.bio-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--color-cream);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--color-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.bio-modal-close:hover {
  background: var(--color-gold-light);
  color: var(--color-sage-deep);
  transform: scale(1.1);
}

.bio-modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-sage-deep);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-gold-light);
  text-align: center;
}

.bio-modal-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-ink-soft);
}

.bio-modal-text p {
  margin-bottom: 16px;
  text-align: justify;
}

.bio-modal-text .bio-contact {
  font-size: 0.95rem;
  color: var(--color-sage-deep);
  font-weight: 500;
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.bio-modal-text .bio-contact strong {
  color: var(--color-ink);
}

/* ─── Site Header ─── */
.site-header {
  background: var(--color-sage-deep);
  padding: 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.header-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-name {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.header-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}

.header-social:hover {
  color: var(--color-gold-light);
}

/* ─── Verse of the Day ─── */
.section-vod {
  background: linear-gradient(135deg, #3d5c41, #5a7a5e);
  padding: 48px 20px;
}

.vod-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.vod-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.vod-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 12px;
  border: none;
  padding: 0;
}

.vod-ref {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-style: normal;
  margin-bottom: 16px;
}

.vod-link {
  color: var(--color-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  transition: all var(--transition);
}

.vod-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ─── Main Layout with Sidebar ─── */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  min-width: 0;
}

/* ─── Sidebar ─── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
  align-self: start;
}

.sidebar-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
}

.sidebar-calendar {
  text-align: center;
}

.cal-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-sage-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: var(--color-sage);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 8px;
}

.sidebar-btn:hover {
  background: var(--color-sage-deep);
  transform: translateY(-1px);
}

.sidebar-btn-outline {
  background: transparent;
  color: var(--color-sage);
  border: 1px solid var(--color-sage);
  text-decoration: none;
  text-align: center;
}

.sidebar-btn-outline:hover {
  background: var(--color-sage);
  color: #fff;
}

.sidebar-msg {
  font-size: 0.8rem;
  color: var(--color-sage-deep);
  font-weight: 600;
}

.sidebar-text {
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  line-height: 1.6;
  margin-bottom: 12px;
}

.archive-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.85rem;
}

.archive-item:last-child { border-bottom: none; }

.archive-month {
  color: var(--color-ink);
  font-weight: 500;
}

.archive-count {
  color: var(--color-ink-muted);
  font-size: 0.78rem;
}

/* ─── Improved Card Date ─── */
.devo-date-full {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--color-sage), var(--color-sage-deep));
  color: #fff;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.devo-date-icon { font-size: 1rem; }

.devo-today-badge {
  display: inline-block;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.devo-theme-tag {
  display: inline-block;
  background: var(--color-gold-light);
  color: var(--color-sage-deep);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 4px;
}

.devo-section {
  margin-bottom: 24px;
}

.devo-section h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-icon { font-size: 0.9rem; }

.devo-reflection h4 { color: var(--color-sage-deep); }
.devo-application h4 { color: var(--color-sage-deep); }
.devo-prayer h4 { color: var(--color-gold); }

.devo-reflection p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-ink-soft);
  margin: 0;
  text-align: justify;
}

.devo-author {
  text-align: center;
  padding: 12px 0;
  margin-bottom: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

.verse-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-sage-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* ─── Animations ─── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .bible-layout { grid-template-columns: 1fr; }
  .bible-controls { position: static; }
  .books-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .container { padding: 0 16px; }

  .header-logo { width: 72px; height: 72px; }
  .header-name { font-size: 1.6rem; }
  .header-social { font-size: 0.8rem; }

  .section-vod { padding: 32px 16px; }
  .vod-text { font-size: 1.1rem; }
  .vod-ref { font-size: 0.85rem; }

  .devo-card-header { flex-direction: column; }
  .devo-date-full { width: 100%; justify-content: center; }
  .devo-fav { margin: 8px 16px 0 auto; }
  .devo-body { padding: 20px; }
  .devo-image { height: 200px; }

  .devo-reflection p { font-size: 1rem; }
  .devo-prayer p { font-size: 0.95rem; }
  .devo-application li { font-size: 0.95rem; }
  .verse-box blockquote { font-size: 1rem; }

  .devo-share { flex-direction: column; }
  .btn-whatsapp, .btn-instagram, .btn-facebook, .btn-open, .btn-download, .btn-copy { width: 100%; justify-content: center; }

  .intro-card { padding: 24px 20px; }
  .intro-actions { flex-direction: column; }
  .preview-card { grid-template-columns: 1fr; }
  .preview-card img { height: 180px; min-height: 0; }
  .single-nav { grid-template-columns: 1fr; }
  .single-nav a:last-child { text-align: left; }

  .about-grid { grid-template-columns: 1fr; }
  .about-card { padding: 24px 20px; }
  .steps-card { padding: 24px 20px; }
  .members-hero-card { padding: 24px 20px; }
  .member-login-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .member-actions-grid { grid-template-columns: repeat(2, 1fr); }
  .member-content-grid { grid-template-columns: 1fr; }
  .bible-hero-card { padding: 24px 20px; }
  .bible-reader-header { flex-direction: column; padding: 22px 20px; }
  .bible-verses { padding: 22px 20px; }
  .bible-verse { font-size: 1.03rem; line-height: 1.8; }
  .bible-results { padding: 0 20px 22px; }
  .books-hero-card { padding: 24px 20px; }
  .book-card { grid-template-columns: 1fr; }
  .book-cover, .book-cover-placeholder { height: 220px; min-height: 0; }
  .book-actions { flex-direction: column; }

  .footer-main-logo { max-width: 200px; }
  .footer-logos { gap: 16px; }
  .footer-logo { height: 32px; }
}

@media (max-width: 480px) {
  .header-name { font-size: 1.3rem; }
  .header-logo { width: 56px; height: 56px; }

  .section-label span:last-child { font-size: 1rem; }
  .devo-header-text h2 { font-size: 1.3rem; }
  .devo-body { padding: 16px; }

  .devo-notes textarea { font-size: 0.9rem; }
  .footer-social a { font-size: 0.8rem; padding: 6px 12px; }
}

/* ═══════════════════════════════════════════════
   NOVOS RECURSOS
   ═══════════════════════════════════════════════ */

/* ─── Seções novas ─── */
.section-stats { padding: 0 0 36px; }
.section-plans { padding: 0 0 48px; }

/* ─── Estatísticas Pessoais ─── */
.stats-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 24px;
  text-align: center;
  border-right: 1px solid var(--color-border);
  animation: fadeInUp 0.5s ease-out both;
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--color-cream); }

.stat-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}

.stat-date {
  font-size: 1rem !important;
  font-weight: 600;
  color: var(--color-sage-deep) !important;
}

.stat-suffix {
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  font-weight: 500;
  min-height: 16px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ink-muted);
  margin-top: 6px;
}

.stats-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-cream);
}

.btn-export-diary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-sage-deep);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-export-diary:hover {
  background: var(--color-sage);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(61,92,65,0.25);
}

.export-msg {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-sage-deep);
}

/* ─── Planos de Leitura ─── */
.plans-grid-outer,
#plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: fadeInUp 0.5s ease-out both;
}

.plan-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.plan-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.plan-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 4px;
  line-height: 1.25;
}

.plan-card-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-card-desc {
  font-size: 0.88rem;
  color: var(--color-ink-soft);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.plan-mini-bar {
  height: 6px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: hidden;
}

.plan-mini-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

.plan-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-card-progress {
  font-size: 0.78rem;
  font-weight: 700;
}

.btn-open-plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-open-plan:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* ─── Drawer Lateral ─── */
.plan-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
}

.plan-drawer.plan-drawer-open {
  pointer-events: all;
  visibility: visible;
}

.plan-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan-drawer.plan-drawer-open .plan-drawer-backdrop {
  opacity: 1;
}

.plan-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--color-warm-white);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.plan-drawer.plan-drawer-open .plan-drawer-panel {
  transform: translateX(0);
}

.plan-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 22px 18px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(135deg, var(--color-cream), var(--color-parchment));
}

.plan-drawer-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 4px;
}

.plan-drawer-header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 4px;
}

.plan-drawer-header p {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.plan-drawer-close {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-ink-soft);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px 10px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.plan-drawer-close:hover {
  background: var(--color-border);
  color: var(--color-ink);
}

.plan-drawer-progress-wrap {
  padding: 14px 22px 10px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-cream);
}

.plan-drawer-progress-bar {
  height: 8px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.plan-drawer-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s ease;
}

.plan-drawer-progress-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-ink-muted);
}

.plan-drawer-list {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  padding: 10px 0 20px;
  margin: 0;
}

.plan-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background var(--transition);
}

.plan-list-item:last-child { border-bottom: none; }
.plan-list-item:hover { background: var(--color-cream); }
.plan-item-done { opacity: 0.65; }

.plan-item-check {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.plan-item-check input { display: none; }

.plan-check-box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s;
  flex-shrink: 0;
}

.plan-item-check:hover .plan-check-box {
  border-color: var(--color-sage);
}

.plan-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-item-num {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ink-muted);
}

.plan-item-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plan-item-done .plan-item-title {
  text-decoration: line-through;
}

.plan-item-ref {
  font-size: 0.78rem;
  color: var(--color-gold);
  font-weight: 600;
}

.plan-item-link {
  color: var(--color-sage-deep);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  flex-shrink: 0;
}

.plan-item-link:hover {
  background: var(--color-sage-deep);
  color: #fff;
  border-color: var(--color-sage-deep);
}

/* ─── Dark Mode Toggle ─── */
.theme-toggle {
  margin-left: auto;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: #fff;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}

[data-theme="dark"] .hero {
  background: linear-gradient(160deg, #1a2e1c 0%, #2a4a2e 40%, #3a5a3e 70%, #4a6a4e 100%);
}

[data-theme="dark"] .section-vod {
  background: linear-gradient(135deg, #1a2e1c, #2a4a2e);
}

[data-theme="dark"] .devo-card {
  background: var(--color-warm-white);
  border-color: var(--color-border);
}

[data-theme="dark"] .devo-verse-box {
  background: var(--color-verse-bg);
}

[data-theme="dark"] .devo-prayer {
  background: var(--color-prayer-bg);
}

[data-theme="dark"] .site-footer {
  background: #111;
}

[data-theme="dark"] .footer-copy {
  color: var(--color-ink-muted);
}

[data-theme="dark"] .footer-links {
  color: var(--color-ink-muted);
}

[data-theme="dark"] .footer-links a {
  color: var(--color-gold);
}

[data-theme="dark"] .bible-verse.bible-marked {
  background: #5c5200;
}

[data-theme="dark"] .bible-verse:hover {
  background: #3a3520;
}

[data-theme="dark"] .search-input {
  background: var(--color-warm-white);
  color: var(--color-ink);
  border-color: var(--color-border);
}

/* ─── Responsividade dos novos recursos ─── */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid .stat-item:nth-child(3) { border-right: none; }
  .stats-grid .stat-item:nth-child(4) { border-top: 1px solid var(--color-border); }
  .stats-grid .stat-item:nth-child(5) { border-top: 1px solid var(--color-border); }
  .stats-grid .stat-item:nth-child(6) { border-top: 1px solid var(--color-border); border-right: none; }
  #plans-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .member-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .member-stats-grid .members-box:nth-child(2n) { border-right: none; }
  .member-stats-grid .members-box:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .stats-grid .stat-item:nth-child(2n) { border-right: none; }
  .stats-grid .stat-item:nth-child(3) { border-right: 1px solid var(--color-border); border-top: 1px solid var(--color-border); }
  .stats-grid .stat-item:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .stat-value { font-size: 1.6rem; }
  #plans-grid { grid-template-columns: 1fr; }
  .plan-drawer-panel { width: 100vw; }
  .stats-actions { flex-direction: column; align-items: flex-start; }
  .btn-export-diary { width: 100%; justify-content: center; }
  .member-actions-grid { grid-template-columns: 1fr; }
  .member-dashboard-card .members-header { align-items: flex-start; }
  .member-footer-actions { flex-direction: column; align-items: flex-start; }
  .theme-toggle { width: 36px; height: 36px; font-size: 1rem; }
}

/* ─── Motociclista Cristão ─── */
.section-moto {
  padding: 40px 0 60px;
}

.moto-hero {
  background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.moto-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right, rgba(176,65,62,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.moto-hero-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #f5f0e8;
  letter-spacing: -0.01em;
}

.moto-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin: 0;
  max-width: 500px;
}

.moto-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0413e;
  flex-shrink: 0;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.moto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.moto-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.moto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: #b0413e;
  opacity: 0;
  transition: opacity var(--transition);
}

.moto-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #b0413e;
}

.moto-card:hover::before {
  opacity: 1;
}

.moto-card-theme {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b0413e;
  margin-bottom: 6px;
}

.moto-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 6px;
  line-height: 1.25;
}

.moto-card-ref {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-ink-muted);
  margin: 0;
}

.moto-card-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-sage-deep);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.moto-card:hover .moto-card-action {
  color: #b0413e;
}

/* ─── Modal Motociclista ─── */
.moto-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.moto-modal.moto-modal-open {
  pointer-events: all;
  visibility: visible;
}

.moto-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.moto-modal.moto-modal-open .moto-modal-backdrop {
  opacity: 1;
}

.moto-modal-panel {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 50px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(10px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.moto-modal.moto-modal-open .moto-modal-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.moto-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.05);
  border: none;
  border-radius: 999px;
  color: var(--color-ink-soft);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  z-index: 10;
  transition: all var(--transition);
}

.moto-modal-close:hover {
  background: rgba(0,0,0,0.1);
  color: var(--color-ink);
}

.moto-modal-content {
  padding: 32px 32px 10px;
  overflow-y: auto;
}

@media (max-width: 600px) {
  .moto-hero {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .moto-badge {
    margin: 0 auto;
  }
  .moto-modal-content {
    padding: 24px 20px 10px;
  }
}
