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

:root {
  --cream: #FAF6F0;
  --warm-brown: #5C4033;
  --soft-gold: #C4A265;
  --muted-sage: #8A9A7B;
  --deep-charcoal: #2C2C2C;
  --text-body: #3D3530;
  --text-light: #6B5E54;
  --border-soft: rgba(196, 162, 101, 0.25);
}

body {
  font-family: 'Lora', Georgia, serif;
  background-color: var(--cream);
  color: var(--text-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  line-height: 1.7;
}

/* Subtle texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 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='%23C4A265' 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");
  pointer-events: none;
  z-index: 0;
}

/* Ad slots */
.ad-slot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  border: 1px dashed var(--border-soft);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(196, 162, 101, 0.02);
}

.ad-slot.ad-top {
  margin-bottom: 2rem;
}

.ad-slot.ad-bottom {
  margin-top: 2rem;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
}

header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--warm-brown);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

header .subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  letter-spacing: 0.02em;
}

.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--soft-gold), transparent);
  margin: 0 auto 2.5rem;
}

.entry {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.section-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--soft-gold);
  margin-bottom: 0.6rem;
}

.catalyst {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--warm-brown);
  margin-bottom: 2rem;
  font-style: italic;
}

.insight {
  font-size: 1.02rem;
  margin-bottom: 2rem;
  color: var(--text-body);
}

.insight p {
  margin-bottom: 0.9rem;
}
.insight p:last-child {
  margin-bottom: 0;
}

.reflection {
  background: rgba(196, 162, 101, 0.08);
  border-left: 3px solid var(--soft-gold);
  padding: 1.2rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 2rem;
}

.reflection p {
  font-size: 0.97rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}
.reflection p:last-child {
  margin-bottom: 0;
}

.refresh-btn {
  display: block;
  margin: 0 auto;
  background: none;
  border: 1.5px solid var(--border-soft);
  color: var(--soft-gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.6rem 1.8rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refresh-btn:hover {
  background: var(--soft-gold);
  color: var(--cream);
  border-color: var(--soft-gold);
}

footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

footer a {
  color: var(--muted-sage);
  text-decoration: none;
  border-bottom: 1px dotted var(--muted-sage);
  transition: color 0.2s;
}
footer a:hover {
  color: var(--warm-brown);
}

@media (max-width: 480px) {
  header h1 { font-size: 1.6rem; }
  .catalyst { font-size: 1.3rem; }
  .insight { font-size: 0.95rem; }
  body { padding: 1.5rem 1rem; }
  .ad-slot { min-height: 60px; }
}
