/* =========================================================
   АСТРАЛ.ВЕБКРОСС
   Общая тема сайта
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --bg: #08070d;
    --bg-2: #0d0a15;
    --bg-3: #120d1d;

    --panel: rgba(19, 15, 29, .82);
    --panel-soft: rgba(26, 20, 39, .72);

    --gold: #d8b56a;
    --gold-light: #f0d99a;
    --gold-dark: #8e6e36;

    --violet: #8062dc;
    --violet-light: #aa91ff;
    --violet-dark: #392565;

    --text: #eee9df;
    --text-soft: #aaa3b4;
    --text-muted: #777082;

    --border: rgba(216, 181, 106, .18);
    --border-violet: rgba(128, 98, 220, .22);

    --radius: 18px;
    --container: 1180px;

    --shadow:
        0 20px 60px rgba(0, 0, 0, .35);

    --transition: .25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 10%, rgba(128, 98, 220, .10), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(216, 181, 106, .06), transparent 25%),
        linear-gradient(180deg, #08070d 0%, #0b0911 100%);
    font-family: 'Manrope', sans-serif;
    line-height: 1.65;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .35;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
    z-index: -1;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(216,181,106,.10);
    background: rgba(8,7,13,.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-symbol {
    width: 38px;
    height: 38px;
    color: var(--gold);
}

.brand-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    line-height: 1;
    letter-spacing: .03em;
}

.brand-title strong {
    color: var(--gold-light);
    font-weight: 600;
}

.brand-subtitle {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .25em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: var(--text-soft);
    font-size: 13px;
    transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-light);
}

.header-button {
    padding: 10px 17px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--gold-light) !important;
}

.mobile-menu {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--gold);
    border-radius: 10px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.05;
}

h1 {
    font-size: 68px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 30px;
}

p {
    margin: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 45px;
}

.section-heading p {
    max-width: 650px;
    margin-top: 16px;
    color: var(--text-soft);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    color: #17120b;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
    color: var(--gold-light);
    border-color: var(--border);
    background: rgba(255,255,255,.02);
}

.btn-outline:hover {
    border-color: rgba(216,181,106,.45);
    background: rgba(216,181,106,.06);
}

.btn svg {
    width: 17px;
    height: 17px;
}

/* =========================================================
   HERO
   ========================================================= */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 90px;
    border-bottom: 1px solid rgba(216,181,106,.08);
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::before {
    width: 500px;
    height: 500px;
    top: -230px;
    right: -120px;
    background: radial-gradient(circle, rgba(128,98,220,.15), transparent 68%);
}

.page-hero::after {
    width: 350px;
    height: 350px;
    bottom: -250px;
    left: 10%;
    background: radial-gradient(circle, rgba(216,181,106,.08), transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.page-hero h1 {
    margin-bottom: 20px;
}

.page-hero h1 span {
    color: var(--gold-light);
}

.page-hero p {
    max-width: 680px;
    color: var(--text-soft);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* =========================================================
   HOME HERO
   ========================================================= */

.home-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.home-hero h1 {
    font-size: 78px;
}

.home-hero h1 span {
    display: block;
    color: var(--gold-light);
}

.home-hero-text {
    max-width: 580px;
    margin-top: 25px;
    color: var(--text-soft);
    font-size: 17px;
}

.hero-orbit {
    position: absolute;
    width: 540px;
    height: 540px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(216,181,106,.15);
    border-radius: 50%;
}

.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    inset: 55px;
    border: 1px solid rgba(128,98,220,.18);
    border-radius: 50%;
    transform: rotate(35deg) scaleX(1.25);
}

.hero-orbit::after {
    inset: 110px;
    transform: rotate(-35deg) scaleX(1.3);
}

.hero-moon {
    position: absolute;
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 32%, rgba(255,255,255,.35) 0 2%, transparent 3%),
        radial-gradient(circle at 65% 25%, rgba(0,0,0,.10) 0 5%, transparent 6%),
        radial-gradient(circle at 40% 68%, rgba(0,0,0,.08) 0 6%, transparent 7%),
        linear-gradient(135deg, #f3e5bd, #b89557);
    box-shadow:
        0 0 70px rgba(216,181,106,.22),
        0 0 140px rgba(128,98,220,.12);
}

.hero-moon::after {
    content: "";
    position: absolute;
    width: 205px;
    height: 205px;
    top: 0;
    left: 35px;
    border-radius: 50%;
    background: var(--bg);
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 90px 0;
}

.section-dark {
    background: rgba(255,255,255,.015);
    border-top: 1px solid rgba(216,181,106,.06);
    border-bottom: 1px solid rgba(216,181,106,.06);
}

/* =========================================================
   CARDS
   ========================================================= */

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(
        145deg,
        rgba(28,22,41,.86),
        rgba(13,10,20,.86)
    );
    box-shadow: var(--shadow);
}

.card:hover {
    border-color: rgba(216,181,106,.34);
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.zodiac-card {
    position: relative;
    min-height: 205px;
    padding: 24px;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
}

.zodiac-card:hover {
    transform: translateY(-4px);
}

.zodiac-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -35px;
    bottom: -35px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(128,98,220,.20), transparent 70%);
}

.zodiac-icon {
    width: 53px;
    height: 53px;
    margin-bottom: 18px;
    color: var(--gold-light);
}

img.zodiac-icon,
img.animal-icon {
    object-fit: contain;
}

img.profile-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.zodiac-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
}

.zodiac-date {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.zodiac-arrow {
    position: absolute;
    right: 20px;
    top: 22px;
    width: 17px;
    color: var(--gold);
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 30px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    color: var(--gold);
}

.feature-card p {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 14px;
}

/* =========================================================
   CHINESE ANIMALS
   ========================================================= */

.animal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.animal-card {
    min-height: 185px;
    padding: 24px;
}

.animal-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 15px;
    color: var(--violet-light);
}

.animal-card h3 {
    font-size: 27px;
}

.animal-card p {
    color: var(--text-muted);
    font-size: 12px;
}

/* =========================================================
   PROFILE
   ========================================================= */

.profile-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 25px;
}

.profile-card {
    padding: 30px;
    text-align: center;
}

.profile-symbol {
    width: 110px;
    height: 110px;
    margin: 0 auto 22px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--gold-light);
    background: radial-gradient(circle, rgba(128,98,220,.13), transparent 70%);
}

.profile-card h2 {
    font-size: 38px;
}

.profile-card p {
    margin-top: 5px;
    color: var(--text-muted);
}

.profile-content {
    padding: 35px;
}

.profile-content > p {
    color: var(--text-soft);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.info-item {
    padding: 20px;
    border: 1px solid rgba(216,181,106,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.02);
}

.info-item span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.info-item strong {
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    font-weight: 500;
}

/* =========================================================
   CALCULATOR
   ========================================================= */

.calculator {
    max-width: 760px;
    margin: 0 auto;
    padding: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: 13px;
}

.form-input,
.form-select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: rgba(0,0,0,.20);
}

.form-input:focus,
.form-select:focus {
    border-color: rgba(216,181,106,.55);
}

/* Селект в тёмной теме: стрелка внутри, тёмный выпадающий список */
.astral-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 52px;
    padding: 0 44px 0 16px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    background-color: rgba(13, 10, 20, .92);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23d8b56a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
}

.astral-select:hover {
    border-color: rgba(216,181,106,.42);
}

.astral-select:focus {
    border-color: rgba(216,181,106,.55);
    outline: none;
}

.astral-select option,
.real-select option {
    color: #eee9df;
    background-color: #14101f;
}

.result-box {
    display: none;
    margin-top: 25px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(216,181,106,.05);
}

.result-box.show {
    display: block;
}

.result-box h3 {
    color: var(--gold-light);
}

.result-box p {
    margin-top: 8px;
    color: var(--text-soft);
}

/* =========================================================
   DOUBLE HOROSCOPE
   ========================================================= */

.double-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.double-sign {
    padding: 30px;
    text-align: center;
}

.double-sign .zodiac-icon,
.double-sign .animal-icon {
    margin: 0 auto 15px;
}

.double-plus {
    position: absolute;
    display: none;
}

.combined-result {
    margin-top: 25px;
    padding: 35px;
    border: 1px solid rgba(216,181,106,.25);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 0, rgba(128,98,220,.15), transparent 50%),
        rgba(20,15,29,.9);
}

.combined-result h2 {
    color: var(--gold-light);
}

.combined-result p {
    margin: 0 0 16px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.85;
}

.combined-result p:last-child {
    margin-bottom: 0;
}

/* Плюсы / Минусы / Вывод */
.sides-block {
    margin-top: 22px;
}

.sides-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sides-col {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255,255,255,.02);
}

.sides-col h4,
.sides-verdict h4 {
    margin: 0 0 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.sides-plus h4 { color: #9fd6a0; }
.sides-minus h4 { color: #e69a9a; }

.sides-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sides-col li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.55;
}

.sides-col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.sides-plus li::before { background: #5bbf67; }
.sides-minus li::before { background: #e05c5c; }

.sides-verdict {
    margin-top: 16px;
    padding: 18px 20px;
    border: 1px solid var(--border-violet);
    border-radius: 14px;
    background: rgba(128,98,220,.06);
}

.sides-verdict h4 {
    color: var(--violet-light);
}

.sides-verdict p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.sides-meter {
    margin-top: 14px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}

.sides-meter-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width .4s ease;
}

.sides-percent {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.sides-percent strong {
    color: var(--gold-light);
}

@media (max-width: 520px) {
    .sides-grid {
        grid-template-columns: 1fr;
    }
}

/* Модалка ежедневного гороскопа */
.daily-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease;
}

.daily-modal.open {
    visibility: visible;
    opacity: 1;
}

.daily-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(3px);
}

.daily-modal-box {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: 84vh;
    overflow: auto;
    padding: 26px 28px;
}

.daily-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-soft);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.daily-modal-close:hover {
    color: var(--gold-light);
    border-color: rgba(216,181,106,.5);
}

.daily-modal-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding-right: 30px;
}

.daily-modal-head .zodiac-icon {
    margin-bottom: 0;
}

.daily-modal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.dmo-tab {
    border: 1px solid var(--border);
    background: rgba(255,255,255,.03);
    color: var(--text-soft);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.dmo-tab:hover {
    border-color: rgba(216,181,106,.45);
}

.dmo-tab.active {
    border-color: rgba(216,181,106,.55);
    color: #17120b;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.daily-modal-body {
    color: var(--text-soft);
    line-height: 1.85;
    font-size: 15px;
    white-space: pre-line;
}

/* Ядро личности (нумерология) */
.core-item {
    padding: 22px 0;
    border-top: 1px solid rgba(216,181,106,.12);
}

.core-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.core-item h3 {
    margin: 0 0 10px;
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
}

.core-item p {
    color: var(--text-soft);
    line-height: 1.75;
    font-size: 15px;
}

.core-value {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(128,98,220,.07);
}

.core-value strong {
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    line-height: 1;
}

.core-value span {
    color: var(--violet-light);
    font-size: 17px;
}

/* Статья заметки: читаемость */
.note-article {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-soft);
}

.note-article h2 {
    margin: 30px 0 12px;
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
}

.note-article h3 {
    margin: 24px 0 8px;
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
}

.note-article p {
    margin: 0 0 16px;
    line-height: 1.9;
    font-size: 17px;
    letter-spacing: .01em;
}

.note-article ul,
.note-article ol {
    padding-left: 22px;
    margin: 0 0 16px;
}

.note-article li {
    margin-bottom: 6px;
    line-height: 1.8;
}

.note-article blockquote {
    border-left: 3px solid var(--gold);
    padding: 6px 16px;
    margin: 0 0 16px;
    color: var(--text-muted);
    font-style: italic;
}

.note-article a {
    color: var(--gold-light);
}

/* Поделиться */
.share-bar { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:30px; padding-top:20px; border-top:1px solid rgba(216,181,106,.12); }
.share-label { color:var(--text-muted); font-size:14px; margin-right:4px; }
.share-btn { border:1px solid var(--border); background:rgba(255,255,255,.03); color:var(--text-soft); border-radius:999px; padding:8px 16px; font-size:13px; cursor:pointer; text-decoration:none; }
.share-btn:hover { color:var(--gold-light); border-color:rgba(216,181,106,.5); }

/* =========================================================
   COMPATIBILITY
   ========================================================= */

.compatibility-grid {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: center;
    gap: 20px;
    max-width: 850px;
    margin: 0 auto;
}

.compatibility-select {
    padding: 30px;
}

.compatibility-heart {
    justify-self: center;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--gold);
}

/* Символ пола рядом с подписью (над селектом) */
.gender-eyebrow {
    gap: 8px;
}

.gender-eyebrow::before {
    display: none;
}

.gender-sym {
    font-size: 18px;
    line-height: 1;
}

.gender-sym-m {
    color: #66aef0;
}

.gender-sym-f {
    color: #ef86b0;
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 55px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 0, rgba(128,98,220,.15), transparent 55%),
        rgba(18,13,27,.85);
}

.cta p {
    max-width: 650px;
    margin: 15px auto 25px;
    color: var(--text-soft);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 55px 0 30px;
    border-top: 1px solid rgba(216,181,106,.10);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-description {
    max-width: 390px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-column h4 {
    margin-bottom: 15px;
    color: var(--gold-light);
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.footer-column a {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-column a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(216,181,106,.07);
    color: #615a68;
    font-size: 11px;
}

/* =========================================================
   ADS
   ========================================================= */

.ad-slot {
    border: 1px dashed rgba(128, 98, 220, .25);
    border-radius: 12px;
    background: rgba(255,255,255,.02);
    color: var(--text-muted);
    text-align: center;
    min-height: 40px;
}

.ad-slot-popup {
    max-width: 320px;
}

.ad-slot-page {
    min-height: 90px;
    display: grid;
    place-items: center;
    margin: 26px 0;
}

.ad-placeholder-text {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Сайдбар с рекламой */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.layout-with-sidebar.has-sidebar {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.layout-main {
    min-width: 0;
}

.layout-side {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ad-slot-sidebar {
    min-height: 200px;
}

@media (max-width: 980px) {
    .layout-with-sidebar.has-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .layout-side {
        position: static;
        margin-top: 20px;
    }
}

/* Поля любовной совместимости: две колонки */
.love-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

@media (max-width: 620px) {
    .love-fields {
        grid-template-columns: 1fr;
    }
}

.core-value-note {
    color: var(--text-soft);
    line-height: 1.7;
}

.core-value-note strong {
    color: var(--gold-light);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 14px;
    }

    .zodiac-grid,
    .animal-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-orbit {
        right: -160px;
        opacity: .65;
    }

    .home-hero h1 {
        font-size: 65px;
    }
}

@media (max-width: 800px) {

    h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 40px;
    }

    .main-nav {
        display: none;
    }

    .main-nav.mobile-open {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 18px 22px;
        background: rgba(8,7,13,.97);
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(18px);
    }

    .main-nav.mobile-open a {
        padding: 8px 0;
        font-size: 16px;
    }

    .mobile-menu {
        display: grid;
        place-items: center;
    }

    .home-hero {
        min-height: 600px;
    }

    .hero-orbit {
        right: -250px;
        opacity: .35;
    }

    .feature-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .zodiac-grid,
    .animal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .compatibility-grid {
        grid-template-columns: 1fr;
    }

    .compatibility-heart {
        margin: auto;
    }

    .double-profile {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 520px) {

    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .section {
        padding: 65px 0;
    }

    .page-hero {
        padding: 75px 0 60px;
    }

    .home-hero h1 {
        font-size: 52px;
    }

    .home-hero-text {
        font-size: 15px;
    }

    .hero-orbit {
        width: 420px;
        height: 420px;
        right: -250px;
    }

    .hero-moon {
        width: 170px;
        height: 170px;
    }

    .hero-moon::after {
        width: 160px;
        height: 160px;
        left: 30px;
    }

    .zodiac-grid,
    .animal-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .calculator,
    .profile-content,
    .profile-card,
    .cta {
        padding: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}