/*
Theme Name: Binarium Review
Theme URI: https://binarium-review.com/
Author: Independent Review Team
Description: Информационно-обзорный шаблон для Binarium Review
Version: 2026.01.08
*/

:root {
    --bg-main:       #0f1419;
    --bg-card:       #1a222e;
    --text-primary:  #e0e0e0;
    --text-secondary:#a0aec0;
    --text-light:    #f0f0f0;
    --accent:        #f59e0b;
    --accent-hover:  #fbbf24;
    --border:        #2d3748;
    --border-light:  #4a5568;
    --shadow-sm:     0 4px 6px -1px rgba(0,0,0,0.3);
    --shadow-md:     0 10px 15px -3px rgba(0,0,0,0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 1.05rem;
    -webkit-font-smoothing: antialiased;
}

/* =============================================
   Контейнер
============================================= */
.br-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

/* =============================================
   Заголовки
============================================= */
h1, h2, h3, h4 {
    color: white;
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.4rem, 6.5vw, 3.6rem);
    margin-bottom: 1.4rem;
}

h2 {
    font-size: clamp(1.9rem, 5vw, 2.6rem);
    margin: 3rem 0 1.5rem;
}

h3 {
    font-size: 1.55rem;
    margin: 2.2rem 0 1rem;
}

/* =============================================
   Шапка
============================================= */
.br-header {
    background: #0a0e14;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.1rem 0;
}

.br-header .br-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.br-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.br-nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.br-nav-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s;
}

.br-nav-list a:hover,
.br-nav-list a:focus {
    color: var(--accent);
}

/* Мобильное меню (простое) */
.br-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.br-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s;
}

/* =============================================
   Первый экран + snippet
============================================= */
.br-hero {
    padding: clamp(5rem, 12vh, 9rem) 0 5rem;
    text-align: center;
}

.br-hero h1 {
    margin-bottom: 1.8rem;
}

.br-snippet {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.8rem 2rem;
    margin: 0 auto 2.5rem;
    max-width: 820px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-light);
}

.br-disclosure {
    max-width: 820px;
    margin: 0 auto 3rem;
    font-size: 0.94rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(245,158,11,0.12);
}

/* Кнопки CTA — возвращаем более крупный и заметный вид */
.br-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 2.5rem 0 4.5rem;
}

.br-btn {
    display: inline-block;
    padding: 1.25rem 3rem;              /* крупнее, как раньше */
    font-size: 1.25rem;                 /* текст побольше */
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    min-width: 260px;                   /* чтобы не сжимались слишком */
    text-align: center;
}

.br-btn-primary {
    background: var(--accent);          /* #f59e0b */
    color: #0f1419;
}

.br-btn-primary:hover,
.br-btn-primary:focus {
    background: var(--accent-hover);    /* #fbbf24 */
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.4);
}

.br-btn-secondary {
    background: transparent;
    border: 2.5px solid var(--accent);
    color: var(--accent);
}

.br-btn-secondary:hover,
.br-btn-secondary:focus {
    background: rgba(245, 158, 11, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.25);
}

/* Мобильная адаптация кнопок */
@media (max-width: 860px) {
    .br-cta-buttons {
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .br-btn {
        padding: 1.3rem 2.8rem;
        font-size: 1.2rem;
        min-width: 100%;
        max-width: 420px;
    }
}

/* =============================================
   Основной контент (the_content)
============================================= */
.br-content {
    padding: 2rem 0 5rem;
}

.br-content .br-container {
    max-width: 900px;
}

.br-content p {
    margin-bottom: 1.4rem;
    font-size: 1.08rem;
}

.br-content ul, .br-content ol {
    margin: 1.6rem 0;
    padding-left: 1.8rem;
}

.br-content li {
    margin-bottom: 0.9rem;
}

.br-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.98rem;
}

.br-content th, .br-content td {
    border: 1px solid var(--border);
    padding: 0.9rem 1.1rem;
    text-align: left;
}

.br-content th {
    background: #1e293b;
    color: white;
}

/* =============================================
   E-E-A-T блок
============================================= */
.br-EEAT {
    background: #0a0e14;
    border-top: 1px solid var(--border);
    padding: 4rem 0 6rem;
    text-align: center;
}

.br-EEAT h2 {
    margin-bottom: 1.8rem;
}

.br-EEAT p {
    max-width: 720px;
    margin: 0.9rem auto;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.br-EEAT a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =============================================
   Футер
============================================= */
.br-footer {
    background: #0a0e14;
    border-top: 1px solid var(--border);
    padding: 4rem 0 2.5rem;
    font-size: 0.94rem;
    color: var(--text-secondary);
    text-align: center;
}

.br-footer-disclosure p {
    margin-bottom: 1.2rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.br-footer-links {
    margin: 2rem 0;
}

.br-footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
}

.br-footer-links a:hover {
    color: var(--accent);
}

.br-copyright {
    margin-top: 2rem;
    opacity: 0.7;
}

/* =============================================
   Адаптив
============================================= */
@media (max-width: 860px) {
    .br-nav-list {
        display: none; /* здесь можно добавить бургер-меню */
    }

    .br-menu-toggle {
        display: block;
    }

    .br-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .br-btn {
        padding: 1.1rem 3rem;
        width: 100%;
        max-width: 380px;
    }
}

@media (max-width: 560px) {
    .br-hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    h1 {
        font-size: clamp(2.1rem, 8vw, 2.8rem);
    }

    .br-snippet {
        padding: 1.4rem 1.6rem;
        font-size: 1.05rem;
    }
}