:root {
  --bg: #06060c;
  --gold: #c9a050;
  --gold2: #e0c878;
  --gold-dark: #8b6914;
  --text: #e8e6e3;
  --text2: #9a9790;
  --card: #111118;
  --border: #222230;
  --font-display: 'Cinzel', serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ===== STARS ===== */
.stars-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.star { position: absolute; background: white; border-radius: 50%; animation: twinkle var(--duration) ease-in-out infinite; animation-delay: var(--delay); opacity: 0; }
@keyframes twinkle { 0%, 100% { opacity: 0.1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(2); } }

/* ===== FOG ===== */
.fog-layer {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 30%, rgba(201, 160, 80, 0.04) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(201, 160, 80, 0.03) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}

/* ===== ORACLE PAGE ===== */
.oracle-page {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 28px;
  width: 100%;
}

/* ===== HEADER ===== */
.oracle-header { text-align: center; margin-bottom: 48px; }
.oracle-glyph { font-size: 96px; margin-bottom: 20px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.oracle-name { font-family: var(--font-display); font-size: clamp(32px, 6vw, 48px); font-weight: 900; letter-spacing: 3px; color: var(--gold); margin-bottom: 12px; word-wrap: break-word; }
.oracle-subtitle { font-family: var(--font-display); font-size: 18px; color: var(--text2); letter-spacing: 4px; }

/* ===== CONTENT ===== */
.oracle-content { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 48px 40px; animation: fadeIn 1.5s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ===== SECTIONS ===== */
.oracle-section { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.oracle-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.oracle-section-icon { width: 56px; height: 56px; min-width: 56px; border-radius: 14px; overflow: hidden; flex-shrink: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.oracle-section-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oracle-section-body h3 { font-family: var(--font-display); font-size: 18px; color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.oracle-section-body p { font-size: 15px; color: var(--text2); margin-bottom: 8px; }
.oracle-section-body p strong { color: var(--text); font-weight: 600; }
.oracle-section-body .oracle-advice { font-style: italic; font-size: 18px; color: var(--text); margin: 16px 0; padding-left: 20px; border-left: 2px solid var(--gold); }

/* ===== FINAL BLESSING ===== */
.oracle-final { margin-top: 32px; padding: 32px 28px; background: linear-gradient(135deg, rgba(201, 160, 80, 0.1), rgba(201, 160, 80, 0.03)); border: 1px solid rgba(201, 160, 80, 0.25); border-radius: 20px; text-align: center; }
.oracle-final p { font-family: var(--font-display); font-size: 16px; color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.oracle-final p:last-child { margin-bottom: 0; }

/* ===== ACTIONS ===== */
.oracle-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 24px 0; }
.oracle-actions .btn-primary { display: inline-block; padding: 14px 28px; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #0a0a0f; font-weight: 700; font-size: 15px; font-family: var(--font-display); letter-spacing: 1px; border: none; border-radius: 14px; cursor: pointer; text-decoration: none; transition: all 0.3s; white-space: nowrap; }
.oracle-actions .btn-primary:hover { background: linear-gradient(135deg, var(--gold), var(--gold2)); box-shadow: 0 8px 30px rgba(201, 160, 80, 0.3); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.oracle-footer { text-align: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); color: #555; font-size: 13px; letter-spacing: 1px; }
.oracle-footer p { margin-bottom: 4px; }
.oracle-year { font-family: var(--font-display); font-size: 20px; color: var(--gold); margin-top: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .oracle-page { padding: 40px 16px; }
  .oracle-content { padding: 28px 20px; }
  .oracle-header { margin-bottom: 32px; }
  .oracle-glyph { font-size: 72px; }
  .oracle-name { font-size: 28px; }
  .oracle-subtitle { font-size: 16px; letter-spacing: 2px; }
  .oracle-section { gap: 14px; margin-bottom: 24px; padding-bottom: 20px; }
  .oracle-section-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; }
  .oracle-section-body h3 { font-size: 16px; letter-spacing: 1px; }
  .oracle-section-body p { font-size: 14px; }
  .oracle-section-body .oracle-advice { font-size: 16px; padding-left: 16px; }
  .oracle-final { padding: 24px 18px; }
  .oracle-final p { font-size: 14px; letter-spacing: 1px; }
  .oracle-actions .btn-primary { padding: 12px 22px; font-size: 14px; }
}

@media (max-width: 480px) {
  .oracle-page { padding: 28px 12px; }
  .oracle-content { padding: 20px 14px; border-radius: 18px; }
  .oracle-glyph { font-size: 56px; margin-bottom: 12px; }
  .oracle-name { font-size: 24px; letter-spacing: 1px; }
  .oracle-subtitle { font-size: 14px; letter-spacing: 1px; }
  .oracle-section { flex-direction: column; align-items: flex-start; gap: 10px; }
  .oracle-section-icon { width: 44px; height: 44px; min-width: 44px; }
  .oracle-section-body h3 { font-size: 15px; }
  .oracle-section-body p { font-size: 13px; line-height: 1.6; }
  .oracle-section-body .oracle-advice { font-size: 14px; padding-left: 12px; margin: 12px 0; }
  .oracle-final { padding: 20px 14px; margin-top: 24px; }
  .oracle-final p { font-size: 13px; }
  .oracle-footer { margin-top: 32px; padding-top: 20px; }
  .oracle-year { font-size: 18px; }
  .oracle-actions { gap: 10px; }
  .oracle-actions .btn-primary { padding: 12px 18px; font-size: 13px; width: 100%; text-align: center; }
}