@import url('/fonts/tildasans.css'); @import url('/css/fonts.css'); @property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-play {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(79, 107, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0);
    }
}

@keyframes scan-line {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes progress-fill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px var(--primary));
    }

    50% {
        filter: drop-shadow(0 0 25px var(--premium));
    }
}

@keyframes strong-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(79, 107, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse-opacity {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-record {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 79, 79, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 79, 79, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 79, 79, 0);
    }
}

.btn:active {
    transform: translateY(1px);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.35);
}

.btn-rounded-lg {
    border-radius: 30px;
    padding: 14px 40px;
    border-color: rgba(79, 107, 255, 0.5);
}

.btn-apply-promo {
    width: 100%;
    padding: 14px;
    margin-top: 0.5rem;
}

.online-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #17abaa21;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 7px 14px 7px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgb(255 255 255);
    margin-bottom: 1rem;
    letter-spacing: 0.005em;
}

.online-counter #online-users {
    font-weight: 900;
    font-size: 1rem;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.online-dot {
    position: relative;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffffff, 0 0 0 2px rgba(52, 211, 153, 0.18);
    flex-shrink: 0;
}

.online-dot::before, .online-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(52, 211, 153, 0.55);
    animation: radar-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.online-dot::after {
    animation-delay: 0.9s;
}

@keyframes radar-ping {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    80%, 100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-control option {
    background: var(--bg-color);
    color: #fff;
}

@keyframes pulse-interim {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(79, 107, 255, 0.2);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0.2);
        transform: scale(1);
    }
}

.compact-video-reviews-section {
    padding: 2.5rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.compact-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.compact-video-card {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    user-select: none;
}

.compact-video-card:hover {
    border-color: rgba(79, 107, 255, 0.5);
    box-shadow: 0 4px 18px rgba(79, 107, 255, 0.18);
    transform: translateY(-2px);
}

.compact-video-thumb {
    position: relative;
    width: 88px;
    height: 62px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    overflow: hidden;
}

.compact-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.25s;
}

.compact-video-card:hover .compact-video-thumb img {
    opacity: 1;
}

.compact-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compact-video-play svg {
    position: relative;
    z-index: 1;
    width: 12px;
    height: 12px;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}

.compact-video-play::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(79, 107, 255, 0.8);
    border-radius: 50%;
    transition: background 0.25s, transform 0.25s;
}

.compact-video-card:hover .compact-video-play::before {
    background: var(--primary);
    transform: scale(1.12);
}

.compact-video-info {
    padding: 0 0.875rem;
    min-width: 0;
    flex: 1;
}

.compact-video-author {
    display: block;
    color: #fff;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.compact-video-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-top: 3px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .compact-video-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .compact-video-grid {
        grid-template-columns: 1fr;
    }
}

.price-list li.disabled {
    color: rgba(255,255,255,0.3);
}

.price-list li.disabled svg {
    color: rgba(255,255,255,0.2);
}

.faq-item summary {
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

@media (max-width: 600px) {
    .video-reviews-grid {
        grid-template-columns: 1fr;
    }
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-search-section {
    padding: 0 2rem;
    margin-bottom: 3.5rem;
    z-index: 10;
}

.blog-search-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.blog-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.25s, color 0.25s;
}

.blog-search-wrap:focus-within .blog-search-icon {
    opacity: 1;
    color: var(--primary);
}

.blog-search-input {
    width: 100%;
    padding: 14px 14px 14px 48px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    background: rgba(12, 16, 32, 0.55);
    border-radius: 5px;
    background: #191c2a;
    border: none;
    border-bottom: 3px solid #10121a;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    outline: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.blog-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.blog-search-hint {
    display: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    gap: 6px;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.5;
    pointer-events: none;
}

.blog-search-hint kbd {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.68rem;
    line-height: 1.4;
}

.blog-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 30, 0.92);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(79,107,255,0.08);
    max-height: 420px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    scrollbar-width: thin;
    scrollbar-color: rgba(79,107,255,0.2) transparent;
}

.blog-search-results.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bsr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-main);
    transition: background 0.15s, transform 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.bsr-item:last-of-type {
    border-bottom: none;
}

.bsr-item:first-child {
    border-radius: 16px 16px 0 0;
}

.bsr-item:hover {
    background: rgba(79, 107, 255, 0.08);
}

.bsr-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(79, 107, 255, 0.08);
}

.bsr-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bsr-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bsr-info {
    flex: 1;
    min-width: 0;
}

.bsr-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.bsr-title mark {
    background: rgba(79, 107, 255, 0.25);
    color: inherit;
    border-radius: 2px;
    padding: 0 2px;
}

.bsr-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 0.76rem;
    color: var(--text-muted);
}

.bsr-cat {
    padding: 1px 7px;
    background: rgba(79, 107, 255, 0.12);
    border-radius: 6px;
    font-size: 0.7rem;
    color: var(--primary-hover);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bsr-all {
    display: block;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.06);
    transition: background 0.15s;
    border-radius: 0 0 16px 16px;
}

.bsr-all:hover {
    background: rgba(79, 107, 255, 0.06);
}

.bsr-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.bsr-empty svg {
    opacity: 0.4;
    flex-shrink: 0;
}

.blog-search-status {
    text-align: center;
    padding: 12px 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.blog-search-status strong {
    color: var(--text-main);
}

.blog-search-clear {
    display: inline-block;
    margin-left: 12px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.82rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.blog-search-clear:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .blog-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-categories-section {
        padding: 30px 1.5rem 15px;
    }

    .blog-categories-nav {
        gap: 0.5rem;
    }

    .blog-category-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .blog-search-section {
        padding: 0 1rem;
    }

    .blog-search-input {
        padding: 12px 12px 12px 42px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .blog-search-results {
        border-radius: 12px;
    }

    .bsr-thumb {
        width: 44px;
        height: 44px;
    }

    .blog-grid-section {
        padding: 0 1.5rem 60px;
    }

    .blog-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .gift-widget {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.price-features li {
    padding: .4rem 0;
    font-size: .9rem;
    color: #d1d5e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li::before {
    content: "+";
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform .3s;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 12, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(145deg, rgba(10, 13, 28, 0.98) 0%, rgba(6, 9, 20, 0.99) 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    border: none;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(79, 107, 255, 0.1);
    position: relative;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 107, 255, 0.6), transparent);
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgb(100 111 169 / 15%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close {
    background: rgba(79, 107, 255, 0.1);
    border: 1px solid rgba(79, 107, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(79, 107, 255, 0.2);
    border-color: rgba(79, 107, 255, 0.4);
    color: #fff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(79, 107, 255, 0.15);
    background: rgba(79, 107, 255, 0.03);
    gap: 10px;
    display: flex;
}

.form-group-modal label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-group-modal input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(79, 107, 255, 0.08);
    border: 1px solid rgba(79, 107, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group-modal input:focus {
    outline: none;
    border-color: rgba(79, 107, 255, 0.5);
    background: rgba(79, 107, 255, 0.12);
    box-shadow: 0 0 20px rgba(79, 107, 255, 0.15);
}

.form-group-modal input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.payment-summary {
    background: linear-gradient(145deg, rgba(79, 107, 255, 0.08) 0%, rgba(45, 65, 160, 0.12) 100%);
    border: 1px solid rgba(79, 107, 255, 0.25);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.payment-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 107, 255, 0.6), transparent);
}

.payment-summary-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.payment-summary-info {
    flex: 1;
    min-width: 0;
}

.payment-plan-name {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.payment-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.payment-price.strikethrough {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.payment-final-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #4ade80;
    line-height: 1.2;
    display: none;
}

.payment-discount {
    font-size: 0.82rem;
    color: #4ade80;
    margin-top: 0.4rem;
    display: none;
    align-items: center;
    gap: 0.35rem;
}

.payment-discount svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.payment-change-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.payment-change-plan:hover {
    background: rgba(79, 107, 255, 0.12);
    border-color: rgba(79, 107, 255, 0.3);
    color: var(--primary);
}

.plan-tab {
    flex: 1;
    padding: 10px 16px;
    background: none;
    border: none;
    border-radius: 10px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.plan-tab svg {
    opacity: 0.5;
    transition: opacity 0.25s;
    flex-shrink: 0;
}

.plan-tab:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.04);
}

.plan-tab:hover svg {
    opacity: 0.8;
}

.plan-tab.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(79,107,255,0.25), rgba(139,92,246,0.18));
    border: 1px solid rgba(79,107,255,0.3);
    box-shadow: 0 2px 12px rgba(79,107,255,0.15);
}

.plan-tab.active svg {
    opacity: 1;
    stroke: var(--primary);
}

.plan-tabs--page {
    margin: 0 auto 2rem;
    max-width: 400px;
}

/* Вкладки «Разовая / Пакеты» в модалке выбора тарифа:
   были встык к краям (block, без отступов) — выравниваем по линии контента (24px),
   делаем flex 50/50 и добавляем внутренний padding под скруглённую обёртку. */
#modal-choose-plan .plan-tabs {
    display: flex;
    gap: 6px;
    margin: 14px 24px 4px;
    padding: 5px;
}

.sub-balance-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 1.5rem;
    background: linear-gradient(135deg, rgba(74,222,128,0.08), rgba(79,107,255,0.06));
    border-bottom: 1px solid rgba(74,222,128,0.15);
}

.sub-balance-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #4ade80;
    font-weight: 500;
}

.btn-sub-use {
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.btn-sub-use:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79,107,255,0.3);
}

.modal-plans {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-plan-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(79, 107, 255, 0.18);
    border-radius: 14px;
    padding: 1.1rem 1rem;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    flex: 1;
    font-family: inherit;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.modal-plan-card:hover {
    border-color: rgba(79, 107, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(79, 107, 255, 0.15);
}

.modal-plan-card.modal-plan-popular {
    border-color: var(--primary);
    background: rgba(79, 107, 255, 0.08);
    box-shadow: 0 0 20px rgba(79, 107, 255, 0.15);
}

.modal-plan-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.04em;
}

.modal-plan-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    line-height: 1.1;
    text-align: left;
}

.modal-plan-card.modal-plan-popular .modal-plan-price {
    color: var(--primary);
}

.modal-plan-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.4;
    margin-bottom: 0.6rem;
    text-align: left;
}

.modal-plan-card .plan-features {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.modal-plan-card .plan-features li {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.modal-plan-card .plan-features li::before {
    content: '+';
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.modal-plan-badge {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    font-size: 0.62rem;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(79, 107, 255, 0.25);
    color: var(--primary);
    border: 1px solid rgba(79, 107, 255, 0.4);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.6;
}

.modal-plan-badge-premium {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.4);
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-play {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(79, 107, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0);
    }
}

@keyframes scan-line {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes progress-fill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px var(--primary));
    }

    50% {
        filter: drop-shadow(0 0 25px var(--premium));
    }
}

@keyframes strong-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(79, 107, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse-opacity {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-record {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 79, 79, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 79, 79, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 79, 79, 0);
    }
}

/* ============================================================
DESIGN TOKENS single source of truth
Consolidated from two previous :root blocks. Color values come
from the effective cascade (the second block at former line 9291).
NEW additions: button sizes, radius, spacing, typography scales.
============================================================ */
:root {
    /* --- Background & surfaces --- */
    --bg-color: #010204;
    --bg-color-2: #0b0e1c;
    --bg-elevated: #10142b;
    --card-bg: rgba(14, 18, 38, 0.6);
    --card-bg-solid: #0e1226;
    /* --- Text --- */
    --text-main: #f5f6fb;
    --text-muted: #c4c6cd;
    --text-dim: #60657a;
    /* --- Borders & glass --- */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(141, 160, 255, 0.18);
    --glass-blur: 12px;
    /* --- Semantic colors --- */
    --primary: #5b7cff;
    --primary-hover: #7894ff;
    --accent: #22d3ee;
    --accent-violet: #a78bfa;
    --danger: #fb7185;
    --success: #34d399;
    --premium: #c084fc;
    /* --- Button sizing scale (new) --- */
    --btn-h-sm: 32px;
    --btn-h-md: 44px;
    --btn-h-lg: 56px;
    --btn-h-hero: 64px;
    --btn-px-sm: 12px;
    --btn-px-md: 20px;
    --btn-px-lg: 28px;
    --btn-px-hero: 32px;
    /* --- Radius scale --- */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;
    /* --- Shadows --- */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.4);
    /* --- Spacing scale --- */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-8: 48px;
    --space-10: 64px;
    --space-12: 96px;
    /* --- Typography --- */
   
    --font-sans: 'Onest', 'Manrope', 'TildaSans', system-ui, sans-serif;
    --font-display: 'TTFirsNeue', 'Onest', 'Manrope', 'TildaSans', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-md: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-hero: clamp(2rem, 5vw, 3.5rem);
    /* --- Motion --- */
    --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --duration-fast: 0.15s;
    --duration-md: 0.3s;
    --duration-slow: 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'TildaSans', sans-serif;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 200;
    transition: top 0.3s;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

section {
    padding: 80px 3rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

img, svg, canvas {
    max-width: 100%;
}

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
}

.article-bg-stars {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #0c1430 0%, #050817 55%, #02030a 100%);
}

body:has(.article-bg-stars) .stars-container {
    display: none;
}

.article-bg-stars__parallax {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.article-bg-stars__layer {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    will-change: transform;
}

.article-bg-stars__dot {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
    .article-bg-stars__parallax, .article-bg-stars__layer {
        will-change: auto;
    }
}

.stars {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(1.5px 1.5px at 20px 30px, #ffffff, rgba(0,0,0,0)), radial-gradient(1.5px 1.5px at 140px 70px, rgba(255,255,255,0.8), rgba(0,0,0,0)), radial-gradient(2px 2px at 90px 140px, #ffffff, rgba(0,0,0,0)), radial-gradient(1px 1px at 260px 120px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1.5px 1.5px at 350px 40px, #ffffff, rgba(0,0,0,0)), radial-gradient(2px 2px at 500px 180px, #ffffff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 800px 400px;
    opacity: 0.5;
}

.glow-bg {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(45, 65, 160, 0.2) 0%, rgba(3, 4, 12, 0) 60%);
}

.center-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(79, 107, 255, 0), rgba(79, 107, 255, 0.15), rgba(79, 107, 255, 0));
    filter: blur(20px);
    z-index: -1;
}

/* Duplicate button rules removed originals at lines 304-406 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: 75vh;
    padding: 60px 3rem 0;
}

.soft-proof {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-bordo::before {
    content: "";
    position: absolute;
    left: -1.5%;
    top: 50%;
    width: 102.5%;
    height: 50%;
    background: linear-gradient(90deg, rgb(40, 55, 210) 0%, rgb(22, 166, 248) 100%), rgb(217, 217, 217);
    border-radius: 0px;
    z-index: -1;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff 0%, #b3c2ff 50%, #1645ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', 'TildaSans', sans-serif;
}

.text-bordo {
    position: relative;
    display: inline-block;
    z-index: 1;
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', 'TildaSans', sans-serif;
}

.form-control {
    width: 100%;
    background: rgba(255,255,255,0.03);
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(79, 107, 255, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.mic-btn:hover, .mic-btn.recording {
    background: var(--primary);
    color: #fff;
}

.mic-btn.recording {
    animation: pulse-record 1.5s infinite;
    background: #ff4f4f;
    border-color: #ff4f4f;
}

.mic-btn.interim {
    background: rgba(91, 124, 255, 0.4);
    border-color: var(--primary);
    animation: pulse-interim 1s infinite;
}

@keyframes pulse-interim {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(79, 107, 255, 0.2);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 107, 255, 0.2);
        transform: scale(1);
    }
}

.animated-border-card {
    position: relative;
    border-radius: 20px;
    z-index: 1;
    isolation: isolate;
    padding: 1px;
    overflow: hidden;
}

.animated-border-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from var(--angle), transparent 75%, var(--primary) 95%, #ffffff 100%);
    z-index: -1;
    animation: spin 4s linear infinite;
    filter: blur(40px);
    opacity: 0.7;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
}

.animated-border-inner {
    position: relative;
    border-radius: 19px;
    padding: 2.5rem;
    width: 100%;
    height: 100%;
    background: #090c1a;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 0 20px rgba(79, 107, 255, 0.05);
    z-index: 2;
}

.stats-wrap {
    position: relative;
}

.stats-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(79, 107, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
    inset: -10% -5%;
    /* background: radial-gradient(ellipse at 20% 40%, rgba(167, 139, 250, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 60%, rgba(96, 165, 250, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 20%, rgba(244, 114, 182, 0.10) 0%, transparent 60%);
	*/
    filter: blur(40px);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.25rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0rem 0 2rem;
    grid-template-columns: repeat(4, 1fr);
    border: 0;
}

.stat-item {
    text-align: center;
    --tint: 167, 139, 250;
    --tint-soft: 124, 92, 255;
    position: relative;
    padding: 1.5rem 1.2rem 1.4rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgb(5 10 42 / 30%) 0%, rgb(12 13 16 / 50%) 100%);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.3s;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: -40% -20% auto auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(var(--tint), 0.25) 0%, transparent 65%);
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--tint), 0.45);
    box-shadow: 0 20px 40px -20px rgba(var(--tint-soft), 0.5), 0 0 0 1px rgba(var(--tint), 0.2);
}

.stat-sticker {
    font-size: 60px;
    line-height: 1;
    margin: 0 auto 0.9rem;
    display: inline-block;
    filter: drop-shadow(0 10px 22px rgba(var(--tint-soft), 0.55)) drop-shadow(0 0 14px rgba(var(--tint), 0.45));
    animation: stat-sticker-wobble 4.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    transform-origin: 50% 85%;
    transition: transform 0.3s;
    will-change: transform;
    user-select: none;
}

.stat-item:hover .stat-sticker {
    animation-duration: 1.6s;
}

.stat-item:nth-child(2) .stat-sticker {
    animation-delay: -0.8s;
}

.stat-item:nth-child(3) .stat-sticker {
    animation-delay: -1.8s;
}

.stat-item:nth-child(4) .stat-sticker {
    animation-delay: -2.8s;
}

@keyframes stat-sticker-wobble {
    0%, 100% {
        transform: rotate(-6deg) translateY(0) scale(1);
    }

    15% {
        transform: rotate(8deg) translateY(-4px) scale(1.05);
    }

    30% {
        transform: rotate(-4deg) translateY(-10px) scale(1.08);
    }

    45% {
        transform: rotate(6deg) translateY(-4px) scale(1.05);
    }

    60% {
        transform: rotate(-3deg) translateY(0) scale(1.02);
    }

    75% {
        transform: rotate(4deg) translateY(-2px) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .stat-sticker {
        animation: none;
    }
}

.stat-num {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff 0%, rgb(var(--tint)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.55rem;
    filter: drop-shadow(0 6px 14px rgba(var(--tint-soft), 0.35));
    line-height: 1.05;
    letter-spacing: -0.01em;
    background-clip: text;
}

.stat-num-sm {
    font-size: 1.3rem;
    font-weight: 700;
    opacity: 0.85;
    margin-left: 2px;
}

.stat-tint-purple {
    --tint: 167, 139, 250;
    --tint-soft: 124, 92, 255;
}

.stat-tint-blue {
    --tint: 96, 165, 250;
    --tint-soft: 59, 130, 246;
}

.stat-tint-pink {
    --tint: 244, 114, 182;
    --tint-soft: 236, 72, 153;
}

.stat-tint-cyan {
    --tint: 34, 211, 238;
    --tint-soft: 14, 165, 233;
}

@keyframes stat-icon-float {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-6px) rotate(4deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .stat-icon {
        animation: none;
    }
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-sticker {
        font-size: 50px;
    }

    .stat-num {
        font-size: 1.5rem;
    }
}

.stats-desc {
    text-align: left;
    color: #cfd4e5;
    max-width: 820px;
    margin: 2.5rem auto 0;
    font-size: 0.98rem;
    line-height: 1.65;
    position: relative;
    padding: 1.25rem 1.5rem 1.25rem 4.75rem;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.09) 0%, rgba(37, 99, 235, 0.04) 100%);
    border-radius: 18px;
    box-shadow: 0 14px 32px -18px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.stats-desc::before {
    content: '!';
    position: absolute;
    left: 1.1rem;
    top: 2.3rem;
    width: 2.5rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1;
    padding-bottom: 2px;
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
    .stats-desc {
        padding: 1.1rem 1.1rem 1.1rem 4rem;
        font-size: 0.92rem;
        margin: 00 auto 0;
    }

    .stats-desc::before {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 1.2rem;
        left: 0.85rem;
        top: 1rem;
    }
}

.animated-report-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    grid-auto-rows: 1fr;
    margin-top: 2.5rem;
}

.report-card {
    background: #fff;
    border-radius: 22px;
    padding: 1.1rem;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.report-card-img {
    flex-shrink: 0;
    width: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.report-card-img > .site-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    aspect-ratio: auto;
    box-shadow: none;
}

.report-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
}

.report-card-body .report-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #1e1e1e;
    letter-spacing: -0.01em;
}

.report-card-body .report-desc {
    color: #3c3c3c;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.report-lock {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
    .animated-report-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .report-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .report-card-img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

.report-card:nth-child(2) .report-icon-wrap {
    animation-delay: 0.5s;
    background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, transparent 70%);
}

.report-card:nth-child(3) .report-icon-wrap {
    animation-delay: 1s;
    background: radial-gradient(circle, rgba(79,255,140,0.2) 0%, transparent 70%);
}

.report-card:nth-child(4) .report-icon-wrap {
    animation-delay: 1.5s;
    background: radial-gradient(circle, rgba(255,79,79,0.2) 0%, transparent 70%);
}

.premium-blur-text {
    filter: blur(5px);
    opacity: 0.5;
    transition: 0.3s;
    user-select: none;
}

.report-card:hover .premium-blur-text {
    filter: blur(2px);
    opacity: 0.8;
    color: var(--primary);
}

.report-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
}

.report-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.doc-line.short {
    width: 60%;
}

.doc-line.title {
    height: 12px;
    width: 80%;
    background: var(--primary);
    margin-bottom: 20px;
}

.video-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
    transition: color 0.3s;
}

.video-modal-close:hover {
    color: var(--primary);
}

.video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: linear-gradient(45deg, #1a1f35, #0a0d1a);
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(79, 107, 255, 0.2);
}

.video-card:hover .play-btn {
    background: #fff;
    color: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.price-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.price-listli.disabled {
    color: rgba(255,255,255,0.3);
}

.price-listli.disabled svg {
    color: rgba(255,255,255,0.2);
}

.price-popular .price-name {
    color: var(--primary);
}

.price-premium .price-name {
    color: var(--premium);
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.price-current {
    align-self: center;
    font-size: 2.7rem;
    font-weight: 700;
    color: #fff;
    margin: 0 5px;
}

.gift-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4f4f, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 997;
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.5);
    animation: float 3s infinite;
}

.scratch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.3s;
}

.scratch-overlay.show {
    display: flex;
    opacity: 1;
}

.scratch-container {
    background: var(--card-bg);
    border: 1px solid var(--premium);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.3);
}

.scratch-area {
    position: relative;
    width: 250px;
    height: 100px;
    margin: 1.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 2px dashed rgba(255,255,255,0.2);
}

.scratch-result {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    background: radial-gradient(circle, rgba(168,85,247,0.4), transparent);
}

#scratch-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: crosshair;
    touch-action: none;
}

.scratch-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.promo-code {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: #fff;
    font-family: monospace;
}

.live-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.live-time {
    font-size: 0.75rem;
    color: var(--success);
}

.exit-popup {
    background: var(--card-bg);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 50px rgba(79, 107, 255, 0.3);
    transform: translateY(-50px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exit-popup-overlay.show .exit-popup {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-item[open] {
    border-color: var(--primary);
    background: rgba(79, 107, 255, 0.05);
    box-shadow: 0 5px 15px rgba(79, 107, 255, 0.1);
}

.card, .report-card, .price-card, .case-card, .deliverable-card, .method-card, .proof-card, .trust-bullet {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 600px) {
    .video-reviews-grid {
        grid-template-columns: 1fr;
    }
}

.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb-sep {
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumb-current {
    color: #fff;
}

.blog-categories-section {
    padding: 0px 3rem 40px;
}

.blog-categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

.blog-category-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    color: var(--text-muted);
    background: #0c132e;
    border-bottom: 3px solid #0c122a;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.blog-category-item:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.blog-category-item.active {
    color: #fff;
    box-shadow: 0 4px 20px rgba(79, 107, 255, 0.3);
    background: #224eff;
    border-bottom: 3px solid #1839bd;
    -webkit-box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
    box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
}

.blog-category-name {
    font-weight: 500;
}

.blog-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: inherit;
}

.blog-category-item.active .blog-category-count {
    background: rgba(255, 255, 255, 0.2);
}

.blog-grid-section {
    padding: 0 3rem 80px;
}

.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.blog-article-card {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-direction: column;
    position: relative;
}

.blog-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 107, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 107, 255, 0.4);
    box-shadow: 0 20px 40px rgba(79, 107, 255, 0.15), 0 0 60px rgba(79, 107, 255, 0.08);
}

.blog-article-card:hover::before {
    opacity: 1;
}

.blog-card-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.blog-article-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-image-placeholder {
    background: linear-gradient(135deg, rgba(79, 107, 255, 0.1) 0%, rgba(45, 65, 160, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image-icon {
    font-size: 3rem;
    opacity: 0.6;
    filter: drop-shadow(0 0 20px rgba(79, 107, 255, 0.5));
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: rgba(79, 107, 255, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.blog-card-category:hover {
    background: rgba(79, 107, 255, 0.2);
    color: #fff;
}

.blog-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(79, 107, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.blog-seo-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.blog-page-btn {
    padding: 0.6rem 1rem;
    background: rgba(79, 107, 255, 0.1);
    border: 1px solid rgba(79, 107, 255, 0.2);
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.blog-page-btn:hover {
    background: rgba(79, 107, 255, 0.2);
    border-color: rgba(79, 107, 255, 0.4);
    color: #fff;
}

.blog-page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.blog-page-prev, .blog-page-next {
    padding: 0.6rem 1.2rem;
}

@media (max-width: 1024px) {
    .blog-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-categories-section {
        padding: 30px 1.5rem 15px;
    }

    .blog-categories-nav {
        gap: 0.5rem;
    }

    .blog-category-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .blog-grid-section {
        padding: 0 1.5rem 60px;
    }

    .blog-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 0.7rem;
    color: #fff;
}

.price-popular-glow .price-card.price-popular {
    transform: none;
    border: none;
    box-shadow: none;
    background: rgba(12, 16, 32, 0.9);
}

@media (max-width: 1024px) {
    .gift-widget {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.price-card {
    display: flex;
    flex-direction: column;
}

.price-card-popular {
    border-color: var(--primary) !important;
    box-shadow: 0 10px 40px rgba(79,107,255,.2);
}

.price-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    background: rgba(79,107,255,.15);
    color: var(--primary);
    border: 1px solid rgba(79,107,255,.3);
    margin-bottom: 1rem;
}

.price-badge-premium {
}

.price-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: .5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0 1.5rem;
    transition: all 0.3s;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    gap: 1rem;
    font-family: inherit;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item.open .faq-questionsvg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
}

.footer {
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 6rem;
    padding: 3rem;
}

.promo-message {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    min-height: 18px;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.promo-message.success {
    color: var(--success);
    background: rgba(79, 255, 140, 0.1);
    border: 1px solid rgba(79, 255, 140, 0.2);
}

.promo-message.error {
    color: var(--danger);
    background: rgba(255, 79, 79, 0.1);
    border: 1px solid rgba(255, 79, 79, 0.2);
}

.strikethrough {
    text-decoration: line-through;
    color: var(--text-muted) !important;
    font-size: 1.1rem !important;
    opacity: 0.7;
}

.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.exit-popup-overlay.show {
    display: flex;
}

.exit-popup-card {
    background: #090c1a;
    border: 1px solid rgba(79,107,255,.3);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.notif-popup {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    background: #0d1226;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.1);
}

@media (min-width: 768px) {
    .header-cta {
        display:inline-flex;
    }
}

@media (max-width: 900px) {
    .pricing-grid,.testim-grid {
        grid-template-columns:1fr;
    }

    .comparison-grid,.method-grid,.video-reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        flex-direction: column;
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-form-wrapper {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .comparison-grid,.method-grid,.video-reviews-grid,.trust-strip,.animated-report-grid {
        grid-template-columns:1fr;
    }

    section {
        padding: 50px 1.2rem;
    }

    .hero {
        padding: 1.5rem 1.2rem 0;
        gap: 0;
    }

    .stats-wrap-padding {
        padding: 40px 1.2rem;
    }
}

.header-logo-text .accent {
    color: var(--primary);
}

.header-nav .nav-link:hover, .header-nav .nav-link.active {
    color: #fff;
}

@media (max-width: 1024px) {
    .reviews-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid-section {
        padding: 0 1.5rem 60px;
    }

    .reviews-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reviews-cta-section {
        padding: 40px 1.5rem 60px;
    }

    .reviews-cta-card {
        padding: 2rem 1.5rem;
    }

    .reviews-cta-title {
        font-size: 1.4rem;
    }
}

@keyframes float-orb {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-30px) translateX(20px);
    }

    50% {
        transform: translateY(-20px) translateX(-20px);
    }

    75% {
        transform: translateY(30px) translateX(10px);
    }
}

.article-bodyul, .article-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .article-page {
    }

    .article-page .container {
        padding: 0 1rem;
    }

    .article-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .article-hero-image {
        margin: -1.5rem -1.5rem 1.5rem;
        max-height: 250px;
    }

    .article-hero-image--portrait {
        margin: 0 auto 1.5rem;
        max-height: none;
    }

    .article-hero-image--portrait img {
        max-width: 75%;
        max-height: 480px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        gap: 1rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.3rem;
    }

    .article-cta {
        padding: 1.5rem;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .popular-item {
        padding: 0.5rem;
    }

    .popular-item-thumb {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-articles {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

.legal-modal-bodyh1, .legal-modal-body h2, .legal-modal-body h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-modal-bodyul, .legal-modal-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .legal-modal-title {
        padding: 1rem 1.5rem 0.75rem;
        font-size: 1.3rem;
    }

    .legal-modal-body {
        padding: 1rem 1.5rem 1.5rem;
        max-height: calc(90vh - 100px);
    }

    .legal-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
}

#notif-popup {
}

.notif-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 20px;
}

.notif-name {
    font-size: .9rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.notif-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
    opacity: 0.9;
}

.notif-time {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 5px;
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--primary);
    z-index: 9999;
    transition: width .1s;
}

.stats-wrap-padding {
    padding: 60px 3rem;
}

.section-title {
    font-size: clamp(1.8rem,4.2vw,3rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
}

@media (min-width: 768px) {
    .header-cta {
        display:inline-flex;
    }
}

@media (max-width: 900px) {
    .pricing-grid,.testim-grid {
        grid-template-columns:1fr;
    }

    .comparison-grid,.method-grid,.video-reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        flex-direction: column;
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-form-wrapper {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .comparison-grid,.method-grid,.video-reviews-grid,.trust-strip,.animated-report-grid {
        grid-template-columns:1fr;
    }

    section {
        padding: 50px 1.2rem;
    }

    .how-tags li {
        font-size: 0.7rem!important;
    }

    .hero {
        padding: 1.5rem 1.2rem 0;
        gap: 0;
    }

    .stats-wrap-padding {
        padding: 40px 1.2rem;
    }

    .notif-popup {
        max-width: 100%;
    }

    .notif-avatar {
        display: none
    }

    .hero-subtitle {
        font-size: 1rem!important;
    }

    .online-counter {
        gap: 8px;
        padding: 6px 12px 6px 10px;
        font-size: 0.74rem;
    }

    .online-counter #online-users {
        font-size: 0.9rem;
    }

    .online-dot {
        width: 9px;
        height: 9px;
    }
}

.site-header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 60%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(91, 124, 255, 0.5), rgba(192, 132, 252, 0.4), transparent);
    pointer-events: none;
    opacity: 0.7;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: -0.01em;
    transition: transform 0.3s;
}

.header-logo:hover {
    transform: translateY(-1px);
}

.header-logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.3), rgba(192, 132, 252, 0.25));
    border: 1px solid rgba(130, 150, 255, 0.4);
    box-shadow: 0 0 18px rgba(91, 124, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.header-logo:hover .logo-icon {
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 0 26px rgba(91, 124, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.header-logo-text {
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #e0e5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-logo-text .accent, .header-logo-text .logo-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--premium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    justify-content: center;
}

.header-nav .nav-link {
    color: rgb(221 221 221);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s, background 0.25s;
    white-space: nowrap;
    position: relative;
    font-weight: 700;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
}

.header-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--premium));
    box-shadow: 0 0 10px rgba(91, 124, 255, 0.6);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav .nav-link:hover {
    color: #fff;
    background: rgba(130, 150, 255, 0.06);
}

.header-nav .nav-link:hover::after {
    width: 60%;
}

.header-nav .nav-link.active {
    color: #fff;
}

.header-nav .nav-link.active::after {
    width: 70%;
}

.header-cta {
    display: inline-flex;
    padding: 10px 25px;
    color: #202020;
    text-decoration: none;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s, transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
    white-space: nowrap;
    align-items: center;
    letter-spacing: -0.005em;
    line-height: 1.2;
    -webkit-box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
    background-color: #ffffff;
    border-bottom: 2px solid #c9c9c9;
}

.header-cta:hover {
    transform: translateY(-1px);
}

.header-cta:active {
    transform: translateY(0);
}

.header-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: #0d0c12;
    border-bottom: 2px solid #1c1b23;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 3%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 3%);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.header-burger:hover {
}

.burger-icon {
    width: 22px;
    height: 16px;
    position: relative;
}

.burger-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.burger-icon span:nth-child(1) {
    top: 0;
}

.burger-icon span:nth-child(2) {
    top: 7px;
}

.burger-icon span:nth-child(3) {
    top: 14px;
}

.header-burger.active .burger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-burger.active .burger-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.header-burger.active .burger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 12, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #030306 0%, #10121c 100%);
    z-index: 1000;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(79, 107, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active .mobile-sidebar {
    transform: translateX(0);
}

.mobile-close {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #0d0c12;
    border: none;
    border-bottom: 2px solid #1c1b23;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 3%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 3%);
    color: #c9c9c9;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.mobile-close:hover {
    background: rgba(255, 70, 70, 0.1);
    border-color: rgba(255, 70, 70, 0.25);
    color: #ff6b6b;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 1.5rem 0;
    padding: 0;
    flex: 1;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.mobile-nav-links a:hover {
    background: rgba(79, 107, 255, 0.08);
    color: #fff;
    transform: translateX(4px);
}

.mobile-nav-links a.active {
    background: rgb(69 76 113 / 12%);
    color: #858ebf;
}

.mobile-cta-btn {
    margin-top: auto;
    text-align: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }

    .header-burger {
        display: flex;
        width: 44px;
        height: 44px;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem 1rem;
    }

    .header-container {
        gap: 1rem;
    }

    .header-logo {
        font-size: 1rem;
    }

    .header-logo img {
        width: 20px;
        height: 20px
    }
}

.reviews-grid-section {
    padding: 0 3rem 80px;
}

.reviews-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.review-card {
    background: linear-gradient(145deg, rgba(12, 16, 32, 0.8) 0%, rgba(8, 11, 25, 0.9) 100%);
    border: 1px solid rgba(79, 107, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 107, 255, 0.4);
    box-shadow: 0 20px 40px rgba(79, 107, 255, 0.15), 0 0 60px rgba(79, 107, 255, 0.08);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.review-author-info {
    flex: 1;
    min-width: 0;
}

.review-author-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.review-author-city {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.1rem;
}

.review-card-rating {
    flex-shrink: 0;
}

.review-stars {
    color: #ffc107;
    font-size: 1rem;
    letter-spacing: 1px;
}

.review-card-body {
    flex: 1;
}

.review-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.review-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.review-plan-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(79, 107, 255, 0.1);
    border: 1px solid rgba(79, 107, 255, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.reviews-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: var(--text-muted);
}

.reviews-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    text-align: center;
}

.reviews-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.reviews-cta-section {
    padding: 40px 3rem 80px;
}

.reviews-cta-card {
    background: linear-gradient(145deg, rgba(12, 16, 32, 0.8) 0%, rgba(8, 11, 25, 0.9) 100%);
    border: 1px solid rgba(79, 107, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.reviews-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(79, 107, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.reviews-cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.reviews-cta-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.video-thumb {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.video-thumb-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    transition: transform 0.3s;
}

.video-thumb:hover .video-thumb-circle {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .reviews-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid-section {
        padding: 0 1.5rem 60px;
    }

    .reviews-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reviews-cta-section {
        padding: 40px 1.5rem 60px;
    }

    .reviews-cta-card {
        padding: 2rem 1.5rem;
    }

    .reviews-cta-title {
        font-size: 1.4rem;
    }
}

.parallax-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 107, 255, 0.3) 0%, transparent 70%);
    top: 10%;
    left: -100px;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    top: 40%;
    right: -50px;
    animation: float-orb 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(79, 107, 255, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation: float-orb 30s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-30px) translateX(20px);
    }

    50% {
        transform: translateY(-20px) translateX(-20px);
    }

    75% {
        transform: translateY(30px) translateX(10px);
    }
}

#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

.article-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-page .breadcrumbs {
    justify-content: flex-start;
    margin-bottom: 2.5rem;
    padding: 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.article-content {
    background: #040712;
    border-radius: 15px;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.article-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 107, 255, 0.4), transparent);
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(79, 107, 255, 0.1);
}

.article-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #a0a5b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.article-meta-item time {
    color: var(--text-muted);
}

.article-hero-image {
    margin: 0 0 10px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    max-height: 400px;
    border-radius: 10px;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(12, 16, 32, 0.8), transparent);
    pointer-events: none;
}

/* Вертикальные карты Таро — не обрезать под 16/9, показывать целиком по центру */
.article-hero-image--portrait {
    aspect-ratio: auto;
    max-height: none;
    overflow: visible;
    background: none;
    border-radius: 0;
    text-align: center;
}

.article-hero-image--portrait img {
    width: auto;
    height: auto;
    max-width: 360px;
    max-height: 600px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.article-hero-image--portrait::after {
    display: none;
}

.article-hero-image-placeholder {
    margin: -2.5rem -2.5rem 2rem;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    max-height: 400px;
    background: linear-gradient(135deg, rgba(79, 107, 255, 0.1) 0%, rgba(45, 65, 160, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #ffffff;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 2.75rem 0 1rem;
    line-height: 1.4;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(79, 107, 255, 0.18);
    background: linear-gradient(135deg, #fff 0%, #3860ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e6f0;
    margin: 1.75rem 0 0.6rem;
}

.article-body p {
    margin-bottom: 1.35rem;
}

.article-body ul, .article-body ol {
    margin: 0.75rem 0 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.article-body ul li, .article-body ol li {
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
}

.article-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.8;
}

.article-body ol {
    counter-reset: ol-counter;
}

.article-body ol li::before {
    content: counter(ol-counter) '.';
    counter-increment: ol-counter;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85em;
}

.article-body strong {
    color: #fff;
    font-weight: 600;
}

.article-body em {
    color: #b8bdd0;
}

.article-body a {
    color: #7b9aff;
    text-decoration: none;
    border-bottom: 1px solid rgba(123, 154, 255, 0.35);
    transition: all 0.2s;
}

.article-body a:hover {
    color: #fff;
    border-bottom-color: rgba(123, 154, 255, 0.7);
}

.article-body blockquote {
    background: #ffffff;
    border-left: 3px solid var(--primary);
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: #0a0a0a;
    font-size: 1.02rem;
    line-height: 1.7;
}

.article-body img {
    border-radius: 14px;
    margin: 1.75rem 0;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    max-width: 100%;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(79, 107, 255, 0.15);
}

.article-body th {
    background: rgba(79, 107, 255, 0.18);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.article-body td {
    padding: 0.7rem 1rem;
    color: #c8cdde;
    border-bottom: 1px solid rgba(79, 107, 255, 0.08);
}

.article-body tr:last-child td {
    border-bottom: none;
}

.article-body tr:nth-child(even) td {
    background: rgba(79, 107, 255, 0.04);
}

.article-body tr:hover td {
    background: rgba(79, 107, 255, 0.07);
}

.article-toc {
    background: linear-gradient(135deg, rgba(79, 107, 255, 0.08) 0%, rgba(45, 65, 160, 0.08) 100%);
    border: 1px solid rgba(79, 107, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1rem;
    margin: 0 0 2rem;
}

.article-toc h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(79, 107, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-toc li {
    margin: 0;
    padding: 0;
}

.article-toc a {
    display: block;
    padding: 0.6rem 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    line-height: 1.5;
    border-left: 2px solid transparent;
}

.article-toc a:hover {
    color: var(--primary);
    background: rgba(79, 107, 255, 0.08);
    border-left-color: var(--primary);
    padding-left: 1rem;
}

.article-toc a:active {
    color: #fff;
    background: rgba(79, 107, 255, 0.15);
}

html {
    scroll-behavior: smooth;
}

.article-faq {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(79, 107, 255, 0.1);
}

.article-faq-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.article-faq .faq-item {
    background: rgba(79, 107, 255, 0.05);
    border: 1px solid rgba(79, 107, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.article-faq .faq-item:hover {
    border-color: rgba(79, 107, 255, 0.2);
}

.article-faq .faq-item.open {
    background: rgba(79, 107, 255, 0.08);
    border-color: rgba(79, 107, 255, 0.25);
}

.article-faq .faq-question-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.article-faq .faq-question-btn:hover {
    color: var(--primary);
}

.article-faq .faq-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.article-faq .faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.article-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.article-faq .faq-item.open .faq-answer {
    max-height: 500px;
}

.article-faq .faq-answer-text {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.article-cta {
    margin-top: 3rem;
    padding: 2.75rem 2.5rem;
    background: linear-gradient(135deg, rgba(79, 107, 255, 0.18) 0%, rgba(168, 85, 247, 0.14) 100%);
    border: 1px solid rgba(79, 107, 255, 0.3);
    border-radius: 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 107, 255, 0.7), rgba(168, 85, 247, 0.5), transparent);
}

.article-cta::after {
    content: '';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0.08;
    pointer-events: none;
}

.article-cta-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.article-cta-text {
    color: #a0a8be;
    margin-bottom: 1.75rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.blog-cta {
    margin: 2rem 0 0.5rem;
    text-align: center;
}

.blog-cta-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #6d28d9 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(79, 107, 255, 0.3);
    cursor: pointer;
    border: none;
}

.blog-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(79, 107, 255, 0.45);
    color: #fff;
    border-bottom: none;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    /* top: 120px; */
}

.sidebar-card {
    padding: 1.5rem;
    background: #040712;
    border-radius: 15px;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    position: relative;
    overflow: hidden;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 107, 255, 0.3), transparent);
}

.sidebar-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(79, 107, 255, 0.1);
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #d1d5e0;
    transition: all 0.3s;
    border-bottom: 1px solid #10172c;
}

.popular-item:hover {
    background: rgba(79, 107, 255, 0.1);
    transform: translateX(5px);
}

.popular-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-item span {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 700;
}

.popular-item:hover span {
    color: #fff;
}

.sidebar-cta-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.sidebar-cta-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .article-page {
        padding: 20px 0 60px!important;
    }

    .article-page .container {
        padding: 0 1rem;
    }

    .article-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .article-hero-image {
        margin: -1.5rem -1.5rem 1.5rem;
        max-height: 250px;
    }

    .article-hero-image--portrait {
        margin: 0 auto 1.5rem;
        max-height: none;
    }

    .article-hero-image--portrait img {
        max-width: 75%;
        max-height: 480px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        gap: 1rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.3rem;
    }

    .article-cta {
        padding: 1.5rem;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .popular-item {
        padding: 0.5rem;
    }

    .popular-item-thumb {
        width: 50px;
        height: 50px;
    }
}

.related-articles {
    margin-top: 3rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(79, 107, 255, 0.12);
}

.related-articles h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.related-card {
    background: linear-gradient(145deg, rgba(12, 16, 36, 0.85) 0%, rgba(8, 11, 22, 0.95) 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.28s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 107, 255, 0.28);
    box-shadow: 0 10px 30px rgba(79, 107, 255, 0.12);
}

.related-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-card img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.related-card:hover img {
    transform: scale(1.06);
}

.related-card h4 {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #cdd2e0;
    margin: 0;
    transition: color 0.2s ease;
}

.related-card:hover h4 {
    color: #fff;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .related-articles {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .related-card img {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.sonnik-related-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

.sonnik-related-card {
    background: linear-gradient(160deg, rgba(18, 25, 52, 0.78) 0%, rgba(8, 11, 24, 0.88) 100%);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.sonnik-related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(109, 138, 255, 0.38);
    box-shadow: 0 12px 36px -10px rgba(79, 107, 255, 0.35), 0 0 0 1px rgba(109, 138, 255, 0.18);
}

.sonnik-related-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sonnik-related-card__visual {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: radial-gradient(120% 100% at 50% 0%, rgba(79, 107, 255, 0.22) 0%, rgba(79, 107, 255, 0) 60%), linear-gradient(135deg, #1a2450 0%, #0d1332 55%, #08091c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sonnik-related-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1.5px 1.5px at 20% 30%, #fff 0, transparent 100%), radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.7) 0, transparent 100%), radial-gradient(1.5px 1.5px at 80% 75%, #fff 0, transparent 100%), radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,.6) 0, transparent 100%), radial-gradient(2px 2px at 55% 55%, #fff 0, transparent 100%);
    opacity: .55;
    pointer-events: none;
}

.sonnik-related-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.sonnik-related-card:hover .sonnik-related-card__visual img {
    transform: scale(1.07);
}

.sonnik-related-card__icon {
    position: relative;
    z-index: 1;
    color: rgba(191, 205, 255, 0.92);
    filter: drop-shadow(0 0 14px rgba(109, 138, 255, 0.45));
    transition: transform .35s ease, color .2s ease;
}

.sonnik-related-card:hover .sonnik-related-card__icon {
    transform: scale(1.08);
    color: #eef2ff;
}

.sonnik-related-card__body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.4rem;
}

.sonnik-related-card__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
    color: #f3f5ff;
    letter-spacing: -0.01em;
}

.sonnik-related-card__desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #a9b1c8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sonnik-related-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding-top: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #8a9eff;
    transition: color .2s ease, gap .2s ease;
}

.sonnik-related-card__cta svg {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.sonnik-related-card:hover .sonnik-related-card__cta {
    color: #b4c3ff;
    gap: 0.55rem;
}

.sonnik-related-card:hover .sonnik-related-card__cta svg {
    transform: translateX(2px);
}

@media (max-width: 480px) {
    .sonnik-related-grid {
        grid-template-columns: 1fr;
    }

    .sonnik-related-card__visual {
        height: 100px;
    }
}

.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    aria-hidden: false;
}

.legal-modal-content {
    background: linear-gradient(145deg, rgba(20, 24, 40, 0.98) 0%, rgba(12, 16, 32, 0.98) 100%);
    border: 1px solid rgba(79, 107, 255, 0.2);
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.legal-modal-overlay.active .legal-modal-content {
    transform: translateY(0);
}

.legal-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(79, 107, 255, 0.15);
    color: #fff;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.legal-modal-close:hover {
    background: rgba(79, 107, 255, 0.3);
    transform: scale(1.1);
}

.legal-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(79, 107, 255, 0.15);
}

.legal-modal-body {
    padding: 1.5rem 2rem 2rem;
    max-height: calc(85vh - 120px);
    overflow-y: auto;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-modal-body h1, .legal-modal-body h2, .legal-modal-body h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-modal-body h1 {
    font-size: 1.8rem;
}

.legal-modal-body h2 {
    font-size: 1.4rem;
}

.legal-modal-body h3 {
    font-size: 1.2rem;
}

.legal-modal-body p {
    margin-bottom: 1rem;
}

.legal-modal-body ul, .legal-modal-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-modal-body li {
    margin-bottom: 0.5rem;
}

.legal-modal-body a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-modal-body a:hover {
    color: var(--premium);
    text-decoration: underline;
}

.legal-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.legal-modal-body::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: rgba(79, 107, 255, 0.05);
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: rgba(79, 107, 255, 0.3);
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 107, 255, 0.5);
}

@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .legal-modal-title {
        padding: 1rem 1.5rem 0.75rem;
        font-size: 1.3rem;
    }

    .legal-modal-body {
        padding: 1rem 1.5rem 1.5rem;
        max-height: calc(90vh - 100px);
    }

    .legal-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
}

.site-footer-v2 {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(6, 8, 20, 0) 0%, rgba(4, 5, 14, 0.6) 100%);
    margin-top: 5rem;
    padding: 3.5rem 0 0;
}

.sfv2-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sfv2-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.sfv2-col--brand {
}

.sfv2-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sfv2-logo-img {
    height: 34px;
    width: auto;
}

.sfv2-logo-text {
    color: #fff;
}

.sfv2-logo-accent {
    color: var(--primary);
}

.sfv2-col-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted, rgba(255,255,255,0.4));
    margin-bottom: 1.1rem;
}

.sfv2-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sfv2-nav a {
    color: var(--text-secondary, rgba(255,255,255,0.6));
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    line-height: 1.4;
}

.sfv2-nav a:hover {
    color: #fff;
}

.sfv2-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem 0;
    text-align: center;
}

.sfv2-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    margin: 0;
}

@media (max-width: 860px) {
    .sfv2-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .sfv2-col--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .site-footer-v2 {
        margin-top: 3rem;
        padding-top: 2.5rem;
    }

    .sfv2-inner {
        padding: 0 1.25rem;
    }

    .sfv2-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-bottom: 2rem;
    }
}

.mo-message {
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease, margin 0.25s ease;
    margin-bottom: 0;
}

.mo-form {
}

.mo-form-group {
    margin-bottom: 1.4rem;
}

.mo-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted, #a0a5b5);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.mo-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mo-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.mo-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 107, 255, 0.15);
}

.mo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
}

.mo-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mo-btn--primary {
    background: var(--primary);
    color: #fff;
}

.mo-btn--primary:hover:not(:disabled) {
    background: var(--primary-hover, #768fff);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(79, 107, 255, 0.35);
}

.mo-btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted, #a0a5b5);
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
}

.mo-btn--ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mo-btn--sm {
    width: auto;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

.mo-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mo-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes mo-spin {
    to {
        transform: rotate(360deg);
    }
}

.mo-code-section {
    padding-top: 1.5rem;
}

.mo-code-input {
    width: 46px;
    height: 56px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
    border-radius: 10px;
    color: #fff;
    caret-color: var(--primary);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.mo-code-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 107, 255, 0.15);
}

.mo-code-input--filled {
    border-color: var(--primary);
    background: rgba(79, 107, 255, 0.08);
}

.mo-order-card {
    background: linear-gradient(145deg, rgba(14, 18, 36, 0.8) 0%, rgba(8, 10, 24, 0.8) 100%);
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.mo-order-card:hover {
    border-color: var(--glass-border, rgba(100, 130, 255, 0.2));
}

.mo-order-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.mo-order-plan {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.mo-order-date {
    font-size: 0.82rem;
    color: var(--text-muted, #a0a5b5);
}

.mo-order-actions {
    margin-top: 1.1rem;
}

.mo-status {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.mo-status--pending {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.mo-status--processing {
    background: rgba(79, 107, 255, 0.12);
    color: var(--primary);
}

.mo-status--completed {
    background: rgba(79, 255, 140, 0.12);
    color: var(--success, #4fff8c);
}

.mo-status--error {
    background: rgba(255, 79, 79, 0.12);
    color: var(--danger, #ff4f4f);
}

@media (max-width: 480px) {
    .mo-code-input {
        width: 40px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.header-orders-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    color: var(--text-muted, #a0a5b5);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
    flex-shrink: 0;
    background-color: #1f3ba7;
    border-bottom: 2px solid #102265;
}

.header-orders-btn:hover, .header-orders-btn.active {
    color: #fff;
    transform: translateY(-1px);
}

.header-orders-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 13, 28, 0.95);
    border: 1px solid rgba(79, 107, 255, 0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    backdrop-filter: blur(8px);
}

.header-orders-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(10, 13, 28, 0.95);
}

.header-orders-btn:hover .header-orders-tooltip {
    opacity: 1;
}

.mobile-orders-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    background: rgba(79, 107, 255, 0.06);
    border: 1px solid rgba(79, 107, 255, 0.12);
    color: var(--text-muted, #a0a5b5);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.mobile-orders-link:hover, .mobile-orders-link.active {
    background: rgba(79, 107, 255, 0.12);
    border-color: rgba(79, 107, 255, 0.25);
    color: #fff;
    transform: translateX(4px);
}

.mobile-orders-link svg {
    flex-shrink: 0;
    opacity: 0.75;
}

@media (max-width: 767px) {
    .header-orders-btn {
        display: none;
    }
}

.header-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.header-user-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(79,107,255,0.35);
}

.header-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #1f47d3;
    border-bottom: 2px solid #132f93;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.95rem;
    display: flex;
    font-weight: 700;
    color: #ffffff;
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    -webkit-box-shadow: var(--btn-primary-shadow);
    box-shadow: var(--btn-primary-shadow);
}

@media (max-width: 767px) {
    .header-user-btn {
        display: none;
    }
}

.auth-modal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.auth-modal-tab {
    flex: 1;
    padding: 0.65rem 0.5rem;
    background: rgba(255,255,255,0.03);
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s;
    text-align: center;
}

.auth-modal-tab.active {
    background: rgba(79,107,255,0.15);
    color: #fff;
}

.auth-modal-tab:hover:not(.active) {
    color: rgba(255,255,255,0.7);
}

.auth-modal-panel {
    display: none;
}

.auth-modal-panel.active {
    display: block;
}

.auth-code-digit {
    width: 42px;
    height: 48px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-code-digit:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(79,107,255,0.3);
}

.e404-page {
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}

.e404-hero {
    max-width: 640px;
    width: 100%;
}

.e404-number-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15em;
    line-height: 1;
    margin-bottom: 1.5rem;
    user-select: none;
}

.e404-digit {
    font-size: clamp(7rem, 20vw, 11rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--premium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(79, 107, 255, 0.35));
}

.e404-moon {
    font-size: clamp(5rem, 14vw, 8rem);
    display: inline-block;
    animation: e404-float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.4));
}

@keyframes e404-float {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-14px) rotate(5deg);
    }
}

.e404-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.e404-subtitle {
    color: var(--text-muted, #a0a5b5);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.e404-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.e404-btn {
    min-width: 140px;
}

.e404-suggestions {
    margin-top: 4rem;
    width: 100%;
    max-width: 640px;
}

.e404-suggestions-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted, #a0a5b5);
    margin-bottom: 1.25rem;
}

.e404-articles {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.e404-article-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-muted, #a0a5b5);
    font-size: 0.92rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
    text-align: left;
}

.e404-article-card:hover {
    background: rgba(79, 107, 255, 0.08);
    border-color: rgba(79, 107, 255, 0.2);
    color: #fff;
    transform: translateX(4px);
}

.e404-article-icon {
    font-size: 0.75rem;
    color: var(--primary);
    flex-shrink: 0;
    opacity: 0.7;
}

.e404-article-title {
    flex: 1;
    line-height: 1.4;
}

.e404-article-arrow {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    color: var(--primary);
}

.e404-article-card:hover .e404-article-arrow {
    opacity: 1;
    transform: translateX(3px);
}

@media (max-width: 480px) {
    .e404-page {
        padding: 3rem 1.25rem 3rem;
    }

    .e404-actions {
        flex-direction: column;
        align-items: center;
    }

    .e404-btn {
        width: 100%;
        max-width: 280px;
    }
}

.df-field {
    margin-bottom: 1rem;
}

.df-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(184, 189, 209, 0.75);
    display: block;
    margin-bottom: 0.55rem;
}

.df-textarea-wrap {
    position: relative;
    width: 100%;
}

.df-textarea {
    width: 100%;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 1rem 1rem 3rem;
    outline: none;
    resize: none;
    min-height: 130px;
    transition: box-shadow .25s, background .25s;
    line-height: 1.6;
    box-sizing: border-box;
}

.df-textarea:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(130, 150, 255, 0.14);
}

.df-textarea:focus {
    background: linear-gradient(180deg, rgba(91, 124, 255, 0.16) 0%, rgba(91, 124, 255, 0.06) 55%, rgba(34, 211, 238, 0.08) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 3px rgba(91, 124, 255, 0.18), 0 0 30px -5px rgba(34, 211, 238, 0.18);
}

.df-textarea::placeholder {
    color: rgba(255,255,255,.22);
}

.df-textarea-footer {
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.df-char-count {
    font-size: 0.72rem;
    color: rgba(255,255,255,.28);
    transition: color .2s;
    pointer-events: none;
}

.df-char-count.ready {
    color: rgba(74,222,128,.7);
}

.df-mic-btn {
    width: 32px;
    margin: 0 0 5px;
    height: 32px;
    background: linear-gradient(135deg, rgba(91,124,255,.2) 0%, rgba(192,132,252,.12) 100%);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(173,186,255,.9);
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s;
    pointer-events: all;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.df-mic-btn:hover {
    background: linear-gradient(135deg, rgba(91,124,255,.35) 0%, rgba(192,132,252,.22) 100%);
    color: #fff;
}

.df-mic-btn.recording {
    background: linear-gradient(135deg, rgba(251,113,133,.3) 0%, rgba(239,68,68,.22) 100%);
    color: #fb7185;
    animation: pulse-record 1.5s infinite;
}

.df-mic-btn.interim {
    background: linear-gradient(135deg, rgba(91,124,255,.4) 0%, rgba(192,132,252,.28) 100%);
    animation: pulse-interim 1s infinite;
}

.df-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.df-gender-toggle {
    display: flex;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.08) 0%, rgba(192, 132, 252, 0.05) 100%);
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.df-gender-btn {
    flex: 1;
    padding: 0.55rem 0.4rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(184, 189, 209, 0.55);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background .25s, color .25s, box-shadow .25s;
    font-family: inherit;
    white-space: nowrap;
}

.df-gender-btn.active {
    color: #fff;
}

.df-gender-btn:hover:not(.active) {
    color: rgba(255,255,255,.85);
}

.df-input {
    width: 100%;
    border: none;
    border-radius: 10px;
    color: #fff;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: box-shadow .25s, background .25s;
    -moz-appearance: textfield;
    box-sizing: border-box;
}

.df-input::-webkit-inner-spin-button, .df-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.df-input:focus {
    background: linear-gradient(180deg, rgba(91, 124, 255, 0.16) 0%, rgba(91, 124, 255, 0.06) 55%, rgba(34, 211, 238, 0.08) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 3px rgba(91, 124, 255, 0.18), 0 0 30px -5px rgba(34, 211, 238, 0.18);
}

.df-input::placeholder {
    color: rgba(255,255,255,.22);
}

.df-emotion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.df-chip {
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(184, 189, 209, 0.65);
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.08) 0%, rgba(192, 132, 252, 0.05) 100%);
    border: none;
    cursor: pointer;
    transition: background .25s, color .25s, box-shadow .25s, transform .15s;
    font-family: inherit;
}

.df-chip:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.18) 0%, rgba(192, 132, 252, 0.12) 100%);
    transform: translateY(-1px);
}

.df-chip.active {
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.45) 0%, rgba(34, 211, 238, 0.28) 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 14px -4px rgba(91, 124, 255, 0.5);
}

.df-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.df-btn-main {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 12px;
}

.df-btn-free {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.df-btn-free:disabled {
    opacity: .6;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .df-row {
        grid-template-columns: 1fr;
    }
}

.pwa-install-banner {
    display: none;
    background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(168,85,247,.08));
    border-bottom: 1px solid rgba(99,102,241,.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 40;
    animation: pwa-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .pwa-install-banner {
        display: block;
    }
}

@keyframes pwa-slide-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pwa-install-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.5rem;
}

.pwa-install-icon {
    color: #818cf8;
    flex-shrink: 0;
    display: flex;
}

.pwa-install-text {
    flex: 1;
    font-size: 0.88rem;
    color: rgba(255,255,255,.85);
    line-height: 1.3;
}

.pwa-install-btn {
    flex-shrink: 0;
    padding: 0.4rem 1.2rem !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
}

.pwa-install-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.15s;
    flex-shrink: 0;
}

.pwa-install-close:hover {
    color: rgba(255,255,255,.8);
}

@media (max-width: 600px) {
    .pwa-install-banner-inner {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }

    .pwa-install-icon {
        display: none;
    }

    .pwa-install-text {
        font-size: 0.82rem;
    }
}

.hpc-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff 0%, #e9d5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', 'TildaSans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hpc-role {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .hero-photo-caption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px 14px 12px;
    }

    .hpc-name {
        font-size: 1rem;
    }

    .hpc-role {
        font-size: 0.78rem;
    }
}

.hero-content {
    flex: unset;
    max-width: 640px;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.7rem) !important;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    hyphens: auto;
    text-transform: uppercase;
    letter-spacing: -0.015em;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
    line-height: 1.55;
    font-weight: 500;
}

.hero-form-wrapper {
    flex: unset;
    max-width: 100%;
    position: relative;
    z-index: 5;
    width: 100%;
    margin-top: 0;
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
        gap: 2.5rem;
        padding: 40px 2rem 32px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 4.1vw, 3rem) !important;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2rem 1.2rem 0;
        min-height: auto;
    }

    .hero-photo {
        max-width: 360px;
        aspect-ratio: 0.85;
    }

    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero {
        gap: 1.25rem;
    }

    .hero-photo {
        max-width: 280px;
        aspect-ratio: 0.9;
    }

    .hero-title {
        font-size: clamp(1.6rem, 6.8vw, 2.2rem) !important;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }
}

.hero .animated-border-inner {
    padding: 1.4rem 1.5rem;
}

.hero #dream-form .df-field {
    margin-bottom: 0.7rem;
}

.hero #dream-form .df-label {
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
}

.hero #dream-form .df-textarea {
    min-height: 88px;
    padding: 0.7rem 0.9rem 2.3rem;
    font-size: 0.9rem;
    line-height: 1.45;
    border-radius: 12px;
}

.hero #dream-form .df-textarea-footer {
    bottom: 8px;
}

.hero #dream-form .df-mic-btn {
    width: 25px;
    height: 25px;
    border-radius: 7px;
}

.hero #dream-form .df-row {
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.hero #dream-form .df-gender-btn {
    padding: 0.42rem 0.4rem;
    font-size: 0.82rem;
}

.hero #dream-form .df-input {
    font-size: 0.9rem;
}

.hero #dream-form .df-emotion-chips {
    gap: 0.3rem;
}

.hero #dream-form .df-chip {
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
}

.hero #dream-form .df-actions {
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.hero #dream-form .df-btn-main {
    flex: 1 1 auto;
    padding: 1.22rem 1rem;
    font-size: 0.92rem;
    border-radius: 10px;
}

.hero #dream-form .df-btn-free {
    width: auto;
    flex: 0 0 auto;
    padding: 0.6rem 1.95rem;
    font-size: 0.85rem;
    border-radius: 10px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .hero .animated-border-inner {
        padding: 1.1rem 1.1rem;
    }

    .hero #dream-form .df-actions {
        flex-direction: column;
    }

    .hero #dream-form .df-btn-free {
        width: 100%;
    }
}

*, *::before, *::after {
    font-family: 'Onest', 'Manrope', 'TildaSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@font-face {
    font-family: 'TTFirsNeue';
    src: url('/fonts/TTFirsNeue-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6, .hero-title, .section-title, .modal-title, .diary-header h1 {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', 'TildaSans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Duplicate :root block removed tokens consolidated at the top of the file. */
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.55;
    font-family: var(--font-sans);
    font-feature-settings: 'ss01', 'ss02', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.marquee-bar {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%) rotate(-1.2deg);
    margin: -25px 0 30px;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    background: url(../img/skotch.png);
    box-shadow: 0 0 80px rgb(3 14 32), inset 0 1px 0 rgb(13 32 72), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
    z-index: 5;
}

.marquee-bar .marquee-track {
    display: inline-block;
    animation: marquee-scroll 42s linear infinite;
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #e3e9ff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    will-change: transform;
}

.marquee-bar .marquee-track span {
    margin: 0 20px;
    display: inline-block;
}

.marquee-bar .marquee-track .dot {
    color: rgb(143 161 205 / 55%);
    margin: 0 8px;
    font-size: 14px;
    transform: translateY(-4px);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .marquee-bar {
        padding: 14px 0;
    }

    .marquee-bar .marquee-track {
        font-size: 18px;
    }

    .marquee-bar .marquee-track span {
        margin: 0 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-bar .marquee-track {
        animation: none;
    }
}

.site-header {
    padding: 0.85rem 2rem;
    background: rgba(3, 4, 12, 0.35);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header.scrolled {
    background: rgba(6, 8, 15, 0.62);
    padding: 0.65rem 2rem;
}

#main-content {
    position: relative;
}

.hero-shader {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
    opacity: 1;
    filter: contrast(1.1) brightness(0.9);
}

.card {
    background: linear-gradient(180deg, rgba(18, 22, 45, 0.55) 0%, rgba(10, 13, 28, 0.65) 100%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.3), 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.hero {
    position: relative;
    z-index: 1;
    background: transparent;
    display: grid;
    align-items: start;
    justify-content: space-between;
    gap: 3.5rem;
    min-height: 75vh;
    padding: 70px 3rem 10px;
    grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.15fr);
    isolation: isolate;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0.75rem 1.2rem 1.5rem;
        min-height: auto;
    }

    .hero-content {
        order: 1;
    }

    .hero-photo {
        order: 2;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-photo .hero-photo-img {
        width: 100%;
        height: auto;
    }
}

.hero::before {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    width: 45%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(109, 139, 255, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(167, 139, 250, 0.05) 0%, transparent 65%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.hero .animated-border-card {
    border-radius: 24px;
}

.hero .animated-border-inner, .hero .form-card {
    background: #f0f6fb;
    border-radius: 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #0e1226;
}

.hero .df-label {
    color: #5a6075;
    font-weight: 700;
}

.hero .df-textarea {
    color: #000000;
    background-color: #fff;
    border-bottom: 1px solid #cdd7df;
}

.hero .df-textarea::placeholder {
    color: #a0a5bd;
}

.hero .df-textarea:hover {
    border-color: #cfd4e6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 3px rgba(15, 20, 50, 0.05);
}

.hero .df-textarea:focus {
    background: #ffffff;
    border-color: var(--primary);
}

.hero .df-char-count {
    color: #9aa0b8;
}

.hero .df-mic-btn {
    background: #eef1fb;
    color: #5b7cff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero .df-mic-btn:hover {
    background: linear-gradient(135deg, #6d8bff, #a78bfa);
    color: #fff;
    box-shadow: 0 4px 12px -2px rgba(109, 139, 255, 0.45);
}

.hero .df-input {
    color: #0e1226;
    background-color: #fff;
    border-bottom: 1px solid #cdd7df;
}

.hero .df-input::placeholder {
    color: #a0a5bd;
}

.hero .df-input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(109, 139, 255, 0.15), 0 4px 20px -8px rgba(109, 139, 255, 0.35);
}

.hero .df-gender-toggle {
    background: #f0f6fb;
    border: 1px solid #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 20, 50, 0.04);
}

.hero .df-gender-btn {
    color: #6a7088;
}

.hero .df-gender-btn:hover:not(.active) {
    color: #0e1226;
}

.hero .df-gender-btn.active {
    background: #ffffff;
    color: #080808;
}

.hero .df-chip {
    background: #ffffff;
    color: #5a6075;
}

.hero .df-chip:hover {
    background: #ffffff;
    color: #0e1226;
    transform: translateY(-1px);
}

.hero .df-chip.active {
    background: #5976ef;
    color: #fff;
}

.hero .df-btn-main:hover {
    transform: translateY(-1px);
}

.hero .df-btn-free:hover {
    transform: translateY(-1px);
}

.hero .soft-proof {
    margin-top: 0.6rem;
    margin-bottom: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hero .df-chip.active, .hero .df-chip.active:hover {
    color: #fff !important;
}

.hero .animated-border-card::before {
    background: linear-gradient(135deg, rgba(109, 139, 255, 0.15) 0%, rgba(167, 139, 250, 0.12) 100%) !important;
    filter: blur(28px);
    opacity: 0.35;
    animation: none !important;
}

.hero .btn-conversion {
    animation: none !important;
}

.hero .btn-conversion::after {
    display: none !important;
    animation: none !important;
}

.hero .center-beam {
    display: none !important;
}

.hero .online-dot, .hero .online-dot::before, .hero .online-dot::after {
    animation: none !important;
}

.hero-photo {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 0.6;
    justify-self: center;
    border-radius: 14px;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .hero-photo {
        max-width: 340px;
    }
}

.hero-photo-caption {
    position: absolute;
    left: auto!important;
    right: 45px;
    bottom: 135px;
    padding: 10px 16px 12px !important;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10,12,26,0.45) 0%, rgba(10,12,26,0.78) 100%);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    display: grid;
    gap: 3px;
    z-index: 2;
    width: max-content !important;
    max-width: calc(100% - 28px);
}

.hero-photo-caption::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192,132,252,0.5), rgba(96,165,250,0.5), transparent);
}

.hero-photo .hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.top-banner .fire {
    animation: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 0.78rem;
    line-height: 1;
    border-radius: 999px;
    position: relative;
    z-index: 3;
    vertical-align: middle;
}

.top-banner, .top-banner > * {
    position: relative;
    z-index: 3;
}

.top-banner {
    text-align: center !important;
    background: #0d0c12;
    border-bottom: 1px solid rgba(79,107,255,.2);
    padding: 9px 18px !important;
    font-size: 0.875rem !important;
    color: #f1f2f9 !important;
    position: relative;
    overflow: hidden;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 60;
    font-weight: 500;
    letter-spacing: 0.005em;
}

.top-banner span[style*="margin:0 10px"], .top-banner span[style*="margin: 0 10px"] {
    color: rgba(255, 255, 255, 0.25) !important;
    font-weight: 300;
}

.discount-badge {
    display: inline-flex !important;
    background: #fff;
    color: #161616;
    padding: 2px 9px !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    font-size: 0.72rem !important;
    margin: 0 4px !important;
    vertical-align: middle;
    letter-spacing: 0.06em !important;
    align-items: center;
    line-height: 1.4;
}

.countdown {
    color: #fff !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, ui-monospace, monospace;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    line-height: 1.4;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .top-banner {
        font-size: 0.78rem !important;
        gap: 8px;
        padding: 8px 12px !important;
    }

    .countdown {
        font-size: 0.76rem;
        padding: 1px 7px;
    }

    .top-banner .fire {
        width: 18px;
        height: 18px;
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-banner::before {
        animation: none !important;
    }
}

/* ===== TOOLS TRIO (natal / diary / tarot) ===== */
#tools-trio {
    padding: 80px 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.trio-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: #0a1226;
    box-shadow: 0 30px 60px -24px rgba(8, 12, 30, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.trio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -24px rgba(59, 130, 246, 0.55), 0 0 0 1px rgba(91, 124, 255, 0.25);
}

.trio-card-img {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
}

.trio-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.trio-card:hover .trio-card-img img {
    transform: scale(1.05);
}

.trio-img-natal {
}

.trio-img-diary {
}

.trio-img-tarot {
}

.trio-badge-free {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 5px;
    background: #fbc424;
    color: #2a1306;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.trio-card-body {
    padding: 1.5rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.trio-card-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #0a1226;
    letter-spacing: -0.01em;
}

.trio-card-desc {
    color: #4a5168;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.trio-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.85rem 2rem;
    margin-top: 0.5rem;
    border-radius: 14px;
    background: #224eff;
    border-bottom: 3px solid #1839bd;
    -webkit-box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
    box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.25s, box-shadow 0.25s;
}

.trio-card:hover .trio-card-btn {
    transform: translateY(-2px);
}

@keyframes trio-icon-breath {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.03);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trio-card-img svg {
        animation: none;
    }
}

@media (max-width: 900px) {
    .trio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 600px) {
    #tools-trio {
        padding: 50px 1.2rem 30px 1.2rem;
    }

    .trio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trio-card-title {
        font-size: 1.3rem;
    }
}

/* ============================================
HOW IT WORKS editorial redesign
============================================ */
.how-section {
    padding: 7rem 0 6rem;
    position: relative;
}

.how-head {
    margin: 0 auto 5rem;
    text-align: center;
    padding: 0 1.5rem;
}

.how-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1.75rem;
}

.how-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: howPulse 2.4s ease-in-out infinite;
}

@keyframes howPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

.how-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1.25rem;
    color: var(--text-main);
}

.how-lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 770px;
    margin: 0 auto;
}

.how-flow {
    display: flex;
    flex-direction: column;
    gap: 7rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.how-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.how-row-reverse .how-visual {
    order: 2;
}

.how-row-reverse .how-content {
    order: 1;
}

.how-visual {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.how-placeholder {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    border-radius: 22px;
    border: 1px dashed rgba(141, 160, 255, 0.22);
    background: radial-gradient(140% 100% at 50% 0%, rgba(91, 124, 255, 0.08), transparent 60%), linear-gradient(180deg, rgba(14, 18, 38, 0.6), rgba(10, 12, 28, 0.4));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    overflow: hidden;
    isolation: isolate;
}

.how-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(141, 160, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(141, 160, 255, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 40%, transparent 80%);
    z-index: -1;
}

.how-placeholder-index {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.08);
    letter-spacing: -0.03em;
}

.how-placeholder-label {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(196, 198, 205, 0.6);
}

.how-placeholder-hint {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 80%;
    text-align: center;
    line-height: 1.45;
}

.how-content {
    padding: 0.5rem 0;
    max-width: 460px;
}

.how-num {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, rgba(141, 160, 255, 0.9) 0%, rgba(91, 124, 255, 0.25) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.25rem;
}

.how-kicker {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.how-step-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin: 0 0 1.15rem;
}

.how-step-desc {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 1.75rem;
}

.how-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.how-tags li {
    font-size: 0.82rem;
    font-weight: 700;
    color: #c5c5c5;
    padding: 0.4rem 0.9rem;
    border-radius: 5px;
    background: rgb(16 19 30);
    border-bottom: 2px solid #0d0f18;
}

@keyframes how-orb-drift-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, 30px) scale(1.08);
    }

    66% {
        transform: translate(-20px, 50px) scale(0.95);
    }
}

@keyframes how-orb-drift-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, 40px) scale(1.1);
    }
}

@keyframes how-orb-drift-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    40% {
        transform: translate(30px, -30px) scale(1.12);
    }

    75% {
        transform: translate(-30px, -10px) scale(0.92);
    }
}

@keyframes how-orb-drift-4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, -30px) scale(1.07);
    }
}

@media (prefers-reduced-motion: reduce) {
}

.how-cta {
    text-align: center;
    margin-top: 5rem;
    padding: 0 1.5rem;
}

@media (max-width: 960px) {
    .how-section {
        padding: 3rem 0 4rem;
    }

    .how-head {
        margin-bottom: 3.5rem;
    }

    .how-flow {
        gap: 4.5rem;
    }

    .how-row, .how-row-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .how-row-reverse .how-visual {
        order: 0;
    }

    .how-row-reverse .how-content {
        order: 0;
    }

    .how-content {
        max-width: none;
    }

    .how-num {
        font-size: 3.25rem;
        margin-bottom: 0.85rem;
    }

    .how-cta {
        margin-top: 3.5rem;
    }
}

@media (max-width: 640px) {
    .how-placeholder {
        aspect-ratio: 5 / 4;
        border-radius: 18px;
    }

    .how-placeholder-index {
        font-size: 2.8rem;
    }
}

/* ============================================
REVIEWS editorial redesign
============================================ */
.rv-section {
    padding: 6rem 0 5rem;
}

.rv-head {
    max-width: 720px;
    margin: 0 auto 4rem;
    text-align: center;
    padding: 0 1.5rem;
}

.rv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(91, 124, 255, 0.3);
    border-radius: 100px;
    background: rgba(91, 124, 255, 0.06);
    margin-bottom: 1.5rem;
}

.rv-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1.15rem;
    color: var(--text-main);
}

.rv-lead {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.rv-videos-wrap {
    max-width: 1180px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.rv-sub-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rv-sub-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.rv-sub-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.rv-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.rv-video {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    border: 1px solid var(--border-color);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.rv-video:hover {
    transform: translateY(-3px);
    border-color: rgba(141, 160, 255, 0.35);
}

.rv-video-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.rv-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 8, 20, 0.15) 0%, rgba(5, 8, 20, 0.55) 70%, rgba(5, 8, 20, 0.85) 100%);
    z-index: 1;
}

.rv-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    transition: transform 0.35s ease, background 0.35s ease;
}

.rv-video:hover .rv-video-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(255, 255, 255, 0.2);
}

.rv-video-play svg {
    margin-left: 3px;
}

.rv-video-info {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rv-video-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
}

.rv-video-tag {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rv-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.rv-card {
    position: relative;
    padding: 2.25rem 2rem 1.75rem;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: radial-gradient(140% 90% at 100% 0%, rgba(91, 124, 255, 0.05), transparent 55%), rgba(14, 18, 38, 0.35);
    display: flex;
    flex-direction: column;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.rv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(141, 160, 255, 0.22);
    background: radial-gradient(140% 90% at 100% 0%, rgba(91, 124, 255, 0.08), transparent 55%), rgba(14, 18, 38, 0.5);
}

.rv-quote-mark {
    position: absolute;
    top: 1.5rem;
    right: 1.6rem;
    color: rgba(141, 160, 255, 0.2);
    line-height: 0;
    z-index: 0;
}

.rv-result {
    position: relative;
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--text-main);
    margin: 0 0 1.75rem;
    padding-right: 2.5rem;
    z-index: 1;
}

.rv-context {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 1.75rem;
    flex: 1;
}

.rv-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rv-row-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
}

.rv-row-text {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.rv-card-foot {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.rv-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.35), rgba(167, 139, 250, 0.25));
    border: 1px solid rgba(141, 160, 255, 0.3);
}

.rv-person {
    min-width: 0;
    flex: 1;
}

.rv-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.rv-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.rv-meta-sep {
    opacity: 0.5;
}

.rv-plan {
    color: #a8b8ff;
    font-weight: 500;
}

.rv-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 0 1.5rem;
}

.rv-cta-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 1rem 0 0;
}

@media (max-width: 960px) {
    .rv-section {
        padding: 4.5rem 0 3.5rem;
    }

    .rv-head {
        margin-bottom: 3rem;
    }

    .rv-videos {
        grid-template-columns: repeat(2, 1fr);
    }

    .rv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .rv-videos-wrap {
        margin-bottom: 3rem;
    }

    .rv-cta {
        margin-top: 3rem;
    }
}

@media (max-width: 640px) {
    .rv-videos {
        grid-template-columns: 1fr;
    }

    .rv-grid {
        grid-template-columns: 1fr;
    }

    .rv-card {
        padding: 1.75rem 1.5rem 1.4rem;
    }

    .rv-result {
        font-size: 1.1rem;
        padding-right: 2rem;
    }

    .rv-quote-mark svg {
        width: 26px;
        height: 26px;
    }
}

/* ============================================
GUARANTEE editorial redesign
============================================ */
.gt-section {
    padding: 6rem 0 5rem;
}

.gt-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4.5rem;
    align-items: center;
}

.gt-visual {
    position: relative;
}

.gt-placeholder {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    border-radius: 24px;
    border: 1px dashed rgba(141, 160, 255, 0.24);
    background: radial-gradient(120% 80% at 50% 0%, rgba(91, 124, 255, 0.12), transparent 60%), linear-gradient(180deg, rgba(14, 18, 38, 0.7), rgba(10, 12, 28, 0.4));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
    isolation: isolate;
}

.gt-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(141, 160, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(141, 160, 255, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 35%, transparent 80%);
    z-index: -1;
}

.gt-placeholder::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 30% 30%, rgba(91, 124, 255, 0.2), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.gt-placeholder-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(160deg, rgba(91, 124, 255, 0.25), rgba(91, 124, 255, 0.08));
    border: 1px solid rgba(141, 160, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8b8ff;
    margin-bottom: 0.35rem;
}

.gt-placeholder-label {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(196, 198, 205, 0.6);
}

.gt-placeholder-hint {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.gt-content {
    min-width: 0;
}

.gt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1.5rem;
}

.gt-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
    animation: howPulse 2.4s ease-in-out infinite;
}

.gt-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1.15rem;
    color: var(--text-main);
}

.gt-lead {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 2.25rem;
    max-width: 520px;
}

.gt-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.gt-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
    background: rgba(14, 18, 38, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.gt-item:hover {
    transform: translateX(3px);
    border-color: rgba(141, 160, 255, 0.2);
    background: rgba(14, 18, 38, 0.5);
}

.gt-item-highlight {
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.08), transparent 60%), rgba(14, 18, 38, 0.5);
}

.gt-item-highlight::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.25rem;
    bottom: 1.25rem;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, var(--primary), rgba(91, 124, 255, 0.3));
}

.gt-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 124, 255, 0.12);
    border: 1px solid rgba(141, 160, 255, 0.22);
    color: #a8b8ff;
}

.gt-item-highlight .gt-item-icon {
    background: linear-gradient(160deg, rgba(91, 124, 255, 0.28), rgba(91, 124, 255, 0.1));
    color: #fff;
    border-color: rgba(141, 160, 255, 0.4);
}

.gt-item-body {
    min-width: 0;
    flex: 1;
}

.gt-item-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0 0 0.3rem;
}

.gt-item-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 960px) {
    .gt-section {
        padding: 4.5rem 0 3.5rem;
    }

    .gt-wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .gt-visual {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .gt-placeholder {
        aspect-ratio: 5 / 4;
    }

    .gt-lead {
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 640px) {
    .gt-item {
        padding: 1.1rem 1.2rem;
        gap: 0.9rem;
    }

    .gt-item-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .gt-item-icon svg {
        width: 20px;
        height: 20px;
    }

    .gt-item-title {
        font-size: 0.98rem;
    }

    .gt-item-text {
        font-size: 0.88rem;
    }
}

/* ============================================
PRICING editorial redesign
============================================ */
.pr-section {
    padding: 6rem 0 5rem;
}

.pr-head {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
    padding: 0 1.5rem;
}

.pr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1.5rem;
}

.pr-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: howPulse 2.4s ease-in-out infinite;
}

.pr-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1.15rem;
    color: var(--text-main);
}

.pr-lead {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* Segmented tabs */
.pr-tabs {
    max-width: 560px;
    margin: 0 auto 3rem;
    padding: 0.4rem;
    display: flex;
    gap: 0.25rem;
    border: none;
    border-radius: 10px;
    background: rgb(23 26 40 / 50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pr-tabs .plan-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Onest', 'Manrope', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.pr-tabs .plan-tab:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.pr-tabs .plan-tab.active {
    color: #fff;
    background: #224eff;
    border-bottom: 3px solid #1839bd;
    -webkit-box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
    box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
}

.pr-tab-emoji {
    font-size: 1.05rem;
    line-height: 1;
}

/* Grid */
.pr-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* Cards */
.pr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25rem 2rem 2rem;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    background: radial-gradient(140% 90% at 100% 0%, rgba(91, 124, 255, 0.04), transparent 55%), rgba(14, 18, 38, 0.4);
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.pr-card:hover {
    transform: translateY(-4px);
    border-color: rgba(141, 160, 255, 0.22);
    background: radial-gradient(140% 90% at 100% 0%, rgba(91, 124, 255, 0.07), transparent 55%), rgba(14, 18, 38, 0.55);
}

.pr-card-premium {
    border-color: rgba(192, 132, 252, 0.35);
    background: radial-gradient(140% 100% at 50% 0%, rgba(192, 132, 252, 0.1), transparent 60%), rgba(14, 18, 38, 0.5);
}

.pr-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.32rem 0.75rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.9), rgba(91, 124, 255, 0.6));
    color: #fff;
    border: 1px solid rgba(141, 160, 255, 0.5);
    z-index: 2;
}

.pr-badge-premium {
    background: #f45f50;
    border: none;
}

.pr-card-head {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.pr-card-name {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-main);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.pr-card-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    min-height: 46px;
}

.pr-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.pr-price-current {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.pr-card-popular .pr-price-current {
    background: linear-gradient(180deg, #ffffff 0%, #b8c7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pr-card-premium .pr-price-current {
    background: linear-gradient(180deg, #ffffff 0%, #d4b8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pr-price-old {
    font-size: 1rem;
    color: var(--text-dim);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    opacity: 0.7;
}

.pr-discount {
    padding: 0.22rem 0.6rem;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 100px;
}

.pr-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.pr-features li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.93rem;
    line-height: 1.5;
    color: #d7dbeb;
}

.pr-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.pr-features li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0.8rem;
    width: 8px;
    height: 4px;
    border-left: 2px solid #a8b8ff;
    border-bottom: 2px solid #a8b8ff;
    transform: rotate(-45deg);
}

.pr-card-popular .pr-features li::after {
    border-color: #fff;
}

.pr-cta {
    width: 100%;
    margin-top: auto;
    padding: 0.95rem 1.25rem;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
}

.pr-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    grid-column: 1 / -1;
    border: 1px dashed var(--border-color);
    border-radius: 18px;
    font-size: 0.95rem;
}

.pr-balance-note {
    max-width: 720px;
    margin: 3rem auto 0;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.06), transparent 60%), rgba(14, 18, 38, 0.35);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pr-balance-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgb(89 109 189 / 12%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8b8ff;
}

.pr-balance-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.pr-balance-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
}

.pr-balance-text {
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-muted);
}

@media (max-width: 960px) {
    .pr-section {
        padding: 4.5rem 0 3.5rem;
    }

    .pr-head {
        margin-bottom: 2.5rem;
    }

    .pr-tabs {
        margin-bottom: 2rem;
        padding: 0.35rem;
    }

    .pr-tabs .plan-tab {
        padding: 0.75rem 0.75rem;
        font-size: 0.86rem;
    }

    .pr-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pr-card {
        padding: 2rem 1.75rem 1.75rem;
    }
}

@media (max-width: 520px) {
    .pr-tabs {
        flex-wrap: wrap;
        border-radius: 18px;
    }

    .pr-tabs .plan-tab {
        flex: 1 1 100%;
    }

    .pr-tab-text {
        font-size: 0.88rem;
    }

    .pr-card-name {
        font-size: 1.15rem;
    }

    .pr-price-current {
        font-size: 2.1rem;
    }

    .pr-balance-note {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
OTHER SERVICES bento redesign
============================================ */
.os-section {
    padding: 3rem 0 5rem;
}

.os-head {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
    padding: 0 1.5rem;
}

.os-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1.5rem;
}

.os-eyebrow svg {
    color: var(--primary);
}

.os-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1.15rem;
    color: var(--text-main);
}

.os-lead {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

.os-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 1.1rem;
}

.os-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 22px;
    background: rgba(14, 18, 38, 0.4);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.os-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--os-accent, radial-gradient(140% 90% at 0% 0%, rgba(91, 124, 255, 0.08), transparent 55%));
    opacity: 0.6;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.os-card:hover {
    transform: translateY(-4px);
    border-color: var(--os-border, rgba(141, 160, 255, 0.3));
    background: rgba(14, 18, 38, 0.55);
}

.os-card:hover::before {
    opacity: 1;
}

.os-card:hover .os-card-arrow {
    transform: translateX(4px);
    background: var(--os-chip, rgba(91, 124, 255, 0.18));
    color: #fff;
}

/* Theming per service */
.os-theme-violet {
    --os-accent: linear-gradient(135deg, rgba(168, 132, 255, 0.14) 0%, rgba(212, 175, 106, 0.06) 60%, transparent 100%);
    --os-border: rgba(168, 132, 255, 0.4);
    --os-chip: rgba(168, 132, 255, 0.18);
    --os-color: #c9abff;
}

.os-theme-pink {
    --os-accent: linear-gradient(135deg, rgba(255, 107, 155, 0.12) 0%, rgba(168, 132, 255, 0.05) 60%, transparent 100%);
    --os-border: rgba(255, 107, 155, 0.4);
    --os-chip: rgba(255, 107, 155, 0.18);
    --os-color: #ff9bbd;
}

.os-theme-amber {
    --os-accent: linear-gradient(135deg, rgba(251, 191, 36, 0.13) 0%, rgba(168, 132, 255, 0.04) 60%, transparent 100%);
    --os-border: rgba(251, 191, 36, 0.4);
    --os-chip: rgba(251, 191, 36, 0.18);
    --os-color: #fbbf24;
}

.os-theme-blue {
    --os-accent: linear-gradient(135deg, rgba(91, 124, 255, 0.14) 0%, rgba(34, 211, 238, 0.05) 60%, transparent 100%);
    --os-border: rgba(91, 124, 255, 0.4);
    --os-chip: rgba(91, 124, 255, 0.2);
    --os-color: #a8b8ff;
}

.os-theme-neutral {
    --os-accent: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    --os-border: rgba(255, 255, 255, 0.14);
    --os-chip: rgba(255, 255, 255, 0.06);
    --os-color: #b0b4c5;
}

/* Wide card with visual placeholder */
.os-card-wide {
    grid-column: span 2;
    flex-direction: row;
    gap: 1.5rem;
    align-items: stretch;
    padding: 1.75rem;
}

.os-card-wide .os-card-visual {
    flex: 0 0 42%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 220px;
    border: 1px dashed rgba(141, 160, 255, 0.2);
    background: radial-gradient(140% 80% at 50% 0%, var(--os-chip), transparent 60%), rgba(10, 12, 28, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.os-card-wide .os-card-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 35%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 35%, transparent 85%);
    z-index: -1;
}

.os-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    padding: 1rem;
    opacity: 0.75;
}

.os-placeholder-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(196, 198, 205, 0.6);
}

.os-placeholder-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.os-card-wide .os-card-emoji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    line-height: 1;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
    opacity: 0.35;
    pointer-events: none;
}

.os-card-wide .os-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

/* Regular card top row */
.os-card-top {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.os-card-emoji-sm {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.os-card-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--os-color, var(--primary));
    margin-bottom: 0.5rem;
}

.os-card-wide .os-card-kicker {
    margin-bottom: 0.6rem;
}

.os-card-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--text-main);
    margin: 0 0 0.5rem;
}

.os-card-wide .os-card-title {
    font-size: 1.5rem;
}

.os-card-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    flex: 1;
}

.os-card-wide .os-card-desc {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
}

.os-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.os-card-price {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--os-color, var(--primary));
    background: var(--os-chip, rgba(91, 124, 255, 0.15));
    border-radius: 5px;
}

.os-card-price-free {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
}

.os-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 960px) {
    .os-section {
        padding: 4.5rem 0 3.5rem;
    }

    .os-head {
        margin-bottom: 2.5rem;
    }

    .os-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .os-card-wide {
        grid-column: span 2;
        flex-direction: column;
    }

    .os-card-wide .os-card-visual {
        flex: 0 0 auto;
        min-height: 160px;
    }
}

@media (max-width: 560px) {
    .os-grid {
        grid-template-columns: 1fr;
    }

    .os-card-wide {
        grid-column: span 1;
    }

    .os-card {
        padding: 1.5rem;
    }

    .os-card-wide .os-card-title {
        font-size: 1.3rem;
    }

    .os-card-wide .os-card-visual {
        min-height: 140px;
    }
}

/* ============================================
BLOG editorial redesign
============================================ */
.bl-section {
    padding: 6rem 0 5rem;
}

.bl-head {
    max-width: 1180px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.bl-head-main {
    max-width: 620px;
}

.bl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1.4rem;
}

.bl-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: howPulse 2.4s ease-in-out infinite;
}

.bl-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1rem;
    color: var(--text-main);
}

.bl-lead {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.bl-head-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.bl-head-link:hover {
    border-color: rgba(141, 160, 255, 0.4);
    background: rgba(91, 124, 255, 0.08);
    transform: translateX(3px);
}

.bl-head-link svg {
    transition: transform 0.3s ease;
}

.bl-head-link:hover svg {
    transform: translateX(3px);
}

/* Override legacy inline-style grid to avoid conflicts */
.bl-grid.blog-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bl-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    grid-column: 1 / -1;
    border: 1px dashed var(--border-color);
    border-radius: 18px;
    font-size: 0.95rem;
}

.bl-cta-mobile {
    display: none;
    text-align: center;
    margin-top: 2.5rem;
    padding: 0 1.5rem;
}

@media (max-width: 960px) {
    .bl-section {
        padding: 4.5rem 0 3.5rem;
    }

    .bl-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2.5rem;
    }

    .bl-head-link {
        display: none;
    }

    .bl-cta-mobile {
        display: block;
    }

    .bl-grid.blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 560px) {
    .bl-grid.blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
FAQ editorial redesign
============================================ */
.fq-section {
    padding: 6rem 0 5rem;
}

.fq-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4.5rem;
    align-items: start;
}

.fq-aside {
    position: sticky;
    top: 5rem;
}

.fq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1.5rem;
}

.fq-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: howPulse 2.4s ease-in-out infinite;
}

.fq-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1.15rem;
    color: var(--text-main);
}

.fq-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 2rem;
    max-width: 440px;
}

.fq-contact {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.06), transparent 60%), rgba(14, 18, 38, 0.35);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    max-width: 100%;
}

.fq-contact:hover {
    border-color: rgba(141, 160, 255, 0.35);
    transform: translateX(3px);
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.1), transparent 60%), rgba(14, 18, 38, 0.5);
}

.fq-contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 124, 255, 0.15);
    border: 1px solid rgba(141, 160, 255, 0.28);
    color: #a8b8ff;
}

.fq-contact-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.fq-contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.fq-contact-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

/* FAQ list override legacy .faq-list inline-style reset */
.fq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

/* Redesigned item: override legacy .faq-item padding so borders look right */
.fq-list .faq-item.fq-item {
    padding: 0;
    border-radius: 18px;
    background: rgba(14, 18, 38, 0.35);
    overflow: hidden;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.25s ease;
}

.fq-list .faq-item.fq-item:hover {
    border-color: rgba(141, 160, 255, 0.22);
    background: rgba(14, 18, 38, 0.5);
}

.fq-list .faq-item.fq-item.open {
    border-color: rgba(91, 124, 255, 0.4);
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.05), transparent 60%), rgba(14, 18, 38, 0.55);
    box-shadow: 0 20px 40px -24px rgba(91, 124, 255, 0.35);
}

.fq-list .faq-question.fq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: 'Onest', 'Manrope', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.005em;
    text-align: left;
    cursor: pointer;
}

.fq-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 124, 255, 0.1);
    border: 1px solid rgba(141, 160, 255, 0.2);
    color: #a8b8ff;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.fq-list .faq-item.fq-item.open .fq-icon {
    background: linear-gradient(160deg, rgba(91, 124, 255, 0.3), rgba(91, 124, 255, 0.1));
    border-color: rgba(141, 160, 255, 0.45);
    color: #fff;
}

.fq-question-text {
    flex: 1;
    min-width: 0;
}

.fq-chevron {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.fq-list .faq-item.fq-item.open .fq-chevron {
    transform: rotate(180deg);
    background: rgba(91, 124, 255, 0.18);
    border-color: rgba(141, 160, 255, 0.4);
    color: #fff;
}

.fq-list .faq-question.fq-question svg {
    transition: none;
}

.fq-list .faq-answer.fq-answer {
    display: none;
    padding: 0 1.35rem 1.35rem calc(1.35rem + 40px + 1rem);
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

.fq-list .faq-answer.fq-answer p {
    margin: 0;
}

.fq-list .faq-item.fq-item.open .faq-answer.fq-answer {
    display: block;
    animation: fqSlide 0.3s ease;
}

@keyframes fqSlide {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .fq-section {
        padding: 4.5rem 0 3.5rem;
    }

    .fq-wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .fq-aside {
        position: static;
        text-align: left;
    }

    .fq-lead {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .fq-list .faq-question.fq-question {
        padding: 1.1rem 1.1rem;
        gap: 0.85rem;
        font-size: 0.96rem;
    }

    .fq-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .fq-icon svg {
        width: 18px;
        height: 18px;
    }

    .fq-chevron {
        width: 28px;
        height: 28px;
    }

    .fq-chevron svg {
        width: 16px;
        height: 16px;
    }

    .fq-list .faq-answer.fq-answer {
        padding: 0 1.1rem 1.1rem calc(1.1rem + 36px + 0.85rem);
        font-size: 0.92rem;
    }

    .fq-contact {
        padding: 0.9rem 1rem;
        gap: 0.85rem;
    }

    .fq-contact-icon {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
FOOTER editorial redesign
Overrides legacy .sfv2-* styles via .sf-* prefix
============================================ */
.sf-footer {
    margin-top: 5rem;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(120% 100% at 50% 0%, rgba(91, 124, 255, 0.05), transparent 60%), linear-gradient(180deg, rgba(6, 8, 20, 0) 0%, rgba(4, 5, 14, 0.7) 100%);
}

.sf-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero CTA */
.sf-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 4rem 0 3.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sf-cta-body {
    max-width: 560px;
}

.sf-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1.25rem;
}

.sf-cta-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: howPulse 2.4s ease-in-out infinite;
}

.sf-cta-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 0.9rem;
    color: var(--text-main);
}

.sf-cta-lead {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

.sf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.05rem 1.75rem;
    border-radius: 5px;
    color: #fff;
    background: #224eff;
    border-bottom: 3px solid #1839bd;
    -webkit-box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
    box-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sf-cta-btn:hover {
    transform: translateY(-2px);
}

.sf-cta-btn svg {
    transition: transform 0.3s ease;
}

.sf-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Grid override */
.sf-grid {
    padding: 4rem 0 3.5rem;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3.5rem;
}

.sf-col-brand {
    padding-right: 1rem;
}

.sf-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.sf-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    max-width: 340px;
}

/* Contact chip */
.sf-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    border: none;
    border-radius: 14px;
    background: rgb(18 20 32);
    text-decoration: none;
    color: inherit;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.sf-contact:hover {
    border-color: rgba(141, 160, 255, 0.3);
    background: rgba(14, 18, 38, 0.6);
    transform: translateY(-1px);
}

.sf-contact-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 124, 255, 0.12);
    border: 1px solid rgba(141, 160, 255, 0.25);
    color: #a8b8ff;
}

.sf-contact-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.sf-contact-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.sf-contact-email {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

.sf-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.sf-payments img {
    height: 28px;
    width: auto;
    padding: 0.3rem 0.55rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    opacity: 0.7;
    transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.sf-payments img:hover {
    opacity: 1;
    border-color: rgba(141, 160, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

/* Column title + nav */
.sf-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0 0 1.35rem;
    position: relative;
    padding-bottom: 0.85rem;
}

.sf-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
}

.sf-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.sf-nav a {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.4;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sf-nav a:hover {
    color: var(--text-main);
    transform: translateX(3px);
}

/* Bottom bar */
.sf-bar {
    border-top: 1px solid var(--border-color);
    padding: 1.75rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}

.sf-copy {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.7;
}

.sf-entity {
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.55;
    text-align: right;
}

/* Cookie consent */
.sf-cookie {
    position: fixed;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    left: 0.75rem;
    right: 0.75rem;
    z-index: 99999;
    pointer-events: none;
}

.sf-cookie[hidden] {
    display: none;
}

.sf-cookie-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0.7rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(9, 12, 28, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 14px 42px -24px rgba(0, 0, 0, 0.72);
    pointer-events: auto;
}

.sf-cookie-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 124, 255, 0.12);
    border: 1px solid rgba(141, 160, 255, 0.25);
    color: #a8b8ff;
}

.sf-cookie-text {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sf-cookie-btn {
    flex-shrink: 0;
    min-height: 34px;
    padding: 0.45rem 1.05rem;
    border: 1px solid rgba(141, 160, 255, 0.5);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.95), rgba(91, 124, 255, 0.75));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sf-cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px rgba(91, 124, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 960px) {
    .sf-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
        padding: 3rem 0 2.5rem;
    }

    .sf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 3rem 0 2.5rem;
    }

    .sf-col-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .sf-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .sf-entity {
        text-align: left;
    }

    .sf-cookie-inner {
        max-width: 680px;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .sf-cookie-icon {
        margin: 0;
    }

    .sf-cookie-btn {
        width: auto;
    }
}

@media (max-width: 520px) {
    .sf-cookie {
        bottom: max(0.5rem, env(safe-area-inset-bottom));
        left: 0.5rem;
        right: 0.5rem;
    }

    .sf-cookie-inner {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.48rem 0.5rem 0.48rem 0.62rem;
        border-radius: 12px;
    }

    .sf-cookie-icon {
        display: none;
    }

    .sf-cookie-text {
        display: block;
        font-size: 0.72rem;
        line-height: 1.28;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .sf-cookie-btn {
        width: 42px;
        height: 30px;
        min-height: 30px;
        min-width: 42px;
        padding: 0;
        border-radius: 9px;
        font-size: 0.76rem;
    }

    .sf-cookie-btn:hover {
        transform: none;
    }

    .sf-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sf-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .sf-payments img {
        height: 26px;
    }
}

.natal-hero, .tar-hero, .hiw-hero, .hor-hero, .rec-hero, .syn-hero, .reviews-page-hero, .blog-page-hero, .article-header {
    position: relative;
    z-index: 1;
}

/* --------------------- Unified hero canvas decoration (radial halo + light beam) --------------------- */
.tar-hero::after, .hor-hero::after, .rec-hero::after, .syn-hero::after, .hiw-hero::after, .sk-hero::after, .pr-hero::after, .bl-hero::after, .rv-hero::after, .fq-hero::after, .dg-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(79, 107, 255, 0), rgba(79, 107, 255, 0.18), rgba(79, 107, 255, 0));
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

.tar-hero::before, .hor-hero::before, .rec-hero::before, .syn-hero::before, .hiw-hero::before, .sk-hero::before, .pr-hero::before, .bl-hero::before, .rv-hero::before, .fq-hero::before, .dg-hero::before {
    content: '';
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 480px;
    background: radial-gradient(circle, rgba(79, 107, 255, 0.18) 0%, rgba(3, 4, 12, 0) 60%);
    pointer-events: none;
    z-index: -1;
}

.natal-tariff, .tar-card, .hor-card, .rec-card, .syn-card, .syn-person {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.natal-tariff:hover, .tar-card:hover, .hor-card:hover, .rec-card:hover, .syn-card:hover {
    border-color: rgba(79, 107, 255, 0.3) !important;
    background: rgba(79, 107, 255, 0.04) !important;
}

.natal-tariff.selected, .natal-tariff.active {
    border-color: rgba(79, 107, 255, 0.5) !important;
    background: rgba(79, 107, 255, 0.08) !important;
}

.article-page {
    padding: 30px 0 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* site_image() */
.site-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.how-visual > .site-image {
    aspect-ratio: 4 / 3;
    height: 100%;
}

.gt-visual > .site-image {
    aspect-ratio: 4 / 5;
    height: 100%;
    border-radius: 24px;
}

.os-card-visual > .site-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    box-shadow: none;
}

.dg-hero-placeholder > .site-image {
    border-radius: inherit;
}

/* ============================================================
COMPONENTS: BUTTONS canonical size + variant modifiers (Phase 2)
============================================================
Design:
- Base .btn (lines 249-270) remains untouched to avoid visual regression.
- New modifiers use tokens from :root; one edit to a token cascades everywhere.
- Compose: class="btn btn--lg btn--primary"
class="btn btn--hero btn--gold" (tarot pages)
class="btn btn--hero btn--sky" (sonnik pages)
- Legacy per-page classes (.tar-btn, .sk-hero-btn, .de-btn, .natal-hero-link)
are kept as aliases at the end of this section so existing HTML works
once page-level <style> overrides are removed in Phase 3.
============================================================ */
/* --- Size modifiers --- */
.btn--md {
    height: var(--btn-h-md);
    padding: 0 var(--btn-px-md);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
}

.btn--lg {
    height: var(--btn-h-lg);
    padding: 0 var(--btn-px-lg);
    font-size: var(--text-md);
    border-radius: var(--radius-md);
}

/* --- Visual variants --- */
.btn--gold {
    background: linear-gradient(135deg, #c4a875 0%, #e0c896 100%);
    color: #1a1410;
    border-color: rgba(196, 168, 117, 0.35);
    box-shadow: 0 6px 18px -6px rgba(196, 168, 117, 0.5);
}

.btn--gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px rgba(196, 168, 117, 0.6);
}

/* Natal/rectification section violetgold mystic gradient */
.btn--violet-gold {
    background: linear-gradient(135deg, #a884ff 0%, #d4af6a 100%);
    color: #1a1d2e;
    border-color: rgba(168, 132, 255, 0.35);
    box-shadow: 0 6px 18px -6px rgba(168, 132, 255, 0.5);
    font-weight: 700;
}

.btn--violet-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px rgba(168, 132, 255, 0.6);
}

/* ============================================================
COMPONENTS: CARDS canonical modifiers (Phase 2)
============================================================
Base .card at line 5002 is preserved. Modifiers are additive.
Compose: class="card card--tight" class="card card--glass"
============================================================ */
/* ============================================================
COMPONENTS: FORM INPUTS canonical aliases (Phase 2)
============================================================
Base .form-control at line 604 is preserved. .input / .textarea are
semantic aliases; .form-control keeps working.
============================================================ */
.input, .textarea, .select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
    font-size: var(--text-md);
    font-family: inherit;
}

.input:focus, .textarea:focus, .select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.2);
}

.textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
    flex-direction: column;
    margin-bottom: var(--space-4);
}

/* ============================================================
COMPONENTS: BADGES canonical (Phase 2)
============================================================
Compose: class="badge badge--success"
============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

/* ============================================================
COMPONENTS: LEGAL PAGES shared layout for /privacy and /offer
============================================================ */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-4);
}

.legal-page h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-5);
    color: var(--text-main);
}

.legal-page h2 {
    font-size: var(--text-2xl);
    margin: var(--space-6) 0 var(--space-4);
    color: var(--text-main);
}

.legal-page p, .legal-page li {
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.legal-page ul {
    margin-left: var(--space-5);
    margin-bottom: var(--space-4);
}

.legal-content {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

/* site_image() hero/trio/tarot-hero */
.hero-photo-img.site-image {
    box-shadow: none;
    border-radius: inherit;
    aspect-ratio: auto;
}

.trio-card-img > .site-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    aspect-ratio: auto;
    box-shadow: none;
}

/* ============================================================
PAGE-SPECIFIC STYLES migrated from inline <style> blocks
============================================================
Rules here are unique layouts/decorations for individual
public pages. Organized by page with subsection dividers.
All values should use tokens from :root where possible.
============================================================ */
/* ----- PAGE: /faq ----- */
.faq-cta-block {
    max-width: 600px;
    margin: var(--space-6) auto 0;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.08), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(91, 124, 255, 0.2);
    border-radius: var(--radius-lg);
}

.faq-cta-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.faq-cta-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-5);
}

/* ----- PAGE: /sonnik/{slug} compact modern overrides ----- */
.article-category {
    margin-bottom: .6rem;
}

.article-category-link {
    display: inline-flex !important;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--primary);
    background: rgba(91, 124, 255, 0.1);
    padding: .35rem .7rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.5rem;
    transition: all .2s;
    text-decoration: none;
    align-items: center;
    gap: .4rem;
    border: 1px solid rgba(91, 124, 255, 0.2);
}

.article-category-link:hover {
    background: rgba(91, 124, 255, 0.18);
    border-color: rgba(91, 124, 255, 0.4);
}

.article-category-link svg {
    opacity: .85;
}

.article-hero-image-icon {
    font-size: 0 !important;
    opacity: .55;
    filter: drop-shadow(0 0 28px rgba(91, 124, 255, 0.5));
    color: var(--primary);
    display: inline-flex;
}

.sidebar-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(79, 107, 255, 0.2) 0%, rgba(45, 65, 160, 0.25) 100%);
    border-color: rgba(79, 107, 255, 0.3);
}

.sidebar-cta-icon {
    font-size: 0 !important;
    display: inline-flex !important;
    margin-bottom: 0.75rem;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto .6rem !important;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.18), rgba(168, 85, 247, 0.14));
    border: 1px solid rgba(91, 124, 255, 0.3);
    color: var(--primary);
}

.popular-item-cat {
    display: flex !important;
    align-items: center;
    gap: .6rem;
}

.popular-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 7px;
    background: rgba(91, 124, 255, 0.1);
    color: var(--primary);
}

/* ----- PAGE: /natal/{slug} SEO article, violet/gold theme ----- */
.natal-article-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 20px 32px;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.natal-article-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 4px;
    color: var(--text-main);
}

.natal-article-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: var(--space-5) var(--space-5) var(--space-10);
}

.natal-article-breadcrumbs {
    font-size: .84rem;
    color: #8990b4;
    margin-bottom: var(--space-5);
}

.natal-article-breadcrumbs a {
    color: #b4b8d8;
    text-decoration: none;
}

.natal-article-breadcrumbs a:hover {
    color: #d4af6a;
}

.natal-article-wrap h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    background: linear-gradient(135deg, #a884ff, #d4af6a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 var(--space-4);
}

.natal-article-content {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #e0e3f5;
}

.natal-article-content h2 {
    margin: var(--space-6) 0 14px;
    font-size: 1.4rem;
    color: #d4af6a;
}

.natal-article-content h3 {
    margin: 22px 0 10px;
    font-size: var(--text-lg);
}

.natal-article-content p {
    margin: 0 0 var(--space-4);
}

.natal-article-content ul, .natal-article-content ol {
    padding-left: var(--space-5);
    margin: 0 0 18px;
}

.natal-article-content li {
    margin-bottom: 6px;
}

.natal-article-content strong {
    color: var(--text-main);
}

.natal-article-content blockquote {
    border-left: 3px solid #a884ff;
    padding: 4px 16px;
    margin: var(--space-5) 0;
    background: rgba(168,132,255,.06);
    border-radius: 0 8px 8px 0;
}

.natal-article-cta {
    margin: var(--space-8) 0;
    padding: 28px;
    background: linear-gradient(135deg, rgba(168,132,255,.12), rgba(212,175,106,.08));
    border: 1px solid rgba(168,132,255,.3);
    border-radius: var(--radius-lg);
    text-align: center;
}

.natal-article-cta h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.natal-article-cta p {
    opacity: .85;
    margin: 0 0 18px;
}

.natal-article-faq {
    margin-top: var(--space-8);
}

.natal-article-faq h2 {
    color: #d4af6a;
}

.natal-article-faq-item {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-3);
}

.natal-article-faq-q {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.natal-article-faq-a {
    color: #b4b8d8;
    line-height: 1.55;
}

/* ----- PAGE: /reviews submit modal ----- */
.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

.review-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
}

.review-modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 28px;
    cursor: pointer;
    transition: color var(--duration-fast);
}

.review-modal-close:hover {
    color: var(--text-main);
}

.review-modal-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: var(--space-5);
    text-align: center;
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form .form-label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 8px;
}

.review-form .form-input, .review-form .form-textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4);
    color: var(--text-main);
    font-size: 15px;
    transition: border-color var(--duration-fast);
}

.review-form .form-input:focus, .review-form .form-textarea:focus {
    outline: none;
    border-color: #a78bfa;
}

.review-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.review-rating-input {
    display: flex;
    gap: 8px;
    font-size: 32px;
}

.review-rating-input .rating-star {
    cursor: pointer;
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}

.review-rating-input .rating-star:hover, .review-rating-input .rating-star.active {
    color: #fbbf24;
}

.review-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.review-success {
    text-align: center;
    padding: 20px;
}

.review-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-main);
    margin: 0 auto 20px;
}

.review-success h3 {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.review-success p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

/* ----- PAGE: /natal/vopros horary astrology, gold theme ----- */
@keyframes twinkle {
    0%,100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: .7;
    }
}

.hor-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-5) var(--space-10);
}

.hor-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: var(--space-5);
}

.hor-label {
    display: block;
    font-size: .9rem;
    color: #b4b8d8;
    margin-bottom: var(--space-2);
    font-weight: 500;
}

.hor-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text-main);
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.hor-textarea:focus {
    outline: none;
    border-color: #fbbf24;
}

.hor-counter {
    font-size: .78rem;
    color: #8990b4;
    text-align: right;
    margin-top: var(--space-1);
}

.hor-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text-main);
    border-radius: var(--radius-md);
    font-size: var(--text-md);
}

.hor-tips {
    background: rgba(251,191,36,.06);
    border: 1px solid rgba(251,191,36,.2);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: .88rem;
    color: #e0e3f5;
    margin-top: var(--space-3);
}

.hor-tips strong {
    color: #fbbf24;
}

.hor-tips ul {
    margin: 6px 0 0;
    padding-left: 22px;
}

.hor-tips li {
    margin-bottom: 3px;
}

.hor-submit-wrap {
    background: linear-gradient(135deg, rgba(251,191,36,.08), rgba(168,132,255,.06));
    border: 1px solid rgba(251,191,36,.25);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.hor-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fbbf24;
    text-align: center;
    margin-bottom: 6px;
}

.hor-price-note {
    text-align: center;
    opacity: .7;
    font-size: .88rem;
    margin-bottom: 14px;
}

.hor-error {
    background: rgba(248,113,113,.1);
    border: 1px solid rgba(248,113,113,.3);
    color: #ff9999;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    font-size: .9rem;
    display: none;
}

.hor-error.visible {
    display: block;
}

.hor-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-3);
}

.hor-example {
    padding: 10px 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-md);
    font-size: .86rem;
    cursor: pointer;
    color: #d4d8f0;
    transition: all .15s;
}

.hor-example:hover {
    border-color: rgba(251,191,36,.4);
    background: rgba(251,191,36,.05);
}

.hor-disabled-notice {
    background: rgba(255,255,255,.04);
    border: 1px dashed rgba(255,255,255,.15);
    padding: 30px;
    text-align: center;
    border-radius: var(--radius-lg);
    color: #b4b8d8;
}

/* ----- PAGE: /natal/rektifikatsiya birth time rectification, violet/gold ----- */
.rec-wrap {
    max-width: 780px;
    margin: 5rem auto 0 auto;
    padding: 0 var(--space-5) var(--space-10);
}

.rec-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: var(--space-5);
}

.rec-step-num {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg,#a884ff,#d4af6a);
    color: #1a1d2e;
    font-weight: 700;
    border-radius: var(--radius-pill);
    font-size: .78rem;
    margin-bottom: 14px;
    letter-spacing: .5px;
}

.rec-label {
    display: block;
    font-size: .92rem;
    color: #e0e3f5;
    margin-bottom: var(--space-2);
    font-weight: 500;
}

.rec-sub {
    font-size: .82rem;
    color: #8990b4;
    margin-top: -4px;
    margin-bottom: var(--space-3);
}

.rec-input, .rec-select {
    width: 100%;
    padding: 11px 14px;
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text-main);
    border-radius: var(--radius-md);
    font-size: .98rem;
    font-family: inherit;
}

.rec-input:focus, .rec-select:focus {
    outline: none;
    border-color: #a884ff;
}

.rec-q {
    margin-bottom: var(--space-4);
}

.rec-q-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.rec-q-sub {
    font-size: .84rem;
    color: #8990b4;
    margin-bottom: var(--space-2);
}

.rec-textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text-main);
    border-radius: var(--radius-md);
    font-size: .94rem;
    min-height: 72px;
    resize: vertical;
    font-family: inherit;
}

.rec-error {
    background: rgba(248,113,113,.1);
    border: 1px solid rgba(248,113,113,.3);
    color: #ff9999;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    font-size: .9rem;
    display: none;
}

.rec-error.visible {
    display: block;
}

.rec-result {
    background: linear-gradient(135deg, rgba(168,132,255,.12), rgba(212,175,106,.08));
    border: 1px solid rgba(168,132,255,.3);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: var(--space-5);
    display: none;
}

.rec-result.visible {
    display: block;
}

.rec-result-time {
    font-size: 2.6rem;
    font-weight: 700;
    color: #d4af6a;
    text-align: center;
    margin-bottom: 4px;
    font-family: var(--font-serif);
}

.rec-result-asc {
    font-size: var(--text-xl);
    text-align: center;
    margin-bottom: 6px;
    color: var(--text-main);
}

.rec-result-conf {
    text-align: center;
    font-size: .88rem;
    color: #8990b4;
    margin-bottom: var(--space-5);
}

.rec-result-expl {
    line-height: 1.6;
    color: #e0e3f5;
}

.rec-result-cta {
    margin-top: var(--space-5);
    padding: 18px;
    background: rgba(212,175,106,.08);
    border-radius: var(--radius-md);
    text-align: center;
}

.rec-autocomplete {
    position: relative;
}

.rec-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    margin-top: 2px;
    z-index: 10;
    max-height: 260px;
    overflow-y: auto;
}

.rec-sug {
    padding: 9px 12px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.rec-sug:hover {
    background: rgba(168,132,255,.12);
}

/* ----- PAGE: /natal/sinastriya synastry, pink/violet romantic theme ----- */
@keyframes pulse {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.syn-wrapper {
    max-width: 960px;
    margin: 5rem auto 0 auto;
    padding: 0 var(--space-5) var(--space-10);
}

.syn-rel-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
    justify-content: center;
}

.syn-rel-tab {
    padding: 10px 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: .92rem;
    color: #b4b8d8;
    transition: all .15s;
}

.syn-rel-tab.active {
    background: linear-gradient(135deg, #ff6b9b, #a884ff);
    border-color: transparent;
    color: var(--text-main);
}

.syn-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: var(--space-5);
}

.syn-persons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

@media (max-width: 800px) {
    .syn-persons {
        grid-template-columns: 1fr;
    }
}

.syn-person {
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    padding: var(--space-5);
    position: relative;
}

.syn-person-A::before, .syn-person-B::before {
    content: 'A';
    position: absolute;
    top: -14px;
    left: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a884ff, #d4af6a);
    border-radius: 50%;
    color: #1a1d2e;
    font-weight: 700;
    font-size: 14px;
}

.syn-person-B::before {
    content: 'B';
    background: linear-gradient(135deg, #ff6b9b, #a884ff);
}

.syn-person-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 0 0 var(--space-4);
}

.syn-label {
    display: block;
    font-size: .84rem;
    color: #b4b8d8;
    margin-bottom: 5px;
}

.syn-input, .syn-select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--text-main);
    border-radius: 9px;
    font-size: .94rem;
    margin-bottom: var(--space-3);
}

.syn-input:focus, .syn-select:focus {
    outline: none;
    border-color: #ff6b9b;
}

.syn-auto {
    position: relative;
}

.syn-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1d2e;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    margin-top: 2px;
    z-index: 20;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
}

.syn-sug {
    padding: 9px 12px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.syn-sug:hover {
    background: rgba(255, 107, 155, .12);
}

.syn-sug-name {
    font-size: .9rem;
    color: var(--text-main);
}

.syn-sug-meta {
    font-size: .76rem;
    color: #8990b4;
}

.syn-unk {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: -2px;
    font-size: .8rem;
    color: #b4b8d8;
}

.syn-unk input {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.syn-submit-wrap {
    background: linear-gradient(135deg, rgba(255,107,155,.08), rgba(168,132,255,.06));
    border: 1px solid rgba(255,107,155,.2);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.syn-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff6b9b;
    text-align: center;
    margin-bottom: 6px;
}

.syn-price-note {
    text-align: center;
    opacity: .7;
    font-size: .88rem;
    margin-bottom: var(--space-4);
}

/* .syn-submit structure via canonical .btn .btn--lg .btn--block, only colors stay page-specific */
.syn-submit {
    background: linear-gradient(135deg, #ff6b9b, #a884ff);
    color: var(--text-main);
    border-color: transparent;
}

.syn-submit:hover {
    box-shadow: 0 8px 24px rgba(255, 107, 155, .35);
}

.syn-error {
    background: rgba(248, 113, 113, .1);
    border: 1px solid rgba(248, 113, 113, .3);
    color: #ff9999;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    font-size: .9rem;
    display: none;
}

.syn-error.visible {
    display: block;
}

/* ----- PAGE: /natal main natal chart page ----- */
/* Hero */
.natal-hero-photo .hero-photo-img {
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
}

.natal-hero-photo .hero-photo-caption {
    right: 24px;
    bottom: 24px;
}

.hero .hpc-name {
}

.hero .hpc-role {
    font-size: 0.82rem;
    color: #c7cbe5;
    margin-top: 0;
}

@media (max-width: 768px) {
}

.natal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .natal-form-row {
        grid-template-columns: 1fr;
    }
}

.natal-label {
    display: block;
    font-size: .88rem;
    color: #b4b8d8;
    margin-bottom: 6px;
    font-weight: 500;
}

.natal-input, .natal-select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color .15s;
}

.natal-input:focus, .natal-select:focus {
    outline: none;
    border-color: #a884ff;
}

.natal-autocomplete {
    position: relative;
}

.natal-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1d2e;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    margin-top: 4px;
    z-index: 10;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}

.natal-suggestion {
    padding: 10px 14px;
    cursor: pointer;
    transition: background .12s;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.natal-suggestion:last-child {
    border-bottom: none;
}

.natal-suggestion:hover, .natal-suggestion.active {
    background: rgba(168, 132, 255, .15);
}

.natal-suggestion-name {
    font-size: .94rem;
    color: #fff;
    margin-bottom: 3px;
}

.natal-suggestion-meta {
    font-size: .78rem;
    color: #8990b4;
}

.natal-time-unknown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: .85rem;
    color: #b4b8d8;
}

.natal-time-unknown input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* 3 facts teaser ( ) */
.natal-teaser {
    display: none;
    position: relative;
    background: radial-gradient(120% 140% at 0% 0%, rgba(192, 132, 252, 0.14), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(251, 191, 36, 0.1), transparent 55%), linear-gradient(180deg, rgba(18, 22, 45, 0.6), rgba(10, 13, 28, 0.7));
    border: 1px solid rgba(192, 132, 252, 0.28);
    border-radius: 22px;
    padding: 32px 28px;
    margin: 30px 0;
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 26px 70px -30px rgba(192, 132, 252, 0.45);
    overflow: hidden;
}

.natal-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.7), rgba(192, 132, 252, 0.7), transparent);
}

.natal-teaser.visible {
    display: block;
    animation: fadeIn .5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.natal-teaser-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #fbbf24 0%, #d4af6a 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}

.natal-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.natal-fact-icon {
    font-size: 2rem;
    line-height: 1;
    color: #fbbf24;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.45));
    flex-shrink: 0;
}

.natal-fact-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.natal-fact-subtitle {
    font-size: .88rem;
    color: #b4b8d8;
    line-height: 1.45;
}

.natal-teaser-cta {
    margin-top: 22px;
    text-align: center;
    font-size: .95rem;
    font-weight: 600;
    color: #d4af6a;
    letter-spacing: 0.02em;
}

.natal-gift-wrap {
    margin: 28px 0 20px;
}

.natal-gift-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(255, 107, 155, 0.08), rgba(244, 114, 182, 0.04));
    border: 1px solid rgba(255, 107, 155, 0.25);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.natal-gift-toggle:hover {
    border-color: rgba(255, 107, 155, 0.5);
    background: linear-gradient(135deg, rgba(255, 107, 155, 0.12), rgba(244, 114, 182, 0.06));
}

.natal-gift-toggle input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ff6b9b;
}

.natal-gift-toggle-label {
    font-size: 0.96rem;
    color: #e0e3f5;
    font-weight: 500;
}

.natal-gift-fields {
    display: none;
    margin-top: 14px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 107, 155, 0.05), rgba(255, 107, 155, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 107, 155, 0.12);
    border-radius: 14px;
}

.natal-gift-fields.visible {
    display: block;
    animation: fadeIn .4s ease;
}

.natal-gift-fields p.natal-gift-hint {
    margin: 0 0 14px;
    font-size: 0.88rem;
    color: #b4b8d8;
    line-height: 1.5;
}

/* + submit */
.natal-checkout-caption {
    text-align: center;
    font-size: 0.78rem;
    color: #8990b4;
    margin-top: 14px;
    letter-spacing: 0.02em;
}

.natal-promo {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.natal-promo .natal-label {
    margin-bottom: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(184, 189, 209, 0.75);
}

.natal-promo-field {
    flex: 1;
}

.natal-promo-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    letter-spacing: 0.08em;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.natal-promo-input:focus {
    border-color: rgba(141, 160, 255, 0.5);
    background: rgba(91, 124, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.15);
}

.natal-promo-input::placeholder {
    color: rgba(184, 189, 209, 0.5);
    text-transform: none;
    letter-spacing: 0;
}

/* submit big CTA */
.natal-submit {
    position: relative;
    width: 100%;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c5cff 50%, var(--premium) 100%);
    background-size: 200% 200%;
    color: var(--text-main);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background-position .6s;
    letter-spacing: 0.02em;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 36px -10px rgba(91, 124, 255, 0.45), 0 4px 14px -4px rgba(192, 132, 252, 0.35);
    animation: natal-cta-pulse 3s ease-in-out infinite;
}

.natal-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.25) 45%, transparent 70%);
    transform: translateX(-100%);
    animation: natal-cta-shimmer 3.2s ease-in-out infinite;
    pointer-events: none;
}

.natal-submit:hover {
    transform: translateY(-2px);
    background-position: 100% 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 18px 48px -10px rgba(91, 124, 255, 0.6), 0 6px 20px -4px rgba(192, 132, 252, 0.5);
}

.natal-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    animation: none;
    background-position: 0 0;
}

.natal-submit:disabled::before {
    animation: none;
}

@keyframes natal-cta-pulse {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes natal-cta-shimmer {
    0% {
        transform: translateX(-100%);
    }

    55%, 100% {
        transform: translateX(130%);
    }
}

/* Features card (stat-item feature variant) */
.natal-error {
    display: none;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(248, 113, 113, 0.14), rgba(248, 113, 113, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #ff9999;
    font-size: 0.9rem;
}

.natal-error.visible {
    display: block;
}

/* ----- PAGE: /how-it-works ----- */
/* ========= HOW IT WORKS PAGE ========= */
/* ---- Reveal animation ---- */
.hiw-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
}

.hiw-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hiw-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
}

.hiw-reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.hiw-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
}

.hiw-reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.hiw-delay-1 {
    transition-delay: 0.1s;
}

.hiw-delay-2 {
    transition-delay: 0.2s;
}

.hiw-delay-3 {
    transition-delay: 0.3s;
}

.hiw-delay-4 {
    transition-delay: 0.4s;
}

/* ---- HERO ---- */
.hiw-hero {
    position: relative;
    padding: 0px 0 80px;
    text-align: center;
}

@keyframes hiw-pulse-dot {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.4);
    }
}

.hiw-hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hiw-hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.6);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hiw-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating orbit decoration */
.hiw-orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(79,107,255,.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: hiw-orbit-spin 30s linear infinite;
}

.hiw-orbit-2 {
    width: 760px;
    height: 760px;
    border-color: rgba(168,85,247,.05);
    animation-duration: 50s;
    animation-direction: reverse;
}

.hiw-orbit::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    font-size: 1rem;
    color: rgba(79,107,255,.5);
}

@keyframes hiw-orbit-spin {
    from {
        transform: translate(-50%,-50%) rotate(0deg);
    }

    to {
        transform: translate(-50%,-50%) rotate(360deg);
    }
}

/* ---- SECTION HEADER ---- */
.hiw-section {
    padding: 80px 0;
}

.hiw-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4f6bff;
    margin-bottom: 0.75rem;
}

.hiw-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hiw-section-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.55);
    max-width: 560px;
    line-height: 1.7;
}

/* ---- PROCESS STEPS (Card Grid) ---- */
.hiw-steps-section {
    padding: 60px 0 80px;
}

.hiw-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.hiw-step-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.hiw-step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(79,107,255,.06) 0%, transparent 65%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.hiw-step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79,107,255,.32);
    box-shadow: 0 20px 50px rgba(0,0,0,.28), 0 0 0 1px rgba(79,107,255,.08);
}

.hiw-step-card:hover::before {
    opacity: 1;
}

.hiw-step-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.hiw-step-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(79,107,255,.1);
    border: 1px solid rgba(79,107,255,.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s, border-color .3s;
}

.hiw-step-card:hover .hiw-step-card-icon {
    background: rgba(79,107,255,.18);
    border-color: rgba(79,107,255,.42);
}

.hiw-step-card-num {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(79,107,255,.4), rgba(168,85,247,.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hiw-step-card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4f6bff;
    margin-bottom: 0.45rem;
}

.hiw-step-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.hiw-step-card-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
    flex: 1;
}

/* ---- TECH SECTION ---- */
.hiw-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.hiw-tech-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.hiw-tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(79,107,255,.07) 0%, transparent 60%);
    pointer-events: none;
    transition: opacity .3s;
    opacity: 0;
}

.hiw-tech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79,107,255,.3);
    box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(79,107,255,.1);
}

.hiw-tech-card:hover::before {
    opacity: 1;
}

.hiw-tech-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(79,107,255,.2), rgba(168,85,247,.2));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.hiw-tech-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.hiw-tech-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
}

/* ---- VS SECTION ---- */
.hiw-vs-section {
    padding: 80px 0;
    overflow: hidden;
}

.hiw-vs-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: start;
    max-width: 900px;
    margin: 3rem auto 0;
}

.hiw-vs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4f6bff, #a855f7);
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    align-self: center;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(79,107,255,.4);
}

.hiw-vs-col {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    overflow: hidden;
}

.hiw-vs-col.hiw-vs-good {
    border-color: rgba(79,107,255,.3);
    background: rgba(79,107,255,.05);
}

.hiw-vs-head {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hiw-vs-head-icon {
    font-size: 1.25rem;
}

.hiw-vs-head-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.hiw-vs-head-sub {
    font-size: 0.78rem;
    color: rgba(255,255,255,.45);
}

.hiw-vs-list {
    padding: 1.25rem 1.5rem;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hiw-vs-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,.65);
    line-height: 1.5;
}

.hiw-vs-list li .hiw-vs-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-top: 2px;
}

.hiw-vs-list li .hiw-vs-icon.bad {
    background: rgba(239,68,68,.15);
    color: #ef4444;
}

.hiw-vs-list li .hiw-vs-icon.good {
    background: rgba(34,197,94,.15);
    color: #22c55e;
}

/* ---- WHAT YOU GET ---- */
.hiw-result-section {
    padding: 80px 0;
    overflow: hidden;
}

.hiw-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.hiw-result-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hiw-result-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    transition: border-color .3s, background .3s;
}

.hiw-result-item:hover {
    border-color: rgba(79,107,255,.3);
    background: rgba(79,107,255,.05);
}

.hiw-result-item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: rgba(79,107,255,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-result-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.hiw-result-item-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,.5);
    line-height: 1.5;
}

/* Mock report card */
.hiw-mock-report {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
}

.hiw-mock-report::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(168,85,247,.15) 0%, transparent 70%);
    pointer-events: none;
}

.hiw-mock-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 1rem;
}

.hiw-mock-section-label {
    font-size: 0.72rem;
    color: #4f6bff;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.hiw-mock-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.hiw-mock-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.hiw-mock-tag {
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
}

.hiw-mock-tag.purple {
    background: rgba(168,85,247,.15);
    color: #c084fc;
    border: 1px solid rgba(168,85,247,.25);
}

.hiw-mock-tag.blue {
    background: rgba(79,107,255,.15);
    color: #818cf8;
    border: 1px solid rgba(79,107,255,.25);
}

.hiw-mock-tag.teal {
    background: rgba(20,184,166,.15);
    color: #2dd4bf;
    border: 1px solid rgba(20,184,166,.25);
}

.hiw-mock-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.hiw-mock-action {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,.6);
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,.03);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.06);
}

.hiw-mock-action-num {
    width: 20px;
    height: 20px;
    background: rgba(79,107,255,.2);
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    font-weight: 700;
    flex-shrink: 0;
}

/* ---- CTA SECTION ---- */
.hiw-cta-section {
    padding: 80px 0 100px;
}

.hiw-cta-card {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, rgba(79,107,255,.1), rgba(168,85,247,.1));
    border: 1px solid rgba(79,107,255,.25);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.hiw-cta-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(79,107,255,.3), rgba(168,85,247,.3), transparent, transparent);
    border-radius: 28px;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes hiw-float-emoji {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hiw-cta-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hiw-cta-sub {
    font-size: 1rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hiw-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .hiw-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hiw-tech-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hiw-result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hiw-hero {
        padding: 90px 0 60px;
    }

    .hiw-steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .hiw-tech-grid {
        grid-template-columns: 1fr;
    }

    .hiw-vs-wrap {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hiw-vs-badge {
        display: none;
    }

    .hiw-cta-card {
        padding: 2.5rem 1.5rem;
    }

    .hiw-orbit, .hiw-orbit-2 {
        display: none;
    }
}

@media (max-width: 400px) {
    .hiw-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- PAGE: /tarot daily tarot card, gold theme ----- */
/* 
/tarot 
*/
:root {
    --tar-card-bg: rgba(16, 20, 40, 0.55);
    --tar-gold: #d4af6a;
    --tar-gold-hi: #f2ce8a;
    --tar-muted: #9fa3c7;
    --tar-muted-2: #6d7296;
    --tar-border: rgba(255,255,255,0.08);
    --tar-glass: rgba(100,130,255,0.12);
}

.tarot-page {
    position: relative;
    padding: 0px 0px 60px;
    min-height: calc(100vh - 200px);
}

.tarot-wrap {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* HERO sonnik/diary-style two-column */
@keyframes tarPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

/* RIGHT visual */
.tar-hero-visual {
    position: relative;
}

.tar-hero-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: radial-gradient(120% 80% at 50% 20%, rgba(212, 175, 106, 0.22), transparent 60%), linear-gradient(180deg, rgba(14, 18, 42, 0.9), rgba(4, 8, 22, 0.7));
    border: 1px solid var(--tar-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
    isolation: isolate;
}

.tar-hero-ph-badge {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(160deg, rgba(212, 175, 106, 0.4), rgba(212, 175, 106, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tar-gold-hi);
    font-size: 2.2rem;
    font-family: 'Cormorant Garamond', serif;
    box-shadow: 0 14px 40px rgba(212, 175, 106, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tar-hero-ph-label {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(196, 198, 205, 0.55);
}

.tar-hero-ph-hint {
    font-size: 0.88rem;
    color: var(--tar-muted);
    text-align: center;
    padding: 0 2rem;
}

.tar-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 106, 0.32), transparent 60%);
    filter: blur(60px);
    z-index: -2;
    animation: tarGlowPulse 4.5s ease-in-out infinite;
}

@keyframes tarGlowPulse {
    0%, 100% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* Floating mystical cards */
.tar-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    z-index: 3;
    background: rgba(12, 16, 40, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: tarFloatUp 5s ease-in-out infinite;
}

@keyframes tarFloatUp {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.tar-float-emoji {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.tar-float-body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.tar-float-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.tar-float-meta {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tar-muted);
}

.tar-float-1 {
    top: 8%;
    left: -6%;
    animation-delay: 0s;
}

.tar-float-2 {
    top: 11%;
    right: -4%;
    animation-delay: 1.2s;
}

.tar-float-3 {
    bottom: 16%;
    left: -8%;
    animation-delay: 2.4s;
}

.tar-float-4 {
    bottom: 8%;
    right: -6%;
    animation-delay: 3.6s;
}

.tar-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    margin-top: 10px;
    background: rgb(15 19 36);
    border-radius: 5px;
    font-size: 12px;
    color: var(--tar-muted);
}

@media (max-width: 960px) {
    .tar-float-1 {
        left: 0;
    }

    .tar-float-2 {
        right: 0;
    }

    .tar-float-3 {
        left: 0;
    }

    .tar-float-4 {
        right: 0;
    }
}

@media (max-width: 720px) {
}

/* STAGE */
.tar-stage {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 20px;
}

.tar-spreads-jump {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 24px;
    color: rgba(238, 235, 255, 0.72);
    font-size: 14px;
}

#tarot-spreads {
    scroll-margin-top: 96px;
}

.tar-question {
    margin: 28px 0 24px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(159, 145, 211, 0.24);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0%, rgba(139, 124, 186, 0.14), transparent 36%),
        linear-gradient(145deg, rgba(19, 22, 39, 0.96), rgba(12, 15, 29, 0.96));
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
    scroll-margin-top: 96px;
}

.tar-question__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.tar-question__header h2 {
    margin: 8px 0 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1;
    color: #fff;
}

.tar-question__header p {
    max-width: 680px;
    margin: 0;
    color: rgba(233, 231, 246, 0.7);
    line-height: 1.6;
}

.tar-question__quota {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(212, 175, 106, 0.28);
    border-radius: 999px;
    background: rgba(212, 175, 106, 0.08);
    color: rgba(255, 241, 205, 0.84);
    font-size: 12px;
    white-space: nowrap;
}

.tar-question__quota span + span {
    padding-left: 9px;
    border-left: 1px solid rgba(212, 175, 106, 0.24);
}

.tar-question__guide {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-left: 2px solid rgba(159, 145, 211, 0.68);
    border-radius: 0 10px 10px 0;
    background: rgba(139, 124, 186, 0.07);
    color: rgba(233, 231, 246, 0.72);
    font-size: 13px;
    line-height: 1.6;
}

.tar-question__guide strong {
    color: #eeeaff;
}

.tar-question__form {
    display: grid;
    gap: 10px;
}

.tar-question__form[hidden],
.tar-question__choose[hidden],
.tar-question__result[hidden],
.tar-question__loading[hidden],
.tar-question__limit[hidden] {
    display: none;
}

.tar-question__form label {
    color: #f0edff;
    font-size: 13px;
    font-weight: 600;
}

.tar-question__form textarea {
    width: 100%;
    min-height: 112px;
    resize: vertical;
    padding: 14px 16px;
    border: 1px solid rgba(168, 160, 205, 0.22);
    border-radius: 12px;
    outline: none;
    background: rgba(5, 8, 18, 0.56);
    color: #f5f3ff;
    font: inherit;
    line-height: 1.55;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.tar-question__form textarea::placeholder {
    color: rgba(221, 217, 240, 0.38);
}

.tar-question__form textarea:focus {
    border-color: rgba(181, 166, 233, 0.7);
    box-shadow: 0 0 0 3px rgba(139, 124, 186, 0.12);
}

.tar-question__form > .btn {
    justify-self: start;
    margin-top: 4px;
}

.tar-question__form-meta {
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: rgba(224, 220, 241, 0.44);
    font-size: 11px;
}

.tar-question__error {
    color: #f3a7ad;
}

.tar-question__guest,
.tar-question__limit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.tar-question__guest p {
    margin: 0;
    color: rgba(236, 233, 248, 0.68);
}

.tar-question__limit {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 16px;
    color: rgba(236, 233, 248, 0.68);
}

.tar-question__limit strong {
    color: #fff;
}

.tar-question__payment-status {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(145, 164, 210, 0.22);
    border-radius: 11px;
    background: rgba(82, 104, 157, 0.1);
    color: rgba(238, 242, 255, 0.84);
    font-size: 13px;
    line-height: 1.5;
}

.tar-question__payment-status[hidden] {
    display: none;
}

.tar-question__payment-status[data-tone="success"] {
    border-color: rgba(91, 184, 137, 0.3);
    background: rgba(54, 142, 100, 0.1);
    color: #d7f5e5;
}

.tar-question__payment-status[data-tone="error"] {
    border-color: rgba(223, 111, 121, 0.3);
    background: rgba(168, 65, 77, 0.1);
    color: #ffd9dc;
}

.tar-question__payment-status[role="button"] {
    cursor: pointer;
}

.tar-question__choose-head {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.tar-question__choose-head h3 {
    margin: 8px 0 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    color: #fff;
}

.tar-question__choose-head p {
    margin: 0;
    color: rgba(236, 233, 248, 0.62);
    font-style: italic;
}

.tar-question__edit {
    margin-top: 10px;
}

.tar-question__fan {
    margin: 10px auto 0;
}

.tar-question__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 30px;
    color: rgba(242, 239, 255, 0.72);
    font-size: 13px;
}

.tar-question__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(209, 200, 241, 0.24);
    border-top-color: #d8c47e;
    border-radius: 50%;
    animation: tar-question-spin 800ms linear infinite;
}

@keyframes tar-question-spin {
    to { transform: rotate(360deg); }
}

.tar-question__result {
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(212, 175, 106, 0.2);
    border-radius: 14px;
    background: rgba(4, 7, 16, 0.4);
}

.tar-question__result-card {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.tar-question__result-card img {
    width: 88px;
    aspect-ratio: 0.5;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.tar-question__result-card h3 {
    margin: 6px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    color: #fff;
}

.tar-question__result-card p {
    margin: 0;
    color: rgba(235, 230, 201, 0.66);
    font-size: 13px;
}

.tar-question__result-question {
    margin-bottom: 16px;
    color: rgba(231, 226, 250, 0.64);
    font-style: italic;
}

.tar-question__answer {
    color: rgba(248, 246, 255, 0.86);
    font-size: 15px;
    line-height: 1.75;
    white-space: pre-line;
}

.tar-question__result-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    color: rgba(230, 226, 243, 0.46);
    font-size: 12px;
}

body.tar-question-paywall-open {
    overflow: hidden;
}

.tar-question-paywall[hidden] {
    display: none;
}

.tar-question-paywall {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 20px;
}

.tar-question-paywall__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 11, 0.78);
    backdrop-filter: blur(10px);
}

.tar-question-paywall__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(90vh, 760px);
    overflow-y: auto;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(177, 163, 222, 0.24);
    border-radius: 18px;
    background:
        radial-gradient(circle at 20% 0%, rgba(131, 112, 184, 0.16), transparent 36%),
        linear-gradient(145deg, rgba(22, 25, 43, 0.99), rgba(10, 13, 26, 0.99));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
}

.tar-question-paywall__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(239, 237, 249, 0.66);
    font-size: 22px;
    cursor: pointer;
}

.tar-question-paywall__dialog h3 {
    margin: 9px 40px 8px 0;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 2.7rem);
    line-height: 1.05;
}

.tar-question-paywall__lead {
    max-width: 650px;
    margin: 0 0 20px;
    color: rgba(234, 231, 247, 0.7);
    line-height: 1.6;
}

.tar-question-paywall__products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.tar-question-paywall__product {
    position: relative;
    display: grid;
    gap: 5px;
    min-height: 144px;
    padding: 17px 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(232, 229, 245, 0.6);
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.tar-question-paywall__product:hover {
    transform: translateY(-2px);
    border-color: rgba(182, 168, 224, 0.34);
}

.tar-question-paywall__product.is-selected {
    border-color: rgba(212, 175, 106, 0.72);
    background: rgba(212, 175, 106, 0.075);
    box-shadow: 0 0 0 1px rgba(212, 175, 106, 0.12);
}

.tar-question-paywall__product strong {
    color: #f5f1ff;
    font-size: 15px;
}

.tar-question-paywall__price {
    color: #fff4d6;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    line-height: 1;
}

.tar-question-paywall__badge {
    justify-self: start;
    min-height: 20px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(212, 175, 106, 0.14);
    color: #f4d99f;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tar-question-paywall__error {
    min-height: 20px;
    margin-bottom: 5px;
    color: #f3a7ad;
    font-size: 12px;
}

.tar-question-paywall__trust {
    margin-top: 12px;
    color: rgba(225, 222, 239, 0.48);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.tar-question-paywall__wait {
    display: block;
    margin: 12px auto 0;
    border: 0;
    background: transparent;
    color: rgba(225, 222, 239, 0.58);
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

@media (max-width: 680px) {
    .tar-stage {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tar-spreads-jump {
        flex-direction: column;
        text-align: center;
    }

    .tar-question__header,
    .tar-question__guest {
        flex-direction: column;
        align-items: stretch;
    }

    .tar-question__quota {
        align-self: flex-start;
        align-items: flex-start;
        flex-direction: column;
        white-space: normal;
    }

    .tar-question__quota span + span {
        padding-top: 5px;
        padding-left: 0;
        border-top: 1px solid rgba(212, 175, 106, 0.24);
        border-left: 0;
    }

    .tar-question__guest .btn {
        width: 100%;
    }

    .tar-question__result-card {
        align-items: flex-start;
    }

    .tar-question__result-card img {
        width: 72px;
    }

    .tar-question__result-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .tar-question-paywall {
        padding: 10px;
    }

    .tar-question-paywall__dialog {
        max-height: 94vh;
        padding: 22px 16px;
        border-radius: 15px;
    }

    .tar-question-paywall__products {
        grid-template-columns: 1fr;
    }

    .tar-question-paywall__product {
        min-height: 0;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .tar-question-paywall__product > span:last-child,
    .tar-question-paywall__badge {
        grid-column: 1 / -1;
    }
}

.tar-deck-area {
    position: relative;
    aspect-ratio: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
    margin: 0 auto;
    width: 100%;
    max-width: 240px;
}

@media (max-width: 680px) {
    .tar-deck-area {
        max-width: 200px;
    }
}

.tar-card-scene {
    width: 100%;
    aspect-ratio: 0.5;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.0s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    z-index: 2;
}

.tar-card-scene.flipped {
    transform: rotateY(180deg);
    cursor: default;
}

.tar-card-scene.locked {
    cursor: pointer;
}

.tar-card-scene.locked::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 50%,
        rgba(212, 175, 106, 0.28),
        transparent 65%);
    z-index: -1;
    animation: tar-locked-glow 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes tar-locked-glow {
    0%, 100% { opacity: 0.55; transform: scale(0.96); }
    50%      { opacity: 1;    transform: scale(1.04); }
}

.tar-card-scene.locked .tar-card-back-cta {
    color: var(--tar-gold-hi);
    border-color: rgba(212, 175, 106, 0.7);
    background: linear-gradient(135deg,
        rgba(212, 175, 106, 0.18),
        rgba(0, 0, 0, 0.4));
}

.tar-card-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 106, 0.3), 0 0 40px rgba(79, 107, 255, 0.18);
}

.tar-card-back {
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 235, 190, 0.28), transparent 34%),
        radial-gradient(circle at 72% 78%, rgba(190, 218, 255, 0.22), transparent 40%),
        linear-gradient(145deg, #8b7cba 0%, #6574a9 48%, #465b8b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tar-card-back::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(212, 175, 106, 0.45);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 239, 198, 0.28), transparent 42%),
        linear-gradient(45deg, transparent 48%, rgba(255, 245, 218, 0.12) 49%, rgba(255, 245, 218, 0.12) 51%, transparent 52%);
}

.tar-card-back-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 2;
}

.tar-card-back-inner .star {
    font-size: 56px;
    color: var(--tar-gold);
    text-shadow: 0 0 24px rgba(212, 175, 106, 0.6);
    animation: tar-pulse 3s ease-in-out infinite;
}

.tar-card-back-cta {
    padding: 6px 14px;
    border: 1px solid rgba(212, 175, 106, 0.5);
    border-radius: var(--radius-pill);
    font-size: 10px;
    letter-spacing: 1.8px;
    color: var(--tar-gold-hi);
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    animation: tar-cta 2s ease-in-out infinite;
}

@keyframes tar-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes tar-cta {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 106, 0.4);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 0 0 10px rgba(212, 175, 106, 0);
    }
}

.tar-card-scene:hover:not(.flipped) {
    transform: translateY(-4px) rotateZ(-1.5deg);
}

.tar-card-front {
    transform: rotateY(180deg);
    background: #000;
}

.tar-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tar-deck-stack {
    position: absolute;
    width: 100%;
    aspect-ratio: 0.5;
    pointer-events: none;
    z-index: 1;
}

.tar-deck-stack .phantom {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #776ca7 0%, #53679b 100%);
    border: 1px solid rgba(212, 175, 106, 0.2);
    border-radius: 12px;
    opacity: 0.45;
    transition: opacity 0.6s;
}

.tar-deck-stack .phantom:nth-child(1) {
    transform: translate(-7px, 6px) rotate(-2.5deg);
}

.tar-deck-stack .phantom:nth-child(2) {
    transform: translate(6px, 5px) rotate(2deg);
    opacity: 0.3;
}

.tar-card-scene.flipped ~ .tar-deck-stack .phantom {
    opacity: 0;
}

/* INFO SLOT (pre-reveal / reveal / unauth) */
.tar-info-slot {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
}

.tar-info-slot > * {
    width: 100%;
}

.tar-pre-reveal {
    transition: opacity 0.4s;
}

.tar-pre-reveal.hidden {
    opacity: 0;
    pointer-events: none;
}

.tar-reveal {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s 0.5s, transform 0.7s 0.5s;
}

.tar-reveal.shown {
    opacity: 1;
    transform: translateY(0);
}

.tar-label {
    color: var(--tar-gold);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tar-reveal h2, .tar-pre-reveal h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.15;
}

.tar-reveal h2 {
    font-size: clamp(24px, 4vw, 30px);
    margin-bottom: 4px;
}

.tar-pre-reveal h2 {
    font-size: clamp(22px, 3.5vw, 28px);
    margin-bottom: 10px;
}

.tar-meta {
    color: var(--tar-muted);
    font-size: 12px;
    margin-bottom: 14px;
}

.tar-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 6px;
}

.tar-text + .tar-text {
    color: var(--tar-muted);
    font-size: 13px;
}

.tar-pre-reveal p {
    color: var(--tar-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.tar-pre-reveal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0;
}

.tar-pre-reveal-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--tar-muted);
}

.tar-pre-reveal-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tar-gold);
    box-shadow: 0 0 10px rgba(212, 175, 106, 0.5);
    flex-shrink: 0;
}

.tar-pre-reveal-list li strong {
    color: #fff;
    font-weight: 500;
}

.tar-pre-reveal-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: rgba(79, 107, 255, 0.12);
    border: 1px solid rgba(79, 107, 255, 0.3);
    color: #768fff;
    font-size: 12px;
}

.tar-pre-reveal-cta svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 680px) {
    .tar-pre-reveal {
        text-align: center;
    }

    .tar-pre-reveal-list {
        align-items: center;
    }
}

/* GUEST variant of pre-reveal (unauth /tarot) */
.tar-pre-reveal--guest .tar-label {
    color: var(--tar-gold-hi);
}

.tar-pre-reveal--guest .tar-actions {
    align-items: center;
    margin-top: 18px;
}

.tar-pre-reveal-hint {
    color: var(--tar-muted-2);
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 680px) {
    .tar-pre-reveal-hint {
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }
}

/* BTN */
.tar-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.tar-btn svg {
    width: 14px;
    height: 14px;
}

.tar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* STREAK */
.tar-streak {
    background: var(--tar-card-bg);
    border: 1px solid var(--tar-border);
    border-radius: 14px;
    padding: 12px 14px;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.tar-streak-count {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
}

.tar-streak-count-big {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--tar-gold);
    line-height: 1;
}

.tar-streak-count-label {
    color: var(--tar-muted);
    font-size: 11px;
}

.tar-streak-days {
    display: flex;
    gap: 5px;
    flex: 1;
    justify-content: flex-end;
}

.tar-streak-day {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tar-border);
    font-size: 10px;
    color: var(--tar-muted);
    background: rgba(255,255,255,0.02);
    flex-shrink: 0;
}

.tar-streak-day.done {
    background: linear-gradient(135deg, rgba(212, 175, 106, 0.25), rgba(212, 175, 106, 0.1));
    border-color: var(--tar-gold);
    color: var(--tar-gold);
}

.tar-streak-day.today {
    border-color: #768fff;
    color: #768fff;
    box-shadow: 0 0 12px rgba(79, 107, 255, 0.5);
    background: rgba(79, 107, 255, 0.15);
}

.tar-streak-day.empty {
    opacity: 0.35;
}

.tar-streak-reward {
    font-size: 11px;
    color: var(--tar-muted);
}

.tar-streak-reward strong {
    color: var(--tar-gold-hi);
    display: block;
    font-size: 12px;
}

@media (max-width: 680px) {
    .tar-streak {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tar-streak-days {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 4px;
    }

    .tar-streak-day {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
}

/* DREAM LINK */
.tar-dream-link {
    background: linear-gradient(135deg, rgba(79, 107, 255, 0.12), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(79, 107, 255, 0.25);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s 0.9s, transform 0.7s 0.9s;
}

.tar-dream-link.shown {
    opacity: 1;
    transform: translateY(0);
}

.tar-dream-link-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 9px;
    background: rgba(79, 107, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #768fff;
    border: 1px solid rgba(79, 107, 255, 0.3);
}

.tar-dream-link-icon svg {
    width: 18px;
    height: 18px;
}

.tar-dream-link-text {
    flex: 1;
    min-width: 0;
}

.tar-dream-link-text h3 {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tar-dream-link-text p {
    color: var(--tar-muted);
    font-size: 11.5px;
    line-height: 1.4;
    margin-top: 2px;
}

@media (max-width: 680px) {
    .tar-dream-link {
        flex-wrap: wrap;
    }

    .tar-dream-link .tar-btn {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }
}

/* AI-link result */
.tar-dream-link-result {
    background: linear-gradient(135deg, rgba(212,175,106,0.08), rgba(99,102,241,0.06));
    border: 1px solid rgba(212,175,106,0.28);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .5s ease, opacity .4s ease, padding .4s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.tar-dream-link-result.shown {
    max-height: 800px;
    opacity: 1;
    padding-top: 16px;
    padding-bottom: 18px;
}

.tar-link-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212,175,106,0.18);
}

.tar-link-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--tar-gold-hi);
    letter-spacing: 0.3px;
}

.tar-link-sub {
    font-size: 11px;
    color: var(--tar-muted-2);
}

.tar-link-body {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-line;
}

.tar-link-body p {
    margin: 0 0 10px;
}

.tar-link-body.loading {
    text-align: center;
    padding: 20px 0;
    color: var(--tar-muted);
}

.tar-link-body.loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(212,175,106,0.3);
    border-top-color: var(--tar-gold);
    border-radius: 50%;
    animation: tar-spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes tar-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ----- PAGE: /sonnik dream dictionary index, sky theme ----- */
/* ============ LAYOUT CONSTRAINT ============ */
#main-content > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============ HERO ============ */
.sonnik-h1-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    vertical-align: middle;
    margin-right: .35rem;
    border-radius: 14px;
    color: var(--primary);
    background: radial-gradient(circle at 30% 30%, rgba(79,107,255,.22) 0%, rgba(168,85,247,.12) 60%, transparent 100%);
    border: 1px solid rgba(79,107,255,.25);
}

.sonnik-h1-icon svg {
    color: var(--primary);
    -webkit-text-fill-color: initial;
}

/* ============ SEARCH ============ */
.sonnik-search {
    position: relative;
    max-width: 620px;
    margin: 0 auto 1.1rem;
}

.sonnik-search:focus-within .sonnik-search-icon {
    color: var(--primary);
}

.sonnik-search-input {
    width: 100%;
    padding: 1.05rem 3rem 1.05rem 3.2rem;
    border-radius: 14px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.3;
    transition: all .2s ease;
    background: #191c2a;
    border: none;
    border-bottom: 3px solid #10121a;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
}

.sonnik-search-input::placeholder {
    color: var(--text-muted);
    opacity: .75;
}

.sonnik-search-input:focus {
    border: none
}

.sonnik-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: none;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .15s;
}

.sonnik-search-clear:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.sonnik-search.has-value .sonnik-search-clear {
    display: grid;
}

/* ============ QUICK CHIPS ============ */
/* ============ HERO CTA ============ */
/* ============ ALPHABET INDEX (STICKY) ============ */
.sonnik-alpha {
    position: sticky;
    top: 70px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .7rem .9rem;
    background: rgba(6, 9, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin: 0 0 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* ============ SEARCH EMPTY STATE ============ */
.sonnik-search-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(12, 16, 32, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.sonnik-search-empty .empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(79, 107, 255, 0.1);
    color: var(--primary);
    margin-bottom: .75rem;
}

.sonnik-search-empty p {
    color: var(--text-muted);
    margin: 0 0 .4rem;
}

.sonnik-search-empty p:first-of-type {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}

.sonnik-search-empty a {
    color: var(--primary);
    text-decoration: none;
}

.sonnik-search-empty a:hover {
    text-decoration: underline;
}

/* ============ FEATURED SYMBOLS GRID ============ */
.sonnik-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .8rem;
    margin: 0 0 2.5rem;
}

.sonnik-featured-card:hover::before {
    opacity: 1;
}

.sonnik-featured-card:nth-child(3n+2) .featured-card-icon {
    background: rgba(168, 85, 247, 0.14);
    border-color: rgba(168, 85, 247, 0.26);
    color: #c084fc;
}

.sonnik-featured-card:nth-child(3n+3) .featured-card-icon {
    background: rgba(79, 255, 140, 0.1);
    border-color: rgba(79, 255, 140, 0.22);
    color: #5eead4;
}

/* ============ CATEGORIES ============ */
.sonnik-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: .8rem;
    margin: 0 0 2.2rem;
}

/* ============ SYMBOLS GRID ============ */
.sonnik-symbols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: .7rem;
    margin: 0 0 2.5rem;
}

.sonnik-symbol-tile::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.85rem;
    width: 14px;
    height: 14px;
    transform: translateY(-50%) translateX(6px);
    background-color: var(--primary);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14'/><path d='m12 5 7 7-7 7'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14'/><path d='m12 5 7 7-7 7'/></svg>");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    opacity: 0;
    transition: all 0.25s ease;
}

.sonnik-symbol-tile:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.sonnik-symbol-tile strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.sonnik-symbol-tile span {
    display: block;
    margin-top: .2rem;
    color: var(--text-muted);
    opacity: .7;
    font-size: .78rem;
}

/* ============ SECTION TITLES ============ */
.sonnik-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 2.2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #fff;
}

.sonnik-section-title::before {
    content: '';
    width: 3px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary), var(--premium));
}

.section-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* Category letter anchors */
h2[id^="letter-"].sonnik-section-title {
    font-size: 1.75rem;
    background: #ffffff;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2[id^="letter-"].sonnik-section-title::before {
    display: none;
}

/* Subcategory title (on /sonnik index) */
.sonnik-subcat-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 1.5rem 0 .75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #e1e4ef;
}

.subcat-title-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.subcat-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(79, 107, 255, 0.12);
    color: var(--primary);
    border-radius: 8px;
}

.sonnik-subcat-title a {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .82rem;
    color: var(--primary);
    text-decoration: none;
    opacity: .8;
    transition: opacity .2s;
}

.sonnik-subcat-title a:hover {
    opacity: 1;
}

/* Empty state */
.sonnik-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(12, 16, 32, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.sonnik-empty p {
    color: var(--text-muted);
    margin: 0 0 .5rem;
}

.sonnik-empty p:first-child {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .6rem;
}

@media (max-width: 768px) {
    .sonnik-search-input {
        padding: .9rem 2.8rem .9rem 2.9rem;
        font-size: .95rem;
    }

    .sonnik-alpha {
        top: 60px;
        flex-wrap: wrap;
        padding: .6rem .7rem;
        gap: .5rem;
    }

    .sonnik-alpha-label {
        display: none;
    }

    .sonnik-alpha a {
        min-width: 30px;
        padding: .3rem .45rem;
        font-size: .85rem;
    }

    .sonnik-section-title {
        font-size: 1.25rem;
        margin-top: 2rem;
    }

    .sonnik-featured-grid {
        grid-template-columns: 1fr;
    }

    .sonnik-categories {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
SONNIK HERO v4 full-bleed with WebGL shader
================================================== */
/* Breadcrumbs sit at the top of hero */
/* ==================================================
SEARCH BAR moved out of hero
================================================== */
.sk-searchbar {
    max-width: 760px;
    margin: 3.5rem auto 2rem;
    position: relative;
    z-index: 5;
}

.sk-searchbar .sk-hero-search {
    max-width: none;
    margin: 0 0 1rem;
}

.sk-searchbar .sk-hero-chips {
    max-width: none;
    margin: 0;
    justify-content: center;
}

/* LEFT content */
@keyframes skPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

/* Search */
.sk-hero-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8990b4;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 1;
}

.sk-hero-search:focus-within .sk-hero-search-icon {
    color: #a8b8ff;
}

.sk-hero-search-input::placeholder {
    color: #8990b4;
    opacity: 0.85;
}

.sk-hero-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: none;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
    z-index: 1;
}

.sk-hero-search-clear:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.sk-hero-search.has-value .sk-hero-search-clear {
    display: grid;
}

/* Quick chips */
.sk-hero-chips {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin: 0 0 1.75rem;
    max-width: 520px;
}

.sk-hero-chips-label {
    font-size: 0.72rem;
    color: #8990b4;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    margin-right: 0.3rem;
}

.sk-hero-chip {
    padding: 0.32rem 0.8rem;
    border-radius: 5px;
    background: rgb(25 27 40);
    font-size: 0.85rem;
    color: #d7dbeb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sk-hero-chip:hover {
    background: rgba(91, 124, 255, 0.18);
    color: #fff;
}

/* Stats clean, no box */
/* CTAs */
/* RIGHT visual */
.sk-hero-visual {
    position: relative;
}

/* Central glow */
.sk-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(91, 124, 255, 0.35), transparent 60%);
    filter: blur(60px);
    z-index: -2;
    animation: skGlowPulse 4.5s ease-in-out infinite;
}

@keyframes skGlowPulse {
    0%, 100% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* Floating symbol cards */
.sk-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    background: rgba(12, 16, 40, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 3;
    animation: skFloatUp 5s ease-in-out infinite;
}

@keyframes skFloatUp {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.sk-float-emoji {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.sk-float-body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.sk-float-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.sk-float-meta {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8990b4;
}

.sk-float-1 {
    top: 8%;
    left: -6%;
    animation-delay: 0s;
}

.sk-float-2 {
    top: 15%;
    right: 4%;
    animation-delay: 1.2s;
}

.sk-float-3 {
    bottom: 16%;
    left: -8%;
    animation-delay: 2.4s;
}

.sk-float-4 {
    bottom: 8%;
    right: -6%;
    animation-delay: 3.6s;
}

/* Floating particles */
.sk-float-particle {
    position: absolute;
    color: rgba(168, 184, 255, 0.55);
    font-size: 1rem;
    animation: skParticleDrift 7s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.sk-float-particle-1 {
    top: 32%;
    left: 18%;
    animation-delay: 0s;
}

.sk-float-particle-2 {
    top: 50%;
    right: 22%;
    animation-delay: 2.3s;
    font-size: 0.75rem;
}

.sk-float-particle-3 {
    top: 70%;
    left: 26%;
    animation-delay: 4.6s;
    font-size: 0.85rem;
}

@keyframes skParticleDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    25% {
        transform: translate(6px, -10px) scale(1.1);
        opacity: 0.9;
    }

    50% {
        transform: translate(-8px, -18px) scale(0.9);
        opacity: 0.7;
    }

    75% {
        transform: translate(4px, -8px) scale(1.05);
        opacity: 1;
    }
}

/* ==================================================
ALPHABET minimal, no boxes
================================================== */
.sonnik-alpha {
    position: sticky;
    top: 70px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.75rem 1.1rem;
    background: rgba(6, 9, 20, 0.85);
    border: 0;
    border-radius: 5px;
    margin: 0 0 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: #050812;
    border-bottom: 3px solid #04050a;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
}

.sonnik-alpha-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    opacity: .8;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding-left: 0.4rem;
}

.sonnik-alpha-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    flex: 1;
}

.sonnik-alpha a {
    min-width: 30px;
    padding: 0.4rem 0.55rem;
    background: transparent;
    border: 0;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    color: #c9d0e5;
    text-align: center;
    transition: all 0.2s ease;
}

.sonnik-alpha a:hover, .sonnik-alpha a.is-active {
    background: rgba(91, 124, 255, 0.18);
    border-color: rgba(79, 107, 255, 0.45);
    color: #fff;
    transform: translateY(-1px);
}

/* ==================================================
FEATURED CARDS tinted gradient, no hard border
================================================== */
.sonnik-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 0 0 2.5rem;
}

.sonnik-featured-card {
    position: relative;
    padding: 1.3rem 1.3rem 1.1rem;
    border: 0;
    background: #050812;
    border-bottom: 3px solid #04050a;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
}

.sonnik-featured-card::before {
    content: none;
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(79, 107, 255, 0.45), rgba(168, 85, 247, 0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
}

.sonnik-featured-card:hover {
    transform: translateY(-4px);
    background: radial-gradient(120% 80% at 0% 0%, rgb(91 124 255 / 5%), transparent 55%), rgba(14, 18, 38, 0.55);
}

.featured-card-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.featured-card-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(91, 124, 255, 0.28), rgba(91, 124, 255, 0.06));
    border: 0;
    color: #a8b8ff;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.sonnik-featured-card:nth-child(5n+2) .featured-card-icon {
    background: linear-gradient(160deg, rgba(192, 132, 252, 0.28), rgba(192, 132, 252, 0.06));
    color: #d4b8ff;
}

.sonnik-featured-card:nth-child(5n+3) .featured-card-icon {
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.24), rgba(34, 211, 238, 0.06));
    color: #7dd3fc;
}

.sonnik-featured-card:nth-child(5n+4) .featured-card-icon {
    background: linear-gradient(160deg, rgba(251, 146, 60, 0.22), rgba(251, 146, 60, 0.06));
    color: #fdba74;
}

.sonnik-featured-card:nth-child(5n+5) .featured-card-icon {
    background: linear-gradient(160deg, rgba(244, 114, 182, 0.22), rgba(244, 114, 182, 0.06));
    color: #f9a8d4;
}

.featured-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    color: #fff;
}

.featured-card-desc {
    color: #b8bdd4;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 0.85rem;
    flex: 1;
}

.featured-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-card-cat {
    font-size: 0.7rem;
    color: #8990b4;
    opacity: .8;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
}

.featured-card-arrow {
    display: inline-flex;
    color: #a8b8ff;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(91, 124, 255, 0.14);
}

.sonnik-featured-card:hover .featured-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ==================================================
CATEGORIES clean, no border, gradient hover
================================================== */
.sonnik-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 0 0 2.5rem;
}

.sonnik-cat-card {
    position: relative;
    padding: 1.35rem 1.35rem 1.15rem;
    background: #050812;
    border-bottom: 3px solid #04050a;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    border: 0;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
}

.sonnik-cat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--cat-glow, radial-gradient(120% 80% at 100% 0%, rgba(91, 124, 255, 0.1), transparent 55%));
    opacity: 0.6;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.sonnik-cat-card:hover {
    transform: translateY(-4px);
}

.sonnik-cat-card:hover::before {
    opacity: 1;
}

.sonnik-cat-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 0.8rem;
}

.sonnik-cat-card-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(91, 124, 255, 0.26), rgba(91, 124, 255, 0.06));
    border: 0;
    color: #a8b8ff;
    border-radius: 13px;
    flex-shrink: 0;
}

.sonnik-cat-card:nth-child(5n+2) {
    --cat-glow: radial-gradient(120% 80% at 100% 0%, rgba(192, 132, 252, 0.14), transparent 55%);
}

.sonnik-cat-card:nth-child(5n+2) .sonnik-cat-card-icon {
    background: linear-gradient(160deg, rgba(192, 132, 252, 0.26), rgba(192, 132, 252, 0.06));
    border-color: rgba(168, 85, 247, 0.26);
    color: #d4b8ff;
}

.sonnik-cat-card:nth-child(5n+3) {
    --cat-glow: radial-gradient(120% 80% at 100% 0%, rgba(34, 211, 238, 0.14), transparent 55%);
}

.sonnik-cat-card:nth-child(5n+3) .sonnik-cat-card-icon {
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.22), rgba(34, 211, 238, 0.06));
    border-color: rgba(34, 211, 238, 0.24);
    color: #7dd3fc;
}

.sonnik-cat-card:nth-child(5n+4) {
    --cat-glow: radial-gradient(120% 80% at 100% 0%, rgba(251, 146, 60, 0.13), transparent 55%);
}

.sonnik-cat-card:nth-child(5n+4) .sonnik-cat-card-icon {
    background: linear-gradient(160deg, rgba(251, 146, 60, 0.2), rgba(251, 146, 60, 0.06));
    border-color: rgba(251, 146, 60, 0.22);
    color: #fdba74;
}

.sonnik-cat-card:nth-child(5n+5) {
    --cat-glow: radial-gradient(120% 80% at 100% 0%, rgba(244, 114, 182, 0.13), transparent 55%);
}

.sonnik-cat-card:nth-child(5n+5) .sonnik-cat-card-icon {
    background: linear-gradient(160deg, rgba(244, 114, 182, 0.2), rgba(244, 114, 182, 0.06));
    border-color: rgba(244, 114, 182, 0.22);
    color: #f9a8d4;
}

.sonnik-cat-card-heading {
    flex: 1;
    min-width: 0;
}

.sonnik-cat-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 0.25rem;
    color: #fff;
}

.sonnik-cat-card-count {
    display: inline-block;
    padding: 0.12rem 0.55rem;
    background: rgba(91, 124, 255, 0.14);
    border: 1px solid rgba(79, 107, 255, 0.2);
    border-radius: var(--radius-pill);
    color: #a8b8ff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sonnik-cat-card-desc {
    color: #b8bdd4;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 0 0.85rem;
}

.sonnik-cat-card-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: .2rem;
}

.preview-chip {
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 0;
    border-radius: 8px;
    font-size: 0.76rem;
    color: #c5c9d6;
    font-weight: 500;
}

.preview-chip-more {
    background: rgba(91, 124, 255, 0.14);
    border-color: rgba(79, 107, 255, 0.2);
    color: #a8b8ff;
}

.sonnik-cat-card:hover .preview-chip {
    background: rgba(255, 255, 255, 0.07);
}

.sonnik-symbol-tile {
    position: relative;
    padding: .85rem 1.1rem;
    border: 0;
    border-radius: var(--radius-md);
    background: #050812;
    border-bottom: 3px solid #04050a;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    text-decoration: none;
    color: #acb2c9;
    transition: all 0.25s ease;
    overflow: hidden;
}

.sonnik-symbol-tile:hover {
    transform: translateY(-2px);
}

.sonnik-section-title {
    margin: 2.5rem 0 1.25rem;
}

@media (max-width: 960px) {
    .sk-float-1 {
        left: 0;
    }

    .sk-float-2 {
        right: 0;
    }

    .sk-float-3 {
        left: 0;
    }

    .sk-float-4 {
        right: 0;
    }
}

@media (max-width: 720px) {
    .sonnik-alpha {
        flex-wrap: wrap;
        border-radius: 18px;
    }
}

:root {
    --bg: #03040c;
    --bg-card: rgba(12, 16, 32, 0.6);
    --primary: #4f6bff;
    --primary-hover: #768fff;
    --premium: #6366f1;
    --text: #ffffff;
    --text-muted: #9fa3c7;
    --border: rgba(255,255,255,0.08);
    --glass: rgba(100,130,255,0.15);
    --success: #4fff8c;
    --warn: #fbbf24;
}

.container {
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
}

.diary-content {
    max-width: 1200px;
}

/* Background glow orbs */
.diary-content::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 600px 400px at 15% 10%, rgba(79,107,255,0.1), transparent), radial-gradient(ellipse 500px 350px at 85% 60%, rgba(99,102,241,0.07), transparent), radial-gradient(ellipse 400px 300px at 50% 90%, rgba(79,107,255,0.05), transparent);
    pointer-events: none;
    z-index: 0;
}

.diary-content > * {
    position: relative;
    z-index: 1;
}

/* Header compact */
.diary-header {
    padding: 0 0 16px;
    text-align: center;
}

.diary-header h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #c4cbf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
}

.diary-header p {
    color: var(--text-muted);
    font-size: 0.88rem;
    max-width: 440px;
    margin: 0 auto;
    opacity: 0.8;
}

.sub-credits-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79,107,255,0.15), rgba(99,102,241,0.12), rgba(79,107,255,0.08));
    border: 1px solid rgba(79,107,255,0.25);
    box-shadow: 0 4px 20px rgba(79,107,255,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.sub-credits-banner::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%);
    pointer-events: none;
}

.sub-credits-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
}

.sub-credits-info svg {
    stroke: var(--primary-hover);
    flex-shrink: 0;
}

.sub-credits-buy {
    font-size: 0.78rem;
    font-family: inherit;
    color: #fff;
    text-decoration: none;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary), var(--premium));
    border: none;
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.2s;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(79,107,255,0.3);
}

.sub-credits-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(79,107,255,0.4);
}

.diary-subtabs {
    display: flex;
    gap: 4px;
    margin-bottom: 1.25rem;
    padding: 4px;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
}

.diary-subtab {
    flex: 1;
    padding: 9px 12px;
    background: none;
    border: none;
    border-radius: 10px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.diary-subtab:hover {
    color: rgba(255,255,255,0.7);
}

.diary-subtab.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(79,107,255,0.25), rgba(139,92,246,0.18));
    border: 1px solid rgba(79,107,255,0.3);
    box-shadow: 0 2px 12px rgba(79,107,255,0.15);
}

.diary-subtab svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    flex-shrink: 0;
}

.diary-subtab.active svg {
    opacity: 1;
    stroke: var(--primary-hover);
}

.diary-subpanel {
    display: none;
}

.diary-subpanel.active {
    display: block;
}

/* Activity card (streak + week dots + calendar) */
.activity-card {
    background: linear-gradient(135deg, rgba(12,16,32,0.8), rgba(12,16,32,0.6));
    border: 1px solid rgba(79,107,255,0.12);
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.02) inset;
}

/* Streak + week row */
.streak-week-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.streak-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.streak-fire {
    font-size: 1.5rem;
    animation: fire-pulse 1.8s ease-in-out infinite;
}

@keyframes fire-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.streak-info {
}

.streak-num {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.streak-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Mini week dots */
.mini-week {
    display: flex;
    gap: 5px;
    align-items: center;
}

.mini-week-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.mini-week-dot {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    transition: all 0.3s;
    color: transparent;
}

.mini-week-dot.done {
    background: linear-gradient(135deg, var(--primary), var(--premium));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 1px 6px rgba(79,107,255,0.25);
}

.mini-week-dot.today {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79,107,255,0.12);
}

.mini-week-dot.today.done {
    box-shadow: 0 1px 6px rgba(79,107,255,0.25), 0 0 0 2px rgba(79,107,255,0.12);
}

.mini-week-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Stats grid with icons */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(12,16,32,0.7), rgba(12,16,32,0.5));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    border-color: rgba(79,107,255,0.2);
    box-shadow: 0 4px 16px rgba(79,107,255,0.08);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
}

.stat-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.stat-icon-blue {
    background: rgba(79,107,255,0.15);
}

.stat-icon-blue svg {
    stroke: var(--primary-hover);
}

.stat-icon-indigo {
    background: rgba(99,102,241,0.15);
}

.stat-icon-indigo svg {
    stroke: #818cf8;
}

.stat-icon-cyan {
    background: rgba(34,211,238,0.15);
}

.stat-icon-cyan svg {
    stroke: #22d3ee;
}

.stat-icon-green {
    background: rgba(74,222,128,0.15);
}

.stat-icon-green svg {
    stroke: #4ade80;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 3px;
}

.stat-hint {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
    line-height: 1.3;
    font-weight: 500;
}

.stat-hint.accent {
    color: var(--primary-hover);
}

.stat-hint-sym {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Add dream button */
.add-dream-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, rgba(79,107,255,0.12), rgba(99,102,241,0.08));
    border: 1.5px dashed rgba(79,107,255,0.3);
    border-radius: 14px;
    color: var(--primary-hover);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    margin-bottom: 1.25rem;
}

.add-dream-btn:hover {
    background: linear-gradient(135deg, rgba(79,107,255,0.2), rgba(99,102,241,0.14));
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79,107,255,0.15);
}

.add-dream-btn svg {
    transition: transform 0.3s;
}

.add-dream-btn:hover svg {
    transform: rotate(90deg);
}

/* Pattern insights removed for compact layout */
/* Calendar strip (inside activity-card) */
.activity-divider {
    height: 1px;
    background: var(--border);
    margin: 0.75rem 0;
}

.activity-cal-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.calendar-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.calendar-strip::-webkit-scrollbar {
    display: none;
}

.cal-day {
    min-width: 44px;
    padding: 10px 4px 8px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
    scroll-snap-align: center;
    background: rgba(255,255,255,0.02);
    position: relative;
}

.cal-day:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-1px);
}

.cal-day:active {
    transform: scale(0.95);
}

.cal-day-name {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.cal-day-num {
    font-size: 1rem;
    font-weight: 700;
    margin: 5px 0 4px;
    line-height: 1;
}

.cal-day.today {
    background: rgba(79,107,255,0.12);
    border-color: rgba(79,107,255,0.35);
    box-shadow: 0 0 12px rgba(79,107,255,0.1);
}

.cal-day.today .cal-day-name {
    color: var(--primary-hover);
}

.cal-day.today .cal-day-num {
    color: var(--primary-hover);
}

.cal-day.selected {
    background: linear-gradient(135deg, var(--primary), var(--premium));
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(79,107,255,0.35);
    transform: translateY(-2px);
}

.cal-day.selected .cal-day-name {
    color: rgba(255,255,255,0.8);
}

.cal-day.selected .cal-day-num {
    color: #fff;
}

.cal-day-dots {
    display: flex;
    justify-content: center;
    gap: 3px;
    min-height: 8px;
}

.cal-day-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.cal-day.has-dream .cal-day-dot {
    background: var(--primary);
}

.cal-day.selected .cal-day-dot {
    background: rgba(255,255,255,0.7);
}

.cal-day-dot.mood-happy {
    background: #4fff8c;
}

.cal-day-dot.mood-sad {
    background: #60a5fa;
}

.cal-day-dot.mood-scared {
    background: #f87171;
}

.cal-day-dot.mood-neutral {
    background: #a0a5b5;
}

.cal-day-dot.mood-angry {
    background: #fb923c;
}

/* Dream entries compact */
.dreams-list {
    margin-bottom: 2rem;
}

.dream-entry {
    background: linear-gradient(135deg, rgba(12,16,32,0.7), rgba(12,16,32,0.5));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 0.6rem;
    backdrop-filter: blur(16px);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}

/* Left accent bar based on mood */
.dream-entry::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--primary);
    opacity: 0.5;
    transition: opacity 0.2s;
}

.dream-entry:hover::before {
    opacity: 1;
}

.dream-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(79,107,255,0.15);
    border-color: rgba(79,107,255,0.2);
}

.dream-entry:active {
    transform: scale(0.99);
}

.dream-entry-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.dream-entry-date {
    font-size: 0.82rem;
    color: var(--primary-hover);
    font-weight: 500;
}

.dream-entry-mood {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mood-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mood-dot.positive, .mood-dot.mood-happy {
    background: var(--success);
}

.mood-dot.neutral, .mood-dot.mood-neutral {
    background: var(--warn);
}

.mood-dot.negative, .mood-dot.mood-scared {
    background: #ff4f4f;
}

.mood-dot.mood-sad {
    background: #60a5fa;
}

.mood-dot.mood-angry {
    background: #fb923c;
}

.dream-entry-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.dream-entry-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dream-entry-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.dream-tag {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(79,107,255,0.1);
    color: var(--primary-hover);
    border: 1px solid rgba(79,107,255,0.15);
}

.dream-tag.lucid {
    background: rgba(99,102,241,0.1);
    color: #93a3f8;
    border-color: rgba(99,102,241,0.15);
}

.dream-interpreted {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--success);
}

/* Filters row */
.filters-row {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.filters-row::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 7px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover {
    border-color: rgba(255,255,255,0.15);
    color: var(--text);
}

.filter-btn.active {
    background: rgba(79,107,255,0.12);
    border-color: var(--primary);
    color: var(--primary-hover);
}

/* "?" badge */
.dream-fulfilled {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
    background: none;
    border: none;
    font-family: inherit;
}

.dream-fulfilled.pending {
    background: rgba(251,191,36,0.1);
    color: var(--warn);
    border: 1px dashed rgba(251,191,36,0.3);
}

.dream-fulfilled.pending:hover {
    background: rgba(251,191,36,0.15);
    border-style: solid;
}

.dream-fulfilled.yes {
    background: rgba(74,222,128,0.1);
    color: var(--success);
}

.dream-fulfilled.no {
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
}

.dream-fulfilled.partial {
    background: rgba(96,165,250,0.1);
    color: #60a5fa;
}

/* Fulfilled popup */
.fulfilled-popup {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-card-solid, #0c1020);
    border: 1px solid rgba(79,107,255,0.2);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
}

.fulfilled-popup.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.fp-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.fp-dream-name {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.fp-options {
    display: flex;
    gap: 8px;
}

.fp-option {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.fp-option:hover {
    border-color: var(--primary);
    background: rgba(79,107,255,0.08);
}

.fp-option-emoji {
    font-size: 1.2rem;
}

.fp-option.selected {
    background: rgba(79,107,255,0.15);
    border-color: var(--primary);
}

/* Symbol Map (Bubble Chart) */
.symbol-map-card {
    background: linear-gradient(135deg, rgba(12,16,32,0.8), rgba(12,16,32,0.5));
    border: 1px solid rgba(79,107,255,0.1);
    border-radius: 18px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(16px);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.symbol-map-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.symbol-map-title svg {
    color: var(--primary-hover);
    flex-shrink: 0;
}

.symbol-bubbles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 1rem 0;
    min-height: 140px;
    align-items: center;
    position: relative;
}

.symbol-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    gap: 1px;
    animation: bubbleIn 0.5s ease backwards;
}

.symbol-bubble:nth-child(1) {
    animation-delay: 0s;
}

.symbol-bubble:nth-child(2) {
    animation-delay: 0.06s;
}

.symbol-bubble:nth-child(3) {
    animation-delay: 0.12s;
}

.symbol-bubble:nth-child(4) {
    animation-delay: 0.18s;
}

.symbol-bubble:nth-child(5) {
    animation-delay: 0.24s;
}

.symbol-bubble:nth-child(6) {
    animation-delay: 0.3s;
}

.symbol-bubble:nth-child(7) {
    animation-delay: 0.36s;
}

.symbol-bubble:nth-child(8) {
    animation-delay: 0.42s;
}

@keyframes bubbleIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Color themes for variety */
.symbol-bubble.theme-blue {
    border: 1.5px solid rgba(79,107,255,0.3);
    background: radial-gradient(circle at 35% 35%, rgba(79,107,255,0.22), rgba(79,107,255,0.05));
    box-shadow: 0 4px 20px rgba(79,107,255,0.08);
}

.symbol-bubble.theme-purple {
    border: 1.5px solid rgba(99,102,241,0.3);
    background: radial-gradient(circle at 35% 35%, rgba(99,102,241,0.22), rgba(99,102,241,0.05));
    box-shadow: 0 4px 20px rgba(99,102,241,0.08);
}

.symbol-bubble.theme-cyan {
    border: 1.5px solid rgba(34,211,238,0.3);
    background: radial-gradient(circle at 35% 35%, rgba(34,211,238,0.2), rgba(34,211,238,0.04));
    box-shadow: 0 4px 20px rgba(34,211,238,0.08);
}

.symbol-bubble.theme-amber {
    border: 1.5px solid rgba(251,191,36,0.3);
    background: radial-gradient(circle at 35% 35%, rgba(251,191,36,0.18), rgba(251,191,36,0.04));
    box-shadow: 0 4px 20px rgba(251,191,36,0.08);
}

.symbol-bubble.theme-rose {
    border: 1.5px solid rgba(244,114,182,0.3);
    background: radial-gradient(circle at 35% 35%, rgba(244,114,182,0.2), rgba(244,114,182,0.04));
    box-shadow: 0 4px 20px rgba(244,114,182,0.08);
}

.symbol-bubble:hover {
    transform: scale(1.15) translateY(-4px);
    z-index: 2;
}

.symbol-bubble.theme-blue:hover {
    border-color: rgba(79,107,255,0.6);
    box-shadow: 0 8px 32px rgba(79,107,255,0.25);
}

.symbol-bubble.theme-purple:hover {
    border-color: rgba(99,102,241,0.6);
    box-shadow: 0 8px 32px rgba(99,102,241,0.25);
}

.symbol-bubble.theme-cyan:hover {
    border-color: rgba(34,211,238,0.6);
    box-shadow: 0 8px 32px rgba(34,211,238,0.25);
}

.symbol-bubble.theme-amber:hover {
    border-color: rgba(251,191,36,0.6);
    box-shadow: 0 8px 32px rgba(251,191,36,0.25);
}

.symbol-bubble.theme-rose:hover {
    border-color: rgba(244,114,182,0.6);
    box-shadow: 0 8px 32px rgba(244,114,182,0.25);
}

/* Largest bubble gets subtle pulse */
.symbol-bubble.primary-symbol {
    animation: bubbleIn 0.5s ease backwards, bubblePulse 3s ease-in-out 1s infinite;
}

@keyframes bubblePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.symbol-bubble-emoji {
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.symbol-bubble-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    color: rgba(255,255,255,0.9);
}

.symbol-bubble-count {
    position: absolute;
    top: -3px;
    right: -3px;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.theme-blue .symbol-bubble-count {
    background: #4f6bff;
}

.theme-purple .symbol-bubble-count {
    background: #a855f7;
}

.theme-cyan .symbol-bubble-count {
    background: #22d3ee;
}

.theme-amber .symbol-bubble-count {
    background: #f59e0b;
}

.theme-rose .symbol-bubble-count {
    background: #f472b6;
}

.symbol-map-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 1.5rem 0;
}

/* Dream Connection */
.dream-connection {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin-top: 8px;
    border-radius: 10px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.15);
    font-size: 0.72rem;
    color: var(--premium-hover, #93a3f8);
    transition: all 0.2s;
}

.dream-connection:hover {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.3);
}

.dream-connection svg {
    flex-shrink: 0;
}

/* Dream Fact of the Day */
.dream-fact {
    background: linear-gradient(135deg, rgba(251,191,36,0.06), rgba(245,158,11,0.04));
    border: 1px solid rgba(251,191,36,0.15);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dream-fact-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.dream-fact-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.dream-fact-text strong {
    color: var(--text);
}

/* Achievements Row */
.achievements-section {
    margin-bottom: 1.5rem;
}

.achievements-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.achievements-row::-webkit-scrollbar {
    display: none;
}

.achievement.unlocked {
    border-color: rgba(79,107,255,0.3);
    box-shadow: 0 0 20px rgba(79,107,255,0.1);
}

.achievement.locked {
    opacity: 0.4;
    filter: grayscale(0.6);
}

.achievement-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.achievement-name {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
}

.achievement-desc {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.achievement-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-check svg {
    width: 10px;
    height: 10px;
    color: #000;
}

.achievement-xp {
    font-size: 0.55rem;
    color: var(--primary-hover);
    margin-top: 3px;
    font-weight: 600;
}

/* XP Level Bar */
.xp-level-card {
    background: linear-gradient(135deg, rgba(12,16,32,0.8), rgba(12,16,32,0.5));
    border: 1px solid rgba(79,107,255,0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

.xp-level-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
    pointer-events: none;
}

.xp-level-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    position: relative;
}

.xp-level-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.xp-level-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(79,107,255,0.2), rgba(99,102,241,0.15));
}

.xp-level-name {
    font-size: 1rem;
    font-weight: 600;
}

.xp-level-num {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.xp-level-xp {
    font-size: 0.75rem;
    color: var(--primary-hover);
    font-weight: 600;
    position: relative;
}

.xp-progress {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.xp-progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--premium));
    transition: width 0.8s ease;
}

.xp-next-level {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* Challenges */
.challenges-section {
    margin-bottom: 1.5rem;
}

.challenges-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.challenges-title svg {
    color: var(--warn);
}

.challenge-card {
    background: linear-gradient(135deg, rgba(12,16,32,0.7), rgba(12,16,32,0.5));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.challenge-card.completed {
    border-color: rgba(74,222,128,0.2);
    background: linear-gradient(135deg, rgba(74,222,128,0.06), rgba(12,16,32,0.5));
}

.challenge-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.challenge-info {
    flex: 1;
    min-width: 0;
}

.challenge-name {
    font-size: 0.85rem;
    font-weight: 500;
}

.challenge-progress-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.challenge-bar {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.challenge-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--warn), #f59e0b);
    transition: width 0.5s;
}

.challenge-card.completed .challenge-bar-fill {
    background: linear-gradient(90deg, var(--success), #22c55e);
}

.challenge-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.challenge-xp {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-hover);
    white-space: nowrap;
}

/* Achievement category label */
.ach-cat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 1rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Weekly Report Card */
.weekly-report-card {
    background: linear-gradient(135deg, rgba(79,107,255,0.08), rgba(99,102,241,0.06));
    border: 1px solid rgba(79,107,255,0.2);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.weekly-report-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(79,107,255,0.12), transparent 70%);
    pointer-events: none;
}

.wr-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.wr-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--premium));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.wr-title {
    font-size: 1rem;
    font-weight: 600;
}

.wr-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.wr-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.wr-insight {
    padding: 0.85rem;
    border-radius: var(--radius-md);
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.04);
}

.wr-insight-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wr-insight-value {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
}

.wr-insight-value.positive {
    color: var(--success);
}

.wr-insight-value.accent {
    color: var(--primary-hover);
}

/* Onboarding Tips */
.onboarding-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79,107,255,0.06), rgba(99,102,241,0.04));
    border: 1px solid rgba(79,107,255,0.15);
    position: relative;
    animation: tipFadeIn 0.4s ease;
}

@keyframes tipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.onboarding-tip-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.onboarding-tip-body {
    flex: 1;
    min-width: 0;
}

.onboarding-tip-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--primary-hover);
}

.onboarding-tip-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.onboarding-tip-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    opacity: 0.5;
    transition: opacity 0.2s;
    line-height: 1;
}

.onboarding-tip-close:hover {
    opacity: 1;
}

/* Unlock hint ( < 3 ) */
.unlock-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(79,107,255,0.05));
    border: 1px dashed rgba(139,92,246,0.25);
}

.unlock-hint-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.unlock-hint-body {
    flex: 1;
    min-width: 0;
}

.unlock-hint-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.unlock-hint-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.unlock-hint-count {
    color: var(--primary-hover);
    font-weight: 700;
}

/* Accordion Step 2 */
.diary-details {
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin: 0.5rem 0 0.75rem;
}

.diary-details summary {
    cursor: pointer;
    padding: 0.85rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
    transition: color 0.15s;
}

.diary-details summary::-webkit-details-marker {
    display: none;
}

.diary-details summary::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid var(--text-muted);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.diary-details[open] summary::before {
    transform: rotate(90deg);
}

.diary-details summary:hover {
    color: var(--text);
}

.diary-details-hint {
    margin-left: auto;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    font-weight: 400;
}

.diary-details-body {
    padding: 0.25rem 0 0.5rem;
}

/* Pagination */
.diary-pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2rem;
}

.diary-page-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diary-page-btn:hover {
    border-color: var(--primary);
    color: #fff;
}

.diary-page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
}

/* Empty state */
.diary-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.diary-empty svg {
    margin-bottom: 1rem;
    opacity: 0.4;
}

.diary-empty p {
    font-size: 1rem;
}

/* Guest gate */
/* Modal (dream record) */
/* Scoped to #diary-modal to avoid conflicts with global style.css .modal-overlay/.modal */
#diary-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    /* Override global style.css .modal-overlay */
    opacity: 1;
    visibility: visible;
}

#diary-modal.open {
    display: flex;
}

#diary-modal .modal {
    background: #0a0e1e;
    border: 1px solid var(--glass);
    border-radius: 24px;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    animation: modalIn 0.3s cubic-bezier(0.16,1,0.3,1);
    /* Override global style.css .modal */
    overflow: visible;
    overflow-y: auto;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(79,107,255,0.08);
}

#diary-modal .modal::before {
    display: none;
}

@keyframes modalIn {
    from {
        transform: translateY(20px) scale(0.97);
        opacity: 0;
    }
}

#diary-modal .modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Override global style.css gradient text */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: #fff;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    font-size: 0.82rem;
    margin-bottom: 6px;
    color: var(--text-muted);
    display: block;
    font-weight: 500;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: rgba(79,107,255,0.4);
    box-shadow: 0 0 0 3px rgba(79,107,255,0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.mood-selector {
    display: flex;
    gap: 8px;
}

.mood-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
}

.mood-btn:hover {
    background: rgba(255,255,255,0.06);
}

.mood-btn.selected {
    border-color: var(--primary);
    background: rgba(79,107,255,0.1);
}

.tags-input-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-height: 44px;
    cursor: text;
}

.tags-input {
    flex: 1;
    min-width: 80px;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}

#diary-modal .modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.005em;
    line-height: 1.2;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* border: none; */
    font-family: inherit;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: #93a3f8;
    cursor: pointer;
}

.checkbox-row input {
    accent-color: var(--premium);
}

/* Step hint */
#diary-modal .modal-step-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: -1rem 0 1.25rem;
    padding: 4px 10px;
    background: rgba(79,107,255,0.06);
    border-radius: 6px;
    display: inline-block;
}

/* AI badge */
.ai-badge {
    display: inline-block;
    padding: 1px 7px;
    background: linear-gradient(135deg, rgba(79,107,255,0.2), rgba(99,102,241,0.15));
    border-radius: 5px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #818cf8;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 6px;
}

.form-label-hint {
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Symbol chips (toggleable) */
.ai-symbols {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.symbol-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.5;
}

.symbol-chip.active {
    background: rgba(79,107,255,0.1);
    border-color: rgba(79,107,255,0.3);
    color: var(--primary-hover);
    opacity: 1;
}

.symbol-chip:hover {
    opacity: 0.8;
}

.symbol-chip.active:hover {
    opacity: 1;
    background: rgba(79,107,255,0.15);
}

.symbol-emoji {
    font-size: 1rem;
}

/* Emotion bars */
.ai-emotions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.emotion-item {
}

.emotion-bar-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emotion-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 90px;
}

.emotion-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
}

.emotion-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.16,1,0.3,1);
}

/* Dream type badges */
.dream-type-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dtype-badge {
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 500;
}

.dtype-negative, .dtype-warning {
    background: rgba(248,113,113,0.1);
    color: #f87171;
    border: 1px solid rgba(248,113,113,0.2);
}

.dtype-fantasy {
    background: rgba(232,121,249,0.1);
    color: #e879f9;
    border: 1px solid rgba(232,121,249,0.2);
}

.dtype-desire {
    background: rgba(251,191,36,0.1);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,0.2);
}

/* AI brief card */
.ai-brief-card {
    background: linear-gradient(135deg, rgba(79,107,255,0.06), rgba(99,102,241,0.04));
    border: 1px solid rgba(79,107,255,0.15);
    border-radius: 14px;
    padding: 1.1rem;
    margin-bottom: 1rem;
}

.ai-brief-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-hover);
    margin-bottom: 0.6rem;
}

.ai-brief-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.ai-brief-text strong {
    color: var(--text);
}

.ai-brief-cta {
    margin-top: 0.75rem;
    text-align: right;
}

/* AI Insight card */
.ai-insight-card {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(251,191,36,0.08), rgba(245,158,11,0.04));
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 14px;
    margin-bottom: 1rem;
}

.ai-insight-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--warn);
    margin-bottom: 0.5rem;
}

.ai-insight-icon {
    font-size: 1.1rem;
}

.ai-insight-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.ai-insight-text strong {
    color: var(--text);
}

.ai-natal-card {
    margin-bottom: 1rem;
}

.ai-natal-have {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 0.85rem;
    background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(201,160,255,0.06));
    border: 1px solid rgba(168,85,247,0.25);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #c9a0ff;
}

.ai-natal-upsell {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(168,85,247,0.06), rgba(255,215,138,0.03));
    border: 1px solid rgba(168,85,247,0.18);
    border-radius: 14px;
}

.ai-natal-upsell-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1.2;
}

.ai-natal-upsell-body {
    flex: 1;
    min-width: 0;
}

.ai-natal-upsell-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.ai-natal-upsell-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0.55rem;
}

.ai-natal-upsell-text b {
    color: #c9a0ff;
    font-weight: 600;
}

.ai-natal-upsell-link {
    display: inline-block;
    font-size: 0.82rem;
    color: #c9a0ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.ai-natal-upsell-link:hover {
    color: #e4c8ff;
}

.btn-sm {
}

.diary-content .btn-outline {
    background: transparent;
    border: 1px solid rgba(79,107,255,0.3);
    color: var(--primary-hover);
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.diary-content .btn-outline:hover {
    background: rgba(79,107,255,0.08);
    border-color: var(--primary);
}

/* Loading animation */
.analyzing-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

.analyzing-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(79,107,255,0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1.25rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.analyzing-text {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.analyzing-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Skeleton */
.diary-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 0;
    }

    .stat-card {
        padding: 0.75rem 0.5rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .stat-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .stat-icon svg {
        width: 15px;
        height: 15px;
    }

    .dream-entry {
        padding: 0.85rem 1rem;
        margin-bottom: 0.5rem;
    }

    .dream-entry-title {
        font-size: 0.9rem;
    }

    .dream-entry-text {
        font-size: 0.8rem;
    }

    .dream-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .cal-day {
        min-width: 40px;
        padding: 6px 3px 5px;
        border-radius: var(--radius-md);
    }

    .cal-day-num {
        font-size: 0.85rem;
    }

    .add-dream-btn {
        display: none;
    }

    .diary-fab {
        display: flex;
    }

    .activity-card {
        padding: 0.75rem 1rem;
    }

    .mini-week-dot {
        width: 18px;
        height: 18px;
        border-radius: 5px;
        font-size: 0.5rem;
    }

    .streak-fire {
        font-size: 1.2rem;
    }

    .streak-num {
        font-size: 0.95rem;
    }
}

/* Floating Action Button mobile only */
.diary-fab {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--premium));
    color: #fff;
    border: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(79,107,255,0.4), 0 0 0 4px rgba(79,107,255,0.1);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.diary-fab:active {
    transform: scale(0.9);
}

.diary-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(79,107,255,0.5), 0 0 0 6px rgba(79,107,255,0.15);
}

.diary-fab svg {
    width: 24px;
    height: 24px;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(6, 8, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.mobile-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}

.mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.mob-nav-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
    transition: all 0.2s;
}

.mob-nav-item.active {
    color: var(--primary);
}

.mob-nav-item.active svg {
    filter: drop-shadow(0 0 6px rgba(79,107,255,0.4));
}

.mob-nav-item:active {
    transform: scale(0.9);
}

.mob-nav-item.cta-btn {
    position: relative;
    top: -14px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f6bff, #4f46e5);
    color: #fff;
    padding: 0;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(79,107,255,0.4);
    font-size: 0;
}

.mob-nav-item.cta-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.mob-nav-item.cta-btn:active {
    transform: scale(0.85);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    body {
        /* padding-bottom: 80px; */
    }

    .diary-fab {
        display: none;
    }
}

/* Cabinet styles (merged from myorders) */
.main-page-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.main-page-tab {
    padding: .65rem 1.25rem;
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    font-size: .92rem;
    font-family: inherit;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.main-page-tab:hover {
    color: rgba(255,255,255,.65);
}

.main-page-tab.active {
    color: var(--primary-hover);
    border-bottom-color: var(--primary);
}

.main-page-tab svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.main-page-tab.active svg {
    opacity: 1;
}

.mo-tab.active {
    color: #818cf8;
    border-bottom-color: #818cf8;
}

.mo-tab-content.active {
    display: block;
}

.mo-user-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    margin-top: 60px;
}

.mo-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #818cf8, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.mo-user-info {
    flex: 1;
    min-width: 0;
}

.mo-user-email {
    font-size: .88rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mo-user-since {
    font-size: .75rem;
    color: rgba(255,255,255,.35);
}

.mo-logout-btn {
    padding: .35rem .75rem;
    background: none;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    font-size: .72rem;
    font-family: inherit;
    transition: all .2s;
}

.mo-logout-btn:hover {
    background: rgba(239,68,68,.1);
    border-color: rgba(239,68,68,.3);
    color: #ef4444;
}

.mo-auth-tab {
    flex: 1;
    padding: .75rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.5);
    cursor: pointer;
    font-size: .9rem;
    font-family: inherit;
    transition: all .2s;
    text-align: center;
}

.mo-auth-tab:first-child {
    border-radius: 8px 0 0 8px;
}

.mo-auth-tab:last-child {
    border-radius: 0 8px 8px 0;
}

.mo-auth-tab.active {
    background: rgba(167,139,250,.15);
    border-color: rgba(167,139,250,.3);
    color: #818cf8;
}

.mo-auth-panel {
    display: none;
}

.mo-auth-panel.active {
    display: block;
}

.mo-stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.mo-stat-card {
    padding: 1rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    text-align: center;
}

.mo-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #818cf8;
}

.mo-stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.4);
    margin-top: .25rem;
}

.mo-settings-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.mo-settings-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    margin-bottom: 1rem;
}

.mo-password-form {
    max-width: 400px;
}

.mo-success-msg {
    padding: .75rem 1rem;
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.2);
    border-radius: 8px;
    color: #22c55e;
    font-size: .9rem;
    margin-bottom: 1rem;
    display: none;
}

.mo-success-msg.visible {
    display: block;
}

.mo-forgot-section, .mo-reset-section {
    display: none;
}

.mo-forgot-section.active, .mo-reset-section.active {
    display: block;
}

.mo-form-row .mo-form-group {
    flex: 1;
}

/* Guest Promo Page */
/* Hero */
@keyframes orbit-spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes pulse-dot {
    0%,100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.6);
        opacity: .4
    }
}

/* Mockup Cards Section */
/* Card grid */
/* Demo split */
/* Mock UI */
/* Streak row mock */
.dp-m-wd.on {
    background: linear-gradient(135deg,#4f6bff,#6366f1);
    border-color: transparent;
    color: #fff
}

/* Entry mock */
/* Insight mock */
/* Bubbles mock */
/* Achievement mock */
.dp-m-ach.done {
    border-color: rgba(79,107,255,.25);
    box-shadow: 0 0 12px rgba(79,107,255,.08)
}

.dp-m-ach.locked {
    opacity: .35;
    filter: grayscale(.5)
}

/* XP bar mock */
/* Challenge mock */
/* CTA */
/* Auth modal tabs */
.auth-m-tab.active {
    background: rgba(79,107,255,.15);
    border-color: rgba(79,107,255,.3);
    color: var(--primary-hover, #768fff);
}

/* Guest page responsive */
@media(max-width: 1024px) {
}

@media(max-width: 768px) {
}

@media(max-width: 600px) {
}

/* 
DIARY GUEST editorial redesign (.dg-*)
*/
.dg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1.5rem;
}

.dg-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: howPulse 2.4s ease-in-out infinite;
}

/* HERO */
.dg-hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(141, 160, 255, 0.14);
    border-radius: 50%;
    animation: orbit-spin 30s linear infinite;
    pointer-events: none;
}

.dg-hero-orbit-1 {
    width: 520px;
    height: 520px;
    margin: -260px 0 0 -260px;
}

.dg-hero-orbit-2 {
    width: 760px;
    height: 760px;
    margin: -380px 0 0 -380px;
    animation-duration: 50s;
    animation-direction: reverse;
    border-color: rgba(141, 160, 255, 0.07);
}

@keyframes orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero visual */
.dg-hero-visual {
    position: relative;
}

.dg-hero-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    isolation: isolate;
}

.dg-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Ensure content sits above the shared .hero-shader canvas */
/* Ambient glow behind hero placeholder */
.dg-hero-glow {
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    background: radial-gradient(circle, rgba(91, 124, 255, 0.28), transparent 60%);
    filter: blur(40px);
    z-index: -1;
    animation: dgGlowPulse 4s ease-in-out infinite;
}

@keyframes dgGlowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Floating mini-UI cards */
.dg-float {
    position: absolute;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: linear-gradient(90deg, #1c1c497d 0%, #1c1c571c 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 3;
    animation: dgFloatUp 5s ease-in-out infinite;
    backdrop-filter: blur(14px);
}

@keyframes dgFloatUp {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Streak chip top-left */
.dg-float-streak {
    top: 4%;
    left: -28px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation-delay: 0s;
}

.dg-float-streak-fire {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(251, 146, 60, 0.5));
}

.dg-float-streak-num {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dg-float-streak-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.dg-float-streak-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* +XP bubble top-right */
.dg-float-xp {
    top: 14%;
    right: -24px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 140px;
    animation-delay: 1.3s;
}

.dg-float-xp-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dg-float-xp-body {
    flex: 1;
    min-width: 0;
}

.dg-float-xp-top {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.35rem;
}

.dg-float-xp-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.dg-float-xp-fill {
    width: 76%;
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 3px;
}

/* Insight card bottom-left */
.dg-float-insight {
    bottom: 18%;
    left: -32px;
    max-width: 230px;
    display: flex;
    gap: 0.6rem;
    animation-delay: 2.6s;
}

.dg-float-insight-icon {
    font-size: 1.15rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.dg-float-insight-text {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #d7dbeb;
}

.dg-float-insight-text b {
    color: #fbbf24;
}

/* Small ambient emoji particles */
@keyframes dgEmojiDrift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(6px, -8px) rotate(8deg);
    }

    50% {
        transform: translate(-4px, -12px) rotate(-5deg);
    }

    75% {
        transform: translate(4px, -6px) rotate(4deg);
    }
}

/* SPLIT (editorial row) */
/* Force .dp-mock to be centered inside split visual */
/* FINAL CTA */
.dg-final-cta {
    padding: 4rem 1.5rem 6rem;
}

.dg-final-cta-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 2.5rem;
    border: 1px solid rgba(91, 124, 255, 0.3);
    border-radius: 28px;
    background: radial-gradient(120% 100% at 50% 0%, rgba(91, 124, 255, 0.14), transparent 60%), rgba(14, 18, 38, 0.6);
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.dg-final-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(141, 160, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(141, 160, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,1) 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,1) 20%, transparent 70%);
    z-index: -1;
}

.dg-final-cta-title {
    font-family: 'TTFirsNeue', 'Onest', 'Manrope', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 1rem;
    color: var(--text-main);
}

.dg-final-cta-lead {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 2rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .dg-float-streak {
        left: 0;
    }

    .dg-float-xp {
        right: 0;
    }

    .dg-float-insight {
        left: 0;
    }
}

@media (max-width: 960px) {
    .dg-hero-orbit {
        display: none;
    }

    .dg-final-cta {
        padding: 3rem 1.5rem 4rem;
    }

    .dg-final-cta-card {
        padding: 3rem 1.75rem;
    }
}

@media (max-width: 640px) {
    .dg-float-streak, .dg-float-xp, .dg-float-insight {
        transform: scale(0.82);
        transform-origin: top left;
    }

    .dg-float-xp {
        transform-origin: top right;
    }

    .dg-float-insight {
        transform-origin: bottom left;
    }

    .dg-final-cta-card {
        padding: 2.5rem 1.25rem;
    }
}

/* dp-mock Adaptive */
@media (max-width: 768px) {
    .mo-user-header {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 0.5rem;
        padding: 0.5rem 0;
        margin-top: 20px;
    }

    /* Bar dots */
    /* XP block */
    /* Challenge rows */
    /* Achievements grid */
}

@media (max-width: 380px) {
    /* Achievements: 2 columns on tiny screens */
}

/* ----- PAGE: /diary secondary styles block 2 ----- */
.tar-diary-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(212,175,106,0.12), rgba(79,107,255,0.08));
    border: 1px solid rgba(212,175,106,0.28);
    text-decoration: none;
    color: inherit;
    transition: transform .15s, border-color .15s, box-shadow .15s;
}

.tar-diary-banner:hover {
    transform: translateY(-1px);
    border-color: rgba(212,175,106,0.55);
    box-shadow: 0 8px 24px rgba(212,175,106,0.15);
}

.tar-diary-banner-thumb {
    width: 40px;
    height: 64px;
    border-radius: 6px;
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1428 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(212,175,106,0.35);
    overflow: hidden;
}

.tar-diary-banner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tar-diary-banner-thumb .star {
    font-size: 22px;
    color: #d4af6a;
    text-shadow: 0 0 12px rgba(212,175,106,0.6);
    animation: tar-diary-pulse 3s ease-in-out infinite;
}

@keyframes tar-diary-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.tar-diary-banner-text {
    flex: 1;
    min-width: 0;
}

.tar-diary-banner-eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #d4af6a;
    font-weight: 500;
    margin-bottom: 2px;
}

.tar-diary-banner-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tar-diary-banner-sub {
    font-size: 11.5px;
    color: #9fa3c7;
    margin-top: 1px;
}

.tar-diary-banner-arrow {
    flex-shrink: 0;
    color: #d4af6a;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212,175,106,0.12);
    border: 1px solid rgba(212,175,106,0.3);
}

/* ----- /diary: natal banner (под Таро-плашкой) ----- */
.natal-diary-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(201,160,255,0.10), rgba(79,107,255,0.06));
    border: 1px solid rgba(201,160,255,0.22);
    text-decoration: none;
    color: inherit;
    transition: transform .15s, border-color .15s, box-shadow .15s;
}

.natal-diary-banner:hover {
    transform: translateY(-1px);
    border-color: rgba(201,160,255,0.5);
    box-shadow: 0 8px 24px rgba(201,160,255,0.15);
}

.natal-diary-banner-thumb {
    width: 40px;
    height: 64px;
    border-radius: 6px;
    background: linear-gradient(135deg, #1f1a3a 0%, #14102a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(201,160,255,0.35);
    overflow: hidden;
}

.natal-diary-banner-thumb .planet {
    font-size: 22px;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(201,160,255,0.45));
}

.natal-diary-banner-text {
    flex: 1;
    min-width: 0;
}

.natal-diary-banner-eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #c9a0ff;
    font-weight: 500;
    margin-bottom: 2px;
}

.natal-diary-banner-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.natal-diary-banner-sub {
    font-size: 11.5px;
    color: #9fa3c7;
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.natal-diary-banner-arrow {
    flex-shrink: 0;
    color: #c9a0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(201,160,255,0.12);
    border: 1px solid rgba(201,160,255,0.3);
}

@media (max-width: 480px) {
    .natal-diary-banner-title {
        white-space: normal;
        line-height: 1.25;
    }

    .natal-diary-banner-sub {
        white-space: normal;
        line-height: 1.3;
    }
}

/* ----- PAGE: /diary secondary styles block 3 ----- */
.horo-card {
    position: relative;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.1rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(79,107,255,0.08) 50%, rgba(99,102,241,0.05));
    border: 1px solid rgba(99,102,241,0.22);
    box-shadow: 0 4px 24px rgba(99,102,241,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
}

.horo-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(139,92,246,0.22), transparent 70%);
    pointer-events: none;
}

.horo-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}

.horo-moon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(255,255,255,0.25));
}

.horo-moon-info {
    flex: 1;
}

.horo-moon-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
}

.horo-moon-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.horo-prophetic {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.68rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #1a1206;
    border-radius: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.horo-body {
    position: relative;
    z-index: 1;
}

.horo-sign-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 10px 12px;
    margin-bottom: 0.75rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}

.horo-sign-emoji {
    font-size: 1.5rem;
    line-height: 1;
}

.horo-sign-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
}

.horo-sign-change {
    font-size: 0.74rem;
    color: var(--primary-hover);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.horo-sign-change:hover {
    text-decoration: underline;
}

.horo-headline {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.55rem;
    line-height: 1.35;
}

.horo-symbol {
    display: inline-block;
    padding: 3px 10px;
    margin-bottom: 0.55rem;
    background: rgba(139,92,246,0.15);
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 999px;
    font-size: 0.75rem;
    color: #c7b4ff;
}

.horo-text {
    font-size: 0.87rem;
    line-height: 1.55;
    color: #d4d7f0;
    white-space: pre-line;
}

.horo-pending, .horo-error {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 12px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 10px;
    text-align: center;
}

.horo-picker-title {
    font-size: 0.88rem;
    color: #fff;
    margin-bottom: 0.6rem;
}

.horo-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.horo-sign-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 9px 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s;
}

.horo-sign-btn:hover {
    background: rgba(99,102,241,0.18);
    border-color: rgba(99,102,241,0.35);
    transform: translateY(-1px);
}

.horo-sign-btn-emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.horo-sign-btn-name {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.horo-skeleton {
    height: 110px;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    background-size: 200% 100%;
    animation: horoShim 1.4s infinite;
}

@keyframes horoShim {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 480px) {
    .horo-picker-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ----- PAGE: /diary_entry single entry view ----- */
:root {
    --bg: #03040c;
    --bg-card: rgba(12, 16, 32, 0.6);
    --primary: #4f6bff;
    --primary-hover: #768fff;
    --premium: #a855f7;
    --text: #ffffff;
    --text-muted: #bdbfd2;
    --border: rgba(255,255,255,0.08);
    --glass: rgba(100,130,255,0.15);
    --success: #4fff8c;
    --warn: #fbbf24;
}

.de-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 100px 1.5rem 3rem;
    position: relative;
}

/* Back link */
.de-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.de-back:hover {
    color: var(--primary-hover);
}

/* Main card */
.de-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(12px);
}

/* Header */
.de-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.de-date {
    font-size: 0.82rem;
    color: var(--primary-hover);
    font-weight: 500;
}

.de-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.de-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.de-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #fff 0%, #a0a8d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dream text */
.de-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.02);
    border-radius: 14px;
    border: 1px solid var(--border);
    white-space: pre-wrap;
}

/* Section */
.de-section {
    margin-bottom: 1.5rem;
}

.de-section-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.de-ai-badge {
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--premium));
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Symbols */
.de-symbols {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.de-symbol {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    background: rgba(79,107,255,0.1);
    border: 1px solid rgba(79,107,255,0.2);
    color: var(--primary-hover);
    cursor: default;
    transition: all 0.2s;
}

.de-symbol:hover {
    background: rgba(79,107,255,0.18);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.de-symbol-emoji {
    font-size: 1rem;
}

/* Emotions */
.de-emotions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.de-emo-name {
    min-width: 100px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: right;
    text-transform: capitalize;
}

.de-emo-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
}

.de-emo-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.de-emo-val {
    min-width: 30px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
}

.de-emo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    padding: 4px 8px;
    border-radius: 8px;
    margin: -4px -8px;
}

.de-emo-row:hover {
    background: rgba(255,255,255,0.03);
}

/* Dream types */
.de-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.de-type {
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: transform 0.2s;
}

.de-type:hover {
    transform: translateY(-1px);
}

.dtype-positive {
    background: rgba(74,222,128,0.12);
    color: #4ade80;
    border: 1px solid rgba(74,222,128,0.2);
}

.dtype-negative {
    background: rgba(248,113,113,0.12);
    color: #f87171;
}

.dtype-neutral {
    background: rgba(148,163,184,0.12);
    color: #94a3b8;
    border: 1px solid rgba(159,163,199,0.2);
}

.dtype-social {
    background: rgba(96,165,250,0.12);
    color: #60a5fa;
    border: 1px solid rgba(96,165,250,0.2);
}

.dtype-nature {
    background: rgba(251,191,36,0.12);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,0.2);
}

.dtype-adventure {
    background: rgba(251,146,60,0.12);
    color: #fb923c;
    border: 1px solid rgba(251,146,60,0.2);
}

.dtype-nightmare {
    background: rgba(248,113,113,0.15);
    color: #f87171;
    border: 1px solid rgba(248,113,113,0.2);
}

.dtype-prophetic {
    background: rgba(168,85,247,0.12);
    color: #c084fc;
    border: 1px solid rgba(99,102,241,0.2);
}

.dtype-lucid {
    background: rgba(139,92,246,0.15);
    color: #a78bfa;
    border: 1px solid rgba(99,102,241,0.2);
}

.dtype-recurring {
    background: rgba(45,212,191,0.12);
    color: #2dd4bf;
    border: 1px solid rgba(96,165,250,0.2);
}

/* AI brief */
.de-brief {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(79,107,255,0.06), rgba(168,85,247,0.04));
    border: 1px solid rgba(79,107,255,0.15);
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

.de-brief-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-hover);
    margin-bottom: 0.6rem;
}

.de-brief-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA */
.de-cta {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* .de-btn structural rules inherit from canonical .btn + .btn--md */
/* Lucid badge */
.de-lucid {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(139,92,246,0.15);
    color: #a78bfa;
    border: 1px solid rgba(139,92,246,0.25);
}

/* Fulfilled badge on entry page */
.de-fulfilled {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.de-fulfilled-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border: none;
    font-family: inherit;
}

.de-fulfilled-btn.pending {
    background: rgba(251,191,36,0.1);
    color: var(--warn);
    border: 1px dashed rgba(251,191,36,0.3);
}

.de-fulfilled-btn.pending:hover {
    background: rgba(251,191,36,0.15);
    border-style: solid;
}

.de-fulfilled-btn.yes {
    background: rgba(74,222,128,0.1);
    color: var(--success);
}

.de-fulfilled-btn.partial {
    background: rgba(96,165,250,0.1);
    color: #60a5fa;
}

.de-fulfilled-btn.no {
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
}

/* Nav between dreams */
.de-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 12px;
}

.de-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.2s;
    max-width: 50%;
}

.de-nav-link:hover {
    background: rgba(79,107,255,0.08);
    border-color: rgba(79,107,255,0.2);
    color: var(--primary-hover);
}

.de-nav-link svg {
    flex-shrink: 0;
}

.de-nav-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.de-nav-link.next {
    margin-left: auto;
}

/* Related dreams */
.de-related {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.de-related-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.de-related-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.de-related-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(168,85,247,0.04);
    border: 1px solid rgba(168,85,247,0.12);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.de-related-item:hover {
    background: rgba(168,85,247,0.1);
    border-color: rgba(168,85,247,0.25);
    transform: translateY(-1px);
}

.de-related-item-title {
    font-size: 0.85rem;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.de-related-item-symbol {
    font-size: 0.72rem;
    color: var(--premium-hover, #c084fc);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .de-container {
        padding: 80px 1rem 2rem;
    }

    .de-card {
        padding: 1.25rem;
    }

    .de-title {
        font-size: 1.2rem;
    }

    .de-cta {
        flex-direction: column;
    }

    .de-emo-name {
        min-width: 70px;
        font-size: 0.75rem;
    }
}

/* ----- PAGE: /diary_entry secondary block ----- */
.de-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: de-spin 0.6s linear infinite;
    vertical-align: -2px;
    margin-right: 6px;
}

@keyframes de-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
UNIFIED PAGE HERO BLOCKS
Based on .sk-hero template max-width 1240, grid 1.25fr/1fr, gap 3.5rem
Prefixes: .fq-* (faq), .pr-* (pricing), .rv-* (reviews), .bl-* (blog),
.hiw-* extensions, .nt-* (natal), .syn-* extensions, .hor-* extensions
========================================================================== */
/* shared keyframes reused from sonnik are: skPulse, skFloatUp, skGlowPulse */
/* --------------------- Unified page-hero visuals (2:3 portrait, matches source images) --------------------- */
.fq-hero-visual, .pr-hero-visual, .rv-hero-visual, .bl-hero-visual, .dg-hero-visual, .sk-hero-visual, .tar-hero-visual, .hiw-hero-visual {
    aspect-ratio: 2 / 3;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}

.fq-hero-glow, .bl-hero-glow, .rv-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle, rgba(91,124,255,.35), transparent 60%);
    filter: blur(60px);
    z-index: 0;
    animation: skGlowPulse 4.5s ease-in-out infinite;
}

.rv-hero-glow {
    background: radial-gradient(circle, rgba(251,191,36,.24), transparent 60%);
}

.fq-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    background: rgba(12,16,40,.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px -10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
    z-index: 3;
    animation: skFloatUp 5s ease-in-out infinite;
    max-width: 180px;
}

.fq-float-emoji {
    font-size: 1.5rem;
    line-height: 1;
}

.fq-float-body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.fq-float-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.fq-float-meta {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8990b4;
}

.fq-float-1 {
    top: 10%;
    left: -6%;
    animation-delay: 0s;
}

.fq-float-2 {
    bottom: 14%;
    right: -4%;
    animation-delay: 1.8s;
}

.pr-float, .bl-float {
    position: absolute;
    filter: drop-shadow(0 8px 20px rgba(91,124,255,.4));
    animation: skFloatUp 5s ease-in-out infinite;
    z-index: 3;
}

.pr-float {
    font-size: 2.5rem;
}

.pr-float-1 {
    top: 6%;
    right: 4%;
    animation-delay: 0s;
}

.pr-float-2 {
    bottom: 8%;
    left: 6%;
    animation-delay: 2.4s;
}

.rv-float-quote {
    position: absolute;
    display: flex;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(12,16,40,.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px -10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
    z-index: 3;
    max-width: 220px;
    animation: skFloatUp 5s ease-in-out infinite;
}

.rv-float-avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.82rem;
    background: linear-gradient(135deg,#5b7cff,#a8b8ff);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}

.rv-float-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.rv-float-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #fff;
}

.rv-float-text {
    font-size: 0.78rem;
    color: #c9d0e5;
    line-height: 1.35;
}

.rv-float-1 {
    top: 8%;
    left: -8%;
    animation-delay: 0s;
}

.rv-float-2 {
    bottom: 10%;
    right: -6%;
    animation-delay: 2.2s;
}

@media (max-width: 960px) {
    .fq-hero-visual, .pr-hero-visual, .rv-hero-visual, .bl-hero-visual, .dg-hero-visual, .sk-hero-visual, .tar-hero-visual {
        max-width: 360px;
        margin: 0 auto;
    }

    .fq-float-1, .rv-float-1 {
        left: 0;
    }

    .fq-float-2, .rv-float-2 {
        right: 0;
    }
}

@media (max-width: 720px) {
    .fq-hero-visual, .pr-hero-visual, .rv-hero-visual, .bl-hero-visual, .dg-hero-visual, .sk-hero-visual, .tar-hero-visual {
        max-width: 300px;
    }
}

/* --------------------- HOW-IT-WORKS (/how-it-works) visual extension --------------------- */
.hiw-hero-content-v2 .hiw-hero-cta {
    justify-content: flex-start;
}

.hiw-stat-value {
    background: linear-gradient(180deg,#fff 0%,#b8c7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hiw-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle, rgba(91,124,255,.35), transparent 60%);
    filter: blur(60px);
    z-index: 0;
    animation: skGlowPulse 4.5s ease-in-out infinite;
}

.hiw-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(12,16,40,.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px -10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
    z-index: 3;
    animation: skFloatUp 5s ease-in-out infinite;
    max-width: 200px;
    border: 1px solid rgba(141,160,255,.16);
}

.hiw-float-emoji {
    font-size: 1.6rem;
    line-height: 1;
}

.hiw-float-body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.hiw-float-step {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a8b8ff;
}

.hiw-float-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.hiw-float-1 {
    top: 6%;
    left: -4%;
    animation-delay: 0s;
}

.hiw-float-2 {
    top: 42%;
    right: -6%;
    animation-delay: 1.6s;
}

.hiw-float-3 {
    bottom: 6%;
    left: 4%;
    animation-delay: 3.2s;
}

@media (max-width: 960px) {
    .hiw-hero-content-v2 .hiw-hero-cta {
        justify-content: center;
    }

    .hiw-hero-visual {
        max-width: 360px;
        margin: 0 auto;
    }

    .hiw-float-1, .hiw-float-3 {
        left: 0;
    }

    .hiw-float-2 {
        right: 0;
    }
}

@media (max-width: 720px) {
    .hiw-hero-visual {
        max-width: 300px;
    }
}

/* --------------------- NATAL (/natal) --------------------- */
.natal-page .site-header {
    background: rgba(3, 4, 12, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.natal-page .site-header::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(136, 162, 255, 0.55), transparent);
    opacity: 0.8;
    pointer-events: none;
}

.natal-page .header-container {
    max-width: 1320px;
}

/* ======= HERO (matching /main page structure: visual left, content right) ======= */
/* Photo / visual column */
.nt-hero-photo {
    position: relative;
    width: 100%;
    max-width: 480px;
    justify-self: center;
    border-radius: 28px;
    overflow: visible !important;
}

.nt-hero-photo::before {
    content: '';
    position: absolute;
    inset: 6% 4%;
    background: radial-gradient(circle at center, rgba(91, 124, 255, 0.38) 0%, transparent 65%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
    animation: skGlowPulse 5s ease-in-out infinite;
}

.nt-hero-photo-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
    z-index: 1;
}

/* Floating decor squares around the visual (ported from main page) */
.nt-decor {
    position: absolute;
    width: 57px;
    height: 57px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 32px -10px rgba(0, 0, 0, 0.45), 0 0 42px -6px currentColor;
    z-index: 2;
    animation: ntFloat 7s ease-in-out infinite;
}

.nt-decor svg {
    width: 27px;
    height: 27px;
}

.nt-decor-1 {
    top: 4%;
    left: -6%;
    background: linear-gradient(135deg, rgba(255, 207, 102, 0.22), rgba(255, 159, 90, 0.12));
    border: 1px solid rgba(255, 207, 102, 0.32);
    color: #ffcf66;
    animation-delay: 0s;
}

.nt-decor-2 {
    top: 18%;
    right: -9%;
    background: linear-gradient(135deg, rgba(170, 190, 255, 0.22), rgba(120, 140, 230, 0.12));
    border: 1px solid rgba(170, 190, 255, 0.32);
    color: #aabeff;
    animation-delay: 1.5s;
}

.nt-decor-3 {
    bottom: 20%;
    left: -8%;
    background: linear-gradient(135deg, rgba(244, 201, 122, 0.22), rgba(217, 119, 6, 0.12));
    border: 1px solid rgba(244, 201, 122, 0.32);
    color: #f4c97a;
    animation-delay: 3s;
}

.nt-decor-4 {
    bottom: 8%;
    right: -5%;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.22), rgba(168, 85, 247, 0.12));
    border: 1px solid rgba(192, 132, 252, 0.32);
    color: #c084fc;
    animation-delay: 4.5s;
}

@keyframes ntFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.nt-hero-caption {
    position: absolute;
    right: 8px;
    bottom: 20px;
    padding: 12px 18px 13px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(10, 12, 26, 0.5) 0%, rgba(10, 12, 26, 0.82) 100%);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
    color: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
    display: grid;
    gap: 3px;
    z-index: 3;
    width: max-content;
    max-width: calc(100% - 28px);
}

.nt-hero-caption::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.55), rgba(96, 165, 250, 0.55), transparent);
}

.nt-hero-caption-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #fff 0%, #c8d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nt-hero-caption-sub {
    font-size: 0.78rem;
    color: #b0b8d4;
    letter-spacing: 0.02em;
}

/* Content column */
.nt-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0 0 1.8rem;
}

.nt-hero-point {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.58rem 0.95rem;
    border-radius: 999px;
    font-size: 0.88rem;
    color: #e4e8ff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nt-hero-point::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #87a5ff, #ff9fc5);
    box-shadow: 0 0 14px rgba(135, 165, 255, 0.8);
}

/* ======= Sections wrapper ======= */
.natal-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 1.5rem 0;
}

/* === NATAL: Section spacing inside .natal-wrapper === */
.natal-wrapper > section {
    padding: 60px 0 30px;
}

.natal-wrapper > section:first-of-type {
    padding-top: 40px;
}

/* ======= Tariff CTA inside card ======= */
.natal-tariff-cta {
    width: 100%;
    margin-top: 1.1rem;
}

/* === Selected pr-card on natal page (replaces old border override) === */
.natal-page #natal-tariffs .pr-card {
    cursor: pointer;
}

.natal-page #natal-tariffs .pr-card.selected {
    box-shadow: 0 0 0 2px rgba(91, 124, 255, 0.45), 0 22px 52px -28px rgba(91, 124, 255, 0.55);
}

/* ======= NATAL: Form section (no sidebar, single column) ======= */
.natal-form-section {
    max-width: 760px;
    margin: 0 auto;
}

.natal-form-head {
    margin-bottom: 1.6rem;
}

.natal-form-card {
    padding: 1.8rem;
    border-radius: 24px;
    background:
        radial-gradient(80% 50% at 50% 0%, rgba(91, 124, 255, 0.07), transparent 60%),
        linear-gradient(180deg, rgba(18, 22, 45, 0.55), rgba(10, 13, 28, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.natal-checkout-card {
    margin: 1.4rem 0 0;
    padding: 1.7rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at 80% 0%, rgba(91, 124, 255, 0.1), transparent 45%),
        linear-gradient(180deg, rgba(20, 28, 50, 0.55), rgba(10, 13, 28, 0.78));
    box-shadow: inset 0 1px 0 rgba(91, 124, 255, 0.08);
}

/* ======= NATAL: How-section emoji visual (replaces stat-tint stickers) ======= */
.natal-how-emoji-visual {
    --em-glow: rgba(91, 124, 255, 0.22);
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    background: radial-gradient(circle at center, var(--em-glow) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    line-height: 1;
}

.natal-how-emoji-visual.tint-purple { --em-glow: rgba(168, 132, 255, 0.26); }
.natal-how-emoji-visual.tint-blue   { --em-glow: rgba(91, 124, 255, 0.26); }
.natal-how-emoji-visual.tint-cyan   { --em-glow: rgba(34, 211, 238, 0.26); }

/* ======= NATAL: os-card active state (STATE 3 — карта уже куплена) ======= */
.os-card--active {
    position: relative;
}

.os-card--active::after {
    content: "✓";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.18);
    color: #86efac;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 4;
}

/* ======= NATAL: os-eyebrow modifier для STATE 3 ======= */
.os-eyebrow--ok {
    color: #86efac !important;
}

.os-section-note {
    margin: 1.4rem auto 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.86rem;
    opacity: 0.78;
    max-width: 720px;
}

/* ======= NATAL: gt-section override (без visual-колонки на natal) ======= */
.natal-gt-wrap {
    grid-template-columns: 1fr !important;
    max-width: 920px;
    margin: 0 auto;
}

.natal-gt-content {
    text-align: center;
}

.natal-gt-content .gt-list {
    text-align: left;
    margin: 0 auto;
    max-width: 720px;
}

/* ======= NATAL: Form helpers (заменяют inline-styles) ======= */
.natal-form-block {
    margin-bottom: 16px;
}

.natal-place-meta {
    font-size: 0.78rem;
    color: #8990b4;
    margin-top: 6px;
}

.natal-required-marker {
    color: #ff6b9b;
}

.natal-promo-input {
    text-transform: uppercase;
}

.natal-promo-status {
    font-size: 0.86rem;
    min-height: 1.2em;
    margin-bottom: 16px;
    color: #8ee97b;
}

.natal-time-hint {
    display: none;
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(212, 175, 106, 0.07);
    box-shadow: inset 0 1px 0 rgba(212, 175, 106, 0.18);
    font-size: 0.78rem;
    color: #c8ccdf;
    line-height: 1.45;
}

.natal-time-hint.visible {
    display: block;
}

.natal-time-hint a {
    color: #d4af6a;
    text-decoration: underline;
}

/* ======= NATAL: Suggestions error/empty states (заменяют inline-styles в JS) ======= */
.natal-suggestion--empty,
.natal-suggestion--error {
    cursor: default;
    line-height: 1.5;
    color: #8990b4;
}

.natal-suggestion--error {
    color: #ff8888;
}

.natal-suggestion-link {
    color: #d4af6a;
    text-decoration: underline;
}

/* ======= NATAL: Manual coords fallback box (заменяет inline-style) ======= */
.natal-manual-coords-box {
    margin-top: 10px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(212, 175, 106, 0.07);
    box-shadow: inset 0 1px 0 rgba(212, 175, 106, 0.18);
}

.natal-manual-coords-label {
    font-size: 0.86rem;
    color: #d4af6a;
    margin-bottom: 8px;
}

.natal-manual-coords-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

/* ======= NATAL: Encyclopedia (Bento по планетам + раскрывающиеся chips) ======= */
.natal-encyclopedia-total {
    color: #fbbf24;
}

.natal-encyclopedia-grid {
    --os-card-min: 280px;
}

.natal-encyclopedia-card {
    align-items: stretch;
}

.natal-encyclopedia-card .os-card-title {
    margin-bottom: 0.4rem;
}

.natal-encyclopedia-details {
    margin-top: 10px;
}

.natal-encyclopedia-details[open] .natal-encyclopedia-toggle-arrow {
    transform: rotate(180deg);
}

.natal-encyclopedia-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(91, 124, 255, 0.08);
    color: #d4d8f0;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: background .2s, color .2s;
    user-select: none;
}

.natal-encyclopedia-toggle:hover {
    background: rgba(91, 124, 255, 0.16);
    color: #fff;
}

.natal-encyclopedia-toggle::-webkit-details-marker { display: none; }
.natal-encyclopedia-toggle::marker { content: ''; }

.natal-encyclopedia-toggle-arrow {
    display: inline-block;
    transition: transform 0.2s;
    font-size: 0.75rem;
    opacity: 0.7;
}

.natal-encyclopedia-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.natal-encyclopedia-chip {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #d4d8f0;
    font-size: 0.8rem;
    line-height: 1.3;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.natal-encyclopedia-chip:hover {
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.18), rgba(192, 132, 252, 0.1));
    color: #fff;
}

/* ======= NATAL: Hero responsive (preserved nt-* breakpoints) ======= */
@media (max-width: 1100px) {
    .nt-hero-photo {
        order: 2;
        max-width: 400px;
        aspect-ratio: 0.85;
    }
}

@media (max-width: 720px) {
    .nt-hero-photo {
        max-width: 300px;
        aspect-ratio: 0.6;
    }

    .nt-decor {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .nt-decor svg {
        width: 22px;
        height: 22px;
    }

    .nt-decor-1 { left: -4%; }
    .nt-decor-2 { right: -4%; }
    .nt-decor-3 { left: -4%; }
    .nt-decor-4 { right: -4%; }

    .nt-hero-points {
        gap: 0.55rem;
        justify-content: center;
    }

    .natal-wrapper {
        padding: 14px 1rem 0;
    }
}

/* ======= NATAL: Mobile breakpoints для form-row и cards ======= */
@media (max-width: 560px) {
    .natal-form-row {
        grid-template-columns: 1fr;
    }

    .natal-form-card,
    .natal-checkout-card {
        padding: 1.2rem;
    }

    .natal-manual-coords-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .natal-how-emoji-visual {
        aspect-ratio: 16 / 10;
        font-size: 3.2rem;
    }
}

/* --------------------- SYNASTRY (/sinastriya) --------------------- */
/* Form visual wrapper */
.syn-hero-form-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    padding: 1.75rem 1.5rem;
    border-radius: 22px;
    background: rgba(12,16,40,.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(244,114,182,.2);
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}

.syn-hero-ring-a, .syn-hero-ring-b {
    position: absolute;
    width: 60%;
    border: 1.5px dashed rgba(244,114,182,.28);
    border-radius: 50%;
    aspect-ratio: 1;
    z-index: -1;
    animation: skGlowPulse 6s ease-in-out infinite;
}

.syn-hero-ring-a {
    top: -10%;
    left: -15%;
}

.syn-hero-ring-b {
    bottom: -10%;
    right: -15%;
    animation-delay: 1.5s;
    border-color: rgba(168,184,255,.22);
}

.syn-hero-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 2.5rem;
    filter: drop-shadow(0 8px 20px rgba(244,114,182,.5));
    animation: skFloatUp 5s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
}

@media (max-width: 960px) {
    .syn-hero-form-card {
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .syn-hero-form-card {
        padding: 1.25rem 1.1rem;
    }
}

/* --------------------- HORARY (/vopros) --------------------- */
.hor-hero-form-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    padding: 1.75rem 1.5rem;
    border-radius: 22px;
    background: rgba(12,16,40,.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(251,146,60,.22);
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}

.hor-hero-star {
    position: absolute;
    top: -10%;
    right: -8%;
    font-size: 5rem;
    filter: drop-shadow(0 10px 30px rgba(251,146,60,.5));
    animation: skFloatUp 5s ease-in-out infinite;
    z-index: -1;
    opacity: 0.5;
}

.hor-hero-orbit {
    position: absolute;
    width: 110%;
    aspect-ratio: 1;
    border: 1.5px dashed rgba(251,146,60,.22);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
    animation: skGlowPulse 6s ease-in-out infinite;
}

.hor-float-chip {
    position: absolute;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(12,16,40,.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(251,146,60,.22);
    font-size: 0.78rem;
    font-weight: 600;
    color: #fed7aa;
    animation: skFloatUp 5s ease-in-out infinite;
    z-index: -1;
}

.hor-float-chip-1 {
    top: -5%;
    left: 10%;
    animation-delay: 0s;
}

.hor-float-chip-2 {
    top: 45%;
    right: -12%;
    animation-delay: 1.6s;
}

.hor-float-chip-3 {
    bottom: -5%;
    left: 20%;
    animation-delay: 3.2s;
}

@media (max-width: 960px) {
    .hor-hero-form-card {
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .hor-hero-form-card {
        padding: 1.25rem 1.1rem;
    }
}

@keyframes page-hero-img-in {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --------------------- RECTIFICATION (/natal/rektifikatsiya) --------------------- */
.rec-hero-visual {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
}

.rec-hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--text-muted);
    padding: 2rem;
    text-align: center;
}

.rec-hero-ph-badge {
    font-size: 3rem;
    filter: drop-shadow(0 10px 30px rgba(168,132,255,.6));
    margin-bottom: 0.4rem;
    opacity: 0.9;
}

.rec-hero-ph-label {
    font-family: 'TTFirsNeue','Onest','Manrope',sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: #e1e4ef;
}

.rec-hero-ph-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.85;
}

@media (max-width: 960px) {
    .rec-hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ==========================================================================
DESIGN SYSTEM OVERRIDES
Canonical public components. Keep this section at the end so legacy page
classes can be migrated gradually without visual drift.
========================================================================== */
:root {
    --btn-primary-bg: #224eff;
    --btn-primary-border: #1839bd;
    --btn-primary-shadow: inset 0 8px 25px 0 rgba(255, 255, 255, .3);
    --btn-ghost-bg: #0c132e;
    --btn-ghost-border: #0c122a;
    --btn-outline-bg: rgba(130, 150, 255, 0.05);
    --btn-outline-border: rgba(130, 150, 255, 0.22);
    --btn-premium-bg: #f35747;
    --btn-premium-border: #d7483a;
    --page-hero-max: 1240px;
    --page-hero-breadcrumb-max: 1180px;
    --page-hero-gap: 3.5rem;
}

.btn--sm, .btn-sm, .tar-btn-sm {
    min-height: var(--btn-h-sm);
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
}

.btn--md {
    min-height: var(--btn-h-md);
    padding: 0.75rem var(--btn-px-md);
    font-size: var(--text-sm);
}

.btn--lg, .btn-lg, .dg-btn-large {
    min-height: var(--btn-h-lg);
    padding: 0.95rem var(--btn-px-lg);
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.btn--auto {
    width: auto;
}

.btn--nowrap {
    white-space: nowrap;
}

.btn--primary, .btn-primary, .dg-btn-primary, .tar-btn-primary, .tar-hero-btn-primary, .de-btn-primary, .syn-hero-btn-primary, .hor-hero-btn-primary, .rec-hero-btn-primary {
    color: #fff;
    border: none;
    background: var(--btn-primary-bg);
    border-bottom: 3px solid var(--btn-primary-border);
    -webkit-box-shadow: var(--btn-primary-shadow);
    box-shadow: var(--btn-primary-shadow);
}

.btn--primary:hover, .btn-primary:hover, .dg-btn-primary:hover, .tar-btn-primary:hover, .tar-hero-btn-primary:hover, .de-btn-primary:hover, .syn-hero-btn-primary:hover, .hor-hero-btn-primary:hover, .rec-hero-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
}

.btn:disabled, .btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.btn--ghost, .btn-ghost, .dg-btn-ghost {
    color: #fff;
    background: var(--btn-ghost-bg);
    border: none;
    border-bottom: 3px solid var(--btn-ghost-border);
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
}

.btn--ghost:hover, .btn-ghost:hover, .dg-btn-ghost:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn--outline, .btn-outline {
    color: #fff;
    background: var(--btn-ghost-bg);
    border: none;
    border-bottom: 3px solid var(--btn-ghost-border);
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
}

.btn--outline:hover, .btn-outline:hover {
    color: #fff;
}

.btn--premium, .btn-premium {
    border: none;
    color: #fff;
    border-bottom: 3px solid var(--btn-premium-border);
    background: var(--btn-premium-bg);
    -webkit-box-shadow: var(--btn-primary-shadow);
    box-shadow: var(--btn-primary-shadow);
}

.btn--premium:hover, .btn-premium:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--btn-primary-shadow), 0 10px 24px -8px rgba(243, 87, 71, 0.48);
}

.btn--conversion, .btn-conversion {
    animation: strong-pulse 5s infinite;
    position: relative;
    overflow: hidden;
}

.btn--conversion::after, .btn-conversion::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
    pointer-events: none;
}

.page-hero {
    position: relative;
    width: 100%;
    padding: 0;
    background: transparent;
    z-index: 1;
}

.page-hero__breadcrumbs {
    position: relative;
    z-index: 3;
    max-width: var(--page-hero-breadcrumb-max);
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
    justify-content: flex-start;
    font-size: 0.85rem;
}

.page-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: var(--page-hero-gap);
    align-items: center;
    min-height: 660px;
    max-width: var(--page-hero-max);
    margin: 0 auto;
    padding: 2rem 1.5rem 0;
}

.page-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    min-width: 0;
}

.page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.05rem;
    border-radius: var(--radius-pill);
    background: var(--page-hero-eyebrow-bg, rgba(91,124,255,0.12));
    color: var(--page-hero-eyebrow-color, #a8b8ff);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.page-hero__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--page-hero-accent, #5b7cff);
    box-shadow: 0 0 10px var(--page-hero-accent, #5b7cff);
    animation: skPulse 2.4s ease-in-out infinite;
}

.page-hero__title {
    margin: 0 0 1.25rem;
    color: var(--text-main);
    font-family: 'TTFirsNeue','Onest','Manrope',sans-serif;
    font-size: clamp(2.1rem,4.6vw,4.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.015em;
    text-align: left;
    text-transform: uppercase;
}

.page-hero__lead {
    max-width: 580px;
    margin: 0 0 1.65rem;
    color: var(--page-hero-muted, var(--text-muted));
    font-size: 1.03rem;
    line-height: 1.75;
}

.page-hero__stats {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-bottom: 1.6rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--page-hero-stat-border, var(--border-color));
    border-radius: var(--radius-lg);
    background: var(--page-hero-stat-bg, rgba(255,255,255,0.035));
    backdrop-filter: blur(14px);
}

.page-hero__stats > :not(.page-hero__stat-divider) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    align-items: flex-start;
}

.page-hero__stat-value {
    color: var(--page-hero-stat-color, #fff);
    font-family: 'TTFirsNeue','Onest','Manrope',sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.page-hero__stat-label {
    color: var(--page-hero-muted, var(--text-muted));
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-hero__stat-divider {
    width: 1px;
    height: 32px;
    background: var(--page-hero-stat-divider, var(--border-color));
}

.page-hero__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-hero__note {
    color: var(--page-hero-muted, var(--text-muted));
    font-size: 0.85rem;
}

.page-hero__visual {
    position: relative;
    min-width: 0;
    justify-self: center;
}

.page-hero__visual > .site-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 960px) {
    .page-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 1.25rem 2.5rem;
    }

    .page-hero__content {
        align-items: center;
        text-align: center;
    }

    .page-hero__title, .page-hero__lead {
        text-align: center;
    }

    .page-hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .page-hero__stats, .page-hero__cta {
        justify-content: center;
        align-self: center;
    }

    .page-hero__visual {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .page-hero__breadcrumbs {
        padding: 1.25rem 1rem 0;
    }

    .page-hero__grid {
        padding: 1.25rem 1rem 2rem;
    }

    .page-hero__stats {
        gap: 1.25rem;
        padding: 0.85rem 1.1rem;
        flex-wrap: wrap;
    }
}

.btn--secondary, .btn-secondary {
    color: #fff;
    background: var(--btn-ghost-bg);
    border: none;
    border-bottom: 3px solid var(--btn-ghost-border);
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
}

.btn--secondary:hover, .btn-secondary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.page-hero--visual-left .page-hero__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.tar-hero {
    --page-hero-eyebrow-bg: rgba(212, 175, 106, 0.1);
    --page-hero-eyebrow-color: var(--tar-gold);
    --page-hero-accent: var(--tar-gold);
    --page-hero-muted: var(--tar-muted);
    --page-hero-stat-border: var(--tar-border);
    --page-hero-stat-bg: rgba(14, 18, 38, 0.35);
    --page-hero-stat-divider: var(--tar-border);
}

.tar-hero .text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--tar-gold-hi) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tar-hero .page-hero__stat-value {
    background: linear-gradient(180deg, #ffffff 0%, var(--tar-gold-hi) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.syn-hero, .hor-hero, .rec-hero {
    overflow: hidden;
}

.syn-hero {
    --page-hero-eyebrow-bg: rgba(244, 114, 182, 0.12);
    --page-hero-eyebrow-color: #f9a8d4;
    --page-hero-accent: #f472b6;
}

.hor-hero {
    --page-hero-eyebrow-bg: rgba(251, 146, 60, 0.12);
    --page-hero-eyebrow-color: #fdba74;
    --page-hero-accent: #fb923c;
}

.rec-hero {
    --page-hero-eyebrow-bg: rgba(168, 132, 255, 0.12);
    --page-hero-eyebrow-color: #c4b5fd;
    --page-hero-accent: #a884ff;
}

.syn-hero .text-gradient, .hor-hero .text-gradient, .rec-hero .text-gradient {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.syn-hero .text-gradient {
    background-image: linear-gradient(135deg, #f9a8d4 0%, #f472b6 100%);
}

.hor-hero .text-gradient {
    background-image: linear-gradient(135deg, #fdba74 0%, #fb923c 100%);
}

.rec-hero .text-gradient {
}

.syn-hero .page-hero__stat-value {
    color: #ffc5dd;
}

.hor-hero .page-hero__stat-value {
    color: #fed7aa;
}

.rec-hero .page-hero__stat-value {
    color: #e9d5ff;
}

.nt-hero {
    isolation: isolate;
}

.nt-hero .page-hero__grid {
    max-width: 1280px;
    min-height: 72vh;
    padding: 2.5rem 2.5rem 1rem;
}

.nt-hero .page-hero__visual {
    max-width: 480px;
}

@media (max-width: 960px) {
    .page-hero--visual-left .page-hero__grid {
        grid-template-columns: 1fr;
    }

    .page-hero--visual-left .page-hero__content {
        order: 1;
    }

    .page-hero--visual-left .page-hero__visual {
        order: 2;
    }

    .nt-hero .page-hero__grid {
        min-height: auto;
        padding: 1.5rem 1.25rem 2.5rem;
    }
}

@media (max-width: 640px) {
    .page-hero__stat-divider {
        display: none;
    }

    .page-hero__note {
        text-align: center;
    }
}

/* Compact shared blog cards */
.blog-grid-section {
    padding: 0 1.5rem 64px;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 1.5rem;
    align-items: start;
    max-width: 1240px;
    margin: 3rem auto 0 auto;
}

.blog-main {
    min-width: 0;
}

.blog-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.blog-sidebar .blog-search-section, .blog-sidebar .blog-categories-section {
    margin: 0;
    padding: 0;
}

.blog-sidebar .blog-search-wrap {
    max-width: none;
    margin: 0;
}

.blog-sidebar .blog-search-input {
    min-height: 52px;
    border-radius: 16px;
}

.blog-sidebar .blog-search-status {
    text-align: left;
}

.blog-sidebar .blog-categories-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    overflow: visible;
}

.blog-sidebar .blog-category-item {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
}

.blog-articles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 980px;
}

.bl-grid.blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    width: min(1180px, calc(100% - 3rem));
    max-width: 1180px;
    padding: 0;
}

.blog-article-card {
    display: grid;
    grid-template-columns: minmax(112px, 168px) minmax(0, 1fr);
    gap: 1rem;
    min-height: 148px;
    padding: 0.75rem;
    border-radius: 16px;
    background: rgba(13, 17, 35, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.blog-article-card::before {
    display: none;
}

.blog-article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(145, 160, 255, 0.3);
    background: rgba(16, 21, 44, 0.72);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.bl-grid.blog-grid .blog-article-card {
}

.bl-grid.blog-grid .blog-article-card:hover {
    border-color: rgba(145, 160, 255, 0.32);
    background: linear-gradient(135deg, rgba(22, 28, 58, 0.88) 0%, rgba(10, 13, 30, 0.96) 100%), radial-gradient(circle at 0% 0%, rgba(94, 124, 255, 0.16), transparent 42%);
}

.blog-card-image-link {
    display: block;
    position: relative;
    min-height: 124px;
    height: 100%;
    border-radius: 12px;
    aspect-ratio: auto;
    overflow: hidden;
}

.blog-card-image, .blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 124px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-card-image-placeholder {
    background: radial-gradient(circle at 30% 20%, rgba(91, 124, 255, 0.32), transparent 58%), linear-gradient(135deg, rgba(33, 45, 102, 0.92), rgba(16, 20, 42, 0.96));
}

.blog-card-image-icon {
    font-size: 2rem;
    opacity: 0.75;
}

.blog-article-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.1rem 0.15rem 0.1rem 0;
}

.blog-card-category {
    width: max-content;
    max-width: 100%;
    margin: 0 0 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #9fb0ff;
    font-size: 0.66rem;
    letter-spacing: 0.11em;
}

.blog-card-title {
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.25;
}

.blog-card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0.55rem 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.blog-card-date {
    margin-top: auto;
    padding-top: 0.85rem;
    color: rgba(226, 231, 255, 0.48);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        order: -1;
    }

    .blog-sidebar .blog-categories-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.15rem;
    }

    .blog-sidebar .blog-category-item {
        width: auto;
        flex: 0 0 auto;
    }

    .bl-grid.blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .blog-grid-section {
        padding: 0 1rem 56px;
    }

    .blog-articles-grid, .bl-grid.blog-grid {
        gap: 0.85rem;
        padding-left: 0;
        padding-right: 0;
    }

    .blog-article-card, .bl-grid.blog-grid .blog-article-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 0.75rem;
        min-height: 118px;
        padding: 0.6rem;
        border-radius: 14px;
    }

    .blog-card-image-link, .blog-card-image, .blog-card-image-placeholder {
        min-height: 104px;
        border-radius: 10px;
    }

    .blog-card-category {
        margin-bottom: 0.45rem;
        font-size: 0.6rem;
    }

    .blog-card-title {
        font-size: 0.95rem;
    }

    .blog-card-excerpt {
        -webkit-line-clamp: 1;
        margin-top: 0.45rem;
        font-size: 0.78rem;
    }

    .blog-card-date {
        padding-top: 0.55rem;
        font-size: 0.64rem;
    }
}

/* Modal system polish: restrained clean glass surface */
:root {
    --modal-bg-0: rgba(4, 7, 18, 0.94);
    --modal-bg-1: rgba(11, 15, 34, 0.985);
    --modal-bg-2: rgba(16, 21, 44, 0.965);
    --modal-line: rgba(182, 194, 255, 0.18);
    --modal-line-strong: rgba(206, 216, 255, 0.3);
    --modal-text: #f5f7ff;
    --modal-muted: rgba(219, 225, 255, 0.68);
    --modal-radius: 16px;
    --modal-shadow: 0 28px 90px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.modal-overlay, .legal-modal-overlay, .video-modal-overlay, .review-modal {
    padding: clamp(16px, 4vw, 32px);
    background: rgba(2, 4, 12, 0.84);
    backdrop-filter: blur(18px) saturate(112%);
    -webkit-backdrop-filter: blur(18px) saturate(112%);
}

#diary-modal {
    background: rgba(2, 4, 12, 0.84);
    backdrop-filter: blur(18px) saturate(112%);
    -webkit-backdrop-filter: blur(18px) saturate(112%);
}

.modal, .legal-modal-content, .review-modal-content {
    color: var(--modal-text);
    border-radius: var(--modal-radius);
    box-shadow: var(--modal-shadow);
    isolation: isolate;
}

.modal, .review-modal-content {
    transform: translateY(10px) scale(0.985);
    transition: transform 0.24s ease, opacity 0.24s ease, border-color 0.24s ease;
}

.modal-overlay.active .modal, .review-modal[style*="flex"] .review-modal-content {
    transform: translateY(0) scale(1);
}

.modal::before, .legal-modal-content::before, .review-modal-content::before, #diary-modal .modal::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(223, 229, 255, 0.5), transparent);
    pointer-events: none;
    z-index: 1;
}

.modal::after, .legal-modal-content::after, .review-modal-content::after, #diary-modal .modal::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.045);
    pointer-events: none;
    z-index: 1;
}

.modal-header, .legal-modal-title {
}

.modal-header {
    padding: 1.15rem 1.25rem 1rem;
}

.modal-title, .legal-modal-title, .review-modal-title, #diary-modal .modal-title {
    color: var(--modal-text);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
    font-weight: 700;
    letter-spacing: 0;
}

.modal-title, .review-modal-title, #diary-modal .modal-title {
    font-size: clamp(1.08rem, 2.2vw, 1.32rem);
}

.modal-body, .legal-modal-body {
    color: var(--modal-muted);
    scrollbar-width: thin;
    scrollbar-color: rgba(145, 160, 255, 0.32) transparent;
}

.modal-footer {
    border-top: 1px solid rgba(145, 160, 255, 0.13);
    background: rgba(5, 8, 19, 0.34);
}

.modal-close, .legal-modal-close, .review-modal-close, .video-modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(145, 160, 255, 0.18);
    border-radius: 10px;
    background: rgba(8, 12, 28, 0.72);
    color: rgba(236, 241, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.modal-close:hover, .legal-modal-close:hover, .review-modal-close:hover, .video-modal-close:hover {
    color: #fff;
    border-color: var(--modal-line-strong);
    background: rgba(21, 28, 58, 0.86);
    transform: translateY(-1px);
}

.modal-close:focus-visible, .legal-modal-close:focus-visible, .review-modal-close:focus-visible, .video-modal-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(145, 160, 255, 0.16);
}

.form-group-modal label, .review-form .form-label {
    color: rgba(219, 225, 255, 0.74);
    font-weight: 650;
}

.form-group-modal .form-control, .form-group-modal input, .form-group-modal textarea, .form-group-modal select, .review-form .form-input, .review-form .form-textarea, #diary-modal .form-input, #diary-modal .form-textarea {
    background: rgb(19 21 38);
    border: none;
    border-radius: 10px;
    color: var(--modal-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.form-group-modal .form-control:focus, .form-group-modal input:focus, .form-group-modal textarea:focus, .form-group-modal select:focus, .review-form .form-input:focus, .review-form .form-textarea:focus, #diary-modal .form-input:focus, #diary-modal .form-textarea:focus {
    border-color: rgba(138, 232, 255, 0.42);
    background: rgba(8, 12, 28, 0.86);
    box-shadow: 0 0 0 3px rgba(145, 160, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.payment-summary, .modal-plan-card, .checkbox-row {
    border-color: rgba(145, 160, 255, 0.17);
    border-radius: 12px;
    background: rgba(7, 10, 24, 0.66);
}

.modal-plan-card:hover, .modal-plan-card.modal-plan-popular {
    border-color: rgba(182, 194, 255, 0.32);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.auth-modal-tabs, .plan-tabs {
    background: rgba(5, 8, 19, 0.56);
    border: 1px solid rgba(145, 160, 255, 0.13);
    border-radius: 12px;
}

.auth-modal-tab, .plan-tab {
    border-radius: 9px;
}

.legal-modal-content {
    overflow: hidden;
}

.review-modal-content {
    padding: 1.5rem;
}

.review-modal-overlay {
    background: transparent;
    backdrop-filter: none;
}

.video-modal-content {
    padding: 10px;
    border: 1px solid rgba(145, 160, 255, 0.18);
    border-radius: 14px;
    background: rgba(5, 8, 19, 0.86);
    box-shadow: var(--modal-shadow);
}

.video-modal-close {
    top: -48px;
    right: 0;
    font-size: 1.3rem;
}

#diary-modal .modal {
    border-radius: var(--modal-radius);
    border-color: var(--modal-line);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

#diary-modal .modal-actions {
    border-top: 1px solid rgba(145, 160, 255, 0.12);
    padding-top: 1rem;
}

@media (max-width: 640px) {
    .modal-overlay, .legal-modal-overlay, .video-modal-overlay, .review-modal, #diary-modal {
        padding: 12px;
    }

    .modal, .legal-modal-content, .review-modal-content {
        width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: 12px;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body, .legal-modal-body, .review-modal-content {
        padding: 1rem;
    }

    .modal-footer {
        padding: 0.9rem 1rem;
    }
}

/* Compact cookie bar final guard */
@media (max-width: 520px) {
    #cookie-consent-banner .sf-cookie-inner {
        display: flex !important;
        align-items: center !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        min-height: 38px;
        padding: 0.45rem 0.5rem 0.45rem 0.62rem !important;
    }

    #cookie-consent-banner .sf-cookie-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #cookie-consent-banner .sf-cookie-btn {
        position: static !important;
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 30px !important;
        min-width: 42px !important;
        min-height: 30px !important;
        padding: 0 !important;
        transform: none !important;
    }
}

.tarot-modal-overlay .tarot-modal {
    max-width: 540px;
}

.tarot-modal-header {
    background: linear-gradient(135deg, rgba(212, 175, 106, 0.08), rgba(79, 107, 255, 0.08));
}

.tarot-modal-title-icon {
    color: var(--tar-gold, #d4af6a);
    font-size: 1.1em;
    margin-right: 6px;
    text-shadow: 0 0 16px rgba(212, 175, 106, 0.55);
}

.tarot-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.tarot-modal-state[hidden] {
    display: none !important;
}

.tarot-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 60px 20px;
}

.tarot-modal-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(212, 175, 106, 0.15);
    border-top-color: var(--tar-gold, #d4af6a);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.tarot-modal-loading-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.tarot-modal-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 40px 20px;
}

.tarot-modal-error-icon {
    font-size: 2.4rem;
}

.tarot-modal-error-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
}

.tarot-modal-unauth {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 4px 4px;
}

.tarot-modal-unauth-card {
    position: relative;
    width: 110px;
    height: 165px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1428 100%);
    border: 1px solid rgba(212, 175, 106, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 106, 0.15);
    overflow: hidden;
}

.tarot-modal-unauth-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(212, 175, 106, 0.35);
    border-radius: 8px;
    background-image: radial-gradient(circle at 50% 50%, rgba(212, 175, 106, 0.13), transparent 60%);
}

.tarot-modal-unauth-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at center, rgba(212, 175, 106, 0.25), transparent 60%);
    animation: tar-pulse 3.4s ease-in-out infinite;
}

.tarot-modal-unauth-icon {
    font-size: 2.4rem;
    z-index: 2;
    filter: drop-shadow(0 0 14px rgba(212, 175, 106, 0.55));
}

.tarot-modal-unauth-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.2px;
}

.tarot-modal-unauth-text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 420px;
    margin: 0 0 18px;
}

.tarot-modal-unauth-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    max-width: 360px;
    width: 100%;
}

.tarot-modal-unauth-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    padding: 8px 12px;
    background: rgba(212, 175, 106, 0.05);
    border: 1px solid rgba(212, 175, 106, 0.12);
    border-radius: 10px;
}

.tarot-modal-unauth-li-icon {
    color: var(--tar-gold, #d4af6a);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tarot-modal-unauth-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.tarot-modal-btn-primary, .tarot-modal-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tarot-modal [data-tarot-state="ready"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 8px 0 4px;
}

.tarot-modal-deck {
    position: relative;
    width: 160px;
    aspect-ratio: 0.5;
    perspective: 1400px;
    margin: 0 auto;
}

.tarot-modal-card-scene {
    width: 100%;
    aspect-ratio: 0.5;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.0s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    z-index: 2;
}

.tarot-modal-card-scene.flipped {
    transform: rotateY(180deg);
    cursor: default;
}

.tarot-modal-card-scene:hover:not(.flipped) {
    transform: translateY(-3px) rotateZ(-1.5deg);
}

.tarot-modal-card-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 106, 0.3), 0 0 36px rgba(79, 107, 255, 0.18);
}

.tarot-modal-card-back {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1428 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarot-modal-card-back::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(212, 175, 106, 0.45);
    border-radius: 8px;
    background-image: radial-gradient(circle at 50% 50%, rgba(212, 175, 106, 0.13), transparent 60%);
}

.tarot-modal-card-back-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 2;
}

.tarot-modal-back-star {
    font-size: 44px;
    color: var(--tar-gold, #d4af6a);
    text-shadow: 0 0 20px rgba(212, 175, 106, 0.6);
    animation: tar-pulse 3s ease-in-out infinite;
}

.tarot-modal-back-cta {
    padding: 5px 12px;
    border: 1px solid rgba(212, 175, 106, 0.5);
    border-radius: 999px;
    font-size: 9px;
    letter-spacing: 1.6px;
    color: var(--tar-gold-hi, #f0d090);
    background: rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
    animation: tar-cta 2s ease-in-out infinite;
}

.tarot-modal-card-front {
    transform: rotateY(180deg);
    background: #000;
}

.tarot-modal-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tarot-modal-deck-stack {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.tarot-modal-phantom {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1428 100%);
    border: 1px solid rgba(212, 175, 106, 0.2);
    border-radius: 12px;
    opacity: 0.45;
}

.tarot-modal-phantom:nth-child(1) {
    transform: translate(-6px, 5px) rotate(-2.5deg);
}

.tarot-modal-phantom:nth-child(2) {
    transform: translate(6px, 5px) rotate(2.5deg);
}

/* =========================================================
   HOME CONVERSION — PRODUCT-FIRST HERO
   ========================================================= */
.hero-map-demo {
	position: relative;
	width: min(100%, 500px);
	justify-self: end;
	padding: 24px;
	border: 1px solid rgba(143, 131, 255, 0.28);
	border-radius: 24px;
	background:
		radial-gradient(100% 70% at 0% 0%, rgba(109, 92, 231, 0.18), transparent 64%),
		linear-gradient(180deg, rgba(18, 20, 39, 0.98), rgba(10, 12, 27, 0.98));
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	overflow: hidden;
}

.hero-map-demo::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 88%);
}

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

.hero-map-demo.hero-map-art {
	width: min(100%, 520px);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 28px;
	background: transparent;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38), 0 0 60px rgba(91, 75, 218, 0.1);
	overflow: hidden;
}

.hero-map-demo.hero-map-art::before {
	display: none;
}

.hero-map-art img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: inherit;
}

.hero-map-demo__top,
.hero-map-demo__heading,
.hero-map-demo__expert,
.hero-map-node {
	display: flex;
	align-items: center;
}

.hero-map-demo__top,
.hero-map-demo__heading {
	justify-content: space-between;
	gap: 14px;
}

.hero-map-demo__eyebrow {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #a99eff;
}

.hero-map-demo__status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.7rem;
	font-weight: 700;
	color: #a7f3d0;
}

.hero-map-demo__status i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

.hero-map-demo__heading {
	align-items: flex-end;
	margin-top: 24px;
}

.hero-map-demo__heading span {
	font-size: 0.78rem;
	color: var(--text-muted);
}

.hero-map-demo__heading strong {
	max-width: 230px;
	font-size: 1.02rem;
	line-height: 1.25;
	text-align: right;
	color: #f5f3ff;
}

.hero-map-demo__progress {
	height: 6px;
	margin-top: 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	overflow: hidden;
}

.hero-map-demo__progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #7b6cff, #a78bfa);
}

.hero-map-demo__count {
	margin-top: 7px;
	font-size: 0.7rem;
	text-align: right;
	color: #8887a4;
}

.hero-map-demo__nodes {
	display: grid;
	gap: 9px;
	margin-top: 18px;
}

.hero-map-node {
	min-width: 0;
	gap: 11px;
	padding: 12px 13px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.025);
}

.hero-map-node--open {
	border-color: rgba(123, 108, 255, 0.38);
	background: rgba(123, 108, 255, 0.1);
}

.hero-map-node--locked {
	opacity: 0.72;
}

.hero-map-node__icon {
	display: grid;
	place-items: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	font-size: 0.78rem;
	font-weight: 900;
	color: #ddd8ff;
	background: rgba(123, 108, 255, 0.14);
}

.hero-map-node > span:nth-child(2) {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.hero-map-node small {
	font-size: 0.66rem;
	color: #8e8ca8;
}

.hero-map-node b {
	overflow: hidden;
	font-size: 0.79rem;
	font-weight: 650;
	line-height: 1.25;
	color: #eceaf7;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hero-map-node em {
	flex: 0 0 auto;
	font-size: 0.64rem;
	font-style: normal;
	font-weight: 750;
	color: #8d8ba6;
}

.hero-map-node--open em {
	color: #bdb5ff;
}

.hero-map-demo__note {
	margin: 14px 2px 0;
	font-size: 0.7rem;
	line-height: 1.45;
	color: #8987a0;
}

.hero-map-demo__expert {
	gap: 10px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-map-demo__avatar {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 20%;
}

.hero-map-demo__expert span {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.hero-map-demo__expert b {
	font-size: 0.78rem;
	color: #eceaf7;
}

.hero-map-demo__expert small {
	font-size: 0.67rem;
	color: #85839b;
}

.hero .df-label-optional {
	margin-left: 4px;
	font-size: 0.64rem;
	font-weight: 500;
	color: #9aa0b8;
}

.hero .df-personalization {
	margin: 10px 0 12px;
	border: 1px solid rgba(108, 92, 231, 0.13);
	border-radius: 11px;
	background: rgba(108, 92, 231, 0.035);
}

.hero .df-personalization summary {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 39px;
	padding: 8px 34px 8px 12px;
	font-size: 0.72rem;
	font-weight: 750;
	color: #36324e;
	cursor: pointer;
	list-style: none;
}

.hero .df-personalization summary::-webkit-details-marker {
	display: none;
}

.hero .df-personalization summary::after {
	content: '+';
	position: absolute;
	right: 12px;
	top: 50%;
	font-size: 1rem;
	font-weight: 500;
	color: #7168b3;
	transform: translateY(-50%);
}

.hero .df-personalization[open] summary::after {
	content: '−';
}

.hero .df-personalization summary small {
	font-size: 0.64rem;
	font-weight: 550;
	color: #8985a0;
}

.hero .df-personalization__body {
	padding: 10px 12px 12px;
	border-top: 1px solid rgba(108, 92, 231, 0.1);
}

.hero .hero-title {
	font-size: clamp(2.7rem, 4.9vw, 4.65rem);
	line-height: 0.96;
}

.hero-offer-line {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 14px;
	margin-top: 12px;
	font-size: 0.73rem;
	font-weight: 650;
	color: #c8c5d7;
}

.hero-offer-line span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.hero-offer-line i {
	font-style: normal;
	color: #9f94ff;
}

@media (max-width: 900px) {
	.hero-content {
		order: 1;
	}

	.hero-map-demo {
		order: 2;
		justify-self: center;
		margin-bottom: 26px;
	}
}

@media (min-width: 901px) {
	.hero {
		padding-top: 42px;
	}
}

@media (max-width: 600px) {
	.hero .df-personalization summary {
		align-items: flex-start;
		flex-direction: column;
		gap: 1px;
	}

	.hero-map-demo {
		padding: 18px;
		border-radius: 18px;
	}

	.hero-map-demo.hero-map-art {
		padding: 0;
		border-radius: 20px;
	}

	.hero-map-demo__heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.hero-map-demo__heading strong {
		max-width: none;
		text-align: left;
	}

	.hero-map-node em {
		display: none;
	}

	.hero-offer-line {
		gap: 6px 10px;
		font-size: 0.68rem;
	}
}

/* Интуитивный выбор карты: закрытые карты веером, выбранная позиция
   передаётся в API и действительно определяет карту дня. */
.tarot-modal-fan {
    width: min(100%, 460px);
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 22px 14px 8px;
    overflow: visible;
    isolation: isolate;
}

.tarot-modal-fan-card {
    appearance: none;
    position: relative;
    flex: 0 0 82px;
    width: 82px;
    aspect-ratio: 0.5;
    margin: 0 0 0 -53px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    perspective: 900px;
    transform: translateY(var(--fan-lift)) rotate(var(--fan-angle));
    transform-origin: 50% 100%;
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease, filter 220ms ease;
}

.tarot-modal-fan-card:first-child {
    margin-left: 0;
}

.tarot-modal-fan-card:hover:not(:disabled),
.tarot-modal-fan-card:focus-visible:not(:disabled) {
    z-index: 20;
    outline: none;
    transform: translateY(calc(var(--fan-lift) - 22px)) rotate(var(--fan-angle)) scale(1.08);
}

.tarot-modal-fan-card:focus-visible .tarot-modal-fan-card-back {
    box-shadow: 0 0 0 3px rgba(255, 245, 213, 0.85), 0 16px 35px rgba(36, 29, 70, 0.45);
}

.tarot-modal-fan-card-inner {
    position: absolute;
    inset: 0;
    display: block;
    transform-style: preserve-3d;
    transition: transform 780ms cubic-bezier(0.4, 0, 0.2, 1);
}

.tarot-modal-fan-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 11px;
    backface-visibility: hidden;
}

.tarot-modal-fan-card-back {
    border: 1px solid rgba(230, 198, 133, 0.78);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 34%, rgba(137, 112, 174, 0.06)),
        url('/img/tarot-card-back-v1.webp') center / cover no-repeat,
        #070b14;
    box-shadow:
        0 15px 34px rgba(0, 0, 0, 0.5),
        0 3px 10px rgba(20, 18, 39, 0.58),
        inset 0 0 0 1px rgba(255, 239, 198, 0.12);
    filter: saturate(0.96) contrast(1.04);
    transition: box-shadow 240ms ease, filter 240ms ease;
}

.tarot-modal-fan-card-back::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(246, 219, 164, 0.28);
    border-radius: 8px;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.24);
    pointer-events: none;
}

.tarot-modal-fan-card-back::after {
    content: '';
    position: absolute;
    inset: -30% -65%;
    background: linear-gradient(105deg, transparent 39%, rgba(255, 242, 205, 0.16) 49%, transparent 59%);
    transform: translateX(-40%) rotate(6deg);
    opacity: 0;
    transition: transform 500ms ease, opacity 260ms ease;
    pointer-events: none;
}

.tarot-modal-fan-star {
    display: none;
}

.tarot-modal-fan-card:hover:not(:disabled) .tarot-modal-fan-card-back,
.tarot-modal-fan-card:focus-visible:not(:disabled) .tarot-modal-fan-card-back {
    filter: saturate(1.08) contrast(1.06) brightness(1.08);
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(242, 211, 146, 0.52),
        0 0 30px rgba(176, 138, 84, 0.16);
}

.tarot-modal-fan-card:hover:not(:disabled) .tarot-modal-fan-card-back::after,
.tarot-modal-fan-card:focus-visible:not(:disabled) .tarot-modal-fan-card-back::after {
    transform: translateX(40%) rotate(6deg);
    opacity: 1;
}

.tarot-modal-fan-card-front {
    transform: rotateY(180deg);
    background: #161522;
}

.tarot-modal-fan-card-front img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tarot-modal-fan.is-drawing .tarot-modal-fan-card:not(.is-selected) {
    opacity: 0.16;
    filter: blur(1px) saturate(0.65);
}

.tarot-modal-fan-card.is-selected {
    z-index: 30;
    opacity: 1;
    transform: translateY(-20px) rotate(0deg) scale(1.14);
}

/* На странице вопроса пространство позволяет показать карты крупнее, чем в
   компактной модалке «Карта дня». */
.tar-question__fan {
    width: min(100%, 760px);
    min-height: 270px;
    margin-top: 18px;
    padding: 24px 24px 10px;
    border-radius: 34px;
    background: radial-gradient(ellipse at 50% 88%, rgba(209, 165, 91, 0.13), transparent 58%);
}

.tar-question__fan .tarot-modal-fan-card {
    flex-basis: 128px;
    width: 128px;
    aspect-ratio: 0.59;
    margin-left: -80px;
    border-radius: 15px;
    perspective: 1200px;
}

.tar-question__fan .tarot-modal-fan-card-face {
    border-radius: 15px;
}

.tar-question__fan .tarot-modal-fan-card:hover:not(:disabled),
.tar-question__fan .tarot-modal-fan-card:focus-visible:not(:disabled) {
    transform: translateY(calc(var(--fan-lift) - 30px)) rotate(var(--fan-angle)) scale(1.09);
}

.tar-question__fan .tarot-modal-fan-card.is-selected {
    transform: translateY(-34px) rotate(0deg) scale(1.15);
}

.tarot-modal-fan-card.is-revealed .tarot-modal-fan-card-inner {
    transform: rotateY(180deg);
}

@media (max-width: 560px) {
    .tarot-modal-fan {
        width: 100%;
        min-height: 184px;
        padding-inline: 4px;
    }

    .tarot-modal-fan-card {
        flex-basis: 66px;
        width: 66px;
        margin-left: -44px;
    }

    .tarot-modal-fan-card.is-selected {
        transform: translateY(-14px) rotate(0deg) scale(1.1);
    }

    .tar-question__fan {
        width: calc(100% + 30px);
        min-height: 236px;
        margin-left: -15px;
        padding: 34px 4px 10px;
        border-radius: 24px;
    }

    .tar-question__fan .tarot-modal-fan-card {
        flex-basis: 90px;
        width: 90px;
        aspect-ratio: 0.59;
        margin-left: -60px;
    }

    .tar-question__fan .tarot-modal-fan-card.is-selected {
        transform: translateY(-22px) rotate(0deg) scale(1.12);
    }
}

@media (max-width: 420px) {
    .tar-question__fan {
        width: calc(100% + 40px);
        min-height: 214px;
        margin-left: -20px;
        padding-top: 30px;
    }

    .tar-question__fan .tarot-modal-fan-card {
        flex-basis: 78px;
        width: 78px;
        margin-left: -56px;
    }
}

.tarot-modal-pre-reveal {
    text-align: center;
    max-width: 380px;
}

.tarot-modal-pre-reveal.hidden {
    opacity: 0.4;
    pointer-events: none;
}

.tarot-modal-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tar-gold-hi, #f0d090);
    margin-bottom: 8px;
}

.tarot-modal-pre-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.7rem;
    margin: 0 0 14px;
    color: #fff;
}

.tarot-modal-pre-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tarot-modal-pre-list li {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

.tarot-modal-pre-list li strong {
    color: var(--tar-gold-hi, #f0d090);
    font-weight: 600;
}

.tarot-modal-pre-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.tarot-modal-pre-cta svg {
    color: var(--tar-gold, #d4af6a);
}
.tarot-modal-result {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 18px;
    align-items: start;
}

@media (max-width: 540px) {
    .tarot-modal-result {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .tarot-modal-card-img-wrap {
        margin: 0 auto;
        max-width: 160px;
    }
}

.tarot-modal-card-img-wrap {
    aspect-ratio: 0.55;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 106, 0.4);
}

.tarot-modal-result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tarot-modal-result-info {
    display: flex;
    flex-direction: column;
}

.tarot-modal-result-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.2;
}

.tarot-modal-keywords {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

.tarot-modal-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    line-height: 1.55;
    margin: 0 0 10px;
}

.tarot-modal-text--accent {
    color: rgba(212, 175, 106, 0.9);
    border-left: 2px solid rgba(212, 175, 106, 0.35);
    padding-left: 10px;
}

.tarot-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

@media (max-width: 540px) {
    .tarot-modal-actions {
        justify-content: center;
    }
}

button.tar-diary-banner {
    border: none;
    font: inherit;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.diary-greeting-header {
    align-items: center;
    gap: 0.85rem;
    margin-top: 60px;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
}

.diary-greeting {
    flex: 1;
    min-width: 0;
}

.diary-greeting small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
    opacity: 0.65;
}

.diary-greeting strong {
    display: block;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.diary-greeting-meta {
    display: none;
}

@media (min-width: 768px) {
    .diary-greeting-meta {
        display: block;
        text-align: right;
        margin-right: 0.5rem;
    }
}

.diary-greeting-header .mo-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

.daily-card {
    position: relative;
    padding: 1.1rem 1.25rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(12,16,32,0.78), rgba(12,16,32,0.55));
    border: 1px solid rgba(79,107,255,0.16);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
}

.daily-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0.6rem;
}

.daily-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.daily-card-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.daily-card-pill.is-done {
    background: rgba(74,222,128,0.12);
    border-color: rgba(74,222,128,0.3);
    color: #86efac;
}

.daily-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    line-height: 1.2;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.daily-card-lead {
    margin: 0 0 0.85rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.daily-card-note {
    display: block;
    width: 100%;
    text-align: left;
    min-height: 80px;
    padding: 12px 14px;
    border: 1px dashed rgba(79,107,255,0.25);
    border-radius: 12px;
    background: repeating-linear-gradient( to bottom, transparent 0, transparent 27px, rgba(255,255,255,0.045) 27px, rgba(255,255,255,0.045) 28px ), rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.45);
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 28px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.daily-card-note:hover {
    border-color: rgba(79,107,255,0.45);
    color: rgba(255,255,255,0.7);
    background: repeating-linear-gradient( to bottom, transparent 0, transparent 27px, rgba(255,255,255,0.06) 27px, rgba(255,255,255,0.06) 28px ), rgba(79,107,255,0.04);
}

.daily-card-mood {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 12px;
}

.daily-card-mood-btn {
    min-height: 38px;
    padding: 6px 4px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.75);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
}

.daily-card-mood-btn:hover {
    background: rgba(79,107,255,0.12);
    border-color: rgba(79,107,255,0.35);
    color: #fff;
    transform: translateY(-1px);
}

.daily-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 0 1rem;
    border: none;
    border-radius: 12px;
    background: var(--btn-primary-bg);
    border-bottom: 3px solid var(--btn-primary-border);
    -webkit-box-shadow: var(--btn-primary-shadow);
    box-shadow: var(--btn-primary-shadow);
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
}

.daily-card-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(79,107,255,0.42);
}

.daily-card-cta:active {
    transform: translateY(0);
}

.diary-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 1.25rem 0.15rem 0.6rem;
}

.diary-section-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: -0.01em;
}

.diary-section-head-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.diary-section-head-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-hover);
    text-decoration: none;
    transition: color 0.15s;
}

.diary-section-head-link:hover {
    color: #fff;
}

@media (max-width: 480px) {
    .daily-card {
        padding: 1rem 1rem 0.9rem;
    }

    .daily-card-title {
        font-size: 1.12rem;
    }

    .daily-card-mood {
        gap: 5px;
    }

    .daily-card-mood-btn {
        font-size: 0.72rem;
        padding: 6px 2px;
    }

    .diary-greeting-header {
        margin-top: 10px;
    }

    .diary-section-head {
        margin: 1rem 0.1rem 0.5rem;
    }
}

/* ═══════════════════════════════════════════════════════
   HOROSCOPE HUB — /horoscope (Apr-2026 redesign)
   Lunar calendar (featured + 30-day grid) + hero visual decor.
   Hero / sections / cards reuse .page-hero / .sonnik-section-title /
   .sonnik-featured-grid — only lunar-specific tokens defined here.
   ═══════════════════════════════════════════════════════ */

.horo-hero {
    --page-hero-eyebrow-bg: rgba(167, 139, 250, 0.12);
    --page-hero-eyebrow-color: #c4b5fd;
    --page-hero-accent: var(--accent-violet, #a78bfa);
}
.horo-hero .page-hero__grid {
    min-height: 520px;
}
.horo-hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.horo-hero-moon {
    position: relative;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, rgba(255,255,255,0.95), rgba(196,181,253,0.55) 38%, rgba(91,124,255,0.18) 70%, transparent 92%);
    box-shadow:
        0 0 80px rgba(167,139,250,0.45),
        0 0 160px rgba(91,124,255,0.25),
        inset 0 -20px 40px rgba(91,124,255,0.18);
    animation: horoMoonFloat 8s ease-in-out infinite;
}
@keyframes horoMoonFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.horo-hero-zodiac {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: horoZodiacRotate 60s linear infinite;
}
@keyframes horoZodiacRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.horo-hero-zodiac span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 50%;
    background: rgba(14, 18, 38, 0.65);
    border: 1px solid rgba(167, 139, 250, 0.35);
    backdrop-filter: blur(8px);
    transform-origin: center;
    /* counter-rotate so emoji stays upright */
    animation: horoZodiacUpright 60s linear infinite;
}
@keyframes horoZodiacUpright {
    from { transform: rotate(0deg) translate(180px) rotate(0deg); }
    to   { transform: rotate(-360deg) translate(180px) rotate(360deg); }
}
.horo-hero-zodiac span:nth-child(1)  { animation-delay:   0s; }
.horo-hero-zodiac span:nth-child(2)  { animation-delay:  -5s; }
.horo-hero-zodiac span:nth-child(3)  { animation-delay: -10s; }
.horo-hero-zodiac span:nth-child(4)  { animation-delay: -15s; }
.horo-hero-zodiac span:nth-child(5)  { animation-delay: -20s; }
.horo-hero-zodiac span:nth-child(6)  { animation-delay: -25s; }
.horo-hero-zodiac span:nth-child(7)  { animation-delay: -30s; }
.horo-hero-zodiac span:nth-child(8)  { animation-delay: -35s; }
.horo-hero-zodiac span:nth-child(9)  { animation-delay: -40s; }
.horo-hero-zodiac span:nth-child(10) { animation-delay: -45s; }
.horo-hero-zodiac span:nth-child(11) { animation-delay: -50s; }
.horo-hero-zodiac span:nth-child(12) { animation-delay: -55s; }

@media (max-width: 720px) {
    .horo-hero-visual { max-width: 280px; }
    .horo-hero-zodiac span {
        width: 34px;
        height: 34px;
        margin: -17px 0 0 -17px;
        font-size: 1.05rem;
    }
    .horo-hero-zodiac span:nth-child(n) {
        animation-name: horoZodiacUprightSm;
    }
    @keyframes horoZodiacUprightSm {
        from { transform: rotate(0deg) translate(110px) rotate(0deg); }
        to   { transform: rotate(-360deg) translate(110px) rotate(360deg); }
    }
}
@media (prefers-reduced-motion: reduce) {
    .horo-hero-moon,
    .horo-hero-zodiac,
    .horo-hero-zodiac span { animation: none !important; }
}

/* Лунный календарь — featured today + 30-day grid */
.lunar-today {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem 1.75rem;
    margin: 0 0 1.25rem;
    background: linear-gradient(135deg, rgba(91,124,255,0.14), rgba(167,139,250,0.08));
    border: 1px solid var(--glass-border, rgba(141,160,255,0.18));
    border-radius: var(--radius-lg, 16px);
    backdrop-filter: blur(var(--glass-blur, 12px));
    text-decoration: none;
    color: var(--text-main, #f5f6fb);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lunar-today:hover {
    transform: translateY(-2px);
    border-color: rgba(167,139,250,0.45);
    box-shadow: 0 12px 32px rgba(91,124,255,0.22);
}
.lunar-today__phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
}
.lunar-today__emoji {
    font-size: 2.6rem;
    line-height: 1;
    filter: drop-shadow(0 0 16px rgba(167,139,250,0.45));
}
.lunar-today__phase-name {
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted, #c4c6cd);
    text-align: center;
}
.lunar-today__main {
    min-width: 0;
}
.lunar-today__num {
    font-family: 'TTFirsNeue','Onest','Manrope',sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main, #f5f6fb);
    letter-spacing: -0.005em;
}
.lunar-today__hint {
    margin-top: 4px;
    color: var(--text-muted, #c4c6cd);
    font-size: 0.95rem;
    line-height: 1.45;
}
.lunar-today__cta {
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .lunar-today {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "phase main"
            "cta   cta";
        padding: 1.15rem 1.25rem;
        gap: 1rem;
    }
    .lunar-today__phase { grid-area: phase; }
    .lunar-today__main  { grid-area: main; }
    .lunar-today__cta   { grid-area: cta; }
    .lunar-today__cta .btn { width: 100%; justify-content: center; }
}

.lunar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 8px;
}
@media (min-width: 768px) {
    .lunar-grid {
        grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
        gap: 10px;
    }
}
.lunar-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    aspect-ratio: 1;
    padding: 8px 4px;
    background: var(--card-bg, rgba(14,18,38,0.6));
    border: 1px solid var(--glass-border, rgba(141,160,255,0.18));
    border-radius: var(--radius-md, 12px);
    text-decoration: none;
    color: var(--text-main, #f5f6fb);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.lunar-cell:hover {
    transform: translateY(-2px);
    border-color: var(--primary, #5b7cff);
}
.lunar-cell.is-current {
    background: linear-gradient(135deg, var(--primary, #5b7cff), var(--accent-violet, #a78bfa));
    border-color: var(--primary, #5b7cff);
    box-shadow: 0 6px 20px rgba(91,124,255,0.45);
    color: #fff;
}
.lunar-cell.is-current:hover {
    transform: translateY(-3px);
}
.lunar-cell.is-past { opacity: 0.45; }
.lunar-cell--soon {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
    filter: grayscale(0.4);
}
.lunar-cell--soon:hover {
    transform: none;
    border-color: var(--glass-border, rgba(141,160,255,0.18));
}
.lunar-today--soon {
    opacity: 0.55;
    cursor: default;
}
.btn--disabled {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}
.lunar-cell__num {
    font-family: 'TTFirsNeue','Onest','Manrope',sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}
.lunar-cell__phase {
    font-size: 0.95rem;
    line-height: 1;
}
.lunar-cell__label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Темы по знакам — карточка-список с inline-чипами */
.horo-theme-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.horo-theme-card__head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.horo-theme-card__emoji {
    font-size: 1.5rem;
    line-height: 1;
}
.horo-theme-card__name {
    margin: 0;
    font-family: 'TTFirsNeue','Onest','Manrope',sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main, #f5f6fb);
    letter-spacing: -0.005em;
}
.horo-theme-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.horo-theme-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(91,124,255,0.08);
    border: 1px solid rgba(141,160,255,0.18);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--text-main, #f5f6fb);
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.horo-theme-chip:hover {
    background: rgba(91,124,255,0.18);
    border-color: var(--primary, #5b7cff);
    transform: translateY(-1px);
}

/* Hub CTA grid — компактнее чем дефолтный sidebar-card */
.horo-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 2.5rem 0 1rem;
}

/* ════════════════════════════════════════════════════════════
   Модалка выбора тарифа — акцент на «Популярном» + кнопки «Выбрать»
   (правила в конце файла, чтобы побеждать тему-оверрайд .modal-plan-card выше)
   ════════════════════════════════════════════════════════════ */
#modal-choose-plan .modal-plan-card {
    display: flex;
    flex-direction: column;
}

/* Выделяем рекомендуемый тариф: акцентная рамка, градиент, свечение-кольцо */
#modal-choose-plan .modal-plan-card.modal-plan-popular {
    border: 1.5px solid var(--primary, #4f6bff);
    background: linear-gradient(135deg, rgba(79, 107, 255, 0.16), rgba(139, 92, 246, 0.10));
    box-shadow: 0 0 0 1px rgba(79, 107, 255, 0.30), 0 14px 40px rgba(79, 107, 255, 0.22);
}

#modal-choose-plan .modal-plan-card.modal-plan-popular:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(79, 107, 255, 0.40), 0 18px 48px rgba(79, 107, 255, 0.30);
}

/* Кнопка «Выбрать» внутри карточки */
.modal-plan-select {
    margin-top: 0.9rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(79, 107, 255, 0.45);
    background: transparent;
    color: #cdd6ff;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.modal-plan-select:hover {
    background: rgba(79, 107, 255, 0.14);
}

.modal-plan-select--primary {
    border-color: transparent;
    background: linear-gradient(135deg, #4f6bff, #8b5cf6);
    color: #fff;
    box-shadow: 0 6px 18px rgba(79, 107, 255, 0.35);
}

.modal-plan-select--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(79, 107, 255, 0.45);
}

/* ════════════════════════════════════════════════════════════
   TAROT CONVERSION FLOW
   Спокойная продуктовая иерархия в рамках публичной дизайн-системы.
   ════════════════════════════════════════════════════════════ */
.tarot-page .tarot-wrap {
    width: min(100% - 32px, 920px);
    max-width: 920px;
}

.tar-hero-glow {
    animation: none;
    opacity: 0.7;
}

.tar-hero .page-hero__grid {
    min-height: 570px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.tar-hero .page-hero__eyebrow {
    margin-bottom: 1rem;
}

.tar-hero .page-hero__title {
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 4.2vw, 3.75rem);
}

.tar-hero .page-hero__lead {
    margin-bottom: 1.15rem;
    font-size: 0.98rem;
    line-height: 1.65;
}

.tar-hero .page-hero__stats {
    margin-bottom: 1.15rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.tar-hero-note {
    position: absolute;
    z-index: 3;
    display: grid;
    gap: 2px;
    min-width: 168px;
    padding: 12px 14px;
    border: 1px solid rgba(212, 175, 106, 0.24);
    border-radius: 12px;
    background: rgba(10, 13, 27, 0.88);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(14px);
}

.tar-hero-note strong {
    color: #f7f3e9;
    font-size: 13px;
    font-weight: 650;
}

.tar-hero-note span {
    color: var(--tar-muted);
    font-size: 11px;
    line-height: 1.35;
}

.tar-hero-note--top {
    top: 20%;
    left: -5%;
}

.tar-hero-note--bottom {
    right: -4%;
    bottom: 10%;
}

.tar-question {
    margin: 0 0 22px;
    border: 0;
    border-bottom: 3px solid #04050a;
    background: #050812;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
}

.tar-question__guest-note {
    margin: -4px 0 16px;
    padding: 11px 13px;
    border: 1px solid rgba(212, 175, 106, 0.18);
    border-radius: 10px;
    background: rgba(212, 175, 106, 0.055);
    color: rgba(239, 233, 215, 0.72);
    font-size: 12px;
    line-height: 1.5;
}

.tar-question__examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -4px 0 14px;
}

.tar-question__examples button {
    padding: 7px 10px;
    border: 1px solid rgba(168, 160, 205, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(231, 228, 243, 0.68);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.tar-question__examples button:hover,
.tar-question__examples button:focus-visible {
    border-color: rgba(212, 175, 106, 0.4);
    background: rgba(212, 175, 106, 0.06);
    color: #f5efdF;
    outline: none;
}

.tar-question__trust {
    color: rgba(225, 222, 239, 0.48);
    font-size: 11px;
    line-height: 1.45;
}

.tar-proof,
.tar-credit-offers,
.tar-daily {
    margin: 22px 0;
    border: 0;
    border-bottom: 3px solid #04050a;
    border-radius: 18px;
    background: #050812;
    -webkit-box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
    box-shadow: inset 0 8px 25px 0 rgb(255 255 255 / 9%);
}

.tar-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: clamp(24px, 4vw, 42px);
    padding: clamp(24px, 4vw, 38px);
}

.tar-proof h2,
.tar-credit-offers h2,
.tar-daily__head h2,
.tar-seo__head h2 {
    margin: 7px 0 10px;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    line-height: 1.05;
}

.tar-proof__copy > p,
.tar-credit-offers__head > p,
.tar-daily__head p {
    margin: 0;
    color: rgba(231, 228, 242, 0.66);
    font-size: 14px;
    line-height: 1.65;
}

.tar-proof__steps {
    display: grid;
    gap: 13px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.tar-proof__steps li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.tar-proof__steps li > span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border: 1px solid rgba(212, 175, 106, 0.32);
    border-radius: 50%;
    color: var(--tar-gold-hi);
    font-size: 11px;
}

.tar-proof__steps div {
    display: grid;
    gap: 2px;
}

.tar-proof__steps strong {
    color: #f4f1fb;
    font-size: 13px;
}

.tar-proof__steps small {
    color: var(--tar-muted);
    font-size: 11px;
    line-height: 1.45;
}

.tar-proof__example {
    align-self: stretch;
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(212, 175, 106, 0.18);
    border-radius: 14px;
    background: rgba(4, 7, 16, 0.38);
}

.tar-proof__example figcaption {
    margin-bottom: 14px;
    color: var(--tar-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tar-proof__example blockquote {
    margin: 0;
}

.tar-proof__example blockquote strong {
    color: #f5f2fc;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.25;
}

.tar-proof__example blockquote p {
    margin: 13px 0 18px;
    color: rgba(238, 235, 247, 0.76);
    font-size: 13px;
    line-height: 1.7;
}

.tar-proof__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tar-proof__facts span {
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(225, 222, 239, 0.54);
    font-size: 10px;
}

.tar-credit-offers {
    padding: clamp(22px, 4vw, 34px);
}

.tar-credit-offers__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 20px;
}

.tar-credit-offers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tar-credit-offer {
    position: relative;
    display: grid;
    gap: 5px;
    min-height: 132px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.tar-credit-offer--featured {
    border-color: rgba(212, 175, 106, 0.48);
    background: rgba(212, 175, 106, 0.055);
}

.tar-credit-offer > strong {
    color: #f4f1fb;
    font-size: 14px;
}

.tar-credit-offer__price {
    color: #fff4d6;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    line-height: 1;
}

.tar-credit-offer small {
    color: rgba(225, 222, 239, 0.5);
    font-size: 10px;
}

.tar-credit-offer__badge {
    justify-self: start;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(212, 175, 106, 0.12);
    color: #efd59e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tar-credit-offers__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.tar-credit-offers__link {
    color: rgba(223, 219, 238, 0.62);
    font-size: 12px;
    text-decoration: none;
}

.tar-credit-offers__link:hover {
    color: #fff;
}

.tar-daily {
    padding: clamp(22px, 4vw, 34px);
    scroll-margin-top: 96px;
}

.tar-daily__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tar-border);
}

.tar-daily__head > div:first-child {
    max-width: 620px;
}

.tar-daily .tar-date {
    flex: 0 0 auto;
    margin: 0;
    border: 1px solid var(--tar-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
}

.tar-daily .tar-stage {
    margin-bottom: 0;
}

.tar-seo {
    padding: 24px 0 54px;
}

.tar-seo__group {
    margin: 0 0 44px;
}

.tar-seo__group--encyclopedia {
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.tar-seo__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.tar-seo__head h2 {
    margin-bottom: 0;
}

.tar-seo__head > a {
    color: rgba(229, 225, 241, 0.64);
    font-size: 13px;
    text-decoration: none;
}

.tar-seo__head > a:hover {
    color: #fff;
}

.tar-seo__head--compact {
    margin-bottom: 8px;
}

#tarot-question,
#tarot-spreads {
    scroll-margin-top: 96px;
}

@media (max-width: 760px) {
    .tar-hero-note {
        min-width: 150px;
        padding: 10px 12px;
    }

    .tar-hero-note--top {
        top: 12%;
        left: 8px;
    }

    .tar-hero-note--bottom {
        right: 8px;
        bottom: 8%;
    }

    .tar-proof,
    .tar-credit-offers__head {
        grid-template-columns: 1fr;
    }

    .tar-credit-offers__grid {
        grid-template-columns: 1fr;
    }

    .tar-credit-offer {
        min-height: 0;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .tar-credit-offer small,
    .tar-credit-offer__badge {
        grid-column: 1 / -1;
    }

    .tar-credit-offers__foot,
    .tar-daily__head,
    .tar-seo__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .tar-credit-offers__foot .btn {
        width: 100%;
    }

    .tar-daily .tar-date {
        align-self: flex-start;
    }
}

@media (max-width: 520px) {
    .tarot-page .tarot-wrap {
        width: min(100% - 20px, 920px);
    }

    .tar-question,
    .tar-proof,
    .tar-credit-offers,
    .tar-daily {
        border-radius: 14px;
    }

    .tar-question {
        padding: 20px 15px;
    }

    .tar-question__header h2 {
        font-size: 2rem;
    }

    .tar-question__examples {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .tar-question__examples::-webkit-scrollbar {
        display: none;
    }

    .tar-question__examples button {
        flex: 0 0 auto;
    }

    .tar-proof,
    .tar-credit-offers,
    .tar-daily {
        padding: 20px 16px;
    }

    .tar-proof__example {
        padding: 17px;
    }

    .tar-hero-note {
        display: none;
    }
}

