/* === START OF style.css === */
:root {
  --bg-deep: #070d19;
  --bg-card: #0e172a;
  --gold: #e5c158;
  --gold-light: #f6e094;
  --gold-dim: rgba(229, 193, 88, 0.25);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --parchment: #fbf8f1;
  --ink: #1a202c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-deep);
  background-image: radial-gradient(circle at 20% 15%, rgba(229,193,88,0.08) 0%, transparent 45%),
                    radial-gradient(circle at 80% 85%, rgba(56,189,248,0.07) 0%, transparent 50%);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}
h1, h2, h3, .serif { font-family: 'Cinzel', serif; letter-spacing: 0.04em; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--gold-dim); padding: 16px 0; background: rgba(7,13,25,0.92); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.25rem; color: var(--gold); }
.badge { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); border: 1px solid var(--gold-dim); padding: 4px 10px; border-radius: 20px; }
.hero { padding: 44px 0 30px; text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.hero h1 span { color: var(--gold); }
.subtitle { max-width: 700px; margin: 0 auto 30px; color: var(--text-muted); }
.calc-card { background: linear-gradient(145deg, var(--bg-card), #0a1120); border: 1px solid var(--gold-dim); border-radius: 16px; padding: 28px; max-width: 820px; margin: 0 auto; text-align: left; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 20px; }
.form-group { position: relative; }
.form-group label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: 6px; font-weight: 600; }
.form-group input { width: 100%; padding: 12px 14px; background: #070d19; border: 1px solid rgba(148,163,184,0.3); border-radius: 8px; color: #fff; font-size: 0.95rem; outline: none; }
.form-group input:focus { border-color: var(--gold); }
.city-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #131f38; border: 1px solid var(--gold); border-radius: 8px; z-index: 99; max-height: 210px; overflow-y: auto; display: none; margin-top: 4px; }
.city-item { padding: 10px 14px; cursor: pointer; font-size: 0.88rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.city-item:hover { background: rgba(229,193,88,0.18); color: var(--gold-light); }
.city-status { font-size: 0.8rem; margin-top: 6px; min-height: 18px; }
.status-ok { color: #34d399; }
.status-warn { color: #fbbf24; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.82rem; color: var(--text-muted); cursor: pointer; }
.checkbox-row input { width: auto; }
.btn-primary { width: 100%; padding: 16px; background: linear-gradient(135deg, #d4af37, #f3d576, #c59b27); color: #090e1a; font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.05rem; border: none; border-radius: 8px; cursor: pointer; }
.traditions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 36px 0; text-align: left; }
.tradition-box { background: rgba(14,23,42,0.6); border: 1px solid rgba(229,193,88,0.18); border-radius: 12px; padding: 20px; }
.tradition-box .num { color: var(--gold); font-family: 'Cinzel', serif; font-size: 0.78rem; margin-bottom: 4px; }
.tradition-box h3 { font-size: 1rem; margin-bottom: 6px; }
.tradition-box p { font-size: 0.86rem; color: var(--text-muted); }
#results-section { display: none; padding: 20px 0 70px; }
.result-header { text-align: center; margin-bottom: 30px; }
.result-header h2 { font-size: 1.9rem; color: var(--gold); }
.meta-coords { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }
.dashboard-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .dashboard-grid { grid-template-columns: 1fr; } }
.wheel-card { background: radial-gradient(circle at center, #152342 0%, #09101f 100%); border: 1px solid var(--gold-dim); border-radius: 16px; padding: 22px; text-align: center; }
.wheel-card svg { width: 100%; max-width: 440px; height: auto; }
.legend-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 0.76rem; }
.pill { padding: 4px 10px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.readings-col { display: flex; flex-direction: column; gap: 16px; }
.big-three-card { background: var(--bg-card); border-left: 4px solid var(--gold); border-radius: 10px; padding: 18px; border-top: 1px solid rgba(255,255,255,0.06); }
.big-three-card .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 4px; }
.big-three-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.big-three-card p { font-size: 0.9rem; color: #cbd5e1; }
.elements-box { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 18px; }
.el-row { margin-bottom: 10px; }
.el-label { display: flex; justify-content: space-between; font-size: 0.84rem; margin-bottom: 4px; }
.el-bar-bg { height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.el-bar-fill { height: 100%; border-radius: 4px; }
.paywall-box { margin-top: 36px; background: linear-gradient(135deg, #111c33 0%, #0b1324 100%); border: 2px solid var(--gold); border-radius: 16px; padding: 32px; }
.blurred-preview { filter: blur(4px); user-select: none; opacity: 0.5; margin-bottom: 20px; padding: 14px; background: rgba(0,0,0,0.35); border-radius: 8px; font-size: 0.88rem; }
.offer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center; }
@media (max-width: 768px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-list { list-style: none; margin: 14px 0; }
.offer-list li { margin-bottom: 8px; padding-left: 22px; position: relative; font-size: 0.92rem; }
.offer-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.price-card { background: rgba(7,13,25,0.85); border: 1px solid var(--gold-dim); border-radius: 12px; padding: 22px; text-align: center; }
.price-tag { font-family: 'Cinzel', serif; font-size: 2.5rem; font-weight: 700; color: var(--gold); margin: 6px 0; }
.btn-demo-unlock { margin-top: 12px; width: 100%; padding: 10px; background: transparent; border: 1px dashed var(--gold); color: var(--gold-light); border-radius: 8px; cursor: pointer; font-size: 0.82rem; }
#unlocked-deliverables { display: none; margin-top: 40px; }
.toolbar-print { background: #1e293b; padding: 14px 20px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; border: 1px solid var(--gold); }
.btn-print { background: var(--gold); color: #090e1a; border: none; padding: 10px 18px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.wall-poster { background: radial-gradient(circle at 50% 42%, #132240 0%, #060b16 100%); border: 10px solid #0c1528; outline: 2px solid var(--gold); padding: 28px 20px; text-align: center; margin-bottom: 40px; }
.poster-inner-border { border: 1px solid rgba(229,193,88,0.45); padding: 22px 16px; }
.poster-title { font-family: 'Cinzel', serif; font-size: 1.9rem; color: var(--gold); letter-spacing: 0.14em; margin-bottom: 4px; }
.poster-sub { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.poster-legend { font-size: 0.78rem; color: #cbd5e1; margin-top: 10px; display: flex; justify-content: center; gap: 18px; }
.calendar-2027-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; text-align: left; }
@media (max-width: 820px) { .calendar-2027-grid { grid-template-columns: repeat(2, 1fr); } }
.month-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(229,193,88,0.22); padding: 8px 9px; border-radius: 6px; }
.month-card h4 { font-family: 'Cinzel', serif; color: var(--gold); font-size: 0.8rem; margin-bottom: 4px; text-align: center; border-bottom: 1px solid rgba(229,193,88,0.2); padding-bottom: 3px; }
.mini-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 0.64rem; color: #94a3b8; }
.mini-days span.dow { color: var(--gold); font-weight: 700; font-size: 0.58rem; }
.mini-days span.power-day { background: rgba(229,193,88,0.28); color: #fff; border: 1px solid var(--gold); border-radius: 3px; font-weight: 700; }
.mini-days span.moon-phase { color: #38bdf8; font-weight: 700; }
.folio-document { background: var(--parchment); color: var(--ink); padding: 40px; border-radius: 8px; border-top: 8px solid #1e293b; }
.folio-document h2, .folio-document h3 { color: #0f172a; }
.folio-header { text-align: center; border-bottom: 2px solid #cbd5e1; padding-bottom: 20px; margin-bottom: 28px; }
.planet-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.88rem; }
.planet-table th, .planet-table td { border-bottom: 1px solid #cbd5e1; padding: 9px 10px; text-align: left; }
.planet-table th { background: #f1ece1; font-family: 'Cinzel', serif; }
.chapter-block { margin-bottom: 26px; }
.chapter-block h3 { font-size: 1.2rem; border-left: 4px solid #b48a28; padding-left: 12px; margin-bottom: 12px; }
.planet-dossier-item { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed #cbd5e1; font-size: 0.92rem; }
.disclaimer-footer { margin-top: 32px; padding-top: 16px; border-top: 1px solid #cbd5e1; font-size: 0.76rem; color: #64748b; }
footer.site-footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 28px 0; text-align: center; font-size: 0.8rem; color: var(--text-muted); }
@media print {
  body { background: #fff; color: #000; }
  header, .hero, .traditions-grid, #free-dashboard, .paywall-box, .toolbar-print, .site-footer { display: none !important; }
  #results-section, #unlocked-deliverables { display: block !important; margin: 0; padding: 0; }
  .wall-poster { page-break-after: always; }
}
/* === END OF style.css === */

