/* ──── Devotional Page ──── */
.devotional-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.devotional-body {
  flex: 1;
  padding: var(--space-12) 0;
}

.devotional-container {
  max-width: 640px;
  margin: 0 auto;
}

/* Streak Bar */
.streak-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-gold-muted);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-full);
  width: fit-content;
  margin: 0 auto var(--space-6);
}

.streak-flame {
  font-size: var(--text-lg);
  line-height: 1;
}

.streak-count {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-gold);
}

/* Date Header */
.devotional-date {
  text-align: center;
  margin-bottom: var(--space-8);
}

.devotional-date .date-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.devotional-date .date-full {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
}

/* Verse Card */
.devotional-verse-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  margin-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
}

.devotional-verse-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--color-gold-muted);
  line-height: 1;
  pointer-events: none;
}

.devotional-verse-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  position: relative;
}

.devotional-verse-ref {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-gold);
}

/* Reflection */
.devotional-reflection {
  margin-bottom: var(--space-8);
}

.devotional-reflection h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.devotional-reflection p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

/* Question */
.devotional-question {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}

.devotional-question .question-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.devotional-question p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: var(--leading-relaxed);
}

/* Actions */
.devotional-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

/* Share Button */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  transition: all var(--duration-fast) var(--ease-out);
}

.share-btn:hover {
  border-color: var(--color-gold-border);
  color: var(--color-gold);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

/* Reflections */
.devotional-reflect {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
}

.reflect-header {
  margin-bottom: var(--space-5);
  text-align: center;
}

.reflect-label {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.reflect-header p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.reflect-input-wrap {
  margin-bottom: var(--space-4);
}

.reflect-input-wrap textarea,
textarea#reflect-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-4);
  background-color: #0c1520 !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: #e8e6e3 !important;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  resize: none;
  min-height: 100px;
  margin-bottom: var(--space-4);
  transition: border-color var(--duration-fast) var(--ease-out);
  -webkit-appearance: none;
}

.reflect-input-wrap textarea::placeholder,
textarea#reflect-input::placeholder {
  color: #5a6a7a;
}

.reflect-input-wrap textarea:focus,
textarea#reflect-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(196, 167, 103, 0.15);
}

.reflect-footer {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: flex-end;
}

.reflect-group-select {
  padding: var(--space-2) var(--space-4);
  background-color: #0c1520;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6a7a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: var(--space-8);
}

.reflect-footer .btn-primary {
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.reflect-divider {
  height: 1px;
  background-color: var(--color-border);
  margin: var(--space-6) 0;
}

.reflect-list-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.reflect-item {
  padding: var(--space-4) var(--space-5);
  background-color: rgba(12, 21, 32, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-top: var(--space-3);
}

.reflect-item-name {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.reflect-item-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* Deeper CTA */
.devotional-cta {
  text-align: center;
  padding: var(--space-8);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.devotional-cta p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
  .devotional-body {
    padding: var(--space-8) 0;
  }

  .devotional-verse-card {
    padding: var(--space-6);
  }

  .devotional-verse-text {
    font-size: var(--text-xl);
  }
}
