/* ============================================================
   ÌPÍN • The Destiny Platform — Master Theme (PART 1 of 4)
   Sections 1–13: Reset → Odu Browser & Teachings
   ============================================================ */

/* 1. ROOT VARIABLES & RESET */
:root {
  --bg: #0B0817;
  --surface: #161028;
  --surface2: #1C1533;
  --gold: #C9A227;
  --gold-bright: #E8C766;
  --gold-pale: #F4E3B2;
  --ink: #EFE9DC;
  --muted: #A79E8E;
  --faint: #7A7263;
  --line: rgba(201, 162, 39, 0.22);
  --line-soft: rgba(201, 162, 39, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

/* 2. BASE ELEMENTS & SCROLL FIX */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(93, 63, 158, 0.28), transparent 60%),
    radial-gradient(700px 420px at 8% 4%, rgba(201, 162, 39, 0.10), transparent 55%),
    var(--bg);
  background-attachment: scroll;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y pan-x;
  -webkit-overflow-scrolling: touch;
  white-space: pre-line;
}

.verse-body-yo { white-space: pre-line; line-height: 1.9; }
.verse-body-en { white-space: pre-line; line-height: 1.8; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; }
::selection { background: rgba(201, 162, 39, 0.35); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.35); border-radius: 99px; }
img, svg, video, iframe { max-width: 100%; height: auto; }

main {
  display: block;
  overflow: visible;
  min-height: 60vh;
  padding-bottom: 80px;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

/* 3. ÌBÀ BANNER */
#iba-homage {
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 12px 22px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.09), rgba(201, 162, 39, 0.02));
}
.iba-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.iba-title { display: flex; align-items: center; gap: 12px; margin: 0 auto; }
.iba-symbols { font-size: 14px; letter-spacing: 6px; color: var(--gold-bright); }
.iba-head h2 { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-pale); }
.iba-line { margin: 8px 0 0; font-size: 12.5px; line-height: 1.9; color: var(--ink); }
.iba-line strong { color: var(--gold-bright); font-weight: 600; }
.iba-dot { color: var(--gold); opacity: 0.55; margin: 0 8px; }
.iba-quote { margin: 4px 0 0; font-size: 12px; font-style: italic; color: var(--muted); }

/* 4. HEADER & NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(11, 8, 23, 0.82);
  backdrop-filter: blur(12px);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 6px;
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.35);
}
.brand-sub { font-size: 9px; letter-spacing: 4px; color: var(--muted); }

nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 99px;
  transition: 0.2s;
}
nav a:hover { color: var(--gold-pale); background: rgba(201, 162, 39, 0.10); }
.nav-divine { color: var(--gold-bright); border: 1px solid var(--line); }
.nav-divine:hover { background: rgba(201, 162, 39, 0.14); }

/* Dropdown Navigation */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
  font-family: inherit;
}
.nav-link:hover,
.nav-dropdown:hover > .nav-dropdown-toggle {
  color: var(--gold, #d4af37);
  background: rgba(212, 175, 55, 0.1);
}
.caret { font-size: 0.7rem; transition: transform 0.25s ease; }
.nav-dropdown.open .caret { transform: rotate(180deg); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: linear-gradient(160deg, #1a1630 0%, #0f0c29 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold, #d4af37);
  transform: translateX(3px);
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gold, #d4af37); transition: all 0.3s ease; border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 5. HERO SECTION */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.hero-eyebrow {
  font-size: 11.5px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
#hero { text-align: center; padding: 70px 20px 40px; animation: fadeUp 0.9s ease both; }
#hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  letter-spacing: 0.14em;
  margin-left: 0.14em;
  font-weight: 600;
  background: linear-gradient(180deg, var(--gold-pale), var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}
#hero .hero-sub {
  letter-spacing: 4px;
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
}
.hero-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 14px; color: var(--gold); }
.hero-divider span { display: block; width: 110px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-divider span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-chambers { color: var(--muted); font-style: italic; font-size: 14px; }
.hero-cta { margin-top: 26px; padding: 14px 34px; font-size: 14px; }

/* 6. SECTION HEAD & CHAMBERS */
.chambers-wrap { max-width: 1120px; margin: 10px auto 0; padding: 0 24px; }
.section-head { display: flex; align-items: center; gap: 18px; margin: 34px 0 22px; animation: fadeUp 0.9s 0.15s ease both; }
.section-head .rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.section-head .rule:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.section-head h2 { font-size: 14px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold-pale); white-space: nowrap; }
.chambers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.chamber-card {
  position: relative;
  cursor: pointer;
  text-align: center;
  padding: 34px 24px 26px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--surface2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  animation: fadeUp 0.9s 0.25s ease both;
}
.chamber-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  opacity: 0;
  transition: 0.25s;
  background: linear-gradient(90deg, transparent, rgba(232, 199, 102, 0.55), transparent);
}
.chamber-card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.chamber-card:hover::before { opacity: 1; }
.chamber-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  color: var(--gold-bright);
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 35% 30%, rgba(232, 199, 102, 0.18), rgba(201, 162, 39, 0.05));
  box-shadow: inset 0 0 18px rgba(201, 162, 39, 0.12);
}
.chamber-card h3 { font-size: 19px; letter-spacing: 1px; }
.chamber-card small { display: block; margin: 5px 0 10px; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); }
.chamber-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.chamber-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-bright);
  opacity: 0;
  transform: translateY(4px);
  transition: 0.25s;
}
.chamber-card:hover .chamber-cta { opacity: 1; transform: none; }

/* 7. DIVINE BANNER */
.divine-banner {
  max-width: 1120px;
  margin: 34px auto 80px;
  padding: 42px 30px;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.25s;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.10), rgba(201, 162, 39, 0.03));
}
.divine-banner:hover { background: rgba(201, 162, 39, 0.13); box-shadow: 0 0 50px rgba(201, 162, 39, 0.10); }
.divine-banner h2 { font-size: 24px; color: var(--gold-pale); }
.divine-banner span { color: var(--muted); font-size: 14px; font-weight: 400; }
.divine-banner p { margin-top: 9px; font-size: 14px; }

/* 8. FOOTER */
footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(9, 6, 18, 0.6);
  padding: 48px 32px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.foot-col h4 { font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-bright); }
.foot-col a, .lang-btn {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  padding: 0;
  transition: 0.2s;
}
.foot-col a:hover, .lang-btn:hover { color: var(--gold-pale); }
.foot-brand strong { font-family: var(--font-display); color: var(--gold-bright); font-size: 22px; letter-spacing: 5px; }
.foot-brand span { color: var(--faint); font-size: 12px; max-width: 230px; line-height: 1.6; }
.copy { width: 100%; text-align: center; color: var(--faint); font-size: 12px; margin-top: 16px; letter-spacing: 1px; }

/* 9. BUTTONS */
.btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 99px;
  border: 1px solid transparent;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  transition: 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn:hover { background: rgba(255, 255, 255, 0.13); }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-pale), var(--gold));
  color: #221A08;
  border: none;
  box-shadow: 0 6px 22px rgba(201, 162, 39, 0.28);
}
.btn-gold:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(201, 162, 39, 0.36); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--gold-pale); }
.btn-outline:hover { background: rgba(201, 162, 39, 0.10); }
.btn-block { width: 100%; margin-top: 14px; }
.btn-sm { padding: 7px 16px; font-size: 11px; }

/* 10. FORMS */
form label { display: block; margin: 14px 0; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  transition: 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.14);
}

/* 11. MODALS & OVERLAY */
#overlay { display: none; position: fixed; inset: 0; z-index: 60; background: rgba(5, 3, 12, 0.80); backdrop-filter: blur(5px); }
#overlay.active { display: block; }
.modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.active { display: flex; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: 88vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--surface), #100B1E);
  animation: modalIn 0.3s ease;
}
.modal-card h2 { color: var(--gold-pale); font-size: 22px; letter-spacing: 1px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.modal-card h2 small { display: block; margin-top: 5px; color: var(--muted); font-family: var(--font-body); font-style: italic; font-weight: 400; font-size: 12.5px; letter-spacing: 0.5px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s;
}
.modal-close:hover { color: var(--gold-bright); border-color: var(--line); transform: rotate(90deg); }
.ikin-panel {
  text-align: center;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: radial-gradient(ellipse at top, rgba(201, 162, 39, 0.10), transparent 70%);
}
.ikin-panel h3 { color: var(--gold-bright); letter-spacing: 4px; font-size: 13px; }
.ikin-panel p { color: var(--muted); font-style: italic; font-size: 13px; margin-top: 7px; }

/* 12. ODU SIGNATURE */
.odu-signature {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 26px;
  margin: 16px auto;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
}
.odu-row { display: flex; gap: 38px; justify-content: center; }
.leg { display: inline-flex; gap: 7px; min-width: 42px; justify-content: center; position: relative; }
.leg i {
  width: 7px;
  height: 26px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-pale), var(--gold));
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.45);
  position: relative;
}
#divination-result { text-align: center; margin-top: 8px; }
#odu-detail { text-align: center; }
#odu-detail h3 { margin-top: 6px; color: var(--gold-pale); font-size: 20px; }
#divination-result .analysis { text-align: left; }

/* 13. ODU BROWSER & TEACHINGS */
.odu-browser { display: grid; gap: 12px; margin-bottom: 14px; }
.odu-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 12px 0; }
.odu-nav span { color: var(--muted); font-size: 12.5px; min-width: 86px; text-align: center; letter-spacing: 1px; }
.badge { font-size: 10px; letter-spacing: 1px; padding: 3px 10px; border-radius: 99px; background: var(--gold); color: #221A08; vertical-align: middle; }
.teach-title { margin-top: 24px; color: var(--gold-bright); font-size: 16px; letter-spacing: 1px; }
.teaching { padding: 16px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.22); }
.teaching-kind { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-bright); border: 1px solid var(--line); border-radius: 99px; padding: 3px 11px; }
.teaching h4 { margin: 11px 0 6px; color: var(--gold-pale); }

/* ═══ END OF PART 1 ═══ */

/* ============================================================
   ÌPÍN • The Destiny Platform — Master Theme (PART 2 of 4)
   Sections 14–21: Results → Ìbà Homage Banner
   ============================================================ */

/* 14. RESULTS: CHART / NUMBERS / COMPATIBILITY */
.chart-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}
.chart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.chart-row:last-child { border-bottom: none; }
.chart-row strong { color: var(--gold-bright); font-size: 15px; }
.chart-row em { color: var(--muted); font-size: 12px; font-style: normal; }
.chart-row span { font-size: 13px; color: var(--muted); }
.num-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.num-card {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.06), transparent);
}
.num-card span { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.num-card strong { display: block; font-family: var(--font-display); font-size: 38px; color: var(--gold-bright); margin: 8px 0; }
.num-card p { font-size: 12.5px; line-height: 1.55; }
ul.plain { list-style: none; margin: 10px 0 16px; }
ul.plain li { padding: 8px 0; border-bottom: 1px dashed var(--line-soft); font-size: 13.5px; }
ul.plain strong { color: var(--gold-bright); margin-right: 10px; }
.compat-pair { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 20px 0; flex-wrap: wrap; }
.mate {
  text-align: center;
  padding: 16px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  min-width: 150px;
}
.mate span { color: var(--gold-bright); font-size: 16px; font-weight: 600; }
.mate small { display: block; color: var(--muted); margin-top: 5px; font-size: 12px; }
.mate-glyph { font-size: 26px; color: var(--gold); }
.score-line { display: flex; align-items: center; gap: 12px; margin: 11px 0; }
.score-line span { width: 160px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.5px; }
.bar { flex: 1; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold-pale)); }
.score-line b { width: 46px; text-align: right; color: var(--gold-pale); }
.analysis {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(201, 162, 39, 0.07);
  font-style: italic;
  line-height: 1.65;
  font-size: 14px;
}
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* 15. ANIMATIONS */
@keyframes heavenDescend {
  0% { opacity: 0; transform: translateY(-36px); filter: blur(6px); }
  60% { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes divinePulse {
  0%, 100% { text-shadow: 0 0 12px rgba(201, 162, 39, 0.5); }
  50% { text-shadow: 0 0 26px rgba(232, 199, 102, 0.9); }
}
@keyframes floatSym {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-8px); opacity: 1; }
}
@keyframes raysSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes dotFade { 0%, 60%, 100% { opacity: 0; } 30% { opacity: 1; } }
@keyframes simpleFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes markLand {
  0% { opacity: 0; transform: translateY(-16px) scaleY(0.4); }
  60% { opacity: 1; transform: translateY(2px) scaleY(1.08); }
  100% { opacity: 1; transform: translateY(0); scaleY(1); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes flamePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}
@keyframes ibaFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.divine-receiving { position: relative; text-align: center; padding: 46px 20px; overflow: hidden; }
.divine-rays {
  position: absolute;
  inset: -60px;
  pointer-events: none;
  opacity: 0.4;
  filter: blur(2px);
  background: conic-gradient(from 0deg, transparent 0deg, rgba(201, 162, 39, 0.18) 18deg, transparent 40deg, transparent 90deg, rgba(201, 162, 39, 0.13) 108deg, transparent 130deg, transparent 180deg, rgba(201, 162, 39, 0.18) 198deg, transparent 220deg, transparent 270deg, rgba(201, 162, 39, 0.13) 288deg, transparent 310deg);
  animation: raysSpin 16s linear infinite;
}
.divine-symbols { position: relative; font-size: 30px; color: var(--gold-bright); letter-spacing: 16px; margin-bottom: 18px; }
.divine-symbols span { display: inline-block; animation: floatSym 3s ease-in-out infinite; }
.divine-symbols span:nth-child(2) { animation-delay: 0.3s; }
.divine-symbols span:nth-child(3) { animation-delay: 0.6s; font-size: 38px; }
.divine-symbols span:nth-child(4) { animation-delay: 0.9s; }
.divine-symbols span:nth-child(5) { animation-delay: 1.2s; }
.divine-chant { position: relative; color: var(--gold-pale); font-size: 17px; font-style: italic; animation: divinePulse 2.4s ease-in-out infinite; }
.divine-chant .dots i { font-style: normal; opacity: 0; animation: dotFade 1.6s infinite; }
.divine-chant .dots i:nth-child(2) { animation-delay: 0.3s; }
.divine-chant .dots i:nth-child(3) { animation-delay: 0.6s; }
.divine-sub { position: relative; color: var(--muted); font-size: 13px; margin-top: 9px; }
.divine-reveal > * { opacity: 0; animation: heavenDescend 1.1s ease forwards; }
.divine-reveal > *:nth-child(1) { animation-delay: 0.05s; }
.divine-reveal > *:nth-child(2) { animation-delay: 0.45s; }
.divine-reveal > *:nth-child(3) { animation-delay: 0.85s; }
.divine-reveal > *:nth-child(4) { animation-delay: 1.25s; }
.divine-reveal > *:nth-child(5) { animation-delay: 1.65s; }
.divine-reveal > *:nth-child(6) { animation-delay: 2.05s; }
.divine-reveal .odu-signature { box-shadow: 0 0 36px rgba(201, 162, 39, 0.22); }
.odu-signature.casting { animation: simpleFade 0.4s ease 0.6s both; box-shadow: 0 0 36px rgba(201, 162, 39, 0.22); }
.odu-signature.casting .cast-mark {
  opacity: 0;
  transform: translateY(-16px) scaleY(0.4);
  animation: markLand 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.35) forwards;
  animation-delay: var(--d);
}
.cast-voice { opacity: 0; animation: simpleFade 0.8s ease 0.3s both; text-align: center; font-style: italic; margin-bottom: 6px; }
.cast-after { opacity: 0; text-align: center; }
.cast-after.show { animation: heavenDescend 0.9s ease forwards; }
.cast-after h3 { color: var(--gold-pale); font-size: 23px; margin-top: 6px; letter-spacing: 1px; }

/* 16. TOAST */
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 90;
  padding: 12px 26px;
  border-radius: 99px;
  background: var(--gold-bright);
  color: #221A08;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.show.error { background: #C24A36; color: #fff; }

/* 17. STAR CHAMBER */
.chart-reading {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(93, 63, 158, 0.08), rgba(93, 63, 158, 0.02));
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.8;
  font-size: 14px;
  white-space: pre-line;
  text-align: left;
}
.chamber-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.chamber-form label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 6px; }
.chamber-form input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg, rgba(0, 0, 0, 0.2));
  color: var(--ink);
  font-size: 14px;
}
.chamber-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chamber-form .small { font-size: 11px; opacity: 0.7; }

/* 18. ODU BROWSER ENHANCEMENTS */
.odu-header-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.1));
}
.odu-info { flex: 1; }
.odu-name { font-size: 24px; color: var(--gold, #d4af37); margin: 0 0 6px 0; font-weight: 700; letter-spacing: 0.5px; }
.odu-position { font-size: 13px; color: var(--muted, #aaa); margin: 0; }
.odu-position em { font-style: normal; opacity: 0.8; }
.meji-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold, #d4af37), #b8860b);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  vertical-align: middle;
  margin-left: 8px;
}
.odu-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold, #d4af37);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.teaching-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  padding: 20px;
  margin: 10px 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teaching-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.teaching-card.kind-verse { border-left: 4px solid #d4af37; }
.teaching-card.kind-proverb { border-left: 4px solid #4ecdc4; }
.teaching-card.kind-offering { border-left: 4px solid #9b59b6; }
.teaching-card.kind-warning { border-left: 4px solid #e74c3c; }
.teaching-card.kind-prayer { border-left: 4px solid #3498db; }
.teaching-card.kind-taboo { border-left: 4px solid #e67e22; }
.teaching-card.kind-story { border-left: 4px solid #2ecc71; }
.teaching-card.kind-blessing { border-left: 4px solid #f1c40f; }
.teaching-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.teaching-icon { font-size: 28px; line-height: 1; }
.teaching-meta { flex: 1; }
.teaching-kind-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold, #d4af37);
  margin-bottom: 4px;
}
.teaching-title { font-size: 18px; color: var(--ink); margin: 0; font-weight: 600; }
.teaching-body { font-size: 15px; line-height: 1.8; color: var(--ink); }
.teaching-body p { margin: 0 0 12px 0; }
.teaching-body p:last-child { margin-bottom: 0; }
.teaching-translation {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted, #bbb);
  font-style: italic;
}
.teaching-translation .label {
  font-weight: 700;
  color: var(--gold, #d4af37);
  font-style: normal;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}
.teaching-media {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--gold, #d4af37), #b8860b);
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teaching-media:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4); }
.teaching-empty { text-align: center; padding: 40px 20px; font-style: italic; opacity: 0.7; }

/* 19. WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  pointer-events: auto;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }

/* 20. NUMEROLOGY ENHANCED */
.enhanced-title { margin-top: 24px; margin-bottom: 16px; color: var(--gold); font-size: 18px; text-align: center; }
.enhanced-section { display: flex; flex-direction: column; gap: 16px; }
.enhanced-card { padding: 20px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.enhanced-card h4 { margin: 0 0 12px 0; font-size: 16px; color: var(--gold); }
.enhanced-card p { margin: 0 0 12px 0; line-height: 1.7; font-size: 14px; }
.enhanced-traits { font-size: 13px; margin-bottom: 6px; color: var(--muted); }
.enhanced-traits strong { color: var(--ink); }
.driver-card { border-left: 4px solid #e74c3c; }
.conductor-card { border-left: 4px solid #3498db; }
.combination-card {
  border-left: 4px solid var(--gold);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
}
.combo-message { font-style: italic; line-height: 1.8; }
.combo-advice { margin-top: 12px; padding: 12px; background: rgba(212, 175, 55, 0.1); border-radius: 8px; font-size: 13px; }

/* 21. ÌBÀ — HOMAGE BANNER */
.iba-banner {
  position: relative;
  max-width: 720px;
  margin: 2rem auto 3rem;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.06) 0%, rgba(15, 12, 41, 0.4) 60%, rgba(212, 175, 55, 0.04) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  animation: ibaFadeIn 0.9s ease both;
}
.iba-dismiss {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  color: rgba(212, 175, 55, 0.7);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.iba-dismiss:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold, #d4af37);
  border-color: var(--gold, #d4af37);
  transform: rotate(90deg);
}
.iba-ornament { font-size: 1.4rem; color: var(--gold, #d4af37); letter-spacing: 0.3em; margin-bottom: 0.5rem; opacity: 0.9; }
.iba-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0;
  background: linear-gradient(135deg, #d4af37 0%, #f5e28a 50%, #c19a2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.iba-subtitle { font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin: 0.4rem 0 0; }
.iba-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 1.4rem 0 1.6rem; color: var(--gold, #d4af37); font-size: 1.1rem; }
.iba-divider span { flex: 0 0 70px; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5)); }
.iba-divider span:last-child { background: linear-gradient(90deg, rgba(212, 175, 55, 0.5), transparent); }
.iba-deities { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 1.6rem; }
.iba-deity {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  transition: all 0.25s ease;
}
.iba-deity:hover { background: rgba(212, 175, 55, 0.14); border-color: rgba(212, 175, 55, 0.5); transform: translateY(-2px); }
.deity-name { font-size: 0.95rem; font-weight: 600; color: var(--gold, #d4af37); letter-spacing: 0.03em; }
.deity-role { font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.05em; margin-top: 2px; }
.iba-quote { font-style: italic; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.75); margin: 0; padding: 0 1rem; }
.iba-quote cite { display: block; margin-top: 0.6rem; font-size: 0.8rem; font-style: normal; color: rgba(212, 175, 55, 0.7); letter-spacing: 0.05em; }

/* ═══ END OF PART 2 ═══ */
/* ============================================================
   ÌPÍN • The Destiny Platform — Master Theme (PART 3 of 4)
   Sections 22–31: Naming/Daily/Shrine → Accessibility & Print
   ============================================================ */

/* 22. BABY NAMING, DAILY ODU, ORI SHRINE PAGES */
.naming-page, .daily-page, .shrine-page { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
.naming-head, .daily-head, .shrine-head { text-align: center; margin-bottom: 3rem; }
.naming-head h1, .daily-head h1, .shrine-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #d4af37 0%, #f5e28a 50%, #c19a2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.5rem 0;
}
.naming-intro, .daily-intro, .shrine-intro { max-width: 600px; margin: 1rem auto 0; color: rgba(255, 255, 255, 0.7); line-height: 1.7; }
.naming-form-container, .shrine-form-container {
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.06) 0%, rgba(15, 12, 41, 0.4) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.naming-form, .shrine-form, .daily-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); font-weight: 500; }
.form-group input, .form-group select {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease;
}
.form-group input:focus, .form-group select:focus { border-color: var(--gold, #d4af37); }
.form-group select option { background: #1a1630; color: #fff; }
.naming-reveal, .daily-reveal, .shrine-reveal { animation: fadeInUp 0.6s ease both; }
.naming-card.primary {
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.1) 0%, rgba(15, 12, 41, 0.5) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.naming-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold, #d4af37);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.naming-name { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--gold, #d4af37); margin: 0.5rem 0; font-weight: 700; }
.naming-meaning { font-style: italic; color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; margin-bottom: 1rem; }
.naming-odu { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.naming-blessing, .naming-alternatives, .daily-section, .shrine-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.naming-blessing h3, .naming-alternatives h3, .daily-section h3, .shrine-section h3 { color: var(--gold, #d4af37); font-size: 1.1rem; margin: 0 0 1rem; }
.naming-alt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.naming-alt-card { background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: 10px; padding: 1rem; text-align: center; }
.naming-alt-card strong { color: var(--gold, #d4af37); display: block; margin-bottom: 0.5rem; }
.naming-alt-card p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin: 0; }
.naming-cta, .daily-cta, .shrine-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.08) 0%, rgba(15, 12, 41, 0.3) 100%);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 12px;
}
/* Daily Odu specific */
.daily-odu-card {
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.1) 0%, rgba(15, 12, 41, 0.5) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
.daily-date { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.daily-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold, #d4af37);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.daily-odu-name { font-size: clamp(2rem, 5vw, 3rem); color: var(--gold, #d4af37); margin: 0.5rem 0; line-height: 1.2; }
.daily-english-name { font-size: 0.95rem; color: rgba(255, 255, 255, 0.5); font-style: italic; margin-top: 0.25rem; }
.daily-theme { color: rgba(255, 255, 255, 0.75); font-size: 1.05rem; line-height: 1.7; margin-top: 0.75rem; }
.daily-section.teachings { border-color: rgba(212, 175, 55, 0.35); background: rgba(212, 175, 55, 0.05); }
.daily-section.verses { border-color: rgba(155, 89, 182, 0.3); background: rgba(155, 89, 182, 0.05); }
.daily-section.verses h3 { color: #bb8fce; }
.daily-section.message { border-color: rgba(46, 204, 113, 0.3); background: rgba(46, 204, 113, 0.05); }
.daily-section.message h3 { color: #2ecc71; }
.daily-formatted-content p { color: rgba(255, 255, 255, 0.8); line-height: 1.85; margin-bottom: 1rem; font-size: 0.98rem; }
.daily-formatted-content p:last-child { margin-bottom: 0; }
.daily-formatted-content p strong { color: var(--gold, #d4af37); }
.daily-list { list-style: none; padding: 0; margin: 0; }
.daily-list li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.75); }
.daily-list li:last-child { border-bottom: none; }
.daily-list.auspicious li::before { content: '✦ '; color: #2ecc71; }
.daily-list.cautions li::before { content: '⚠ '; color: #e74c3c; }
.daily-lucky { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.lucky-item { background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: 10px; padding: 1rem; }
.lucky-label { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.lucky-item strong { color: var(--gold, #d4af37); font-size: 1.1rem; }
.daily-prayer-text { font-style: italic; line-height: 1.8; color: rgba(255, 255, 255, 0.75); margin: 0; }
.daily-nav, .naming-nav, .shrine-nav { margin-top: 2.5rem; text-align: center; }
/* Ori Shrine specific */
.shrine-altar {
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.12) 0%, rgba(15, 12, 41, 0.6) 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.shrine-flame { font-size: 3rem; animation: flamePulse 2s ease-in-out infinite; margin-bottom: 1rem; }
.shrine-name { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--gold, #d4af37); margin: 0.5rem 0; }
.shrine-subtitle { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; margin-bottom: 2rem; }
.shrine-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shrine-detail { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: 10px; padding: 1rem; }
.detail-label { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.detail-value { color: var(--gold, #d4af37); font-size: 1.1rem; font-weight: 600; }
.shrine-prayer, .shrine-affirmation, .shrine-offering { line-height: 1.8; color: rgba(255, 255, 255, 0.75); }
.shrine-affirmation { font-style: italic; font-size: 1.05rem; }

/* 23. AI NUMEROLOGY INTERPRETATION */
.ai-interpretation { line-height: 1.9; color: rgba(255, 255, 255, 0.82); }
.ai-interpretation p { margin-bottom: 1rem; }
.ai-interpretation p:last-child { margin-bottom: 0; font-style: italic; color: var(--gold, #d4af37); opacity: 0.9; }
.msg-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}
.ai-badge { background: rgba(212, 175, 55, 0.15); color: #d4af37; border: 1px solid rgba(212, 175, 55, 0.3); }
.fallback-badge { background: rgba(155, 89, 182, 0.15); color: #bb8fce; border: 1px solid rgba(155, 89, 182, 0.3); }

/* 24. SACRED NUMBERS */
.sn-page, .snr-page { max-width: 900px; margin: 0 auto; padding: 3rem 1.5rem; }
.sn-head, .snr-head { text-align: center; margin-bottom: 2.5rem; }
.sn-head h1, .snr-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #d4af37 0%, #f5e28a 50%, #c19a2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.5rem 0;
}
.sn-intro { max-width: 620px; margin: 1rem auto 0; color: rgba(255, 255, 255, 0.7); line-height: 1.7; }
.sn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.sn-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.07) 0%, rgba(15, 12, 41, 0.45) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sn-card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); }
.sn-card-number { font-size: 2.75rem; font-weight: 800; color: var(--gold, #d4af37); line-height: 1; margin-bottom: 0.75rem; }
.sn-card-title { color: #fff; font-size: 1.1rem; margin: 0 0 0.5rem; }
.sn-card-tagline { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; line-height: 1.6; flex: 1; margin: 0 0 1rem; }
.sn-card-footer { display: flex; justify-content: space-between; align-items: center; }
.sn-card-orisha { font-size: 0.8rem; color: rgba(212, 175, 55, 0.85); }
.sn-card-cta { font-size: 0.85rem; color: var(--gold, #d4af37); font-weight: 600; }
.snr-big-number {
  font-size: clamp(4rem, 10vw, 6.5rem);
  font-weight: 800;
  color: var(--gold, #d4af37);
  line-height: 1;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
}
.snr-tagline { color: rgba(255, 255, 255, 0.7); max-width: 640px; margin: 0.75rem auto 1.25rem; line-height: 1.7; }
.snr-chips { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.snr-chip {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold, #d4af37);
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
}
.snr-section { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(212, 175, 55, 0.18); border-radius: 12px; padding: 1.75rem; margin-bottom: 1.25rem; }
.snr-section.free { border-color: rgba(46, 204, 113, 0.35); background: rgba(46, 204, 113, 0.05); }
.snr-section.final { border-color: rgba(212, 175, 55, 0.5); background: rgba(212, 175, 55, 0.07); }
.snr-section h3 { color: var(--gold, #d4af37); margin: 0 0 1rem; font-size: 1.1rem; }
.snr-section p { color: rgba(255, 255, 255, 0.78); line-height: 1.8; margin: 0 0 0.75rem; }
.snr-section p:last-child { margin-bottom: 0; }
.good { color: #2ecc71; }
.bad { color: #e74c3c; }
.snr-advice { background: rgba(212, 175, 55, 0.08); border-radius: 8px; padding: 0.9rem 1rem; }
.snr-locked-box {
  text-align: center;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.07) 0%, rgba(15, 12, 41, 0.4) 100%);
  border-radius: 16px;
  padding: 2.5rem 1.75rem;
  margin: 2rem 0;
}
.snr-lock-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.snr-locked-box h3 { color: var(--gold, #d4af37); margin: 0 0 0.75rem; }
.snr-locked-list { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 1.25rem 0 1.75rem; }
.snr-locked-list span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.8rem;
  border-radius: 16px;
}

/* 25. SUBSCRIPTION ELEMENTS */
.sn-subscribe-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}
.sn-subscribe-text h3 { color: var(--gold, #d4af37); margin: 0 0 0.4rem; font-size: 1.15rem; }
.sn-subscribe-text p { color: rgba(255, 255, 255, 0.65); margin: 0; font-size: 0.9rem; }
.sn-subscriber-active {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #2ecc71;
  font-size: 0.9rem;
}
.snr-subscriber-badge {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: 10px;
  color: #2ecc71;
  font-size: 0.9rem;
}
.snr-subscription-features { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.5rem 0; text-align: left; }
.snr-sub-feature { display: flex; align-items: center; gap: 0.75rem; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.feature-icon { font-size: 1.2rem; }
.snr-subscription-price { margin: 1.5rem 0; }
.snr-subscription-price .price-amount { font-size: 2.5rem; font-weight: 800; color: var(--gold, #d4af37); }
.price-period { font-size: 1rem; color: rgba(255, 255, 255, 0.5); }
.subscribe-benefits { display: flex; flex-direction: column; gap: 0.4rem; margin: 1.25rem 0; text-align: left; }
.subscribe-benefits span { color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; }
.snr-disclaimer { text-align: center; margin-top: 2.5rem; font-style: italic; }
.sn-nav, .snr-nav { margin-top: 2.5rem; text-align: center; }

/* 26. PROPHECY PAGE */
.prophecy-link { margin-top: 20px; text-decoration: none; display: inline-block; }
.prophecy-page { max-width: 860px; margin: 0 auto; padding: 50px 24px 80px; animation: fadeUp 0.9s ease both; }
.prophecy-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.prophecy-head h1 {
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, var(--gold-pale), var(--gold) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.prophecy-intro { margin-top: 16px; color: var(--muted); line-height: 1.75; font-size: 14.5px; }
.prophecy-status { text-align: center; padding: 60px 20px; }
.prophecy-odu-card {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface2));
  margin-bottom: 30px;
}
.prophecy-odu-card .odu-signature { margin: 0; }
.prophecy-odu-info { max-width: 420px; text-align: left; }
.prophecy-odu-info h2 { color: var(--gold-pale); font-size: 24px; letter-spacing: 1px; margin-bottom: 6px; }
.prophecy-odu-info .muted { font-size: 12.5px; margin-bottom: 12px; }
.prophecy-odu-info p { line-height: 1.7; font-size: 14.5px; }
.prophecy-question { font-style: italic; margin-top: 12px; border-left: 2px solid var(--gold); padding-left: 12px; color: var(--muted); }
.prophecy-reveal {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.09), rgba(201, 162, 39, 0.02));
  animation: heavenDescend 0.9s ease both;
}
.prophecy-reveal h2 { color: var(--gold-pale); font-size: 24px; text-align: center; margin-bottom: 20px; }
.prophecy-reveal p { color: var(--ink); line-height: 1.9; font-size: 15px; margin-bottom: 16px; }
.web-insight-area { margin-top: 24px; }
.web-insight-reveal {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(93, 63, 158, 0.14), rgba(93, 63, 158, 0.03));
  animation: heavenDescend 0.9s ease both;
}
.web-insight-reveal h2 { color: var(--gold-pale); font-size: 22px; text-align: center; margin-bottom: 20px; }
.web-insight-reveal p { color: var(--ink); line-height: 1.9; font-size: 15px; margin-bottom: 16px; }
.prophecy-nav { text-align: center; margin-top: 36px; }

/* 27. MOBILE RESPONSIVE (≤ 900px) */
@media (max-width: 900px) {
  .site-header { padding: 12px 18px; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.15em; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1630 0%, #0f0c29 100%);
    border-left: 1px solid rgba(212, 175, 55, 0.25);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.25rem 2rem;
    gap: 0.25rem;
    transition: right 0.35s ease;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }
  .main-nav.open { right: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 0.85rem 1rem; font-size: 1rem; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
    margin-top: 0.25rem;
    max-width: 100% !important;
    padding: 0.25rem !important;
    display: none;
    min-width: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }
  .nav-dropdown-menu a { padding: 0.75rem 1rem; font-size: 0.95rem; white-space: normal; }
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    backdrop-filter: blur(4px);
  }
}

/* 28. MOBILE RESPONSIVE (≤ 768px) */
@media (max-width: 768px) {
  html { font-size: 16px; }
  body { font-size: 16px; line-height: 1.7; }
  #hero { padding: 64px 18px 36px; }
  #hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); letter-spacing: 0.1em; margin-left: 0.1em; }
  .hero-divider span { width: 60px; }
  .chambers { grid-template-columns: 1fr; gap: 16px; }
  .chamber-card { padding: 28px 20px 22px; }
  .chamber-card h3 { font-size: 17px; }
  .chamber-card p { font-size: 13px; }
  .modal-card { padding: 24px 18px; max-height: 92vh; border-radius: 14px; }
  .modal-card h2 { font-size: 19px; }
  .modal-close { width: 40px; height: 40px; font-size: 20px; }
  .odu-signature { padding: 14px 18px; gap: 7px; }
  .odu-row { gap: 24px; }
  .leg i { width: 6px; height: 22px; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num-card strong { font-size: 30px; }
  .score-line { flex-wrap: wrap; }
  .score-line span { width: 100%; margin-bottom: 4px; }
  .compat-pair { flex-direction: column; gap: 12px; }
  .mate { width: 100%; min-width: auto; }
  footer { padding: 36px 22px 22px; gap: 28px; flex-direction: column; }
  .foot-col { min-width: auto; }
  .divine-banner { margin: 24px 16px 60px; padding: 30px 20px; }
  .divine-banner h2 { font-size: 20px; }
  .sn-page, .snr-page { padding: 2rem 1rem; }
  .sn-grid { grid-template-columns: 1fr; gap: 1rem; }
  .sn-card { padding: 1.5rem 1.25rem; }
  .sn-card-number { font-size: 2.5rem; }
  .sn-subscribe-banner { flex-direction: column; text-align: center; padding: 1.5rem 1.25rem; }
  .snr-big-number { font-size: 4rem; }
  .snr-section { padding: 1.25rem; }
  .daily-page { padding: 2rem 1rem; }
  .daily-odu-card { padding: 1.75rem 1.25rem; }
  .daily-odu-name { font-size: 2rem; }
  .daily-section { padding: 1.25rem; }
  .daily-lucky { grid-template-columns: 1fr; gap: 0.75rem; }
  .naming-page, .shrine-page { padding: 2rem 1rem; }
  .naming-form-container, .shrine-form-container { padding: 1.5rem; }
  .shrine-details { grid-template-columns: 1fr; }
  .naming-name { font-size: 2rem; }
  .prophecy-page { padding: 30px 16px 60px; }
  .prophecy-odu-card { flex-direction: column; padding: 20px; }
  .prophecy-odu-info { text-align: center; }
  .prophecy-reveal, .web-insight-reveal { padding: 24px 18px; }
  .odu-header-section { flex-direction: column; align-items: flex-start; gap: 12px; }
  .teaching-card { padding: 16px; }
  .teaching-icon { font-size: 24px; }
  .iba-banner { padding: 2rem 1.2rem 1.5rem; margin: 1.2rem 1rem 2rem; }
  .iba-deities { gap: 0.45rem; }
  .iba-deity { padding: 0.45rem 0.8rem; }
  .deity-name { font-size: 0.85rem; }
  .deity-role { font-size: 0.68rem; }
  .btn { padding: 14px 28px; font-size: 13px; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  #toast { bottom: 80px; left: 16px; right: 16px; transform: none; text-align: center; }
  #toast.show { transform: none; }
}

/* 29. EXTRA SMALL DEVICES (≤ 380px) */
@media (max-width: 380px) {
  .brand-name { font-size: 0.95rem; }
  .brand-sub { font-size: 0.5rem; }
  #hero h1 { font-size: 2.2rem; }
  .snr-big-number { font-size: 3.25rem; }
  .daily-odu-name { font-size: 1.75rem; }
  .sn-card-number { font-size: 2rem; }
  .modal-card { padding: 20px 14px; }
  .btn { padding: 12px 20px; font-size: 12px; }
}

/* 30. TABLET (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .chambers { grid-template-columns: repeat(2, 1fr); }
  .sn-grid { grid-template-columns: repeat(2, 1fr); }
  .num-grid { grid-template-columns: repeat(3, 1fr); }
}

/*  iOS FIX: Crisp gradient headings (removes blur) */
#hero h1, .hero-title, .home-title, .prophecy-head h1, .prophecy-head h2,
.iba-title, .naming-head h1, .daily-head h1, .shrine-head h1,
.sn-head h1, .snr-head h1, .snr-big-number {
  filter: none !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
#hero { position: relative; }
#hero::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 160px;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* 📱 FIX: Hero eyebrow on small mobile */
@media (max-width: 480px) {
  .hero-eyebrow { font-size: 10px; letter-spacing: 2px; padding: 0 12px; line-height: 1.6; }
  .hero-sub { letter-spacing: 3px; font-size: 12px; padding: 0 10px; }
  .hero-chambers { font-size: 12px; padding: 0 12px; line-height: 1.7; }
}
@media (max-width: 360px) {
  .hero-eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .hero-sub { letter-spacing: 2px; font-size: 11px; }
}

/* 31. ACCESSIBILITY & PRINT */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .site-header, .nav-toggle, .btn, .daily-cta, .snr-nav, .daily-nav,
  .whatsapp-float, #toast { display: none !important; }
  body { background: white; color: black; }
  .snr-section, .daily-section { break-inside: avoid; border: 1px solid #ccc; }
  a.oracle-chat-toggle { text-decoration: none; }
}

/* ═══ END OF PART 3 ═══ */
/* ============================================================
   ÌPÍN • The Destiny Platform — Master Theme (PART 4A of 4C)
   Lang Dropdown → Ifá Course → Account → Auth → Header (base)
   ============================================================ */

/* 🌐 PROFESSIONAL LANGUAGE DROPDOWN */
.lang-dropdown-wrapper { position: relative; z-index: 1000; margin-right: 16px; }
.lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(11, 8, 23, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 99px;
  color: var(--gold-pale);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.lang-dropdown-toggle:hover,
.lang-dropdown-toggle[aria-expanded="true"] { background: rgba(201, 162, 39, 0.1); border-color: var(--gold); }
.lang-dropdown-toggle .lang-flag { font-size: 16px; }
.lang-dropdown-toggle .lang-caret { font-size: 10px; transition: transform 0.2s; opacity: 0.7; }
.lang-dropdown-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  max-height: 420px;
  background: linear-gradient(180deg, #151024, #0B0817);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 162, 39, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lang-dropdown-menu[hidden] { display: none; }
.lang-search-wrap { padding: 10px; border-bottom: 1px solid rgba(201, 162, 39, 0.15); }
.lang-search {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--ink);
  font-size: 13px;
}
.lang-search:focus { outline: none; border-color: var(--gold); }
.lang-search::placeholder { color: #7A7263; }
.lang-options { overflow-y: auto; padding: 6px; flex: 1; }
.lang-options::-webkit-scrollbar { width: 6px; }
.lang-options::-webkit-scrollbar-track { background: transparent; }
.lang-options::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.3); border-radius: 99px; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.lang-option:hover { background: rgba(201, 162, 39, 0.1); }
.lang-option.active { background: rgba(201, 162, 39, 0.15); color: var(--gold-pale); font-weight: 600; }
.lang-option .opt-flag { font-size: 16px; }
.lang-original {
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 8px 8px 0 0;
  color: #A79E8E;
  font-style: italic;
  justify-content: center;
}
.lang-original:hover { color: var(--gold-pale); }
.lang-dropdown-toggle.translating { pointer-events: none; opacity: 0.7; }
.lang-dropdown-toggle.translating .lang-caret { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@media (max-width: 768px) {
  .lang-dropdown-menu {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 70vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
  .lang-dropdown-wrapper { margin-right: 8px; }
  .lang-dropdown-toggle .lang-label { display: none; }
}

/* 📜 IFÁ CONSULTATION COURSE PAGE (Paginated) */
.ifa-hero { text-align: center; padding: 3rem 1rem 2rem; max-width: 820px; margin: 0 auto; }
.ifa-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 99px;
  color: var(--gold-pale);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.ifa-hero h1 { font-family: 'Cinzel', Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; line-height: 1.2; }
.gold-text {
  background: linear-gradient(135deg, #d4af37, #f5e28a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ifa-hero-sub { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 640px; margin: 1rem auto 0; }
.ifa-course { max-width: 900px; margin: 0 auto; padding: 1rem 1rem 4rem; }
.ifa-progress-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 1.5rem; }
.ifa-progress-bar { flex: 1; height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; }
.ifa-progress-fill { height: 100%; background: linear-gradient(90deg, #d4af37, #f5e28a); border-radius: 99px; transition: width 0.4s ease; }
.ifa-progress-text { color: var(--gold-pale); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ifa-lesson {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  min-height: 400px;
}
.ifa-lesson-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1.5rem; }
.ifa-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-pale);
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.ifa-lesson h2 { font-family: 'Cinzel', Georgia, serif; font-size: 1.3rem; color: var(--gold-pale); line-height: 1.3; margin: 0; }
.ifa-lesson.fade-in { animation: ifaFadeIn 0.3s ease; }
@keyframes ifaFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ifa-body { color: var(--ink); line-height: 1.8; font-size: 15px; }
.ifa-body h4 { font-family: 'Cinzel', Georgia, serif; color: var(--gold-pale); margin: 1.25rem 0 0.5rem; font-size: 1rem; }
.ifa-body p { margin: 0 0 1rem; }
.ifa-body strong { color: var(--gold-pale); }
.ifa-verse {
  border-left: 3px solid var(--gold);
  background: rgba(201, 162, 39, 0.06);
  padding: 0.9rem 1.2rem;
  border-radius: 0 12px 12px 0;
  margin: 1.25rem 0;
  font-style: italic;
  color: var(--gold-pale);
}
.ifa-verse em { display: block; margin-top: 0.5rem; font-size: 13px; color: var(--muted); font-style: normal; }
.ifa-list { margin: 0 0 1rem; padding-left: 0; list-style: none; }
.ifa-list li { position: relative; padding: 0.35rem 0 0.35rem 1.6rem; }
.ifa-list li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
.ifa-note {
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  color: var(--ink);
  font-size: 14px;
}
.ifa-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 1.5rem; }
.ifa-nav-btn {
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ifa-nav-btn:hover:not(:disabled) { background: rgba(201, 162, 39, 0.12); border-color: var(--gold); color: var(--gold-pale); }
.ifa-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.ifa-nav-next {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.08));
  border-color: rgba(201, 162, 39, 0.4);
  color: var(--gold-pale);
}
.ifa-copyright { border-top: 1px solid var(--line-soft); padding-top: 1.5rem; margin-top: 2rem; color: var(--muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 768px) {
  .ifa-lesson { padding: 1.25rem; }
  .ifa-nav { flex-direction: row; }
  .ifa-nav-btn { flex: 1; justify-content: center; }
}

/* 👤 ACCOUNT DASHBOARD */
.account-wrap { max-width: 820px; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
.account-head {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.1), rgba(15, 12, 41, 0.5));
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 18px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}
.account-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #c19a2e);
  color: #1a1408;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.account-head h1 { font-family: 'Cinzel', Georgia, serif; font-size: 1.3rem; color: #fff; margin: 0; }
.account-email { color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }
.account-logout { margin-left: auto; }
.account-logout button {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
}
.account-logout button:hover { border-color: var(--gold); color: var(--gold-pale); }
.account-section-title { font-family: 'Cinzel', Georgia, serif; color: var(--gold-pale); font-size: 1.2rem; margin-bottom: 1.25rem; }
.account-empty {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line-soft);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  color: var(--muted);
}
.account-list { display: flex; flex-direction: column; gap: 10px; }
.account-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--ink);
  font-size: 0.9rem;
}
.account-item strong { display: block; margin-bottom: 0.2rem; }
.account-odu { color: var(--gold); font-weight: 600; }
.account-item time { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
@media (max-width: 600px) {
  .account-head { flex-wrap: wrap; }
  .account-logout { margin-left: 0; width: 100%; }
}

/* 🔐 AUTH PAGES (Register / Login — IPIN Theme) */
.auth-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100dvh - 120px);
  padding: 2rem 1rem;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(93, 63, 158, 0.28), transparent 60%),
    radial-gradient(700px 420px at 8% 4%, rgba(201, 162, 39, 0.10), transparent 55%),
    #0B0817;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 162, 39, 0.08);
}
.auth-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.auth-card h1 { font-family: 'Cinzel', Georgia, serif; font-size: 1.6rem; color: #fff; margin-bottom: 0.5rem; }
.auth-sub { color: #A79E8E; font-size: 0.9rem; margin-bottom: 1.75rem; line-height: 1.6; }
.auth-card form { text-align: left; }
.auth-card label { display: block; color: #F4E3B2; font-size: 0.82rem; font-weight: 600; margin: 1rem 0 0.4rem; letter-spacing: 0.03em; }
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 10px;
  color: #EFE9DC;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.auth-card input:focus {
  outline: none;
  border-color: #C9A227;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
  background: rgba(0, 0, 0, 0.45);
}
.auth-card input::placeholder { color: #7A7263; }
.auth-error { display: block; color: #e74c3c; font-size: 0.8rem; margin-top: 0.3rem; }
.auth-remember { display: flex !important; align-items: center; gap: 8px; color: #A79E8E !important; font-weight: 400 !important; margin-top: 1rem; }
.auth-remember input { width: auto !important; accent-color: #C9A227; }
.auth-btn {
  width: 100%;
  margin-top: 1.75rem;
  padding: 13px;
  background: linear-gradient(135deg, #d4af37, #c19a2e);
  border: none;
  border-radius: 12px;
  color: #1a1408;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}
.auth-btn:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4); }
.auth-alt { margin-top: 1.5rem; color: #A79E8E; font-size: 0.9rem; }
.auth-alt a { color: #E8C766; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.auth-alt a:hover { color: #F4E3B2; }
@media (max-width: 480px) {
  .auth-card { padding: 2rem 1.5rem; }
  .auth-card h1 { font-size: 1.4rem; }
}

/* 🧭 PROFESSIONAL HEADER (base) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 8, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  height: 70px;
}
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.brand-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #d4af37, #f5e28a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.brand-tag { font-size: 8.5px; letter-spacing: 0.34em; text-transform: uppercase; color: #7A7263; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 13px;
  color: #CFC8BA;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  font-family: inherit;
  transition: color 0.2s;
}
.nav-link:hover { color: #F4E3B2; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d4af37, #f5e28a);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-link:hover::after { transform: scaleX(1); }
.caret { font-size: 9px; opacity: 0.7; }
.nav-drop { position: relative; }
.drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 250px;
  background: linear-gradient(180deg, #171126, #0D0A18);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 14px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #EFE9DC;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.drop-panel a small { display: block; color: #7A7263; font-size: 11.5px; font-weight: 400; margin-top: 2px; }
.drop-panel a:hover { background: rgba(201, 162, 39, 0.1); color: #F4E3B2; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.oracle-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 99px;
  background: rgba(201, 162, 39, 0.08);
  color: #F4E3B2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.2s;
}
.oracle-btn:hover { background: rgba(201, 162, 39, 0.18); box-shadow: 0 0 16px rgba(201, 162, 39, 0.25); }
.signin-link {
  color: #CFC8BA;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.signin-link:hover { color: #F4E3B2; }
.cta-btn {
  padding: 9px 18px;
  border-radius: 99px;
  background: linear-gradient(135deg, #d4af37, #c19a2e);
  color: #1A1408;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
  transition: 0.2s;
}
.cta-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: #E8C766; border-radius: 2px; }
.mobile-menu { display: none; padding: 12px 20px 24px; border-top: 1px solid rgba(201, 162, 39, 0.15); }
.mobile-menu.open { display: block; }
.mobile-menu > a {
  display: block;
  padding: 13px 4px;
  color: #EFE9DC;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}
.mobile-menu details { border-bottom: 1px solid rgba(201, 162, 39, 0.1); }
.mobile-menu summary { padding: 13px 4px; color: #F4E3B2; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.mobile-menu summary::after { content: ' ▾'; font-size: 10px; }
.mobile-menu details a { display: block; padding: 10px 4px 10px 26px; color: #A79E8E; text-decoration: none; font-size: 13.5px; }
.mobile-auth { display: flex; gap: 12px; align-items: center; padding-top: 16px; }
@media (max-width: 1150px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .oracle-btn span { display: none; }
  .oracle-btn { padding: 8px 12px; }
}
@media (max-width: 640px) {
  .signin-link { display: none; }
  .brand-tag { display: none; }
  .header-inner { gap: 10px; }
}

/* ═══ END OF PART 4A ═══ */
/* ============================================================
   ÌPÍN • The Destiny Platform — Master Theme (PART 4B of 4C)
   Header Refinements → Floating Stack → Prophecy/Voice UI
   ============================================================ */

/* 🧭 PROFESSIONAL HEADER (Logo left · Nav center · Actions right) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 8, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.08));
  border: 1px solid rgba(201, 162, 39, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.2);
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #d4af37, #f5e28a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.brand-tag { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: #7A7263; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  color: #CFC8BA;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  font-family: inherit;
  transition: color 0.2s;
}
.nav-link:hover { color: #F4E3B2; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d4af37, #f5e28a);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-link:hover::after { transform: scaleX(1); }
.caret { font-size: 9px; opacity: 0.7; margin-left: 2px; }
.nav-drop { position: relative; }
.drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 12px);
  min-width: 260px;
  background: linear-gradient(180deg, #171126, #0D0A18);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 14px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}
.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-panel a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: #EFE9DC;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.drop-panel a small { display: block; color: #7A7263; font-size: 11.5px; font-weight: 400; margin-top: 3px; }
.drop-panel a:hover { background: rgba(201, 162, 39, 0.1); color: #F4E3B2; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.oracle-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 99px;
  background: rgba(201, 162, 39, 0.08);
  color: #F4E3B2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.2s;
}
.oracle-btn:hover { background: rgba(201, 162, 39, 0.18); box-shadow: 0 0 18px rgba(201, 162, 39, 0.3); }
.oracle-icon { font-size: 14px; }

/* 🌐 TRANSLATOR — compact icon button */
.lang-dropdown-wrapper { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  color: #CFC8BA;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}
.lang-toggle:hover { border-color: rgba(201, 162, 39, 0.5); color: #F4E3B2; background: rgba(201, 162, 39, 0.08); }
.lang-icon { font-size: 14px; }
.lang-current { color: #F4E3B2; }
.caret-small { font-size: 9px; opacity: 0.6; }
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  max-height: 420px;
  background: linear-gradient(180deg, #151024, #0B0817);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(201, 162, 39, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lang-dropdown-menu[hidden] { display: none; }
.lang-menu-head { padding: 12px 14px; border-bottom: 1px solid rgba(201, 162, 39, 0.15); }
.lang-menu-head strong { display: block; color: #F4E3B2; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 8px; }
.lang-search {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #EFE9DC;
  font-size: 13px;
}
.lang-search:focus { outline: none; border-color: var(--gold, #C9A227); }
.lang-search::placeholder { color: #7A7263; }
.lang-options { overflow-y: auto; padding: 6px; max-height: 320px; }
.lang-options::-webkit-scrollbar { width: 6px; }
.lang-options::-webkit-scrollbar-track { background: transparent; }
.lang-options::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.3); border-radius: 99px; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: #EFE9DC;
  font-size: 13.5px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.lang-option:hover { background: rgba(201, 162, 39, 0.1); }
.lang-option.active { background: rgba(201, 162, 39, 0.15); color: #F4E3B2; font-weight: 600; }
.lang-option .opt-flag { font-size: 16px; }
.lang-original {
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 8px 8px 0 0;
  color: #A79E8E;
  font-style: italic;
  justify-content: center;
}
.lang-original:hover { color: #F4E3B2; }
.lang-toggle.translating { pointer-events: none; opacity: 0.65; }
.lang-toggle.translating .caret-small { animation: spin 1s linear infinite; }

/* Sign-in link & user chip */
.signin-link {
  color: #CFC8BA;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 4px;
}
.signin-link:hover { color: #F4E3B2; }
.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: 0.2s;
}
.user-chip:hover { border-color: rgba(201, 162, 39, 0.55); background: rgba(201, 162, 39, 0.08); }
.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #c19a2e);
  color: #1A1408;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-name { color: #F4E3B2; font-size: 12.5px; font-weight: 600; }
.cta-btn {
  padding: 10px 18px;
  border-radius: 99px;
  background: linear-gradient(135deg, #d4af37, #c19a2e);
  color: #1A1408;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
  transition: 0.2s;
}
.cta-btn:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201, 162, 39, 0.45); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: #E8C766; border-radius: 2px; }
.mobile-menu { display: none; padding: 12px 24px 24px; border-top: 1px solid rgba(201, 162, 39, 0.15); }
.mobile-menu.open { display: block; }
.mobile-menu > a {
  display: block;
  padding: 14px 4px;
  color: #EFE9DC;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}
.mobile-menu details { border-bottom: 1px solid rgba(201, 162, 39, 0.1); }
.mobile-menu summary { padding: 14px 4px; color: #F4E3B2; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.mobile-menu summary::after { content: ' ▾'; font-size: 10px; float: right; }
.mobile-menu details a { display: block; padding: 10px 4px 10px 28px; color: #A79E8E; text-decoration: none; font-size: 13.5px; }
.mobile-auth { display: flex; gap: 12px; align-items: center; padding-top: 16px; }
@media (max-width: 1200px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .oracle-label { display: none; }
  .oracle-btn { padding: 9px 12px; }
}
@media (max-width: 640px) {
  .header-inner { padding: 0 16px; gap: 10px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 38px; height: 38px; font-size: 18px; }
  .lang-current { display: none; }
  .signin-link { display: none; }
  .cta-btn { padding: 9px 14px; font-size: 11px; }
}

/* 🧭 HEADER LAYOUT OVERRIDE — Logo LEFT · Menus RIGHT */
.header-inner { justify-content: flex-start; }
.main-nav { margin-left: auto; margin-right: 0; }
.header-actions { margin-left: 0; border-left: 1px solid rgba(201, 162, 39, 0.18); padding-left: 18px; }
.nav-drop:last-of-type .drop-panel { left: auto; right: 0; transform: translateY(12px); }
.nav-drop:last-of-type:hover .drop-panel,
.nav-drop:last-of-type:focus-within .drop-panel { transform: translateY(0); }
@media (max-width: 1200px) {
  .header-actions { border-left: none; padding-left: 0; margin-left: auto; }
}

/* ═══ HEADER OVERRIDE: full width · no icon ═══ */
.brand-mark { display: none; }
.header-inner { max-width: none; margin: 0; width: 100%; padding: 0 28px; }

/* 🧩 MISSING PIECES — logo img, auth CTA, account menu, stats */
.brand-logo {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(201, 162, 39, 0.3));
}
.nav-dropdown-menu .drop-head {
  display: block;
  padding: 10px 12px 4px;
  color: #C9A227;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.nav-dropdown-menu .drop-head:first-child { padding-top: 4px; }
.nav-dropdown-menu a small { display: block; color: #7A7263; font-size: 11.5px; font-weight: 400; margin-top: 2px; }
.auth-buttons { display: flex; align-items: center; gap: 10px; }
.btn-ghost {
  padding: 9px 18px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 99px;
  background: transparent;
  color: #E8C766;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.2s;
}
.btn-ghost:hover { border-color: rgba(201, 162, 39, 0.7); background: rgba(201, 162, 39, 0.08); color: #F4E3B2; }
.header-actions .btn-gold {
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
  border-radius: 99px;
  background: linear-gradient(135deg, #d4af37, #c19a2e);
  color: #1A1408;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  transition: 0.25s;
  display: inline-block;
}
.header-actions .btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s;
}
.header-actions .btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(201, 162, 39, 0.5); }
.header-actions .btn-gold:hover::after { left: 120%; }
.acct-dropdown { position: relative; }
button.user-chip { cursor: pointer; font-family: inherit; }
.acct-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 250px;
  background: linear-gradient(180deg, #151024, #0B0817);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(201, 162, 39, 0.06);
  padding: 8px;
  z-index: 999;
}
.acct-menu[hidden] { display: none; }
.acct-menu-head { padding: 10px 12px 12px; border-bottom: 1px solid rgba(201, 162, 39, 0.15); margin-bottom: 6px; }
.acct-menu-head strong { display: block; color: #F4E3B2; font-size: 14px; }
.acct-menu-head small { color: #7A7263; font-size: 12px; }
.acct-menu a,
.acct-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  color: #EFE9DC;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.acct-menu a:hover,
.acct-menu button:hover { background: rgba(201, 162, 39, 0.1); color: #F4E3B2; }
.acct-menu button[type="submit"] { color: #C98A8A; }
.acct-menu form { margin: 0; }
.acct-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 2.5rem; }
.acct-stat {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.acct-stat-icon { font-size: 1.4rem; }
.acct-stat strong { font-family: 'Cinzel', Georgia, serif; font-size: 1.6rem; color: #F4E3B2; }
.acct-stat-label { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.05em; }
.acct-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 2.5rem; }
.acct-actions a {
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.10), rgba(15, 12, 41, 0.4));
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  color: #EFE9DC;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.2s;
}
.acct-actions a small { display: block; color: var(--muted); font-weight: 400; margin-top: 3px; font-size: 0.8rem; }
.acct-actions a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
.auth-icon-img {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(201, 162, 39, 0.35));
}
.auth-status {
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: #F4E3B2;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: left;
}
@media (max-width: 640px) {
  .brand-logo { width: 38px; height: 38px; }
  .btn-ghost { display: none; }
  .header-actions .btn-gold { padding: 9px 14px; font-size: 11px; }
  .user-name { display: none; }
}

/* 📌 FLOATING STACK — Computer Ọ̀rúnmìlà above WhatsApp */
a.oracle-chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 92px;
  left: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4af37, #c19a2e);
  color: #1A1408;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.45), 0 0 0 1px rgba(201, 162, 39, 0.35);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: divinePulse 2.4s ease-in-out infinite;
}
a.oracle-chat-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(201, 162, 39, 0.6); }
@media (max-width: 768px) {
  a.oracle-chat-toggle { right: 16px; bottom: 78px; width: 50px; height: 50px; font-size: 20px; }
}

/* ═══ Prophecy Actions Layout ═══ */
.predict-cta { text-align: center; margin: 2.5rem 0; }
.prophecy-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 20px; }
.prophecy-buttons .btn { min-width: 240px; font-size: 15px; }

/* Dark Theme Audio Player */
audio::-webkit-media-controls-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 99px;
}
audio { border-radius: 99px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)); }

/* ═══ Centered Full Logo ═══ */
.logo-centered {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(201, 162, 39, 0.15));
}
.center-flex { display: flex; justify-content: center; align-items: center; width: 100%; }

/* ═══ Voice of the Oracle area ═══ */
.voice-area { text-align: center; margin: 1.5rem 0 2rem; }
.voice-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; color: var(--gold); }
.voice-divider span { display: block; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.voice-divider span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

/* ═══ END OF PART 4B ═══ */


/* ═══ KILL THE PHANTOM GAP (Paste at the very bottom of app.css) ═══ */
body {
    white-space: normal !important; /* Destroys the invisible newline gap */
}
.iba-banner {
    margin: 1.5rem auto 2rem !important; /* Tightens the homage banner */
}
main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}