/* Ζώδια – SimeraNews.gr
   Σκοτεινό "νυχτερινός ουρανός" θέμα με χρυσό accent και χρώματα ανά στοιχείο (φωτιά/γη/αέρας/νερό). */

:root {
    --bg: #0e0e16;
    --bg-2: #151522;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-2: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.12);
    --text: #eceaf4;
    --muted: #a9a6bd;
    --gold: #e6c27a;
    --gold-2: #f3dca6;
    --fire: #f2895f;
    --earth: #9cc47f;
    --air: #8fb8ff;
    --water: #66c7d0;
    --accent: var(--gold);
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --font-display: "GFS Didot", "Noto Serif", Georgia, serif;
    --font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --wrap: 1120px;
    --prose: 72ch;
}

[data-element="fire"]  { --accent: var(--fire); }
[data-element="earth"] { --accent: var(--earth); }
[data-element="air"]   { --accent: var(--air); }
[data-element="water"] { --accent: var(--water); }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    line-height: 1.7;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(120, 90, 200, 0.22), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(40, 120, 170, 0.18), transparent 60%),
        url("../img/stars.svg") 50% 0 / 1760px auto repeat-y,
        var(--bg);
    background-attachment: fixed, fixed, scroll, fixed;
}

img { max-width: 100%; height: auto; }

a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #fff;
    text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); margin: 0.2em 0 0.35em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin: 1.8em 0 0.6em; }
h3 { font-size: 1.25rem; margin: 1.4em 0 0.4em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(14, 14, 22, 0.82);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { display: block; }
.brand-sub { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold); padding-left: 10px; border-left: 1px solid var(--border); }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
    color: var(--text); text-decoration: none; font-size: 0.95rem;
    padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}
.site-nav a:hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { background: var(--surface-2); color: var(--gold-2); }

.nav-toggle { display: none; }

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
        background: var(--surface); color: var(--text); cursor: pointer;
    }
    .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
        display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: "";
    }
    .nav-toggle-bar::before { position: absolute; top: -6px; }
    .nav-toggle-bar::after { position: absolute; top: 6px; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; padding: 8px 16px 16px;
        background: rgba(14, 14, 22, 0.97); border-bottom: 1px solid var(--border);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 14px; border-radius: 10px; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: 0.875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; opacity: 0.6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 8px; text-align: center; }
.hero .eyebrow { display: inline-block; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.hero .lead { max-width: 60ch; margin: 0 auto 1.2em; font-size: 1.125rem; color: var(--muted); }
.hero-signs { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 18px 0 6px; }
.hero-signs img { border-radius: 16px; box-shadow: var(--shadow); }
.hero-signs .plus { font-family: var(--font-display); font-size: 2rem; color: var(--gold); }

.glyph-badge {
    display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
    font-size: 2.6rem; color: var(--accent);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
}

/* ---------- Layout blocks ---------- */
.prose { max-width: var(--prose); margin-inline: auto; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose h2:first-child { margin-top: 0.6em; }

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(18px, 3vw, 28px);
    margin: 24px 0;
}
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }

.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.facts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; }
.facts dt { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* ---------- Score ---------- */
.score-card { display: grid; gap: 24px; grid-template-columns: auto 1fr; align-items: center; }
@media (max-width: 600px) { .score-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.score-ring {
    --p: 70;
    width: 140px; aspect-ratio: 1; border-radius: 50%;
    display: grid; place-items: center;
    background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255,255,255,0.08) 0);
    position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--bg-2); }
.score-ring span { position: relative; font-family: var(--font-display); font-size: 2.4rem; color: #fff; }
.score-ring span small { font-size: 1rem; color: var(--muted); }
.verdict { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-2); margin: 0 0 4px; }

.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(150px, 210px) 1fr 44px; gap: 12px; align-items: center; }
@media (max-width: 520px) { .bars li { grid-template-columns: 1fr 44px; } .bars .bar { grid-column: 1 / -1; grid-row: 2; } }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.bars b { text-align: right; font-variant-numeric: tabular-nums; }
.score-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Sign cards ---------- */
.sign-grid { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.sign-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
    padding: 16px 10px; border-radius: var(--radius); text-decoration: none; color: var(--text);
    background: var(--surface); border: 1px solid var(--border);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
    height: 100%;
}
.sign-card:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--surface-2); color: #fff; }
.sign-card[aria-current="true"] { border-color: var(--accent); }
.sign-card img { border-radius: 12px; margin-bottom: 6px; }
.sign-name { font-family: var(--font-display); font-size: 1.2rem; }
.sign-dates { font-size: 0.75rem; color: var(--muted); }

/* ---------- Chips ---------- */
.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
    display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 0.92rem;
    text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border);
}
.chips a:hover { border-color: var(--gold); color: #fff; }
.chips a[aria-current] { border-color: var(--gold); color: var(--gold-2); }

/* ---------- Buttons & forms ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
    font: 600 0.95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
    background: linear-gradient(135deg, var(--gold), #c99a4b); color: #1a1407;
}
.btn:hover { filter: brightness(1.08); color: #1a1407; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: #fff; filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0; }

.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
input, select {
    width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: rgba(0,0,0,0.35); color: var(--text);
    font: inherit; color-scheme: dark;
}
input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-hint { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.alert { border-radius: var(--radius-sm); padding: 12px 16px; background: rgba(242, 137, 95, 0.12); border: 1px solid rgba(242, 137, 95, 0.4); }
.result { margin-top: 18px; }
.result[hidden] { display: none; }

/* ---------- Matrix (συμβατότητα) ---------- */
.pair-matrix { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.pair-matrix .panel { margin: 0; }
.pair-matrix h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }

/* ---------- Πλαϊνή στήλη & banners ---------- */
.side-col { display: none; }
@media (min-width: 1180px) {
    .has-aside { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; align-items: start; }
    .side-col { display: block; position: sticky; top: 84px; padding-top: 28px; }
}
.ad { margin: 32px auto; text-align: center; }
.ad-label { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); opacity: 0.75; margin-bottom: 6px; }
.ad a { display: inline-block; border-radius: var(--radius-sm); overflow: hidden; line-height: 0; transition: transform .18s ease, box-shadow .18s ease; }
.ad a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ad img { display: block; max-width: 100%; height: auto; }
.ad-970x250 img { width: 970px; }
.ad-728x90 img { width: 728px; }
.ad-300x600 { margin: 0; }
.ad-300x600 img { width: 240px; }

/* ---------- Πίνακας περιεχομένων ---------- */
.toc { max-width: var(--prose); margin-inline: auto; }
.toc h2 { font-size: 1.15rem; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 260px; column-gap: 28px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--gold-2); text-decoration: underline; }
h2[id] { scroll-margin-top: 80px; }

/* ---------- Χρονολόγιο ουρανού ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { color: var(--gold-2); font-variant-numeric: tabular-nums; font-size: 0.92rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Ημερήσια ---------- */
.stars { color: var(--gold); letter-spacing: 2px; }
.stars .off { color: rgba(255,255,255,0.18); }
.daily-card h3 { display: flex; align-items: center; gap: 10px; margin-top: 0; }
.daily-card .meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }

/* ---------- Λίστες χαρακτηριστικών ---------- */
.traits { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.traits li { padding-left: 26px; position: relative; }
.traits li::before { position: absolute; left: 0; top: 0; }
.traits.plus li::before { content: "✦"; color: var(--gold); }
.traits.minus li::before { content: "–"; color: var(--muted); font-weight: 700; }
.rank { list-style: none; padding: 0; margin: 0; counter-reset: rank; display: grid; gap: 8px; }
.rank li { counter-increment: rank; display: flex; align-items: center; gap: 12px; }
.rank li::before { content: counter(rank); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--gold-2); font-weight: 700; font-size: 0.85rem; }
.rank a { flex: 1; }
.rank b { font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ---------- Share ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 28px 0; }
.share-label { width: 100%; text-align: center; font-weight: 600; color: var(--muted); font-size: 0.9rem; }
.share .btn { min-height: 38px; padding: 8px 14px; font-size: 0.88rem; }

/* ---------- Products (lavo.gr) ---------- */
.products { margin: 32px 0; text-align: center; }
.products-grid { min-height: 120px; }
.woo-products-remote { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); text-align: center; }
.product-card { background: #fff; border-radius: var(--radius-sm); overflow: hidden; transition: transform .18s ease; }
.product-card:hover { transform: translateY(-3px); }
.product-card a { display: block; padding: 10px; color: #222; text-decoration: none; }
.product-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.product-card p { margin: 0; font-size: 0.85rem; line-height: 1.35; color: #333; }
.product-card p + p { font-weight: 700; color: #111; margin-top: 4px; }

.banner { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 16px 0; }
.banner img { display: block; width: 100%; border-radius: var(--radius-sm); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; padding: 40px 0 32px; border-top: 1px solid var(--border); background: rgba(0, 0, 0, 0.35); }
.footer-title { font-size: 1.3rem; text-align: center; margin: 0 0 16px; }
.sign-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.sign-strip a {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px;
    border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-size: 0.88rem;
    background: var(--surface); border: 1px solid var(--border);
}
.sign-strip a:hover { border-color: var(--accent); }
.sign-strip .glyph { font-size: 1.5rem; color: var(--accent); line-height: 1.2; }
.footer-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 32px; }
.footer-cols h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--gold-2); }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 4px 0; }
.footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-partner img { border-radius: var(--radius-sm); }
.disclaimer, .copyright { text-align: center; font-size: 0.82rem; color: var(--muted); margin: 18px 0 0; }
.copyright a { color: var(--muted); }

/* ---------- Τυχερή πέτρα (περιεχόμενο από βάση) ---------- */
.db-content h2, .db-content h3 { color: var(--gold-2); }
.db-content blockquote { margin: 1em 0; padding: 12px 18px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
