/*
 Theme Name: Binariums
 Theme URI: https://binariums-com.com/
 Author: Your Name & Grok
 Description: Optimized custom theme for Binarium affiliate site (2026 safe update)
 Version: 1.2
*/

:root {
    --main-primary:    #0d1b2a;      /* тёмный фон */
    --main-secondary:  #1b263b;      /* карточки/акценты */
    --main-accent:     #00b4d8;      /* основной акцент (голубой) */
    --accent-hover:    #48cae4;      /* hover */
    --text-light:      #e0e7ff;      /* основной текст */
    --text-muted:      #a5b4fc;      /* приглушённый */
    --stat-green:      #4ade80;      /* положительные % */
    --stat-yellow:     #fde047;      /* заголовки */
    --btn-primary:     #0284c7;      /* кнопки */
    --btn-hover:       #0369a1;      /* hover кнопок */
    --overlay-bg:      rgba(13, 27, 42, 0.65); /* оверлей баннера */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    background: var(--main-primary);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

.main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
    color: var(--stat-yellow);
    line-height: 1.2;
}

h1 { font-size: 2.8rem; margin-bottom: 1.2rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; }

/* Шапка */
.main-header .main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header {
    background: linear-gradient(90deg, #101f2a 0%, #1a4971 70%, #1e90ff 100%);
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.logo-block .logo-img {
    height: 45px;
}

.nav-container {
    display: flex;
}

.main-nav .nav-items {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--main-accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-icon {
    display: block;
    width: 28px;
    height: 4px;
    background: var(--text-light);
    position: relative;
}

.nav-icon::before,
.nav-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 4px;
    background: var(--text-light);
    left: 0;
}

.nav-icon::before {
    top: -10px;
}

.nav-icon::after {
    bottom: -10px;
}

/* Баннер */
.banner-section {
    position: relative;
    min-height: 80vh;
    padding-top: 80px;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.banner-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay-bg);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 1rem;
}

.banner-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.banner-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.banner-text span {
    display: block;
    margin-bottom: 0.8rem;
}

.banner-start {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.action-btn, .download-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--btn-primary);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.action-btn:hover, .download-link:hover {
    background: var(--btn-hover);
    transform: translateY(-3px);
}

.banner-stats-intro {
    font-size: 1.4rem;
    color: var(--main-accent);
    margin-bottom: 2rem;
}

.banner-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.stat-block {
    background: var(--main-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 180px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-block:hover {
    transform: translateY(-8px);
}

.stat-heading {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-subheading {
    font-size: 2.2rem;
    color: var(--stat-green);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Дисклеймер */
.disclaimer-block {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    margin: 2.5rem auto;
    padding: 1.5rem;
    background: rgba(27, 38, 59, 0.4);
    border-radius: 12px;
    max-width: 900px;
    line-height: 1.6;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

/* Счета */
.accounts-block {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #0d1b2a, #1b263b);
}

.accounts-heading {
    margin-bottom: 3rem;
}

.accounts-grid {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.account-labels {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
}

.account-label {
    font-size: 1.1rem;
    color: var(--main-accent);
    font-weight: 600;
    padding: 1rem 0;
    display: flex;
    align-items: center;
}

.account-type {
    background: var(--main-secondary);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.account-type:hover {
    transform: translateY(-6px);
}

.account-name {
    font-size: 1.5rem;
    color: var(--main-accent);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.account-deposit, .account-tradeback, .account-bonus {
    font-size: 1.1rem;
    padding: 0.8rem 0;
}

.account-tradeback {
    color: var(--stat-green);
    font-weight: 700;
}

.accounts-footer {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Шаги */
.steps-block {
    padding: 5rem 0;
}

.steps-heading {
    margin-bottom: 3rem;
}

.steps-list {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-item {
    text-align: center;
    background: var(--main-secondary);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 100px;
    height: auto;
    margin: 0 auto 1.2rem;
    display: block;
}

.step-title {
    font-size: 1.4rem;
    color: var(--stat-yellow);
    margin-bottom: 0.8rem;
}

.step-text {
    color: var(--text-muted);
}

/* Платежи */
.payment-methods {
    text-align: center;
}

.payment-intro {
    font-size: 1.6rem;
    color: var(--main-accent);
    margin-bottom: 2rem;
}

.payment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.payment-item {
    width: 120px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: scale(1.1);
}

.payment-visa {
    background-image: url('/wp-content/themes/binariums-theme/assets/visa-icon.webp');
}

.payment-mastercard {
    background-image: url('/wp-content/themes/binariums-theme/assets/mastercard-icon.webp');
}

.payment-webmoney {
    background-image: url('/wp-content/themes/binariums-theme/assets/webmoney-icon.webp');
}

.payment-bank {
    background-image: url('/wp-content/themes/binariums-theme/assets/bank-icon.webp');
}

.payment-crypto {
    background-image: url('/wp-content/themes/binariums-theme/assets/crypto-icon.webp');
}

.payment-yandex {
    background-image: url('/wp-content/themes/binariums-theme/assets/yandex-icon.webp');
}

/* Футер */
.main-footer {
    padding: 50px 0 15px;
    background: linear-gradient(180deg, #101f2a 0%, #0a1e3d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-block {
    display: block;
    margin-bottom: 30px;
    overflow: hidden;
}

.logo-footer .footer-logo-img {
    height: 55px;
}

.footer-menu {
    min-width: 140px;
    float: left;
    margin-right: 25px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--main-accent);
    margin-bottom: 10px;
}

.footer-items {
    list-style: none;
    padding: 0;
}

.footer-items li {
    text-align: left;
}

.footer-items a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.8;
}

.footer-items a:hover {
    color: var(--stat-yellow);
}

.footer-end {
    text-align: center;
    clear: both;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Шаринг */
.share-block {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    opacity: 0.85;
}

.share-block:hover {
    opacity: 1;
}

.share-item {
    display: block;
    width: 36px;
    height: 36px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.share-item:hover {
    transform: scale(1.15);
}

.share-telegram {
    background-image: url('/wp-content/themes/binariums-theme/assets/telegram-icon.webp');
}

.share-vk {
    background-image: url('/wp-content/themes/binariums-theme/assets/vk-icon.webp');
}

.share-ok {
    background-image: url('/wp-content/themes/binariums-theme/assets/ok-icon.webp');
}

.share-instagram {
    background-image: url('/wp-content/themes/binariums-theme/assets/instagram-icon.webp');
}

.share-twitter {
    background-image: url('/wp-content/themes/binariums-theme/assets/twitter-icon.webp');
}

.share-facebook {
    background-image: url('/wp-content/themes/binariums-theme/assets/facebook-icon.webp');
}

.share-whatsapp {
    background-image: url('/wp-content/themes/binariums-theme/assets/whatsapp-icon.webp');
}

.share-linkedin {
    background-image: url('/wp-content/themes/binariums-theme/assets/linkedin-icon.webp');
}

/* Медиа-запросы (mobile-first) */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-container {
        display: none;
        position: fixed;
        top: 75px;
        right: -260px;
        width: 260px;
        height: calc(100% - 75px);
        background: var(--main-secondary);
        flex-direction: column;
        padding: 15px;
        transition: right 0.7s ease-in-out;
        z-index: 10;
    }

    .nav-container.active {
        display: flex;
        right: 0;
    }

    .main-nav .nav-items {
        flex-direction: column;
        gap: 15px;
    }

    .banner-section {
        padding-top: 70px;
    }

    .banner-title {
        font-size: 2.8rem;
    }

    .banner-text {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .banner-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .accounts-grid {
        grid-template-columns: 1fr;
    }

    .account-labels {
        display: none;
    }

    .account-type {
        padding: 1.5rem;
    }

    .steps-list {
        grid-template-columns: 1fr;
    }

    .share-block {
        right: 8px;
        gap: 8px;
    }

    .share-item {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .banner-section {
        padding-top: 50px;
    }

    .banner-title {
        font-size: 2.2rem;
    }

    .banner-text {
        font-size: 1.1rem;
    }

    .stat-block {
        min-width: 100%;
    }

    .accounts-heading, .steps-heading {
        font-size: 1.8rem;
    }

    .share-block {
        right: 5px;
        gap: 10px;
    }

    .share-item {
        width: 32px;
        height: 32px;
    }
}

@media (min-width: 768px) {
    h1 { font-size: 3.8rem; }
    h2 { font-size: 2.8rem; }

    .banner-title { font-size: 4.2rem; }

    .banner-stats { gap: 3rem; }

    .accounts-grid {
        grid-template-columns: 220px repeat(5, 1fr);
    }

    .accounts-footer {
        flex-wrap: nowrap;
    }

    .steps-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .banner-section { min-height: 90vh; }

    .banner-content { padding: 6rem 2rem; }

    .steps-list { grid-template-columns: repeat(4, 1fr); }
}/* Дисклеймер в шапке */
.header-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    padding: 8px 0;
    background: rgba(27, 38, 59, 0.6);
    border-bottom: 1px solid rgba(0, 180, 216, 0.2);
}

/* Крестик при открытом меню */
.nav-toggle.active .nav-icon {
    background: transparent;
}

.nav-toggle.active .nav-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .nav-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.nav-toggle.active .nav-icon::before,
.nav-toggle.active .nav-icon::after {
    background: var(--text-light);
}/* Футер — улучшенная версия */
.main-footer {
    padding: 60px 0 30px;
    background: linear-gradient(180deg, #101f2a 0%, #0a1e3d 100%);
    border-top: 1px solid rgba(0, 180, 216, 0.15);
}

.footer-block {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.logo-footer {
    flex: 0 0 180px;
}

.footer-nav {
    flex: 1;
    min-width: 300px;
}

.footer-menu {
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--main-accent);
}

.footer-items {
    list-style: none;
}

.footer-items li {
    margin-bottom: 0.6rem;
}

.footer-items a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-items a:hover {
    color: var(--stat-yellow);
}

.footer-disclaimer {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding: 1.5rem;
    background: rgba(27, 38, 59, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.footer-disclaimer h4 {
    color: var(--stat-yellow);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-disclaimer strong {
    color: #ff6b6b; /* красный для акцента на рисках */
}

.footer-end {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

/* Шаринг — уже есть в твоём CSS, но можно уменьшить */
.share-block {
    opacity: 0.8;
}

.share-block:hover {
    opacity: 1;
}

.share-item {
    width: 36px;
    height: 36px;
}