/* ============================================================
   HOROSKOP.RU — Design System
   Светлая премиальная тема с лавандовыми акцентами
   ============================================================ */

/* --- CSS Variables --- */
:root {
    /* Colors — Light Theme */
    --bg-primary: #f8f6f3;
    --bg-pattern: radial-gradient(circle, rgba(124, 93, 250, 0.04) 1px, transparent 1px);
    --bg-secondary: #f0ece6;
    --bg-card: #ffffff;
    --bg-card-hover: #faf8f5;
    --bg-accent: rgba(109, 70, 209, 0.06);

    --text-primary: #1e1b2e;
    --text-secondary: #4a4560;
    --text-muted: #8a85a0;
    --text-accent: #6d46d1;

    --accent: #6d46d1;
    --accent-light: #8b6ce0;
    --accent-glow: rgba(109, 70, 209, 0.15);

    --fire: #e05d1a;
    --earth: #5a9e16;
    --air: #0891b2;
    --water: #2563eb;

    --compat-high: #16a34a;
    --compat-medium: #d97706;
    --compat-low: #dc2626;

    --border: rgba(109, 70, 209, 0.12);
    --border-hover: rgba(109, 70, 209, 0.28);

    --shadow: 0 2px 16px rgba(30, 27, 46, 0.06);
    --shadow-hover: 0 8px 32px rgba(30, 27, 46, 0.10);
    --shadow-glow: 0 4px 20px rgba(109, 70, 209, 0.12);

    /* Typography */
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Outfit', -apple-system, sans-serif;

    /* Spacing */
    --container: 1100px;
    --gap: 1.5rem;
    --radius: 12px;
    --radius-sm: 8px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background:
        radial-gradient(1200px 600px at 110% -10%, rgba(124, 93, 250, 0.06), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(79, 70, 140, 0.05), transparent 55%),
        var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    background: repeating-linear-gradient(
        135deg,
        rgba(124, 93, 250, 0.08) 0 1px,
        transparent 1px 12px
    );
}

body > * {
    position: relative;
    z-index: 1;
}

a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-light);
}

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

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 0.5rem 0;
    margin-bottom: 0.25rem;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumbs__item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs__item a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.breadcrumbs__item:not(:last-child)::after {
    content: '›';
    margin: 0 0.4rem;
    color: rgba(124, 93, 250, 0.35);
    font-size: 0.9rem;
}
.breadcrumbs__item--active {
    color: var(--accent);
    font-weight: 500;
}
@media (max-width: 600px) {
    .breadcrumbs__item { font-size: 0.75rem; }
}

ul,
ol {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --- Site Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 242, 235, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.site-logo:hover {
    color: var(--text-primary);
}

.site-logo__icon {
    font-size: 1.5rem;
}

.site-nav {
    display: flex;
    gap: 0.25rem;
}

.site-nav__link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.site-nav__link:hover {
    color: var(--text-primary);
    background: var(--bg-accent);
}

.site-nav__link--active {
    color: var(--accent);
    background: var(--bg-accent);
}

/* Burger */
.site-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.site-header__burger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 1.25rem 0 0.5rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs__item+.breadcrumbs__item::before {
    content: '→ ';
    margin-right: 0.25rem;
}

.breadcrumbs__item a {
    color: var(--text-muted);
}

.breadcrumbs__item a:hover {
    color: var(--text-accent);
}

.breadcrumbs__item--active {
    color: var(--text-secondary);
}

/* --- Main Content --- */
.main {
    min-height: 60vh;
    padding-bottom: 3rem;
}

/* --- Page Title (H1) --- */
.page-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0 1.5rem;
    line-height: 1.3;
}

.page-title__emoji {
    font-family: var(--font-body);
    margin-right: 0.25rem;
}

/* --- Section Blocks --- */
.section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.section:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.section__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-accent);
    margin: 1.5rem 0 0.75rem;
}

.section__text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.section__text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* --- Brief sections (with linked page) --- */
.section--brief {
    position: relative;
    overflow: hidden;
    padding-bottom: 4rem;
}

.section-readmore {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding-bottom: 1.5rem;
}

.section-readmore__fade {
    height: 6rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 70%, #fff 100%);
    margin-bottom: 0.5rem;
}

.section-readmore__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.65rem 1.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 3px 12px rgba(109, 70, 209, 0.25);
}

.section-readmore__btn:hover {
    background: var(--accent-dark, #5b3ac7);
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(109, 70, 209, 0.35);
    color: #fff;
}

/* Section list */
.section__list {
    margin: 1rem 0;
    padding-left: 0;
}

.section__list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(109, 70, 209, 0.06);
}

.section__list li:last-child {
    border-bottom: none;
}

.section__list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 0.65rem;
}

/* --- Compatibility Meter --- */
.compat-meter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.compat-meter__value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.compat-meter__bar {
    flex: 1;
    height: 10px;
    background: var(--bg-secondary);
    border-radius: 5px;
    overflow: hidden;
}

.compat-meter__fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-out;
}

.compat--high .compat-meter__value {
    color: var(--compat-high);
}

.compat--high .compat-meter__fill {
    background: linear-gradient(90deg, var(--compat-high), #4ade80);
}

.compat--medium .compat-meter__value {
    color: var(--compat-medium);
}

.compat--medium .compat-meter__fill {
    background: linear-gradient(90deg, var(--compat-medium), #fbbf24);
}

.compat--low .compat-meter__value {
    color: var(--compat-low);
}

.compat--low .compat-meter__fill {
    background: linear-gradient(90deg, var(--compat-low), #f87171);
}

.compat-meter__label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Pair Header (two signs) --- */
.pair-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff, #f5f0ff);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pair-header__sign {
    text-align: center;
}

.pair-header__emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 8px rgba(109, 70, 209, 0.2));
}

.pair-header__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pair-header__dates {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.pair-header__vs {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    opacity: 0.4;
}

/* --- Pair Gender Hero (extends article-hero) --- */
.pair-hero-identity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.pair-hero-heart {
    font-size: 1.6rem;
    animation: pulse-heart 2s ease-in-out infinite;
    z-index: 1;
}

/* Share buttons in pair hero — centered, not absolute */
.hero-share.hero-share--pair {
    position: static;
    bottom: auto;
    left: auto;
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
    z-index: 1;
}
.hero-share--pair .share-bar__buttons {
    justify-content: center;
}

/* Split gradient for mixed-element pairs */
.pair-hero-split::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}
.pair-hero-split[data-element2="element--water"]::after {
    background: linear-gradient(90deg, transparent 30%, rgba(56, 189, 248, 0.2) 70%, rgba(56, 189, 248, 0.35) 100%);
}
.pair-hero-split[data-element2="element--fire"]::after {
    background: linear-gradient(90deg, transparent 30%, rgba(251, 146, 60, 0.2) 70%, rgba(251, 146, 60, 0.35) 100%);
}
.pair-hero-split[data-element2="element--earth"]::after {
    background: linear-gradient(90deg, transparent 30%, rgba(74, 222, 128, 0.15) 70%, rgba(74, 222, 128, 0.3) 100%);
}
.pair-hero-split[data-element2="element--air"]::after {
    background: linear-gradient(90deg, transparent 30%, rgba(167, 139, 250, 0.15) 70%, rgba(167, 139, 250, 0.3) 100%);
}

@keyframes pulse-heart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* --- Pair Nav (tabs) --- */
.pair-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0 0.5rem;
    position: relative;
    z-index: 1;
}

.pair-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(124, 93, 250, 0.12);
    backdrop-filter: blur(4px);
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.pair-nav__link:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent);
    border-color: rgba(124, 93, 250, 0.25);
    transform: translateY(-1px);
}

.pair-nav__link--active {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(109, 70, 209, 0.25);
}

.pair-nav__link--active:hover {
    color: #fff;
    background: var(--accent-dark, #5b3ac7);
    transform: translateY(-1px);
}

/* Compat comment text */
.compat-meter__comment {
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .pair-hero-identity {
        flex-direction: column;
        gap: 0.5rem;
    }
    .pair-nav {
        gap: 0.35rem;
    }
    .pair-nav__link {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* --- Element badges --- */
.element-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.element--fire {
    background: rgba(224, 93, 26, 0.10);
    color: var(--fire);
    border: 1px solid rgba(224, 93, 26, 0.18);
}

.element--earth {
    background: rgba(90, 158, 22, 0.10);
    color: var(--earth);
    border: 1px solid rgba(90, 158, 22, 0.18);
}

.element--air {
    background: rgba(8, 145, 178, 0.10);
    color: var(--air);
    border: 1px solid rgba(8, 145, 178, 0.18);
}

.element--water {
    background: rgba(37, 99, 235, 0.10);
    color: var(--water);
    border: 1px solid rgba(37, 99, 235, 0.18);
}

/* --- Attention Block --- */
.attention {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin: 1.25rem 0;
    border-left: 3px solid var(--accent);
    background: rgba(109, 70, 209, 0.04);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.attention strong {
    color: var(--text-primary);
}

/* --- Quote --- */
.quote {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    margin: 1.25rem 0;
    border-left: 3px solid var(--accent-light);
    background: rgba(109, 70, 209, 0.03);
    font-style: italic;
    color: var(--text-secondary);
}

/* --- Card Grid --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--gap);
    margin: 1.5rem 0;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: inherit;
}

.card__emoji {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card__link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    transition: opacity 0.2s;
}

.card:hover .card__link {
    opacity: 0.8;
}

.card__label {
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 0.35rem;
}

.card__label.compat--high { color: var(--compat-high); }
.card__label.compat--medium { color: var(--compat-medium); }
.card__label.compat--low { color: var(--compat-low); }

/* --- Compatibility Table (12×12) --- */
.compat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    margin: 1.5rem 0;
}

.compat-table th {
    padding: 0.5rem 0.4rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.75rem;
}

.compat-table td {
    padding: 0.4rem;
    text-align: center;
    border: 1px solid rgba(109, 70, 209, 0.06);
}

.compat-table td a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    margin: 0 auto;
    transition: all 0.2s;
}

.compat-table td a:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-glow);
}

.ct-cell {
    background: var(--bg-accent);
    color: var(--text-accent);
    font-size: 0.65rem;
    letter-spacing: -0.5px;
}

.ct-cell:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-glow);
}

/* Таблица: цвет ячейки по совместимости */
.ct-cell.compat--high {
    background: rgba(22, 163, 74, 0.15);
    color: #15803d;
    font-weight: 700;
}
.ct-cell.compat--high:hover { background: rgba(22, 163, 74, 0.3); }

.ct-cell.compat--medium {
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
}
.ct-cell.compat--medium:hover { background: rgba(217, 119, 6, 0.25); }

.ct-cell.compat--low {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}
.ct-cell.compat--low:hover { background: rgba(220, 38, 38, 0.25); }

.ct-self {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    color: var(--text-muted);
    opacity: 0.3;
    font-size: 1rem;
}

/* Бейдж совместимости в карточках */
.compat-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.compat-badge.compat--high {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.compat-badge.compat--medium {
    background: rgba(217, 119, 6, 0.10);
    color: #b45309;
}

.compat-badge.compat--low {
    background: rgba(220, 38, 38, 0.10);
    color: #dc2626;
}

/* Legacy compat-table classes */
.compat-table .ct-high {
    background: rgba(22, 163, 74, 0.10);
    color: var(--compat-high);
}

.compat-table .ct-medium {
    background: rgba(217, 119, 6, 0.10);
    color: var(--compat-medium);
}

.compat-table .ct-low {
    background: rgba(220, 38, 38, 0.10);
    color: var(--compat-low);
}

/* --- Sign Hero (horizontal) --- */
.sign-hero {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.sign-hero__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}

.sign-hero__emoji {
    font-size: 4rem;
    line-height: 1;
}

.sign-hero__dates {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.sign-hero__content {
    flex: 1;
}

.sign-hero__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.sign-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sign-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.sign-hero__btn--female {
    background: rgba(236, 72, 153, 0.1);
    color: #db2777;
    border: 1px solid rgba(236, 72, 153, 0.25);
}
.sign-hero__btn--female:hover {
    background: rgba(236, 72, 153, 0.2);
    transform: translateY(-1px);
}

.sign-hero__btn--male {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.25);
}
.sign-hero__btn--male:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .sign-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .sign-hero__icon { min-width: auto; }
    .sign-hero__actions { justify-content: center; }
}

/* --- Best/Worst Pairs Grid --- */
.best-worst-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .best-worst-grid { grid-template-columns: 1fr; }
}

.best-worst-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.best-worst-card__header {
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.best-worst-card--best .best-worst-card__header {
    background: rgba(22, 163, 74, 0.08);
    color: #15803d;
}

.best-worst-card--worst .best-worst-card__header {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.best-worst-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    border-top: 1px solid var(--border);
    transition: background 0.2s;
}

.best-worst-card__row:hover {
    background: var(--bg-accent);
}

/* --- TOC Navigation --- */
.toc-nav {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    position: sticky;
    top: 0;
    z-index: 10;
}

.toc-nav__link {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all 0.2s;
}

.toc-nav__link:hover {
    background: var(--bg-accent);
    color: var(--text-accent);
}

/* --- FAQ --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-item__q {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item__q::before {
    content: '▶';
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::before {
    transform: rotate(90deg);
}

.faq-item__q::-webkit-details-marker {
    display: none;
}

.faq-item__a {
    padding: 0 1.25rem 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* --- Card Progress Bar --- */
.card__progress {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.card__progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.card__progress-bar.compat--high { background: var(--compat-high); }
.card__progress-bar.compat--medium { background: var(--compat-medium); }
.card__progress-bar.compat--low { background: var(--compat-low); }

/* --- Hero Info Button --- */
.sign-hero__btn--info {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.25);
}
.sign-hero__btn--info:hover {
    background: rgba(124, 58, 237, 0.2);
    transform: translateY(-1px);
}

.sign-hero__btn--primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.sign-hero__separator {
    width: 1px;
    height: 24px;
    background: var(--border);
    margin: 0 0.25rem;
}

/* --- Compatibility Bar Chart --- */
.compat-chart {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.5rem;
}

.compat-chart__filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.compat-chart__select {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-body);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.compat-chart__sign-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.compat-chart__bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.35rem;
    height: 200px;
    padding: 0 0.25rem;
}

.compat-chart__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s;
}

.compat-chart__col:hover {
    transform: translateY(-3px);
}

.compat-chart__col:hover .compat-chart__bar {
    filter: brightness(1.2);
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.compat-chart__col:hover .compat-chart__pct {
    color: var(--text-primary);
    font-weight: 800;
}

.compat-chart__pct {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.compat-chart__bar-wrap {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.compat-chart__bar {
    width: 70%;
    max-width: 36px;
    min-width: 12px;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease, background 0.3s, filter 0.2s, box-shadow 0.2s, transform 0.2s;
}

.compat-chart__bar.compat--high {
    background: linear-gradient(180deg, #22c55e, #16a34a);
}
.compat-chart__bar.compat--medium {
    background: linear-gradient(180deg, #f59e0b, #d97706);
}
.compat-chart__bar.compat--low {
    background: linear-gradient(180deg, #ef4444, #dc2626);
}

.compat-chart__emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.compat-chart__caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .compat-chart__bars {
        height: 160px;
        gap: 0.2rem;
    }
    .compat-chart__bar-wrap { height: 120px; }
    .compat-chart__pct { font-size: 0.6rem; }
    .compat-chart__emoji { font-size: 1rem; }
    .compat-chart { padding: 1rem 0.75rem; }
}

/* --- Link List --- */
.link-group {
    margin: 1.5rem 0;
}

.link-group__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.5rem;
}

.link-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.2s;
    font-size: 0.95rem;
}

.link-list a:hover {
    background: var(--bg-accent);
    color: var(--text-primary);
}

/* --- InfoHit Partner Block --- */
.infohit-block {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(109, 70, 209, 0.05), rgba(37, 99, 235, 0.05));
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.infohit-block__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.infohit-block__desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.infohit-block__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.infohit-block__btn:hover {
    background: var(--accent-light);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

/* --- Stars --- */
.stars {
    color: var(--compat-medium);
    font-size: 1rem;
    letter-spacing: 1px;
}

.star--empty {
    color: var(--text-muted);
    opacity: 0.4;
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    margin-top: 3rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.site-footer__heading {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.site-footer__links li {
    margin-bottom: 0.4rem;
}

.site-footer__links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.site-footer__links a:hover {
    color: var(--text-primary);
}

.site-footer__links--compact {
    columns: 2;
    column-gap: 1rem;
}

.site-footer__links--compact li {
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.site-footer__bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .site-header__burger {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-120%);
        transition: transform 0.3s;
    }

    .site-nav--open {
        transform: translateY(0);
    }

    .page-title {
        font-size: 1.6rem;
    }

    .section {
        padding: 1.25rem;
    }

    .pair-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .pair-header__emoji {
        font-size: 2.5rem;
    }

    .compat-meter {
        flex-direction: column;
        text-align: center;
    }

    .compat-meter__bar {
        width: 100%;
    }

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

    .link-list {
        grid-template-columns: 1fr;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .compat-table {
        font-size: 0.65rem;
    }

    .compat-table td a {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   SITE FOOTER — Premium Astrology Style
   ========================================================== */
.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 0 0;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 320px at 20% 0%, rgba(124, 93, 250, 0.06), transparent 60%),
        radial-gradient(700px 260px at 80% 10%, rgba(167, 139, 250, 0.04), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f5f2ff 100%);
    border-top: 1px solid rgba(124, 93, 250, 0.1);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
    background: repeating-linear-gradient(
        135deg,
        rgba(124, 93, 250, 0.05) 0 1px,
        transparent 1px 14px
    );
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 1.5rem;
}

.site-footer__heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3a3743;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(124, 93, 250, 0.15);
    display: inline-block;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 0.4rem;
    transition: all 0.2s ease;
}

.site-footer__links a:hover {
    color: var(--accent);
    background: rgba(124, 93, 250, 0.06);
    transform: translateX(3px);
}

.site-footer__links--compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.1rem 0.5rem;
}

.site-footer__links--compact a {
    white-space: nowrap;
}

.site-footer__bottom {
    padding: 1rem 0;
    border-top: 1px dashed rgba(124, 93, 250, 0.12);
    text-align: center;
}

.site-footer__bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

/* Совместимость знаков — тёплый розовый акцент */
.site-footer__col:nth-child(1) {
    background: rgba(219, 112, 185, 0.04);
    border: 1px solid rgba(219, 112, 185, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}
.site-footer__col:nth-child(1) .site-footer__heading {
    border-bottom-color: rgba(219, 112, 185, 0.3);
    color: #7a3060;
}
.site-footer__col:nth-child(1) .site-footer__links a:hover {
    color: #b05690;
    background: rgba(219, 112, 185, 0.08);
}

/* Разделы — тёплый янтарный */
.site-footer__col:nth-child(2) {
    background: rgba(234, 179, 56, 0.04);
    border: 1px solid rgba(234, 179, 56, 0.12);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}
.site-footer__col:nth-child(2) .site-footer__heading {
    border-bottom-color: rgba(234, 179, 56, 0.3);
    color: #6b5520;
}

/* Характеристика знаков — прохладный индиго */
.site-footer__col:nth-child(3) {
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}
.site-footer__col:nth-child(3) .site-footer__heading {
    border-bottom-color: rgba(99, 102, 241, 0.25);
    color: #3a3c6a;
}
.site-footer__col:nth-child(3) .site-footer__links a:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
}

/* ==========================================================
   ZODIAK-PAGE — Light Gradient Hero + Stats Strip
   ========================================================== */

/* --- Keyframes --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Article Hero (Light Gradient by Element) --- */
.article-hero {
    position: relative;
    border-radius: 1.25rem;
    padding: 2rem 2.5rem 1.75rem;
    margin-bottom: 0;
    text-align: center;
    overflow: hidden;
    /* Default gradient (neutral) */
    background: linear-gradient(135deg, #f0eef8 0%, #e8e4f4 50%, #f5f2ff 100%);
    border: 1px solid rgba(124, 93, 250, 0.1);
}
/* Share buttons inside hero — bottom left */
.hero-share {
    position: absolute;
    bottom: 0.75rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    text-align: left;
}
.hero-share .share-bar {
    padding: 0;
}
.hero-share .share-bar__label {
    display: none;
}
.hero-share .share-btn {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    border-color: rgba(124, 93, 250, 0.15);
}
.hero-share .share-btn svg {
    width: 14px;
    height: 14px;
}
@media (max-width: 600px) {
    .hero-share {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }
    .hero-share .share-bar__buttons {
        justify-content: center;
        transform: translateX(-15px);
    }
}

.article-hero > * {
    position: relative;
    z-index: 1;
}

/* Element-specific gradients + background images */
.article-hero.element--water {
    background: linear-gradient(135deg, #e6f4f8 0%, #d0ecf5 40%, #e0f0f8 100%);
    border-color: rgba(56, 189, 248, 0.2);
}
.article-hero.element--water::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/hero-water.png') center / cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.article-hero.element--fire {
    background: linear-gradient(135deg, #fef0e6 0%, #fde5d0 40%, #fef3ea 100%);
    border-color: rgba(251, 146, 60, 0.2);
}
.article-hero.element--fire::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/hero-fire.png') center / cover no-repeat;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.article-hero.element--earth {
    background: linear-gradient(135deg, #ecf5e6 0%, #ddefd0 40%, #eef7ea 100%);
    border-color: rgba(74, 222, 128, 0.2);
}
.article-hero.element--earth::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/hero-earth.png') center / cover no-repeat;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.article-hero.element--air {
    background: linear-gradient(135deg, #f0eef8 0%, #e4e0f4 40%, #f2effe 100%);
    border-color: rgba(167, 139, 250, 0.2);
}
.article-hero.element--air::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/hero-air.png') center / cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

/* --- Hero Identity (emoji + name) --- */
.hero-identity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-identity__emoji {
    font-size: 4.2rem;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(124, 93, 250, 0.25);
}

.hero-identity__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-identity__name {
    font-size: 2rem;
    font-weight: 800;
    color: #1e1b3a;
    margin: 0;
    line-height: 1.1;
}

.hero-identity__dates {
    font-size: 0.85rem;
    color: #6b6890;
    font-weight: 500;
}

/* --- Hero Pills (key info badges) --- */
.hero-pills {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.78rem;
    padding: 0.45rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(124, 93, 250, 0.12);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.hero-pill__label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9491ab;
    font-weight: 600;
}

.hero-pill__value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2d2a45;
}

.hero-pill:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(124, 93, 250, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(124, 93, 250, 0.1);
}

.hero-pill--pair {
    text-decoration: none;
    border-color: rgba(124, 93, 250, 0.35);
    background: #fff;
    box-shadow: 0 2px 8px rgba(124, 93, 250, 0.12);
}

.hero-pill--pair .hero-pill__value {
    color: #7c5dfa;
}

.hero-pill--pair:hover {
    background: #f8f5ff;
    box-shadow: 0 4px 12px rgba(124, 93, 250, 0.18);
    transform: translateY(-1px);
}

/* --- Hero H1 --- */
.hero-h1 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1e1b3a;
    margin: 0 0 0.75rem;
    line-height: 1.3;
    text-align: center;
}

/* --- Hero Tags --- */
.hero-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    background: rgba(124, 93, 250, 0.06);
    color: #5b4fad;
    border: 1px solid rgba(124, 93, 250, 0.12);
}

@media (max-width: 768px) {
    .hero-identity__emoji {
        font-size: 3rem;
    }
    .hero-identity__name {
        font-size: 1.5rem;
    }
    .hero-h1 {
        font-size: 1.4rem;
    }
    .hero-pills {
        gap: 0.4rem;
    }
    .hero-pill {
        font-size: 0.7rem;
        padding: 0.3rem 0.65rem;
    }
}

/* --- Stats Strip --- */
/* --- Trait Score Bars --- */
.trait-bars {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.trait-bar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}
.trait-bar__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.trait-bar__value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
}
.trait-bar__track {
    height: 8px;
    background: rgba(124, 93, 250, 0.08);
    border-radius: 4px;
    overflow: hidden;
}
.trait-bar__fill {
    height: 100%;
    width: var(--fill);
    background: linear-gradient(90deg, var(--accent), #a78bfa);
    border-radius: 4px;
    animation: barGrow 1s ease-out;
}
@keyframes barGrow {
    from { width: 0; }
    to   { width: var(--fill); }
}

/* --- Pros & Cons --- */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.pros-cons__col {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid;
}
.pros-cons__col--pro {
    background: rgba(34, 197, 94, 0.04);
    border-color: rgba(34, 197, 94, 0.15);
}
.pros-cons__col--con {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.15);
}
.pros-cons__heading {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}
.pros-cons__heading--pro { color: #16a34a; }
.pros-cons__heading--con { color: #dc2626; }
.pros-cons__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pros-cons__list li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding-left: 0.75rem;
    position: relative;
    line-height: 1.5;
}
.pros-cons__col--pro .pros-cons__list li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}
.pros-cons__col--con .pros-cons__list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

@media (max-width: 600px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

/* --- Sign Quote --- */
.sign-quote {
    position: relative;
    margin: 1.5rem 0;
    padding: 1.5rem 1.5rem 1.25rem 2.5rem;
    background: linear-gradient(135deg, rgba(124, 93, 250, 0.04), rgba(167, 139, 250, 0.06));
    border-left: 3px solid var(--accent);
    border-radius: 0 0.75rem 0.75rem 0;
}
.sign-quote__mark {
    position: absolute;
    top: -0.2rem;
    left: 0.5rem;
    font-size: 3.5rem;
    font-family: Georgia, serif;
    color: rgba(124, 93, 250, 0.15);
    line-height: 1;
    pointer-events: none;
}
.sign-quote__text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
}
.sign-quote__author {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Love Compatibility Calculator --- */
.love-calc {
    margin: 1.5rem 0;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(124, 93, 250, 0.04), rgba(167, 139, 250, 0.08));
    border: 1px solid rgba(124, 93, 250, 0.15);
    border-radius: 1rem;
    color: var(--text-primary);
}
.love-calc__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: var(--text-primary);
}
.love-calc__subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem 0;
    line-height: 1.5;
}
.lc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.lc-label {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.lc-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: #fff;
    border: 1px solid #e0dce8;
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.lc-input::placeholder {
    color: #b0a8c0;
}
.lc-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 93, 250, 0.1);
}
.lc-button {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #8b5cf6, #6366f1, #a855f7);
    background-size: 200% 200%;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    animation: gradientShift 3s ease infinite;
    margin-top: 0.25rem;
}
.lc-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Result */
.love-calc__result {
    animation: fadeInUp 0.5s ease-out;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lc-result__pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e8e5f0;
}
.lc-result__person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
}
.lc-result__emoji {
    font-size: 2.5rem;
}
.lc-result__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}
.lc-result__sign {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.lc-result__heart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}
.lc-result__score {
    font-size: 2.2rem;
    font-weight: 800;
}
.lc-result__heart-icon {
    font-size: 1.2rem;
    animation: heartBeat 1s ease-in-out infinite;
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.lc-result__bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.lc-bar__header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
}
.lc-bar__pct {
    font-weight: 700;
}
.lc-bar__track {
    height: 6px;
    background: rgba(124, 93, 250, 0.08);
    border-radius: 3px;
    overflow: hidden;
}
.lc-bar__fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out;
}

.lc-result__verdict {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 1rem;
    padding: 0.75rem;
    background: rgba(124, 93, 250, 0.04);
    border-left: 3px solid var(--accent);
    border-radius: 0 0.5rem 0.5rem 0;
}

.lc-result__actions {
    display: flex;
    gap: 0.75rem;
}
.lc-result__link {
    flex: 1;
    padding: 0.6rem;
    background: var(--accent);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}
.lc-result__link:hover {
    background: #6d4ed6;
}
.lc-result__again {
    padding: 0.6rem 1rem;
    background: #fff;
    border: 1px solid #e0dce8;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.lc-result__again:hover {
    background: #f5f3fb;
    border-color: var(--accent);
}

@media (max-width: 600px) {
    .love-calc { padding: 1.25rem; }
    .lc-row { grid-template-columns: 1fr; gap: 0.5rem; }
    .lc-result__pair { flex-direction: column; gap: 0.5rem; }
    .lc-result__actions { flex-direction: column; }
}

/* --- Homepage Calculator + Hot Pairs Row --- */
.home-calc-row {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--gap);
    margin-bottom: 1.5rem;
    align-items: start;
}
.love-calc--home {
    max-width: none;
    margin: 0;
    padding: 1.75rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 93, 250, 0.06), rgba(167, 139, 250, 0.12));
    border: 1px solid rgba(124, 93, 250, 0.18);
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(124, 93, 250, 0.08);
}
.love-calc--home .love-calc__title {
    font-size: 1.4rem;
}
.love-calc--home .love-calc__subtitle {
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
}
.love-calc--home .lc-form {
    text-align: left;
}

/* Hot Pairs Sidebar */
.home-hot-pairs {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.home-hot-pairs__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}
.home-hot-pairs__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.home-hot-pairs__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: rgba(124, 93, 250, 0.03);
    border: 1px solid rgba(124, 93, 250, 0.08);
    border-radius: 0.6rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.home-hot-pairs__item:hover {
    background: rgba(124, 93, 250, 0.08);
    border-color: rgba(124, 93, 250, 0.2);
    transform: translateX(3px);
}
.home-hot-pairs__emojis {
    font-size: 1.1rem;
    flex-shrink: 0;
}
.home-hot-pairs__names {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}
.home-hot-pairs__pct {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 0.35rem;
    flex-shrink: 0;
}
.home-hot-pairs__pct--high {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}
.home-hot-pairs__pct--mid {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}
.home-hot-pairs__pct--low {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}
.home-hot-pairs__all {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 0.6rem;
    background: rgba(124, 93, 250, 0.06);
    border: 1px solid rgba(124, 93, 250, 0.12);
    border-radius: 0.5rem;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.home-hot-pairs__all:hover {
    background: rgba(124, 93, 250, 0.12);
}

@media (max-width: 900px) {
    .home-calc-row {
        grid-template-columns: 1fr;
    }
}

/* --- Share Buttons Bar --- */
.share-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0;
}
.share-bar__label {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.share-bar__buttons {
    display: flex;
    gap: 0.4rem;
}
.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(124, 93, 250, 0.06);
    border: 1px solid rgba(124, 93, 250, 0.12);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    padding: 0;
    font-family: inherit;
}
.share-btn svg {
    width: 16px;
    height: 16px;
}
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.share-btn--tg:hover { background: #0088cc; color: #fff; border-color: #0088cc; }
.share-btn--wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-btn--vk:hover { background: #4C75A3; color: #fff; border-color: #4C75A3; }
.share-btn--ok:hover { background: #EE8208; color: #fff; border-color: #EE8208; }
.share-btn--copy:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.share-btn--copied {
    background: #22c55e !important;
    color: #fff !important;
    border-color: #22c55e !important;
}

@media (max-width: 600px) {
    .share-bar { justify-content: center; }
    .share-btn { width: 38px; height: 38px; }
    .share-btn svg { width: 18px; height: 18px; }
}

/* --- Mini Compatibility Table --- */
.compat-mini {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.compat-mini__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}
.compat-mini__row:hover {
    background: rgba(124, 93, 250, 0.04);
}
.compat-mini__sign {
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 95px;
    white-space: nowrap;
}
.compat-mini__bar-wrap {
    flex: 1;
    height: 6px;
    background: rgba(124, 93, 250, 0.06);
    border-radius: 3px;
    overflow: hidden;
}
.compat-mini__bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease-out;
}
.compat-mini__bar--perfect { background: #22c55e; }
.compat-mini__bar--good    { background: #3b82f6; }
.compat-mini__bar--medium  { background: #f59e0b; }
.compat-mini__bar--hard    { background: #ef4444; }

.compat-mini__score {
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 32px;
    text-align: right;
    color: var(--text-secondary);
}
.compat-mini__badge {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 0.75rem;
    min-width: 56px;
    text-align: center;
    white-space: nowrap;
}
.compat-mini__badge--perfect { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.compat-mini__badge--good    { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.compat-mini__badge--medium  { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.compat-mini__badge--hard    { background: rgba(239, 68, 68, 0.1); color: #dc2626; }

/* --- Sidebar Radar Chart --- */
.sidebar-radar {
    background: #fff;
    border: 1px solid #e8e5f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    text-align: center;
}
.sidebar-radar__title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}
.sidebar-radar__hint {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0.25rem;
}
.radar-chart {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}
.radar-grid {
    fill: none;
    stroke: rgba(124, 93, 250, 0.1);
    stroke-width: 0.5;
}
.radar-axis {
    stroke: rgba(124, 93, 250, 0.08);
    stroke-width: 0.5;
}
.radar-data {
    fill: rgba(124, 93, 250, 0.15);
    stroke: var(--accent);
    stroke-width: 1.5;
    animation: radarAppear 1s ease-out;
}
.radar-dot {
    fill: var(--accent);
}
.radar-label {
    font-size: 12px;
}
.radar-legend {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}
.radar-legend li {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.radar-legend strong {
    color: var(--accent);
}
@keyframes radarAppear {
    from { opacity: 0; transform: scale(0.5); transform-origin: center; }
    to   { opacity: 1; transform: scale(1); }
}

/* --- Hero Audio Player --- */
.hero-player {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.75rem;
    padding: 0.45rem 0.9rem 0.45rem 0.5rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(124, 93, 250, 0.12);
    border-radius: 2rem;
    cursor: default;
    transition: box-shadow 0.3s;
}
.hero-player:hover {
    box-shadow: 0 2px 12px rgba(124, 93, 250, 0.1);
}

.hero-player__btn {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.3s;
}
.hero-player__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(124, 93, 250, 0.35);
}
.hero-player.playing .hero-player__btn {
    animation: playerPulse 1.5s ease-in-out infinite;
}

.hero-player__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 120px;
}

.hero-player__title {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.hero-player__progress {
    height: 3px;
    background: rgba(124, 93, 250, 0.1);
    border-radius: 2px;
    overflow: hidden;
}
.hero-player__bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s linear;
}

/* Equalizer animation */
.hero-player__eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}
.hero-player__eq span {
    width: 2.5px;
    background: #fff;
    border-radius: 1px;
    animation: eqBounce 0.6s ease-in-out infinite alternate;
}
.hero-player__eq span:nth-child(1) { height: 4px; animation-delay: 0s; }
.hero-player__eq span:nth-child(2) { height: 8px; animation-delay: 0.15s; }
.hero-player__eq span:nth-child(3) { height: 5px; animation-delay: 0.3s; }
.hero-player__eq span:nth-child(4) { height: 10px; animation-delay: 0.45s; }

@keyframes eqBounce {
    0%   { height: 3px; }
    100% { height: 14px; }
}
@keyframes playerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 93, 250, 0.3); }
    50%      { box-shadow: 0 0 0 6px rgba(124, 93, 250, 0); }
}

.stats-strip {
    background: #fff;
    border: 1px solid #e8e5f0;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(124, 93, 250, 0.06);
}

.stats-strip__inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.stats-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0.4rem;
    white-space: nowrap;
    position: relative;
    transition: background 0.2s ease;
}

/* Vertical separator between items */
.stats-strip__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e8e5f0;
}

.stats-strip__item:hover {
    background: rgba(124, 93, 250, 0.04);
    border-radius: 0.5rem;
}

.stats-strip__top {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stats-strip__icon {
    font-size: 0.85rem;
}

.stats-strip__label {
    font-size: 0.6rem;
    color: #9491ab;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.stats-strip__value {
    font-size: 0.82rem;
    font-weight: 700;
    color: #2d2a45;
}

@media (max-width: 768px) {
    .stats-strip__inner {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-strip__item:not(:last-child)::after {
        display: none;
    }
    .stats-strip__item:not(:nth-child(3n))::after {
        display: block;
    }
}

/* --- Sidebar Card (compact) --- */
.sidebar-card.sidebar-card--compact {
    padding: 1rem;
}

.sidebar-card--compact .sidebar-card__header {
    margin-bottom: 0.5rem;
}

.sidebar-card--compact .sidebar-card__links {
    margin-top: 0;
}

/* --- Sidebar Glassmorphism --- */
.sidebar-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 93, 250, 0.12);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(124, 93, 250, 0.06);
}

.sidebar-card__motto {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--accent);
    padding: 0.5rem 0;
    text-align: center;
    background: linear-gradient(135deg, #7c5dfa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-compat-link {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--text-accent);
    text-decoration: none;
    margin-right: 0.25rem;
    transition: all 0.2s ease;
}

.sidebar-compat-link:hover {
    color: var(--accent);
    transform: scale(1.05);
}

/* Sidebar TOC glass */
.sidebar-toc {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(124, 93, 250, 0.1);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 12px rgba(124, 93, 250, 0.04);
}

/* Sidebar Related glass */
.sidebar-related {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(124, 93, 250, 0.1);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 12px rgba(124, 93, 250, 0.04);
}

/* --- Article TOC (inline fallback) --- */
.article-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: var(--card-bg);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.article-toc__link {
    font-size: 0.82rem;
    color: var(--text-accent);
    text-decoration: none;
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    background: var(--surface);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.article-toc__link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(124, 93, 250, 0.2);
}

/* --- Callout boxes (enhanced glow) --- */
.callout {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.callout:hover {
    transform: translateX(4px);
}

.callout__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1.5;
}

.callout__text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.callout--tip {
    background: rgba(76, 175, 80, 0.08);
    border-color: #4caf50;
    box-shadow: inset 0 0 20px rgba(76, 175, 80, 0.04);
}

.callout--attention {
    background: rgba(255, 152, 0, 0.08);
    border-color: #ff9800;
    box-shadow: inset 0 0 20px rgba(255, 152, 0, 0.04);
}

/* --- Article Quote (gradient accent) --- */
.article-quote {
    position: relative;
    margin: 1.25rem 0;
    padding: 1.25rem 1.5rem 1.25rem 2rem;
    background: linear-gradient(135deg, rgba(124, 93, 250, 0.06), rgba(167, 139, 250, 0.03));
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #7c5dfa, #a78bfa) 1;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.article-quote:hover {
    background: linear-gradient(135deg, rgba(124, 93, 250, 0.1), rgba(167, 139, 250, 0.05));
}

.article-quote::before {
    content: '«';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 2rem;
    background: linear-gradient(135deg, #7c5dfa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

/* --- Section subtitle --- */
.section__subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0 0.5rem;
}

/* --- Content sections animate in --- */
.article-content .section {
    animation: fadeInUp 0.5s ease both;
}

.article-content .section:nth-child(2) { animation-delay: 0.1s; }
.article-content .section:nth-child(3) { animation-delay: 0.2s; }
.article-content .section:nth-child(4) { animation-delay: 0.3s; }

/* --- Related Articles Grid (enhanced) --- */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 24px rgba(124, 93, 250, 0.15);
}

.related-card__emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.related-card:hover .related-card__emoji {
    transform: scale(1.15);
}

.related-card__title {
    font-size: 0.88rem;
    font-weight: 500;
    flex: 1;
}

.related-card__arrow {
    color: var(--text-accent);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
}

.related-card:hover .related-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .article-hero {
        padding: 1.5rem 1rem;
    }

    .article-hero__emoji {
        font-size: 2.5rem;
    }

    .article-hero__title {
        font-size: 1.35rem;
    }

    .hero-stat {
        min-width: 70px;
        padding: 0.4rem 0.5rem;
    }

    .article-toc {
        gap: 0.35rem;
    }

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

/* ==========================================================
   ARTICLE LAYOUT — Двухколоночный с сайдбаром
   ========================================================== */

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
    align-items: start;
}

.article-content {
    min-width: 0; /* prevent overflow */
}

/* --- Sidebar --- */
.article-sidebar__inner {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --- Sidebar Card (Sign Info) --- */
.sidebar-card {
    background: linear-gradient(180deg, #fff, #fbf9ff);
    border: 1px solid rgba(124, 93, 250, 0.12);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(124, 93, 250, 0.06);
    overflow: hidden;
}

.sidebar-card__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    margin: -1.25rem -1.25rem 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(124, 93, 250, 0.05);
    border-radius: 1rem 1rem 0 0;
    border-bottom: 1px dashed rgba(124, 93, 250, 0.12);
}

.sidebar-card__emoji {
    font-size: 1.8rem;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.6rem;
    box-shadow: 0 2px 8px rgba(124, 93, 250, 0.15);
}

.sidebar-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sidebar-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.82rem;
}

.sidebar-card__label {
    color: var(--text-muted);
}

.sidebar-card__value {
    color: var(--text-primary);
    font-weight: 500;
}

.sidebar-card__links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.sidebar-card__links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-accent);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.6rem;
    background: rgba(124, 93, 250, 0.04);
    border: 1px solid rgba(124, 93, 250, 0.08);
    transition: all 0.2s ease;
}

.sidebar-card__links a:hover {
    background: rgba(124, 93, 250, 0.08);
    border-color: rgba(124, 93, 250, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(124, 93, 250, 0.08);
}

/* --- Sidebar TOC --- */
.sidebar-toc {
    background: linear-gradient(180deg, #fff, #fbf9ff);
    border: 1px solid rgba(124, 93, 250, 0.12);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px rgba(124, 93, 250, 0.06);
}

.sidebar-toc__title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #3a3743;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: -1rem -1.25rem 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(124, 93, 250, 0.05);
    border-radius: 1rem 1rem 0 0;
    border-bottom: 1px dashed rgba(124, 93, 250, 0.12);
}

.sidebar-toc__link {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-left: 2px solid transparent;
    border-radius: 0 0.35rem 0.35rem 0;
    transition: all 0.2s ease;
    margin-bottom: 0.1rem;
}

.sidebar-toc__link:hover,
.sidebar-toc__link.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: rgba(124, 93, 250, 0.06);
}

/* --- Sidebar Related --- */
.sidebar-related {
    background: linear-gradient(180deg, #fff, #fbf9ff);
    border: 1px solid rgba(124, 93, 250, 0.12);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px rgba(124, 93, 250, 0.06);
}

.sidebar-related__title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #3a3743;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: -1rem -1.25rem 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(124, 93, 250, 0.05);
    border-radius: 1rem 1rem 0 0;
    border-bottom: 1px dashed rgba(124, 93, 250, 0.12);
}

.sidebar-related__link {
    display: block;
    font-size: 0.82rem;
    color: var(--text-accent);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    margin-bottom: 0.1rem;
}

.sidebar-related__link:hover {
    background: rgba(124, 93, 250, 0.06);
    color: var(--accent);
    transform: translateX(2px);
}

/* --- Responsive: сайдбар → под контент --- */
@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        order: -1; /* card goes above content on mobile */
    }

    .article-sidebar__inner {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .sidebar-card {
        flex: 1 1 200px;
    }

    .sidebar-toc {
        flex: 1 1 200px;
    }

    .sidebar-related {
        display: none; /* hide on mobile, already shown at bottom */
    }
}

/* Mobile: sidebar cards stack fully */
@media (max-width: 600px) {
    .article-sidebar__inner {
        flex-direction: column;
    }
    .sidebar-card,
    .sidebar-toc {
        flex: 1 1 100%;
    }
}
/* ==========================================================
   EROGENOUS ZONES — Card Grid
   ========================================================== */

.erogenous-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.erogenous-card {
    background: linear-gradient(145deg, rgba(124, 93, 250, 0.06), rgba(167, 139, 250, 0.03));
    border: 1px solid rgba(124, 93, 250, 0.12);
    border-radius: 1rem;
    padding: 1.1rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.erogenous-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c5dfa, #a78bfa, #c4b5fd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.erogenous-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(124, 93, 250, 0.15);
    border-color: rgba(124, 93, 250, 0.25);
}

.erogenous-card:hover::before {
    opacity: 1;
}

.erogenous-card__emoji {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.erogenous-card:hover .erogenous-card__emoji {
    transform: scale(1.2);
}

.erogenous-card__zone {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.erogenous-card__bar {
    height: 4px;
    background: rgba(124, 93, 250, 0.1);
    border-radius: 2px;
    margin: 0.4rem auto 0.6rem;
    width: 80%;
    overflow: hidden;
}

.erogenous-card__fill {
    height: 100%;
    width: var(--fill, 0%);
    background: linear-gradient(90deg, #7c5dfa, #a78bfa);
    border-radius: 2px;
    transition: width 1s ease-out;
}

.erogenous-card__desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .erogenous-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .erogenous-card {
        padding: 0.85rem 0.75rem;
    }
    
    .erogenous-card__emoji {
        font-size: 1.5rem;
    }
    
    .erogenous-card__zone {
        font-size: 0.82rem;
    }
    
    .erogenous-card__desc {
        font-size: 0.72rem;
    }
}

/* ==========================================================
   DARK TRAITS — Warning Cards (WOW-блок «Тёмная сторона»)
   ========================================================== */
.dark-traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.dark-trait-card {
    background: linear-gradient(145deg, rgba(220, 38, 38, 0.06), rgba(185, 28, 28, 0.03));
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 1rem;
    padding: 1.1rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dark-trait-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #ef4444, #f87171);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dark-trait-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
}

.dark-trait-card:hover::before {
    opacity: 1;
}

.dark-trait-card__emoji {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.2));
}

.dark-trait-card:hover .dark-trait-card__emoji {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

.dark-trait-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dark-trait-card__bar {
    height: 4px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 2px;
    margin: 0 auto 0.3rem;
    width: 80%;
    overflow: hidden;
}

.dark-trait-card__fill {
    height: 100%;
    width: var(--fill, 0%);
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 2px;
    transition: width 1s ease-out;
}

.dark-trait-card__score {
    font-size: 0.75rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.dark-trait-card__desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .dark-traits-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ==========================================================
   RELATIONSHIP STAGES — Timeline (WOW-блок «Стадии отношений»)
   ========================================================== */
.stages-timeline {
    margin-top: 1rem;
    position: relative;
}

.stage-card {
    display: flex;
    gap: 1rem;
    position: relative;
}

.stage-card__connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 3rem;
}

.stage-card__dot {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(124, 93, 250, 0.1), rgba(167, 139, 250, 0.05));
    border: 2px solid rgba(124, 93, 250, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.stage-card:hover .stage-card__dot {
    transform: scale(1.15);
    border-color: rgba(124, 93, 250, 0.5);
    box-shadow: 0 0 12px rgba(124, 93, 250, 0.2);
}

.stage-card__line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, rgba(124, 93, 250, 0.3), rgba(124, 93, 250, 0.08));
    margin: 0.25rem 0;
}

.stage-card__body {
    flex: 1;
    background: linear-gradient(145deg, rgba(124, 93, 250, 0.04), rgba(167, 139, 250, 0.02));
    border: 1px solid rgba(124, 93, 250, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 1.1rem;
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
}

.stage-card:hover .stage-card__body {
    border-color: rgba(124, 93, 250, 0.25);
    box-shadow: 0 4px 16px rgba(124, 93, 250, 0.08);
}

.stage-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.stage-card__duration {
    font-size: 0.78rem;
    font-weight: 600;
    color: #7c5dfa;
    margin-bottom: 0.4rem;
}

.stage-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (max-width: 600px) {
    .stage-card__dot {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.1rem;
    }

    .stage-card__connector {
        width: 2.5rem;
    }

    .stage-card__body {
        padding: 0.8rem;
    }

    .stage-card__title {
        font-size: 0.95rem;
    }

    .stage-card__desc {
        font-size: 0.8rem;
    }
}

/* ==========================================================
   JEALOUSY THERMOMETER — WOW-block for `revnuet`
   ========================================================== */

.jealousy-thermometer {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.jealousy-level {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.jealousy-level:last-child {
    border-bottom: none;
}

.jealousy-level::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: hsl(calc(120 - (var(--intensity) * 12)), 70%, 50%);
    transition: width 0.3s ease;
}

.jealousy-level:hover {
    background: rgba(255, 255, 255, 0.06);
}

.jealousy-level:hover::before {
    width: 6px;
}

.jealousy-level__indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem;
    min-width: 80px;
    gap: 0.5rem;
}

.jealousy-level__emoji {
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.jealousy-level:hover .jealousy-level__emoji {
    transform: scale(1.2);
}

.jealousy-level__bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.jealousy-level__fill {
    height: 100%;
    width: var(--fill);
    background: hsl(calc(120 - (var(--intensity) * 12)), 70%, 50%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.jealousy-level__content {
    flex: 1;
    padding: 1.2rem 1.2rem 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.jealousy-level__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.jealousy-level__trigger {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.jealousy-level__reaction {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .jealousy-level__indicator {
        min-width: 60px;
        padding: 0.8rem 0.6rem;
    }

    .jealousy-level__emoji {
        font-size: 1.5rem;
    }

    .jealousy-level__content {
        padding: 0.8rem 0.8rem 0.8rem 0;
    }

    .jealousy-level__name {
        font-size: 0.95rem;
    }

    .jealousy-level__reaction {
        font-size: 0.8rem;
    }
}

/* ==========================================================
   RED FLAG CARDS — WOW-block for `izmenyaet`
   ========================================================== */

.red-flags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.red-flag-card {
    background: linear-gradient(145deg, rgba(234, 88, 12, 0.07), rgba(220, 38, 38, 0.04));
    border: 1px solid rgba(234, 88, 12, 0.18);
    border-radius: 1rem;
    padding: 1.1rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.red-flag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ea580c, #dc2626, #ef4444);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.red-flag-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.18);
    border-color: rgba(234, 88, 12, 0.35);
}

.red-flag-card:hover::before {
    opacity: 1;
}

.red-flag-card__emoji {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 2px 4px rgba(234, 88, 12, 0.2));
    transition: transform 0.3s ease;
}

.red-flag-card:hover .red-flag-card__emoji {
    transform: scale(1.15);
}

.red-flag-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.red-flag-card__bar {
    height: 4px;
    background: rgba(234, 88, 12, 0.1);
    border-radius: 2px;
    margin: 0 auto 0.3rem;
    width: 80%;
    overflow: hidden;
}

.red-flag-card__fill {
    height: 100%;
    width: var(--fill, 0%);
    background: linear-gradient(90deg, #ea580c, #dc2626);
    border-radius: 2px;
    transition: width 1s ease-out;
}

.red-flag-card__score {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ea580c;
    margin-bottom: 0.5rem;
}

.red-flag-card__desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .red-flags-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ==========================================================
   CONQUEST STAGES — WOW-block for `kak_zavoevat`
   ========================================================== */

.conquest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.conquest-card {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.07), rgba(6, 182, 212, 0.04));
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 1rem;
    padding: 1.25rem 1rem 1.1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.conquest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #06b6d4, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.conquest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.35);
}

.conquest-card:hover::before {
    opacity: 1;
}

.conquest-card__number {
    position: absolute;
    top: 0.5rem;
    right: 0.7rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(16, 185, 129, 0.1);
    line-height: 1;
    pointer-events: none;
}

.conquest-card__emoji {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2));
    transition: transform 0.3s ease;
}

.conquest-card:hover .conquest-card__emoji {
    transform: scale(1.15);
}

.conquest-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.conquest-card__desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .conquest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .conquest-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ==========================================================
   DECODER CARDS — WOW-block for `kak_ponyat`
   ========================================================== */

.decoder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.decoder-card {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.07), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 1rem;
    padding: 1.1rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.decoder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.decoder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
}

.decoder-card:hover::before {
    opacity: 1;
}

.decoder-card__emoji {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.2));
}

.decoder-card__says,
.decoder-card__means {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.decoder-card__says {
    background: rgba(99, 102, 241, 0.06);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.15rem;
}

.decoder-card__means {
    background: rgba(16, 185, 129, 0.06);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.decoder-card__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    opacity: 0.7;
}

.decoder-card__says .decoder-card__label {
    color: #6366f1;
}

.decoder-card__means .decoder-card__label {
    color: #10b981;
}

.decoder-card__text {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-primary);
    font-weight: 500;
}

.decoder-card__arrow {
    font-size: 1rem;
    color: rgba(99, 102, 241, 0.4);
    line-height: 1;
    margin: 0.1rem 0;
}

@media (max-width: 768px) {
    .decoder-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .decoder-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ==========================================================
   RESPONSIVE — Comprehensive Mobile Fixes
   ========================================================== */

/* Tablet (≤768px) */
@media (max-width: 768px) {
    .article-hero {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .hero-pills {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-pill {
        flex: 0 1 auto;
        min-width: 0;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .site-footer__col {
        padding: 0.75rem 1rem !important;
    }

    .site-footer__col:nth-child(2) {
        grid-column: auto;
    }

    .site-footer__links--compact {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__links a {
        padding: 0.25rem 0.35rem;
        font-size: 0.8rem;
    }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
    .article-hero {
        padding: 1.25rem 1rem 1rem;
        border-radius: 0.75rem;
    }

    .hero-identity__emoji {
        font-size: 2.5rem;
        width: 3.2rem;
        height: 3.2rem;
    }

    .hero-identity__name {
        font-size: 1.3rem;
    }

    .hero-identity__dates {
        font-size: 0.78rem;
    }

    .hero-h1 {
        font-size: 1.15rem;
    }

    .hero-pills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem;
    }

    .hero-pill {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
        justify-content: center;
    }

    .hero-pill__label {
        font-size: 0.55rem;
    }

    .hero-tags .tag {
        font-size: 0.72rem;
        padding: 0.25rem 0.6rem;
    }

    .stats-strip__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stats-strip__label {
        font-size: 0.6rem;
    }

    .stats-strip__value {
        font-size: 0.78rem;
    }

    .sidebar-card,
    .sidebar-toc {
        flex: 1 1 100%;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .section {
        padding: 1.25rem;
    }

    .section__title {
        font-size: 1.15rem;
    }
}

/* ==========================================================
   ATTRACTION RULES — WOW-block for `kak_privlech`
   Do / Don't paired cards
   ========================================================== */

.attraction-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.attraction-rule {
    background: var(--card-bg, #fff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.attraction-rule:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.attraction-rule__do {
    padding: 1.25rem 1rem;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.06), rgba(16, 185, 129, 0.02));
    flex: 1;
}

.attraction-rule__dont {
    padding: 1.25rem 1rem;
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.06), rgba(239, 68, 68, 0.02));
    flex: 1;
}

.attraction-rule__divider {
    height: 2px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.3), rgba(200, 200, 200, 0.3), rgba(239, 68, 68, 0.3));
}

.attraction-rule__badge {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.attraction-rule__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.attraction-rule__title--do {
    color: #059669;
}

.attraction-rule__title--dont {
    color: #dc2626;
}

.attraction-rule__text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .attraction-rules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .attraction-rule__do,
    .attraction-rule__dont {
        padding: 1rem 0.85rem;
    }

    .attraction-rule__title {
        font-size: 0.88rem;
    }
}

/* ==========================================================
   SEDUCTION MAP — WOW-block for `kak_soblazjnit`
   Route/journey timeline cards
   ========================================================== */

.seduction-map {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
}

.seduction-step {
    display: flex;
    gap: 1rem;
    position: relative;
}

.seduction-step__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 44px;
}

.seduction-step__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease;
}

.seduction-step:hover .seduction-step__number {
    transform: scale(1.15);
}

.seduction-step__line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.3), rgba(217, 70, 239, 0.1));
    min-height: 20px;
}

.seduction-step__body {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.06), rgba(217, 70, 239, 0.03));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    flex: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.seduction-step:hover .seduction-step__body {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.seduction-step__emoji {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.seduction-step__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.seduction-step__location {
    font-size: 0.78rem;
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.seduction-step__desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .seduction-step__marker {
        width: 36px;
    }

    .seduction-step__number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .seduction-step__body {
        padding: 1rem;
    }
}

/* ==========================================================
   BREAKUP STAGES — WOW-block for `rasstavanie`
   Vertical stage cards with duration + behavior
   ========================================================== */

.breakup-stages {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
}

.breakup-stage {
    background: linear-gradient(145deg, rgba(100, 116, 139, 0.06), rgba(71, 85, 105, 0.03));
    border: 1px solid rgba(100, 116, 139, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.breakup-stage:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(100, 116, 139, 0.15);
    border-color: rgba(100, 116, 139, 0.3);
}

.breakup-stage__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.breakup-stage__emoji {
    font-size: 1.6rem;
}

.breakup-stage__num {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.breakup-stage__duration {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
}

.breakup-stage__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.breakup-stage__desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.breakup-stage__behavior {
    font-size: 0.78rem;
    color: var(--text-secondary);
    background: rgba(100, 116, 139, 0.06);
    border-left: 3px solid rgba(100, 116, 139, 0.25);
    padding: 0.6rem 0.8rem;
    border-radius: 0 0.5rem 0.5rem 0;
    line-height: 1.5;
}

.breakup-stage__behavior-label {
    font-weight: 700;
    color: var(--text-primary);
    margin-right: 0.3rem;
}

.breakup-stage__arrow {
    text-align: center;
    font-size: 1.5rem;
    color: rgba(100, 116, 139, 0.3);
    padding: 0.25rem 0;
    line-height: 1;
}

@media (max-width: 480px) {
    .breakup-stage {
        padding: 1.1rem;
    }

    .breakup-stage__title {
        font-size: 1rem;
    }
}

/* ==========================================================
   LIKABILITY CHECKLIST — WOW-block for `kak_ponravitsya`
   Grid cards with importance-based left border color
   ========================================================== */

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.checklist-card {
    background: var(--bg-white);
    border: 1px solid rgba(100, 116, 139, 0.12);
    border-radius: 1rem;
    padding: 1.1rem;
    border-left: 4px solid #94a3b8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checklist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.checklist-card--critical {
    border-left-color: #ef4444;
}

.checklist-card--high {
    border-left-color: #f59e0b;
}

.checklist-card--medium {
    border-left-color: #22c55e;
}

.checklist-card__header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.checklist-card__check {
    font-size: 1.2rem;
    color: #94a3b8;
}

.checklist-card__emoji {
    font-size: 1.2rem;
}

.checklist-card__num {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.6;
}

.checklist-card__rule {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.checklist-card__detail {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.5rem;
}

.checklist-card__importance {
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.8;
}

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

@media (max-width: 480px) {
    .checklist-card {
        padding: 0.9rem;
    }

    .checklist-card__rule {
        font-size: 0.88rem;
    }
}

/* ==========================================================
   RETURN CHANCES — WOW-block for `kak_vernut`
   Scenario bars with percentage fill
   ========================================================== */

.return-chances {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.return-chance {
    background: var(--bg-white);
    border: 1px solid rgba(100, 116, 139, 0.12);
    border-radius: 1rem;
    padding: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.return-chance:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.return-chance__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.return-chance__emoji {
    font-size: 1.3rem;
}

.return-chance__scenario {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.return-chance__verdict {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
}

.return-chance__verdict--high {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.return-chance__verdict--mid {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.return-chance__verdict--low {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.return-chance__bar {
    position: relative;
    height: 24px;
    background: rgba(100, 116, 139, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.return-chance__fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.8s ease-out;
}

.return-chance__fill--high {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.return-chance__fill--mid {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.return-chance__fill--low {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.return-chance__pct {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
}

.return-chance__comment {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (max-width: 480px) {
    .return-chance {
        padding: 0.9rem;
    }

    .return-chance__scenario {
        font-size: 0.82rem;
    }
}

/* ===== Love Signals WOW-block ===== */
.love-signals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.love-signal {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    border-left: 4px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.love-signal:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.love-signal--obvious {
    border-left-color: #22c55e;
}

.love-signal--hidden {
    border-left-color: #f59e0b;
}

.love-signal--deceptive {
    border-left-color: #ef4444;
}

.love-signal__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
}

.love-signal__emoji {
    font-size: 1.25rem;
}

.love-signal__name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
    flex: 1;
}

.love-signal__badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    white-space: nowrap;
}

.love-signal__badge--obvious {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.love-signal__badge--hidden {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.love-signal__badge--deceptive {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.love-signal__desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .love-signal {
        padding: 0.9rem;
    }

    .love-signal__name {
        font-size: 0.85rem;
    }
}

/* ===== Situation Cards WOW-block ===== */
.situation-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.situation-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.2s ease;
}

.situation-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.situation-card__header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.situation-card__emoji {
    font-size: 1.5rem;
}

.situation-card__title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.situation-card__context {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.situation-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.situation-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
    padding-bottom: 0.3rem;
}

.situation-card__label--do {
    color: #16a34a;
    border-bottom: 2px solid rgba(34, 197, 94, 0.3);
}

.situation-card__label--dont {
    color: #dc2626;
    border-bottom: 2px solid rgba(239, 68, 68, 0.3);
}

.situation-card__item {
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--text-secondary);
    padding: 0.3rem 0;
    padding-left: 0.8rem;
    position: relative;
}

.situation-card__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.situation-card__item--do::before {
    background: #22c55e;
}

.situation-card__item--dont::before {
    background: #ef4444;
}

@media (max-width: 480px) {
    .situation-card {
        padding: 0.9rem;
    }

    .situation-card__actions {
        grid-template-columns: 1fr;
    }

    .situation-card__title {
        font-size: 0.9rem;
    }
}

/* ===== Communication Decoder (WOW-блок kak_obshchatsya) ===== */
.comm-decoder {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.comm-decoder__card {
    background: var(--card-bg, #fff);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid var(--border, #e8e8e8);
}

.comm-decoder__phrase {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, .1) 0%, rgba(139, 92, 246, .12) 100%);
    border-bottom: 1px solid var(--border, #e8e8e8);
}

.comm-decoder__emoji {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.comm-decoder__quote {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.4;
    color: var(--text-primary, #222);
}

.comm-decoder__means,
.comm-decoder__react {
    padding: .9rem 1.2rem;
}

.comm-decoder__means {
    background: rgba(99, 102, 241, .06);
    border-bottom: 1px solid var(--border, #e8e8e8);
}

.comm-decoder__react {
    background: rgba(16, 185, 129, .06);
}

.comm-decoder__label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .4rem;
}

.comm-decoder__label--means {
    color: #6366f1;
}

.comm-decoder__label--react {
    color: #10b981;
}

.comm-decoder__text {
    font-size: .95rem;
    line-height: 1.6;
    color: var(--text-secondary, #555);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .comm-decoder__card {
        border-color: rgba(255,255,255,.08);
    }

    .comm-decoder__means {
        background: rgba(99, 102, 241, .1);
    }

    .comm-decoder__react {
        background: rgba(16, 185, 129, .1);
    }
}

@media (max-width: 600px) {
    .comm-decoder__phrase {
        padding: .8rem 1rem;
    }

    .comm-decoder__quote {
        font-size: 1rem;
    }

    .comm-decoder__means,
    .comm-decoder__react {
        padding: .7rem 1rem;
    }
}

/* ==========================================================
   MARRIAGE SCORECARD — WOW-block for `v_brake`
   Card grid with letter grades A/B/C/D + progress bars
   ========================================================== */

.marriage-scorecard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 1rem;
}

.marriage-sc__card {
    background: var(--card-bg, #fff);
    border: 1px solid rgba(100, 116, 139, 0.12);
    border-radius: 1rem;
    padding: 1.15rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.marriage-sc__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.marriage-sc__card--excellent { border-left: 4px solid #22c55e; }
.marriage-sc__card--good      { border-left: 4px solid #f59e0b; }
.marriage-sc__card--average   { border-left: 4px solid #f97316; }
.marriage-sc__card--poor      { border-left: 4px solid #ef4444; }

.marriage-sc__header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
}

.marriage-sc__emoji {
    font-size: 1.4rem;
}

.marriage-sc__aspect {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary, #222);
    flex: 1;
}

.marriage-sc__grade {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.marriage-sc__grade--excellent { background: linear-gradient(135deg, #22c55e, #16a34a); }
.marriage-sc__grade--good      { background: linear-gradient(135deg, #f59e0b, #d97706); }
.marriage-sc__grade--average   { background: linear-gradient(135deg, #f97316, #ea580c); }
.marriage-sc__grade--poor      { background: linear-gradient(135deg, #ef4444, #dc2626); }

.marriage-sc__bar {
    position: relative;
    height: 20px;
    background: rgba(100, 116, 139, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.marriage-sc__fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease-out;
}

.marriage-sc__fill--excellent { background: linear-gradient(90deg, #22c55e, #16a34a); }
.marriage-sc__fill--good      { background: linear-gradient(90deg, #f59e0b, #d97706); }
.marriage-sc__fill--average   { background: linear-gradient(90deg, #f97316, #ea580c); }
.marriage-sc__fill--poor      { background: linear-gradient(90deg, #ef4444, #dc2626); }

.marriage-sc__pct {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-primary, #333);
}

.marriage-sc__verdict {
    font-size: 0.78rem;
    color: var(--text-secondary, #666);
    line-height: 1.55;
}

@media (prefers-color-scheme: dark) {
    .marriage-sc__card {
        border-color: rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 640px) {
    .marriage-scorecard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .marriage-sc__card {
        padding: 0.9rem;
    }

    .marriage-sc__aspect {
        font-size: 0.85rem;
    }

    .marriage-sc__grade {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }
}

/* ============================================================
   ZODIAK HUB — элементная сетка, девиз, карточка-призрак
   ============================================================ */

/* Сетка стихий */
.element-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--gap);
}

.element-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.element-card:hover {
    box-shadow: var(--shadow-hover);
}

.element-card__header {
    padding: 0.8rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-align: center;
}

.element-card.element--fire .element-card__header {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.element-card.element--earth .element-card__header {
    background: linear-gradient(135deg, #84cc16, #22c55e);
}

.element-card.element--air .element-card__header {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.element-card.element--water .element-card__header {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.element-card__signs {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.element-card__sign {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.element-card__sign:hover {
    background: var(--bg-accent);
    color: var(--text-accent);
}

.element-card__emoji {
    font-size: 1.3rem;
}

/* Девиз знака */
.sign-motto {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-accent);
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1.6;
}

.sign-motto cite {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    font-style: normal;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* Мета-сетка знака */
.sign-hero__meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sign-hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sign-hero__meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.sign-hero__meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Карточка-призрак (CTA) */
.card--ghost {
    border: 2px dashed var(--border);
    background: transparent;
}

.card--ghost:hover {
    border-color: var(--accent);
    background: var(--bg-accent);
}

@media (max-width: 600px) {
    .element-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sign-hero__meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   TOPIC CARDS — горизонтальные карточки с тизерами
   ============================================================ */

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.topic-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.topic-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.topic-card__gender-link--disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.6);
}

.topic-card__main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.topic-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: var(--bg-accent);
    border-radius: var(--radius-sm);
}

.topic-card__body {
    flex: 1;
    min-width: 0;
}

.topic-card__header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.topic-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.topic-card__title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.topic-card__title a:hover {
    color: var(--text-accent);
}

.topic-card__gender {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.topic-card__gender--male {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.topic-card__gender--female {
    background: rgba(236, 72, 153, 0.1);
    color: #db2777;
}

/* Тизер — полностью видим */
.topic-card__teaser {
    margin: 0.4rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* ===== Блок «Характеристика знака» — главный ===== */
.char-hero {
    display: flex;
    gap: 2rem;
    background: linear-gradient(135deg, #f0eaff 0%, #e8f0ff 50%, #f5f0ff 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 1.25rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.char-hero__image {
    flex-shrink: 0;
    width: 280px;
}

.char-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.char-hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.char-hero__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a2e);
    margin: 0 0 1rem;
}

.char-hero__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary, #555);
    margin: 0 0 1.5rem;
}

.char-hero__links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.char-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.char-hero__btn--male {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.char-hero__btn--male:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #1d4ed8;
}

.char-hero__btn--female {
    background: rgba(219, 39, 119, 0.1);
    color: #be185d;
    border: 1px solid rgba(219, 39, 119, 0.25);
}

.char-hero__btn--female:hover {
    background: rgba(219, 39, 119, 0.2);
    color: #9d174d;
}

@media (max-width: 768px) {
    .char-hero {
        flex-direction: column;
        padding: 1.5rem;
    }
    .char-hero__image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .char-hero__title {
        font-size: 1.25rem;
        text-align: center;
    }
    .char-hero__links {
        flex-direction: column;
    }
    .char-hero__btn {
        justify-content: center;
    }
}

/* Кнопки */
.topic-card__actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.2rem;
}

.topic-card__toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
}

.topic-card__toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-accent);
}

.topic-card--expanded .topic-card__toggle {
    transform: rotate(180deg);
    border-color: var(--accent);
    color: var(--accent);
}

.topic-card__link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-accent);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.topic-card__link:hover {
    opacity: 0.7;
}

/* Гендерные ссылки внутри карточки */
.topic-card__gender-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}

.topic-card__gender-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.topic-card__gender-link:hover {
    box-shadow: var(--shadow);
}

.topic-card__gender-link--male {
    border-color: rgba(59, 130, 246, 0.25);
    color: #2563eb;
    background: rgba(59, 130, 246, 0.05);
}

.topic-card__gender-link--male:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
}

.topic-card__gender-link--female {
    border-color: rgba(236, 72, 153, 0.25);
    color: #db2777;
    background: rgba(236, 72, 153, 0.05);
}

.topic-card__gender-link--female:hover {
    background: rgba(236, 72, 153, 0.12);
    border-color: rgba(236, 72, 153, 0.4);
}

@media (max-width: 600px) {
    .topic-card__main {
        flex-wrap: wrap;
        gap: 0.6rem;
        padding: 0.8rem 1rem;
    }

    .topic-card__icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .topic-card__actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
        padding-top: 0;
    }

    .topic-card__title {
        font-size: 0.9rem;
    }
}

/* ============================================================
   HOMEPAGE — Главная страница (redesign v3)
   ============================================================ */

/* --- 1. Hero Block (animated) --- */
.home-hero {
    text-align: center;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(109,70,209,0.06) 0%, rgba(124,93,250,0.03) 50%, rgba(37,99,235,0.04) 100%);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.home-hero__stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-star {
    position: absolute;
    color: var(--accent);
    animation: hero-star-float ease-in-out infinite;
}

@keyframes hero-star-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-12px) scale(1.2); opacity: 0.5; }
}

.home-hero__content {
    position: relative;
    z-index: 1;
}

.home-hero__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.home-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero stats counter */
.home-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.hero-stat__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat__label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-stat__divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* --- Day Picks (Знак дня + Пара дня) --- */
.home-day-picks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    margin-bottom: 1.5rem;
}

.day-pick {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.day-pick:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.day-pick::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.day-pick--sign::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-light), #a78bfa);
}

.day-pick--pair::before {
    background: linear-gradient(90deg, #e05d1a, #d97706, #f59e0b);
}

.day-pick__badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.day-pick__content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.day-pick__emoji {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.day-pick__info {
    flex: 1;
    min-width: 0;
}

.day-pick__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    display: block;
}

.day-pick__dates {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
}

.day-pick__descr {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.1rem;
}

.day-pick__arrow {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.day-pick:hover .day-pick__arrow {
    transform: translateX(4px);
}

/* --- Elements Grid (Совместимость по стихиям) --- */
.home-elements__intro {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.elements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.element-card {
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    transition: all 0.25s;
    border: 1px solid transparent;
}

.element-card--fire {
    background: rgba(224,93,26,0.05);
    border-color: rgba(224,93,26,0.12);
}

.element-card--earth {
    background: rgba(90,158,22,0.05);
    border-color: rgba(90,158,22,0.12);
}

.element-card--air {
    background: rgba(8,145,178,0.05);
    border-color: rgba(8,145,178,0.12);
}

.element-card--water {
    background: rgba(37,99,235,0.05);
    border-color: rgba(37,99,235,0.12);
}

.element-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.element-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.element-card__emoji {
    font-size: 1.4rem;
}

.element-card__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.element-card--fire .element-card__name { color: var(--fire); }
.element-card--earth .element-card__name { color: var(--earth); }
.element-card--air .element-card__name { color: var(--air); }
.element-card--water .element-card__name { color: var(--water); }

.element-card__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.element-card__signs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.element-card__sign {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s;
    background: rgba(255,255,255,0.7);
    color: var(--text-secondary);
    border: 1px solid rgba(0,0,0,0.06);
}

.element-card__sign:hover {
    transform: translateY(-1px);
    color: var(--accent);
    border-color: var(--accent);
}

/* --- Collections Grid --- */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.collection-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    transition: all 0.25s;
}

.collection-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.collection-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.collection-card__emoji {
    font-size: 1.3rem;
}

.collection-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.collection-card__items {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.collection-card__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.collection-card__item:hover {
    background: var(--bg-accent);
    color: inherit;
}

.collection-card__rank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-accent);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.collection-card__sign {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* --- Heatmap Table (12x12) --- */
.home-heatmap__intro {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.heatmap-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.heatmap-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    text-align: center;
    min-width: 620px;
}

.heatmap-table th {
    padding: 0.4rem 0.25rem;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1;
}

.heatmap-table td {
    padding: 0;
    border: 1px solid rgba(109,70,209,0.06);
    position: relative;
}

.heatmap-table td a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0.35rem 0.2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.72rem;
    transition: all 0.15s;
    border-radius: 2px;
}

.heatmap-table td a:hover {
    transform: scale(1.2);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hm-5 { background: rgba(22,163,74,0.18); }
.hm-5 a { color: #15803d; }
.hm-4 { background: rgba(22,163,74,0.10); }
.hm-4 a { color: #16a34a; }
.hm-3 { background: rgba(217,119,6,0.10); }
.hm-3 a { color: #b45309; }
.hm-2 { background: rgba(220,38,38,0.08); }
.hm-2 a { color: #dc2626; }
.hm-1 { background: rgba(220,38,38,0.15); }
.hm-1 a { color: #b91c1c; }

/* --- FAQ Accordion --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s;
}

.faq-item__question:hover {
    color: var(--accent);
}

.faq-item__chevron {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item__question[aria-expanded="true"] .faq-item__chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item__answer.is-open {
    max-height: 300px;
    padding-bottom: 1rem;
}

details.faq-item[open] .faq-item__answer {
    max-height: 500px;
    padding-bottom: 1rem;
}

.faq-item__answer p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* --- Social Proof Bar --- */
.home-social-proof {
    margin-bottom: 1.5rem;
}

.social-proof__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(109,70,209,0.06), rgba(124,93,250,0.03));
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.social-proof__icon {
    font-size: 1.3rem;
}

.social-proof__inner strong {
    color: var(--accent);
    font-weight: 700;
}

/* --- Elements Grid (Совместимость по стихиям) --- */
.home-elements__intro {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.elements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.element-card {
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    transition: all 0.25s;
    border: 1px solid transparent;
}

.element-card--fire { background: rgba(224,93,26,0.05); border-color: rgba(224,93,26,0.12); }
.element-card--earth { background: rgba(90,158,22,0.05); border-color: rgba(90,158,22,0.12); }
.element-card--air { background: rgba(8,145,178,0.05); border-color: rgba(8,145,178,0.12); }
.element-card--water { background: rgba(37,99,235,0.05); border-color: rgba(37,99,235,0.12); }

.element-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.element-card__header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.element-card__emoji { font-size: 1.4rem; }
.element-card__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }

.element-card--fire .element-card__name { color: var(--fire); }
.element-card--earth .element-card__name { color: var(--earth); }
.element-card--air .element-card__name { color: var(--air); }
.element-card--water .element-card__name { color: var(--water); }

.element-card__desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.75rem; }

.element-card__signs { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.element-card__sign {
    font-size: 0.8rem; font-weight: 500; padding: 0.3rem 0.65rem;
    border-radius: 999px; text-decoration: none; transition: all 0.2s;
    background: rgba(255,255,255,0.7); color: var(--text-secondary);
    border: 1px solid rgba(0,0,0,0.06);
}
.element-card__sign:hover { transform: translateY(-1px); color: var(--accent); border-color: var(--accent); }

/* --- Collections Grid --- */
.collections-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.collection-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 1.25rem; transition: all 0.25s;
}
.collection-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-glow); }

.collection-card__header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.85rem; }
.collection-card__emoji { font-size: 1.3rem; }
.collection-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--text-primary); }

.collection-card__items { display: flex; flex-direction: column; gap: 0.4rem; }

.collection-card__item {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.4rem 0.6rem; border-radius: var(--radius-sm);
    text-decoration: none; color: inherit; transition: background 0.2s;
}
.collection-card__item:hover { background: var(--bg-accent); color: inherit; }

.collection-card__rank {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--bg-accent); color: var(--accent);
    font-size: 0.72rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.collection-card__sign { font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); }

/* --- Heatmap Table (12x12) --- */
.home-heatmap__intro { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }

.heatmap-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.heatmap-table {
    width: 100%; border-collapse: collapse; font-size: 0.75rem;
    text-align: center; min-width: 620px;
}
.heatmap-table th { padding: 0.4rem 0.25rem; font-weight: 600; font-size: 1.2rem; line-height: 1; }
.heatmap-table td { padding: 0; border: 1px solid rgba(109,70,209,0.06); position: relative; }

.heatmap-table td a {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; padding: 0.35rem 0.2rem;
    text-decoration: none; font-weight: 600; font-size: 0.72rem;
    transition: all 0.15s; border-radius: 2px;
}
.heatmap-table td a:hover { transform: scale(1.2); z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

.hm-5 { background: rgba(22,163,74,0.18); } .hm-5 a { color: #15803d; }
.hm-4 { background: rgba(22,163,74,0.10); } .hm-4 a { color: #16a34a; }
.hm-3 { background: rgba(217,119,6,0.10); } .hm-3 a { color: #b45309; }
.hm-2 { background: rgba(220,38,38,0.08); } .hm-2 a { color: #dc2626; }
.hm-1 { background: rgba(220,38,38,0.15); } .hm-1 a { color: #b91c1c; }

/* --- Sign Finder Test --- */
.sign-test__subtitle {
    font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.25rem;
}

.sign-test__form {
    display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
}

.sign-test__input-wrap { flex: 1; min-width: 200px; }

.sign-test__label {
    display: block; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--text-muted); margin-bottom: 0.4rem;
}

.sign-test__input {
    width: 100%; padding: 0.7rem 1rem; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font-body);
    background: var(--bg-card); color: var(--text-primary); transition: border-color 0.2s;
}
.sign-test__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

.sign-test__btn {
    padding: 0.7rem 1.5rem; border: none; border-radius: var(--radius-sm);
    background: var(--accent); color: #fff; font-size: 0.95rem;
    font-weight: 600; cursor: pointer; transition: all 0.2s;
    box-shadow: 0 3px 12px rgba(109,70,209,0.25); white-space: nowrap;
}
.sign-test__btn:hover { background: #5b3ac7; transform: translateY(-2px); box-shadow: 0 5px 16px rgba(109,70,209,0.35); }

.sign-test__result {
    margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
}

.sign-test__result--animate { animation: sign-test-reveal 0.5s ease-out; }

@keyframes sign-test-reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.sign-test__card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.25rem; background: var(--bg-accent);
    border-radius: var(--radius-sm); margin-bottom: 1rem;
}

.sign-test__emoji { font-size: 3rem; line-height: 1; flex-shrink: 0; }

.sign-test__info { display: flex; flex-direction: column; gap: 0.15rem; }

.sign-test__name {
    font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem;
    color: var(--text-primary);
}
.sign-test__dates { font-size: 0.82rem; color: var(--text-muted); }
.sign-test__element {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--accent);
}
.sign-test__descr { font-size: 0.88rem; color: var(--text-secondary); margin-top: 0.15rem; }

.sign-test__link {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.6rem 1.5rem; border-radius: 999px; font-size: 0.9rem;
    font-weight: 600; color: #fff; background: var(--accent);
    text-decoration: none; transition: all 0.2s;
    box-shadow: 0 3px 12px rgba(109,70,209,0.25);
}
.sign-test__link:hover { background: #5b3ac7; transform: translateY(-2px); color: #fff; }

/* --- Love Quiz --- */
.love-quiz__subtitle {
    font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.25rem;
}

.love-quiz__progress {
    height: 6px; background: var(--bg-secondary); border-radius: 3px;
    margin-bottom: 1.25rem; overflow: hidden;
}

.love-quiz__bar {
    height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px; transition: width 0.4s ease;
}

.love-quiz__question {
    font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600;
    color: var(--text-primary); margin-bottom: 1rem;
}

.love-quiz__options {
    display: flex; flex-direction: column; gap: 0.5rem;
}

.love-quiz__opt {
    display: block; width: 100%; text-align: left;
    padding: 0.85rem 1.25rem; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg-card);
    font-size: 0.92rem; color: var(--text-secondary); cursor: pointer;
    transition: all 0.2s; font-family: var(--font-body);
}

.love-quiz__opt:hover {
    border-color: var(--accent); color: var(--text-primary);
    background: var(--bg-accent); transform: translateX(4px);
}

.love-quiz__opt--selected {
    border-color: var(--accent); background: rgba(109,70,209,0.12);
    color: var(--accent); font-weight: 600;
}

.love-quiz__result {
    display: none; flex-direction: column; align-items: center;
    text-align: center; gap: 1rem; padding: 1rem 0;
}

.love-quiz__score-circle {
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; box-shadow: 0 4px 20px rgba(109,70,209,0.25);
}

.love-quiz__score-number {
    font-family: var(--font-heading); font-size: 2.2rem;
    font-weight: 800; color: #fff; line-height: 1;
}

.love-quiz__score-label {
    font-size: 0.8rem; color: rgba(255,255,255,0.8); font-weight: 600;
}

.love-quiz__verdict {
    font-family: var(--font-heading); font-size: 1.3rem;
    font-weight: 700; color: var(--text-primary);
}

.love-quiz__advice {
    font-size: 0.92rem; color: var(--text-secondary);
    max-width: 500px; line-height: 1.6;
}

.love-quiz__actions {
    display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
}

.love-quiz__restart {
    padding: 0.6rem 1.25rem; border: 1px solid var(--border);
    border-radius: 999px; background: var(--bg-card); color: var(--text-secondary);
    font-size: 0.88rem; font-weight: 600; cursor: pointer;
    transition: all 0.2s; font-family: var(--font-body);
}
.love-quiz__restart:hover { border-color: var(--accent); color: var(--accent); }

.love-quiz__cta {
    padding: 0.6rem 1.25rem; border-radius: 999px;
    background: var(--accent); color: #fff; font-size: 0.88rem;
    font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.love-quiz__cta:hover { background: #5b3ac7; color: #fff; transform: translateY(-1px); }

/* Zodiac Ring — 4×3 grid */
.zodiac-ring {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.zodiac-ring__sign {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 1rem 0.5rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    box-shadow: var(--shadow);
}

.zodiac-ring__sign:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent);
    color: inherit;
}

.zodiac-ring__sign.element--fire:hover { border-color: var(--fire); box-shadow: 0 4px 20px rgba(224, 93, 26, 0.15); }
.zodiac-ring__sign.element--earth:hover { border-color: var(--earth); box-shadow: 0 4px 20px rgba(90, 158, 22, 0.15); }
.zodiac-ring__sign.element--air:hover { border-color: var(--air); box-shadow: 0 4px 20px rgba(8, 145, 178, 0.15); }
.zodiac-ring__sign.element--water:hover { border-color: var(--water); box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15); }

.zodiac-ring__emoji {
    font-size: 2rem;
    line-height: 1;
}

.zodiac-ring__name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.zodiac-ring__dates {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* --- 2. Section Cards --- */
.home-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    margin-bottom: 1.5rem;
}

.home-section-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.home-section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.home-section-card--compat::before { background: linear-gradient(90deg, #e05d1a, #d97706, #e05d1a); }
.home-section-card--zodiac::before { background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent)); }
.home-section-card--eastern::before { background: linear-gradient(90deg, #dc2626, #f59e0b, #dc2626); }

.home-section-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
    color: inherit;
}

.home-section-card__icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.home-section-card__body {
    flex: 1;
}

.home-section-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.home-section-card__desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.home-section-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.home-section-card__arrow {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    transition: transform 0.2s;
}

.home-section-card:hover .home-section-card__arrow {
    transform: translateX(4px);
}

/* --- 3. Topic Grid --- */
.home-topics .topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.home-topics .topic-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.home-topics .topic-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: inherit;
}

.home-topics .topic-card__icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-accent);
}

.home-topics .topic-card__body {
    flex: 1;
    min-width: 0;
}

.home-topics .topic-card__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: block;
}

.home-topics .topic-card__desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.15rem;
}

.home-topics .topic-card__arrow {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.home-topics .topic-card:hover .topic-card__arrow {
    transform: translateX(3px);
}

/* --- 4. Sign Grid --- */
.sign-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.sign-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
}

.sign-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: inherit;
}

.sign-card__emoji {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.sign-card__info {
    flex: 1;
    min-width: 0;
}

.sign-card__name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.sign-card__dates {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sign-card__descr {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.sign-card .element-badge {
    flex-shrink: 0;
    font-size: 0.65rem;
}

/* --- 5. Pairs Grid --- */
.pairs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.pair-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    font-size: 0.9rem;
}

.pair-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: inherit;
}

.pair-card__sign {
    font-weight: 500;
    white-space: nowrap;
}

.pair-card__heart {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: transform 0.3s, opacity 0.3s;
}

.pair-card:hover .pair-card__heart {
    transform: scale(1.3);
    opacity: 1;
}

/* --- 6. SEO Text --- */
.home-seo__text p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.home-seo__more {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.home-seo__more.is-open {
    max-height: 500px;
}

.home-seo__toggle {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: opacity 0.2s;
}

.home-seo__toggle:hover {
    opacity: 0.7;
}

/* --- Homepage Responsive --- */
@media (max-width: 900px) {
    .zodiac-ring {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-sections {
        grid-template-columns: 1fr;
    }

    .home-topics .topic-grid {
        grid-template-columns: 1fr;
    }

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

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

    .home-day-picks {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 600px) {
    .home-hero {
        padding: 2rem 1rem 1rem;
    }

    .home-hero__title {
        font-size: 1.75rem;
    }

    .home-hero__subtitle {
        font-size: 0.95rem;
    }

    .home-hero__stats {
        gap: 1rem;
    }

    .hero-stat__number {
        font-size: 1.5rem;
    }

    .zodiac-ring {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .zodiac-ring__sign {
        padding: 0.75rem 0.25rem;
    }

    .zodiac-ring__emoji {
        font-size: 1.5rem;
    }

    .zodiac-ring__name {
        font-size: 0.75rem;
    }

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

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

    .pair-card {
        font-size: 0.85rem;
    }

    .heatmap-table th {
        font-size: 0.95rem;
    }

    .faq-item__question {
        font-size: 0.9rem;
        padding: 0.9rem 0;
    }

    .social-proof__inner {
        border-radius: var(--radius);
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   Zodiak Hub — new blocks
   ============================================ */

/* --- SEO Intro --- */
.zodiak-intro__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* --- Card upgrade: teasers & quick links --- */
.card--zodiak-hub {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.card--zodiak-hub:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.card__main-link {
    display: block;
    padding: 1.25rem 1.25rem 0.5rem;
    text-decoration: none;
    color: inherit;
}

.card__teaser {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.5rem;
}

.card__quick-links {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    flex-wrap: wrap;
}

.card__quick-link {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    text-decoration: none;
    background: var(--bg-accent);
    color: var(--accent);
    border: 1px solid transparent;
    transition: all 0.2s;
}
.card__quick-link:hover {
    background: var(--accent);
    color: #fff;
}

.card__footer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.card__footer-link:hover {
    color: var(--accent);
}

/* --- Знак дня --- */
.zodiak-day-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(109,70,209,0.06), rgba(124,93,250,0.04));
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.zodiak-day-card__emoji {
    font-size: 3.5rem;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
}

.zodiak-day-card__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.zodiak-day-card__dates {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.zodiak-day-card__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.5rem 0 0.75rem;
}

/* --- Tabs (Popular Articles) --- */
.zodiak-tabs__nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
    overflow-x: auto;
}

.zodiak-tabs__btn {
    padding: 0.5rem 1.25rem;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: all 0.2s;
    white-space: nowrap;
}
.zodiak-tabs__btn:hover {
    color: var(--accent);
    background: var(--bg-accent);
}
.zodiak-tabs__btn--active {
    color: var(--accent);
    background: var(--bg-accent);
    border-bottom: 2px solid var(--accent);
    margin-bottom: -2px;
}

.zodiak-tabs__panel {
    display: none;
}
.zodiak-tabs__panel--active {
    display: block;
}

.zodiak-tabs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.zodiak-tabs__card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.2s;
    font-size: 0.85rem;
}
.zodiak-tabs__card:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(109,70,209,0.08);
    color: var(--accent);
}

.zodiak-tabs__card-emoji {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.zodiak-tabs__card-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.zodiak-tabs__card-text small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- Sign Finder Test --- */
.home-sign-test {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.sign-test__form {
    margin-top: 1rem;
}

.sign-test__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.sign-test__row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.sign-test__input {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    transition: border-color 0.2s;
}
.sign-test__input:focus {
    outline: none;
    border-color: var(--accent);
}

.sign-test__result {
    margin-top: 1rem;
}

.sign-test__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: var(--radius-sm);
}

.sign-test__card-emoji {
    font-size: 2.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
}

.sign-test__card-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.sign-test__card-info strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}
.sign-test__card-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Love Quiz (home) --- */
.home-love-quiz {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.love-quiz__progress {
    height: 6px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.love-quiz__bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.love-quiz__question h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.love-quiz__answers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.love-quiz__answer {
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-family: var(--font-body);
    color: var(--text-primary);
}
.love-quiz__answer:hover {
    border-color: var(--accent);
    background: var(--bg-accent);
}

.love-quiz__result {
    text-align: center;
    padding: 1rem 0;
}

.love-quiz__score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #9b59b6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}
.love-quiz__score-circle small {
    font-size: 0.8rem;
    font-weight: 400;
    display: block;
}

.love-quiz__verdict {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.love-quiz__result p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.love-quiz__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Keyframe for animated results */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive for new zodiak blocks --- */
@media (max-width: 768px) {
    .zodiak-day-card {
        flex-direction: column;
        text-align: center;
    }

    .zodiak-tabs__grid {
        grid-template-columns: 1fr;
    }

    .sign-test__row {
        flex-direction: column;
    }

    .card__quick-links {
        padding: 0.5rem 0.75rem;
    }
}

/* ============================================
   Sovmestimost Hub — new blocks
   ============================================ */

/* --- SEO Intro --- */
.sovmestimost-intro__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* --- Compatibility Calculator --- */
.compat-calc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.compat-calc__row {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    justify-content: center;
}

.compat-calc__field {
    flex: 1;
    max-width: 280px;
}

.compat-calc__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.compat-calc__select {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236d46d1' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}
.compat-calc__select:focus {
    outline: none;
    border-color: var(--accent);
}

.compat-calc__heart {
    font-size: 1.8rem;
    padding-bottom: 0.3rem;
    flex-shrink: 0;
}

.compat-calc__result {
    margin-top: 1.25rem;
}

.compat-calc__message {
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-align: center;
}

.compat-calc__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
}
.compat-calc__card.compat--high { background: rgba(39,174,96,0.08); }
.compat-calc__card.compat--medium { background: rgba(243,156,18,0.08); }
.compat-calc__card.compat--low { background: rgba(231,76,60,0.08); }

.compat-calc__card-emojis {
    font-size: 2rem;
}

.compat-calc__card-pct {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
}
.compat-calc__card-pct.compat--high { color: #27ae60; }
.compat-calc__card-pct.compat--medium { color: #f39c12; }
.compat-calc__card-pct.compat--low { color: #e74c3c; }

.compat-calc__card-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- Top-5 Pairs --- */
.top-pairs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.top-pair-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.25rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    text-align: center;
}
.top-pair-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.top-pair-card__rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #9b59b6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
}

.top-pair-card__emojis {
    font-size: 1.5rem;
}

.top-pair-card__names {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.top-pair-card__pct {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: #27ae60;
}

/* --- Element Compatibility --- */
.element-compat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.element-compat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    transition: all 0.25s;
}
.element-compat-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.element-compat-card__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.element-compat-card__emoji {
    font-size: 1.8rem;
}

.element-compat-card__plus {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.element-compat-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.element-compat-card__desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Responsive for sovmestimost new blocks --- */
@media (max-width: 768px) {
    .compat-calc__row {
        flex-direction: column;
        align-items: stretch;
    }

    .compat-calc__field {
        max-width: none;
    }

    .compat-calc__heart {
        text-align: center;
    }

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

    .element-compat-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   Pair Hub — CTA Navigation Cards
   ============================================== */
.pair-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.pair-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background: #fff;
    border: 2px solid rgba(109, 70, 209, 0.15);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.pair-cta-card:hover {
    border-color: #6d46d1;
    box-shadow: 0 8px 24px rgba(109, 70, 209, 0.18);
    transform: translateY(-4px);
}

.pair-cta-card__icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pair-cta-card__gender {
    font-size: 1.2rem;
    font-weight: 700;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pair-cta-card__gender--m {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.pair-cta-card__gender--f {
    background: rgba(236, 72, 153, 0.12);
    color: #ec4899;
}

.pair-cta-card__emoji {
    font-size: 2rem;
}

.pair-cta-card__plus {
    font-size: 1.2rem;
    color: #888;
    font-weight: 300;
}

.pair-cta-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.pair-cta-card__subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.pair-cta-card__btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: linear-gradient(135deg, #6d46d1, #8b5cf6);
    color: #fff;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(109, 70, 209, 0.25);
}

.pair-cta-card:hover .pair-cta-card__btn {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(109, 70, 209, 0.4);
}

/* Subpage Links */
.pair-subpage-link {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(109, 70, 209, 0.06);
    color: #6d46d1;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.pair-subpage-link:hover {
    background: rgba(109, 70, 209, 0.12);
}

/* Pair Comparison Table */
.pair-compare__table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.pair-compare__table thead th {
    background: rgba(109, 70, 209, 0.06);
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    border-bottom: 2px solid rgba(109, 70, 209, 0.1);
}

.pair-compare__table thead th:first-child {
    text-align: left;
}

.pair-compare__table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(109, 70, 209, 0.06);
    font-size: 0.95rem;
}

.pair-compare__table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #666;
}

.pair-compare__table tbody tr:last-child td {
    border-bottom: none;
}

.pair-compare__table tbody tr:hover {
    background: rgba(109, 70, 209, 0.03);
}

/* Responsive */
@media (max-width: 600px) {
    .pair-cta-grid {
        grid-template-columns: 1fr;
    }

    .pair-cta-card {
        padding: 1.5rem 1rem;
    }

    .pair-cta-card__emoji {
        font-size: 1.6rem;
    }
}