@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap');

/* Палитра News: #2D2200 + тёплые акценты (премиум) */
:root {
    --news-bg: #2D2200;
    --news-text: #F5F0E6;
    --news-accent: #C9B896;
    --news-highlight: #E0D4BC;
    --news-subtle: rgba(245, 240, 230, 0.82);
    --news-muted: rgba(245, 240, 230, 0.58);
    --news-dim: rgba(245, 240, 230, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Доступность: видимый фокус (DuoView + Apple) */
a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(201, 184, 150, 0.7);
    outline-offset: 3px;
}

/* Навигация как на главной (Apple-style) */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    background: rgba(45, 34, 0, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245, 240, 225, 0.08);
}

.main-nav-brand {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--news-text);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.main-nav-brand-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: #f59e0b;
    border-radius: 8px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cline x1='5' y1='5' x2='19' y2='19' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    mask-size: 18px 18px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cline x1='5' y1='5' x2='19' y2='19' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: 18px 18px;
}

.main-nav-links {
    display: flex;
    gap: 32px;
}

.main-nav-links a {
    font-size: 14px;
    color: var(--news-subtle);
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav-links a:hover,
.main-nav-links a.active {
    color: var(--news-highlight);
}

@media (max-width: 600px) {
    .main-nav-links {
        display: none;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background: 
        linear-gradient(rgba(245, 240, 230, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 240, 230, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 85% 15%, rgba(201, 184, 150, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 15% 85%, rgba(160, 120, 0, 0.06) 0%, transparent 50%),
        var(--news-bg);
    background-size: 50px 50px, 50px 50px, 7250px 1750px, 7250px 1750px, 100% 100%;
    background-position: 0 0, 0 0, center center, center center, 0 0;
    background-attachment: fixed, fixed, fixed, fixed, fixed;
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    /* Убираем артефакты и улучшаем качество */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Когда будет реальное изображение, раскомментируйте это и закомментируйте background выше */
/*
body {
    font-family: 'Poppins', sans-serif;
    background-image: url('assets/news-background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 7250px 1750px;
    background-attachment: fixed;
    background-color: #000000;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*/

/* Overlay — тёплые акценты под #423200 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(160, 120, 0, 0.05), transparent 60%),
        radial-gradient(circle at 80% 10%, rgba(201, 184, 150, 0.05), transparent 55%),
        radial-gradient(circle at 30% 85%, rgba(160, 120, 0, 0.04), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
    z-index: 0;
}

/* Футер News */
.news-footer {
    padding: 40px 24px 0.5cm;
    margin-top: 180px;
    text-align: center;
    border-top: 1px solid rgba(212, 196, 168, 0.2);
    position: relative;
    margin-bottom: 0;
}

.news-footer::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 184, 150, 0.45), transparent);
}

.news-footer-text {
    font-size: 14px;
    color: var(--news-muted);
    margin: 0;
}

.news-footer-crafted {
    font-size: 12px;
    color: var(--news-dim);
    margin: 12px 0 0;
    letter-spacing: 0.06em;
}

.news-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.news-footer-link {
    font-size: 13px;
    color: var(--news-highlight);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-footer-link:hover {
    color: var(--news-text);
}

/* Футер: все обновления как на главной — палитра, виньетка, типографика, CTA, scroll-in */
.news-footer.kro-footer {
    --kro-bg: #0a0c10;
    --kro-bg-mid: #0e1116;
    --kro-bg-soft: #13161c;
    padding: 48px 24px 72px !important;
    margin-top: 180px !important;
    text-align: center;
    font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.news-footer.kro-footer::before {
    display: none !important;
}

.news-footer.kro-footer .kro-footer-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 32% 22% at 50% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 55%),
                radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255, 255, 255, 0.025) 0%, transparent 50%),
                linear-gradient(180deg, #0a0c10 0%, #0e1116 25%, #13161c 100%);
}

.news-footer.kro-footer .kro-footer-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 70% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.news-footer.kro-footer .kro-footer-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.02) 1px, transparent 0),
                      radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.014) 1px, transparent 0);
    background-size: 32px 32px, 24px 24px;
    pointer-events: none;
}

.news-footer.kro-footer .news-footer-text {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.news-footer.kro-footer .news-footer-crafted {
    font-size: clamp(17px, 2.1vw, 20px);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.55;
}

.news-footer.kro-footer .news-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.news-footer.kro-footer .news-footer-link {
    font-size: clamp(14px, 1.6vw, 16px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease, transform 0.25s ease;
}

.news-footer.kro-footer .news-footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-footer.kro-footer .news-footer-link:hover {
    color: rgba(255, 255, 255, 0.98);
    transform: translateY(-2px);
}

.news-footer.kro-footer .news-footer-link:hover::after {
    width: 100%;
}

.news-footer.kro-footer .news-footer-cta {
    display: inline-block;
    font-size: clamp(14px, 1.7vw, 16px);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 230, 200, 0.95);
    background-color: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.38);
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 rgba(245, 158, 11, 0);
}

.news-footer.kro-footer .news-footer-cta:hover {
    border-color: rgba(245, 158, 11, 0.55);
    background-color: rgba(245, 158, 11, 0.24);
    color: rgba(255, 248, 235, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3), 0 0 32px rgba(245, 158, 11, 0.22);
}

.news-footer.kro-footer .news-footer-cta:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.news-footer.kro-footer .kro-footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.news-footer.kro-footer .kro-footer-legal {
    font-family: ui-monospace, 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.48);
    letter-spacing: 0.12em;
    margin: 0;
    line-height: 1.5;
}

.news-footer.kro-scroll-in {
    opacity: 0;
    transform: translateY(52px) scale(0.98);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-footer.kro-scroll-in-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.news-footer.kro-scroll-in .kro-footer-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-footer.kro-scroll-in-visible .kro-footer-reveal:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.news-footer.kro-scroll-in-visible .kro-footer-reveal:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.news-footer.kro-scroll-in-visible .kro-footer-reveal:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.news-footer.kro-scroll-in-visible .kro-footer-reveal:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
    .news-footer.kro-scroll-in,
    .news-footer.kro-scroll-in .kro-footer-reveal,
    .news-footer.kro-scroll-in-visible .kro-footer-reveal:nth-child(n) {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

body {
    padding-bottom: 0 !important;
}

.page {
    padding-bottom: 0 !important;
}

.content {
    padding-bottom: 0 !important;
}

/* Минимализм: фоновые элементы убраны (Apple + DuoView) */

/* Мягкое свечение в фоне */
.content::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 184, 150, 0.06), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: subtle-glow 18s ease-in-out infinite reverse;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding-top: 56px;
    padding-bottom: 0;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 24px 80px;
    text-align: center;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-bottom: 0;
}

/* Hero — статичный, минимализм (Apple + DuoView) */
.news-hero {
    margin-bottom: 96px;
    max-width: 720px;
}

.news-hero-label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--news-muted);
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.news-hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    color: var(--news-text);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.news-hero-subtitle {
    font-size: 20px;
    color: var(--news-accent);
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.news-hero-description {
    font-size: 18px;
    color: var(--news-subtle);
    line-height: 1.65;
}

/* What actually matters today + News heat */
.news-today {
    max-width: 900px;
    width: 100%;
    margin: 0 auto 72px;
    text-align: left;
}

.news-today-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.news-today-title {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--news-text);
    text-align: center !important;
    width: 100%;
    margin: 0 auto;
}

.news-heat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.news-heat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--news-dim);
}

.news-heat-scale {
    display: flex;
    gap: 10px;
    align-items: center;
}

.news-heat-point {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--news-muted);
    opacity: 0.7;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.news-heat-point:hover {
    opacity: 1;
}

.news-heat-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid var(--news-muted);
    background: transparent;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Активные состояния для Calm / Balanced / Hot */
.news-heat[data-state="calm"] .news-heat-point[data-level="calm"],
.news-heat[data-state="balanced"] .news-heat-point[data-level="balanced"],
.news-heat[data-state="hot"] .news-heat-point[data-level="hot"] {
    opacity: 1;
}

.news-heat[data-state="calm"] .news-heat-point[data-level="calm"] {
    color: var(--news-text);
}

.news-heat[data-state="calm"] .news-heat-point[data-level="calm"] .news-heat-dot {
    background: var(--news-text);
    border-color: var(--news-text);
}

.news-heat[data-state="balanced"] .news-heat-point[data-level="balanced"] {
    color: var(--news-highlight);
}

.news-heat[data-state="balanced"] .news-heat-point[data-level="balanced"] .news-heat-dot {
    background: var(--news-highlight);
    border-color: var(--news-highlight);
}

/* Hot — когда рынок «горит» */
.news-heat[data-state="hot"] .news-heat-point[data-level="hot"] {
    color: #FDE9E4;
}

.news-heat[data-state="hot"] .news-heat-point[data-level="hot"] .news-heat-dot {
    background: #2B0400;
    border-color: #FDE9E4;
    box-shadow: 0 0 0 1px rgba(253, 233, 228, 0.45);
}

.news-today-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.news-today-item {
    position: relative;
    padding: 14px 16px 14px 18px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.12);
    border-left: 2px solid rgba(201, 184, 150, 0.5);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.news-today-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 18px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--news-highlight);
}

.news-today-item:hover {
    background: rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.news-today-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--news-highlight);
}

.news-today-text {
    font-size: 14px;
    color: var(--news-subtle);
    line-height: 1.6;
}

/* Блок доверия (DuoView) */
.news-trust-stats {
    margin-bottom: 96px;
}

.news-trust-badge {
    font-size: 13px;
    color: var(--news-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.news-trust-tagline {
    font-size: 12px;
    color: var(--news-dim);
    letter-spacing: 0.06em;
}

/* Signal vs noise */
.signal-noise {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: left;
}

.signal-noise-title {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--news-text);
    margin-bottom: 12px;
    text-align: center;
}

.signal-noise-intro {
    font-size: 15px;
    color: var(--news-subtle);
    margin-bottom: 16px;
    line-height: 1.6;
}

.signal-noise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

/* Карточки Signal vs noise: DuoView-стиль — glow, гравировка, inner gradient */
.signal-noise-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(201, 184, 150, 0.15);
    border-left: 3px solid rgba(201, 184, 150, 0.5);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    box-shadow: inset 2px 0 0 rgba(201, 184, 150, 0.12), 0 2px 12px rgba(0, 0, 0, 0.15), -8px 12px 50px rgba(201, 184, 150, 0.06), 0 0 40px rgba(201, 184, 150, 0.06);
    overflow: hidden;
}

.signal-noise-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 40%, rgba(201, 184, 150, 0.03) 100%);
    pointer-events: none;
}

.signal-noise-item:nth-child(even) {
    box-shadow: inset 2px 0 0 rgba(201, 184, 150, 0.12), 0 2px 12px rgba(0, 0, 0, 0.15), -6px 10px 45px rgba(201, 184, 150, 0.07), 0 0 38px rgba(201, 184, 150, 0.06);
}

.signal-noise-item:hover {
    background: rgba(0, 0, 0, 0.18);
    transform: translateY(-2px) scale(1.01);
    border-left-color: rgba(201, 184, 150, 0.7);
    border-color: rgba(201, 184, 150, 0.12);
    box-shadow: inset 2px 0 0 rgba(201, 184, 150, 0.18), 0 8px 24px rgba(0, 0, 0, 0.25), -12px 16px 60px rgba(201, 184, 150, 0.1), 0 0 60px rgba(201, 184, 150, 0.1), 0 0 0 1px rgba(201, 184, 150, 0.08);
}

.signal-noise-item:nth-child(even):hover {
    box-shadow: inset 2px 0 0 rgba(201, 184, 150, 0.18), 0 8px 24px rgba(0, 0, 0, 0.25), -10px 14px 55px rgba(201, 184, 150, 0.09), 0 0 58px rgba(201, 184, 150, 0.09), 0 0 0 1px rgba(201, 184, 150, 0.08);
}

.signal-noise-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--news-text);
    margin-bottom: 4px;
    padding-bottom: 8px;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.signal-noise-label strong {
    color: var(--news-highlight);
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.signal-noise-item:hover .signal-noise-label strong {
    color: var(--news-highlight);
    text-shadow: 0 0 12px rgba(201, 184, 150, 0.3);
}

.signal-noise-text {
    font-size: 14px;
    color: var(--news-subtle);
    line-height: 1.65;
}

/* Before you react — micro prompts as chips */
.before-react {
    max-width: 900px;
    margin: 0 auto 72px;
    text-align: left;
}

.before-react-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--news-dim);
    margin-bottom: 12px;
}

.before-react-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    row-gap: 10px;
}

.before-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(201, 184, 150, 0.45);
    font-size: 12px;
    color: var(--news-subtle);
    background: rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.2s ease, border-color 0.2s ease, border-radius 0.2s ease;
}

.before-chip:hover {
    background: rgba(0, 0, 0, 0.2);
    color: var(--news-text);
    border-color: var(--news-highlight);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.before-chip--open {
    border-radius: 12px;
    white-space: normal;
}

.before-chip-hint {
    display: none;
    font-size: 11px;
    color: var(--news-dim);
    margin-top: 6px;
    line-height: 1.4;
    max-width: 220px;
}

.before-chip--open .before-chip-hint {
    display: block;
}

/* Scroll-reveal с каскадом (Apple — плавные переходы) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.news-row.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.news-row.scroll-reveal:nth-child(2) { transition-delay: 0.06s; }
.news-row.scroll-reveal:nth-child(3) { transition-delay: 0.12s; }
.news-row.scroll-reveal:nth-child(4) { transition-delay: 0.18s; }
.news-row.scroll-reveal:nth-child(5) { transition-delay: 0.24s; }

.scroll-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Доступность: prefers-reduced-motion (Apple) */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .news-row.scroll-reveal:nth-child(n) {
        transition-delay: 0s;
    }
    .news-link::after {
        transition: none;
    }
    .news-row:hover {
        transform: none;
    }
}

/* Секция источников */
.news-sources-section {
    padding: 0;
    text-align: center;
    background: transparent;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 56px;
    padding: 0;
    display: inline-block;
    color: var(--news-text);
    font-family: 'Raleway', sans-serif;
    letter-spacing: -0.02em;
}

.news-table-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Editor's lens */
.editor-lens {
    max-width: 900px;
    margin: 72px auto 40px;
    text-align: left;
    border-top: 1px solid rgba(201, 184, 150, 0.22);
    padding-top: 32px;
}

.editor-lens-title {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--news-text);
    margin-bottom: 12px;
    text-align: center;
}

.editor-lens-text {
    font-size: 15px;
    color: var(--news-subtle);
    line-height: 1.7;
}

/* Карточки — минимализм (Apple + DuoView), вся карточка кликабельна */
.news-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(245, 240, 230, 0.05);
    border: 1px solid rgba(245, 240, 230, 0.14);
    border-radius: 16px;
    padding: 32px 36px;
    margin: 24px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 32px;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.news-row:hover {
    border-color: rgba(212, 196, 168, 0.45);
    transform: scale(1.01);
    background: rgba(245, 240, 225, 0.06);
}

.news-row-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Изюминка: нумерация curated list (Apple — качество в деталях) */
.news-row-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.news-row-number {
    font-size: 11px;
    font-weight: 600;
    color: var(--news-dim);
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    font-family: 'Raleway', sans-serif;
    transition: color 0.3s ease;
}

.news-row:hover .news-row-number {
    color: var(--news-highlight);
}

.news-site {
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    color: var(--news-text);
    font-family: 'Raleway', sans-serif;
    transition: color 0.3s ease;
}

.news-row:hover .news-site {
    color: var(--news-highlight);
}

.news-description {
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
    color: var(--news-subtle);
    font-family: 'Poppins', sans-serif;
}

.news-source-meta {
    font-size: 12px;
    color: var(--news-muted);
    letter-spacing: 0.04em;
    margin: 4px 0 0;
    font-family: 'Poppins', sans-serif;
}

.news-link {
    background: rgba(201, 184, 150, 0.14);
    border: 1px solid rgba(201, 184, 150, 0.4);
    color: var(--news-text);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
}

.news-link::after {
    content: ' ↗';
    opacity: 0;
    transition: opacity 0.25s ease;
}

.news-row:hover .news-link::after {
    opacity: 1;
}

.news-link:hover {
    background: rgba(212, 196, 168, 0.18);
    border-color: var(--news-accent);
    color: var(--news-text);
}

/* Блок 8: Мобильная версия (Apple — tap-area 44px+, адаптивность) */
/* Фиксация экрана: без горизонтального скролла, без шатания влево-вправо */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        overscroll-behavior-x: none;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    .page, .content {
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }
    .content {
        padding: 96px 24px 80px;
    }
    
    .news-hero {
        margin-bottom: 112px;
    }
    
    .news-hero-label {
        font-size: 11px;
        margin-bottom: 16px;
    }
    
    .news-hero-title {
        font-size: clamp(40px, 10vw, 56px);
    }
    
    .news-hero-subtitle {
        font-size: 18px;
    }
    
    .news-hero-description {
        font-size: 16px;
    }
    
    .news-today {
        margin-bottom: 120px;
    }
    
    .news-today-header {
        gap: 32px;
    }
    
    .news-today-list {
        margin-top: 48px;
        gap: 28px;
    }
    
    .news-trust-stats {
        margin-bottom: 120px;
    }
    
    .signal-noise {
        margin-bottom: 120px;
    }
    
    .signal-noise-title {
        margin-bottom: 28px;
    }
    
    .signal-noise-intro {
        margin-bottom: 32px;
    }
    
    .signal-noise-list {
        gap: 28px;
    }
    
    .before-react {
        margin-bottom: 120px;
    }
    
    .before-react-title {
        margin-bottom: 28px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 96px;
    }
    
    .editor-lens {
        margin-top: 120px;
        margin-bottom: 88px;
        padding-top: 48px;
    }
    
    .editor-lens-title {
        margin-bottom: 28px;
    }
    
    .news-footer {
        padding-bottom: calc(1.5cm + env(safe-area-inset-bottom, 0px));
    }
    
    .news-row {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 32px 28px;
        align-items: center;
    }
    
    .news-link::after {
        content: none;
        display: none;
    }
    
    .news-link {
        padding: 14px 24px;
        font-size: 14px;
        min-height: 44px;
        min-width: 120px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .news-row-main {
        text-align: center;
    }
    
    .news-row-header {
        justify-content: center;
    }
    
    .news-site {
        font-size: 22px;
        text-align: center;
    }
    
    .news-description {
        font-size: 14px;
        text-align: center;
    }
    
    .news-source-meta {
        font-size: 11px;
        text-align: center;
    }
    
    .news-today, .signal-noise, .before-react, .editor-lens, .news-trust-stats {
        max-width: 100%;
        overflow-wrap: break-word;
    }
    .news-today-list, .signal-noise-list, .before-react-grid {
        max-width: 100%;
    }
    .news-row, .news-table-container, .news-sources-section {
        max-width: 100%;
    }
    .before-chip {
        white-space: normal;
        max-width: 100%;
    }
    .before-react-grid {
        max-width: 100%;
    }
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden !important;
        overscroll-behavior: none;
    }
    .content {
        padding: 88px 20px 64px;
    }
    
    .news-hero {
        margin-bottom: 96px;
    }
    
    .news-hero-title {
        font-size: 40px;
    }
    
    .news-today {
        margin-bottom: 104px;
    }
    
    .news-today-list {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .news-today-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
    
    .news-heat {
        align-items: center;
        text-align: center;
    }
    
    .signal-noise {
        margin-bottom: 104px;
    }
    
    .news-trust-stats {
        margin-bottom: 104px;
    }
    
    .before-react {
        margin-bottom: 104px;
    }
    
    .section-title {
        margin-bottom: 88px;
    }
    
    .news-row {
        padding: 28px 24px;
        margin: 36px 0;
    }
}

@keyframes floatMove {
    0% {
        transform: translate(0, 0);
        opacity: 1;
        color: #ffffff;
    }
    50% {
        transform: translate(20px, -20px);
        opacity: 1;
        color: #ffffff;
    }
    100% {
        transform: translate(0, 0);
        opacity: 1;
        color: #ffffff;
    }
}

/* Все анимации удалены для оптимизации производительности */

/* Мягкое свечение (тёплая палитра) */
.content::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 184, 150, 0.06), transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    animation: subtle-glow 15s ease-in-out infinite;
}

@keyframes subtle-glow {
    0%, 100% {
        opacity: 0.08;
        transform: scale(1);
    }
    50% {
        opacity: 0.12;
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    body {
        background-size: cover;
    }
}

/* Chat Widget Styles - добавлены для работы чата на сайте News */
.chat-widget {
   position: fixed !important;
   bottom: 20px !important;
   right: 20px !important;
   top: auto !important;
   left: auto !important;
   z-index: 2147483647 !important;
   display: block !important;
   visibility: visible !important;
   opacity: 1 !important;
   pointer-events: auto !important;
   margin: 0 !important;
   padding: 0 !important;
   transform: none !important;
   will-change: auto !important;
   contain: none !important;
}

.chat-button {
   width: 62px !important;
   height: 62px !important;
   border-radius: 50% !important;
   background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
   border: 2px solid #3a3a3a !important;
   cursor: pointer !important;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
   display: flex !important;
   align-items: center !important;
   justify-content: center !important;
   transition: all 0.3s ease !important;
   position: relative !important;
   animation: chat-float 3s ease-in-out infinite !important;
   visibility: visible !important;
   opacity: 1 !important;
}

@keyframes chat-float {
   0%, 100% {
       transform: translateY(0);
   }
   50% {
       transform: translateY(-10px);
   }
}

.chat-button:hover {
   transform: scale(1.15) translateY(-5px);
   box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
   border-color: #4a4a4a;
}

.chat-button:active {
   transform: scale(0.95);
}

.chat-button svg {
   width: 31px;
   height: 31px;
   fill: #FFFFFF;
}

.chat-button::before {
   content: '';
   position: absolute;
   top: -5px;
   right: -5px;
   width: 12px;
   height: 12px;
   background: #888888;
   border-radius: 50%;
   border: 2px solid #1a1a1a;
   animation: pulse-dot 2s ease-in-out infinite;
}

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

.chat-container {
   position: fixed !important;
   bottom: 90px !important;
   right: 20px !important;
   width: 420px !important;
   height: 600px !important;
   background: #1a1a1a !important;
   border: 1px solid #2a2a2a !important;
   border-radius: 15px !important;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
   display: none !important;
   flex-direction: column !important;
   overflow: hidden !important;
   animation: chat-slide-up 0.3s ease !important;
   z-index: 10001 !important;
   pointer-events: auto !important;
}

.chat-container.active {
   display: flex !important;
   visibility: visible !important;
   opacity: 1 !important;
}

@keyframes chat-slide-up {
   0% {
       opacity: 0;
       transform: translateY(30px) scale(0.8);
   }
   100% {
       opacity: 1;
       transform: translateY(0) scale(1);
   }
}

.chat-header {
   background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
   color: #cccccc;
   padding: 22px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   border-bottom: 1px solid #3a3a3a;
}

.chat-header h3 {
   font-size: 1.3em;
   display: flex;
   align-items: center;
   gap: 10px;
}

.chat-header-icon {
   width: 24px;
   height: 24px;
   flex-shrink: 0;
   background: #f59e0b;
   border-radius: 6px;
   mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cline x1='5' y1='5' x2='19' y2='19' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
   mask-size: 14px 14px;
   -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cline x1='5' y1='5' x2='19' y2='19' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
   -webkit-mask-size: 14px 14px;
}

.status-dot {
   width: 8px;
   height: 8px;
   background: #888888;
   border-radius: 50%;
   animation: chat-pulse 2s infinite;
}

@keyframes chat-pulse {
   0%, 100% {
       opacity: 1;
   }
   50% {
       opacity: 0.5;
   }
}

.close-chat {
   background: none;
   border: none;
   color: #FFFFFF;
   font-size: 26px;
   cursor: pointer;
   width: 34px;
   height: 34px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 5px;
   transition: background 0.3s ease;
}

.close-chat:hover {
   background: rgba(255, 255, 255, 0.2);
}

.chat-subscription-section {
   padding: 15px 20px;
   background: transparent;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
}

.chat-subscription-section.hidden {
   display: none;
}

.chat-timer-display {
   font-size: 20px;
   font-weight: 700;
   color: #FFFFFF;
   font-family: 'Raleway', sans-serif;
   letter-spacing: 2px;
   margin: 0;
   text-align: center;
   width: 100%;
}

/* Chat Expired Overlay - Black screen inside chat */
.chat-expired-overlay {
    pointer-events: none; /* Allow clicks to pass through to chat */
   position: absolute;
   inset: 0;
   background: #000000;
   display: flex;
   align-items: flex-start;
   justify-content: center;
   z-index: 10;
   padding: 40px 20px 40px;
   padding-top: 127px;
}

.chat-expired-overlay.hidden {
   display: none;
}

.chat-expired-content {
   text-align: center;
   width: 100%;
   max-width: 400px;
   margin: 0 auto;
   padding: 0 20px;
   pointer-events: auto !important; /* Allow clicks on payment buttons */
   position: relative;
   z-index: 10001;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: flex-start;
   margin-top: 0;
}

.chat-expired-text {
   font-size: 22px;
   font-weight: 700;
   color: #FFFFFF;
   font-family: 'Raleway', sans-serif;
   margin-bottom: 40px;
   line-height: 1.5;
   text-align: center;
   width: 100%;
}

.chat-expired-btn {
   padding: 12px 28px;
   border-radius: 8px;
   border: none;
   font-size: 16px;
   font-weight: 700;
   font-family: 'Raleway', sans-serif;
   cursor: pointer;
   background: #2a2a2a;
   color: #FFFFFF;
   border: 1px solid #3a3a3a;
   transition: all 0.2s ease;
   width: 100%;
   max-width: 300px;
}

.chat-expired-btn:hover {
   background: #3a3a3a;
   border-color: #4a4a4a;
   transform: translateY(-2px);
}

.chat-expired-btn:active {
   transform: translateY(0);
}

.chat-expired-btn:disabled {
   opacity: 0.6;
   cursor: not-allowed;
}

.payment-method-buttons {
   display: flex;
   flex-direction: column;
   gap: 35px;
   width: 100%;
   max-width: 300px;
   margin: 0 auto;
   align-items: center;
   justify-content: center;
}

.payment-method-btn {
   padding: 12px 28px;
   border-radius: 8px;
   border: none;
   font-size: 16px;
   font-weight: 700;
   pointer-events: auto !important;
   cursor: pointer !important;
   font-family: 'Raleway', sans-serif;
   cursor: pointer;
   pointer-events: auto !important;
   position: relative;
   z-index: 10004;
   background: #2a2a2a;
   color: #FFFFFF;
   border: 1px solid #3a3a3a;
   transition: all 0.2s ease;
   width: 100%;
}

.payment-method-btn:hover:not(:disabled) {
   background: #3a3a3a;
   border-color: #4a4a4a;
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.payment-method-btn:active:not(:disabled) {
   transform: translateY(0);
}

.payment-method-btn:disabled {
   opacity: 0.6;
   cursor: not-allowed;
}

.chat-messages {
   flex: 1;
   padding: 22px;
   overflow-y: auto;
   background: #0a0a0a;
   display: flex !important;
   flex-direction: column !important;
   width: 100% !important;
   box-sizing: border-box;
}

.message {
   margin-bottom: 16px;
   display: flex !important;
   gap: 9px;
   animation: chat-fade-in 0.3s ease;
   align-items: flex-start;
   width: 100% !important;
   flex-direction: row !important;
   flex-wrap: nowrap !important;
}

@keyframes chat-fade-in {
   from {
       opacity: 0;
       transform: translateY(10px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

.message.bot {
   flex-direction: row;
   justify-content: flex-start;
}

.message.user {
   flex-direction: row-reverse;
   justify-content: flex-end;
}

.message-avatar {
   width: 38px;
   height: 38px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 22px;
   flex-shrink: 0;
   background: transparent;
   border: none;
}

.message-content {
   max-width: 70% !important;
   min-width: 0;
   padding: 13px 17px;
   border-radius: 15px;
   line-height: 1.55;
   font-size: 14.5px;
   word-wrap: break-word;
   display: block !important;
   color: #cccccc;
   flex-shrink: 1;
   box-sizing: border-box;
}

.message.bot .message-content {
   background: #2a2a2a;
   border: 1px solid #3a3a3a;
   border-bottom-left-radius: 5px;
}

.message.user .message-content {
   background: #1a1a1a;
   border: 1px solid #3a3a3a;
   border-bottom-right-radius: 5px;
}

.message-sources {
   margin-top: 8px;
   padding-top: 8px;
   border-top: 1px solid #3a3a3a;
   font-size: 12px;
}

.message-sources a {
   color: #888888;
   text-decoration: none;
   display: block;
   margin: 4px 0;
   transition: color 0.2s ease;
}

.message-sources a:hover {
   color: #cccccc;
   text-decoration: underline;
}

.message-sources a::before {
   content: "🔗 ";
   margin-right: 4px;
}

.chat-input-container {
   padding: 22px !important;
   background: #1a1a1a !important;
   border-top: 1px solid #3a3a3a !important;
   pointer-events: auto !important;
   z-index: 10002 !important;
   position: relative !important;
}

.chat-input-wrapper {
   display: flex !important;
   gap: 10px !important;
   pointer-events: auto !important;
   z-index: 10002 !important;
   position: relative !important;
}

.chat-input {
   flex: 1 !important;
   padding: 13px 17px !important;
   border: 2px solid #3a3a3a !important;
   border-radius: 25px !important;
   font-size: 14.5px !important;
   outline: none !important;
   background: #0a0a0a !important;
   color: #cccccc !important;
   transition: border-color 0.3s ease !important;
   pointer-events: auto !important;
   z-index: 10002 !important;
   position: relative !important;
}

.chat-input::placeholder {
   color: #666666;
}

.chat-input:focus {
   border-color: #5a5a5a;
}

.send-button {
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
   border: 2px solid #3a3a3a;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.2s ease;
}

.send-button:hover {
   transform: scale(1.1);
   box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
   border-color: #4a4a4a;
}

.send-button:active {
   transform: scale(0.95);
}

.send-button svg {
   width: 21px;
   height: 21px;
   fill: #FFFFFF;
}

.typing-indicator {
   display: none;
   padding: 12px 16px;
   background: #2a2a2a;
   border: 1px solid #3a3a3a;
   border-radius: 15px;
   border-bottom-left-radius: 5px;
   width: fit-content;
}

.typing-indicator.active {
   display: block;
}

.typing-dots {
   display: flex;
   gap: 4px;
}

.typing-dots span {
   width: 8px;
   height: 8px;
   background: #666666;
   border-radius: 50%;
   animation: chat-typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
   animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
   animation-delay: 0.4s;
}

@keyframes chat-typing {
   0%, 60%, 100% {
       transform: translateY(0);
   }
   30% {
       transform: translateY(-10px);
   }
}

.quick-questions {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   margin-top: 10px;
}

.quick-question-btn {
   padding: 9px 15px;
   background: #2a2a2a;
   border: 1px solid #3a3a3a;
   border-radius: 20px;
   font-size: 12.5px;
   cursor: pointer;
   transition: all 0.3s ease;
   color: #888888;
   font-weight: 500;
}

.quick-question-btn:hover {
   background: #3a3a3a;
   color: #cccccc;
   border-color: #4a4a4a;
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.quick-question-btn:active {
   transform: translateY(0);
}

@media (max-width: 480px) {
   .chat-container {
       width: calc(100vw - 40px);
       height: calc(100vh - 120px);
       right: 20px;
   }
}

