/*
 Theme Name: Binarium VIP RUS
 Description: Fully customized English theme for Binarium VIP site
 Version: 2.5
 Text Domain: binarium-vip-en
*/

:root {
    --bvp-dark-main:     #0a1e3d;
    --bvp-cyan-active:   #00d4ff;
    --bvp-navy-secondary:#1e3a5c;
    --bvp-white-text:    #ffffff;
    --bvp-green-action:  #34c759;
    --bvp-gold-highlight:#ffd700;
    --bvp-text-opacity:  rgba(255, 255, 255, 0.92);
    --bvp-btn-green:     #34c759;
    --bvp-btn-cyan:      #00d4ff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Roboto', system-ui, sans-serif;
    background-color: var(--bvp-dark-main);
    color: var(--bvp-white-text);
    line-height: 1.6;
}
h1,h2,h3 {    color: #ffd700;
    text-align: center;}
/* ────────────────────────────────────────────────
   Основной контейнер
───────────────────────────────────────────────── */
.vip-main-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ────────────────────────────────────────────────
   HEADER & NAVIGATION
───────────────────────────────────────────────── */
.vip-site-header {
    background: linear-gradient(135deg, #0d1c33, #1a3a5e);
    padding: 18px 0;
    position: relative;
    z-index: 999;
    border-bottom: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow: 0 4px 15px rgba(0,0,0,0.35);
}

.vip-site-header .vip-main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.vip-site-logo img {
    height: 56px;
    width: auto;
    display: block;
}

.vip-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.vip-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 6px 0;
    transition: all 0.3s ease;
}

.vip-nav-wrapper {
    display: block;
}

.vip-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 36px;
}

.vip-site-nav a {
    color: #e0f0ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    position: relative;
    padding: 8px 4px;
    transition: all 0.25s ease;
}

.vip-site-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--bvp-cyan-active);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.vip-site-nav a:hover::after,
.vip-site-nav a.active::after {
    width: 70%;
}

.vip-site-nav a:hover {
    color: var(--bvp-cyan-active);
}

/* ────────────────────────────────────────────────
   HERO / PROMO SECTION
───────────────────────────────────────────────── */
.vip-main-content {
    position: relative;
}
.about-section{max-width: 1200px; margin: auto}
.vip-promo-area {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    overflow: hidden;
    border-bottom: 2px solid #4ca8bd;
}

.vip-promo-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.vip-promo-background.has-bg { /* Добавлено для переноса inline style */
    background-image: url('/wp-content/themes/binarium-vip/assets/binarium-vip-bg.webp'); /* Подставь правильный путь, если theme slug другой */
}

.promo-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 15px;
}

.vip-promo-heading {
    font-size: 68px;
    font-weight: 900;
    margin-bottom: 38px;
    line-height: 1.1;
    color: var(--bvp-gold-highlight);
}

.vip-promo-description {
    font-size: 26px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.vip-promo-description span,
.vip-promo-description i {
    display: block;
    margin-bottom: 14px;
}

.vip-promo-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.vip-primary-button,
.vip-secondary-button {
    padding: 22px 55px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.vip-primary-button {
    background-color: var(--bvp-green-action);
    color: #000;
}

.vip-primary-button:hover {
    background-color: var(--bvp-cyan-active);
    transform: translateY(-4px);
}

.vip-secondary-button {
    background-color: var(--bvp-cyan-active);
    color: #000;
}

.vip-secondary-button:hover {
    background-color: var(--bvp-green-action);
    transform: translateY(-4px);
}

.vip-stats-intro {
    font-size: 26px;
    color: var(--bvp-cyan-active);
    margin-bottom: 50px;
}

.vip-stats-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.vip-stat-item {
    text-align: center;
    min-width: 220px;
    background: rgba(30, 58, 92, 0.4);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.vip-stat-item:hover {
    transform: translateY(-8px);
}

.vip-stat-title {
    font-size: 22px;
    color: var(--bvp-gold-highlight);
    margin-bottom: 10px;
}

.vip-stat-value {
    font-size: 50px;
    font-weight: 800;
    color: var(--bvp-green-action);
    margin-bottom: 10px;
}

.vip-stat-description {
    font-size: 17px;
    opacity: 0.9;
}

/* ────────────────────────────────────────────────
   BENEFITS / ACCOUNT TYPES
───────────────────────────────────────────────── */
.vip-benefits-area {
    padding: 41px 0 71px;
    background: linear-gradient(to bottom, #0f2b4a, var(--bvp-dark-main));
    margin-bottom: 80px;
    border-bottom: 2px solid #4ca8bd;
}

.vip-benefits-heading {
    font-size: 42px;
    text-align: center;
    margin-bottom: 70px;
    color: var(--bvp-gold-highlight);
}

.vip-benefits-grid {
    width: 100%;
    border-collapse: collapse; /* Улучшено для TABLE */
    background: rgba(0,0,0,0.25);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.vip-grid-header th,
.vip-account-row td {
    padding: 18px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.vip-grid-header th {
    font-weight: 700;
    color: var(--bvp-cyan-active);
    text-transform: uppercase;
    background: rgba(30, 58, 92, 0.6);
}

.vip-account-type {
    font-size: 26px;
    color: var(--bvp-cyan-active);
    font-weight: 700;
}

.vip-deposit-range,
.vip-tradeback,
.vip-bonus-info {
    font-size: 18px;
}

.vip-account-row:nth-child(even) {
    background: var(--bvp-navy-secondary);
}

.vip-account-row:hover {
    background: rgba(52, 199, 89, 0.1);
}

.vip-benefits-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* ────────────────────────────────────────────────
   STEPS SECTION
───────────────────────────────────────────────── */
.vip-steps-area {
    border-bottom: 2px solid #4ca8bd;
    margin-bottom: 80px;
}

.vip-steps-heading {
    font-size: 42px;
    text-align: center;
    margin-bottom: 80px;
    color: var(--bvp-gold-highlight);
}

.vip-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    list-style-type: none;          /* Убираем нумерацию полностью */
    counter-reset: none;            /* На всякий случай сбрасываем счётчик */
    padding: 0;
    margin: 0;
}

.vip-steps-grid li {
    list-style: none;               /* Убираем маркеры/цифры у li */
}

.vip-step-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(30, 58, 92, 0.4);
    border-radius: 16px;
    transition: transform 0.4s ease;
    margin-bottom: 30px;
}

.vip-step-card:hover {
    transform: translateY(-12px);
}

.vip-step-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.vip-step-title {
    font-size: 28px;
    color: var(--bvp-gold-highlight);
    margin-bottom: 15px;
}

.vip-step-text {
    font-size: 18px;
    opacity: 0.9;
}

/* ────────────────────────────────────────────────
   PAGE CONTENT & PAYMENT
───────────────────────────────────────────────── */
.vip-page-content {
    max-width: 920px;
    margin: 85px auto 70px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--bvp-text-opacity);
    text-align: justify;
}

.vip-payment-section {
    padding: 41px 0;
    text-align: center;
    margin-bottom: 80px;
    border-top: 2px solid #4ca8bd;
}

.vip-payment-heading {
    font-size: 28px;
    color: var(--bvp-cyan-active);
    margin-bottom: 40px;
}

.vip-payment-text-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.vip-payment-method {
    width: 141px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bvp-navy-secondary), var(--bvp-dark-main));
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--bvp-cyan-active);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.35s ease;
    overflow: hidden;
    padding: 0 10px;
    border-bottom: 2px solid #4ca8bd;
}

.vip-payment-method:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
    background: #00d4ffa6;
    color: #000;
}

/* ────────────────────────────────────────────────
   FOOTER — modern & premium look
───────────────────────────────────────────────── */
.vip-site-footer {
    background: #0a1b36;
    border-top: 1px solid rgba(0, 212, 255, 0.14);
    padding: 80px 0 40px;
    color: #c0d4ff;
    font-size: 15px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    height: 54px;
    margin-bottom: 20px;
}

.footer-slogan {
    font-size: 17px;
    color: var(--bvp-cyan-active);
    opacity: 0.85;
    font-weight: 400;
}

.footer-columns {
    display: flex;
    gap: 60px 100px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 160px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #b0c8ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--bvp-cyan-active);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #88a0d0;
}

.copyright {
    margin: 0;
}

.footer-disclaimer-compact {
    max-width: 520px;
    text-align: right;
    opacity: 0.7;
    font-size: 13.5px;
    line-height: 1.5;
}

/* ────────────────────────────────────────────────
   MOBILE / RESPONSIVE
───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .vip-promo-heading { font-size: 58px; }
    .vip-promo-description { font-size: 24px; }
    .vip-stats-container { gap: 50px; }
}

@media (max-width: 992px) {
    .vip-menu-toggle { display: block; }
    .vip-nav-wrapper {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background: #0f2542;
        padding: 100px 32px 40px;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }
    .vip-nav-wrapper.active { right: 0; }
    .vip-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-columns {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-disclaimer-compact {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .vip-promo-area { padding-top: 90px; min-height: 90vh; }
    .vip-promo-heading { font-size: 50px; }
    .vip-promo-description { font-size: 22px; }
    .vip-promo-buttons { flex-direction: column; gap: 18px; }
    .vip-stats-container { flex-direction: column; align-items: center; gap: 60px; }

    /* Полное исправление таблицы на мобильных — карточный вид, без заголовков, всё по центру */
    .vip-benefits-grid {
        display: block;
        width: 100%;
        border: none;
        background: none;
        overflow-x: visible;
        border-radius: 0;
    }

    .vip-benefits-grid thead,
    .vip-benefits-grid tbody,
    .vip-benefits-grid tr,
    .vip-benefits-grid th,
    .vip-benefits-grid td {
        display: block;
        width: 100%;
    }

    /* Полностью скрываем vip-grid-header на мобильных */
    .vip-grid-header {
        display: none !important;
    }

    .vip-account-row {
        margin-bottom: 28px;
        background: rgba(30, 58, 92, 0.45);
        border-radius: 12px;
        border: 1px solid rgba(0, 212, 255, 0.18);
        overflow: hidden;
        text-align: center;          /* весь текст по центру */
    }

    .vip-account-row td {
        padding: 14px 16px;
        text-align: center;          /* принудительно центр */
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        font-size: 16px;
    }

    .vip-account-row td:last-child {
        border-bottom: none;
    }

    .vip-account-type {
        font-size: 22px;
        font-weight: 700;
        color: var(--bvp-cyan-active);
        background: rgba(0, 212, 255, 0.12);
        padding: 14px;
        margin: 0;
        text-align: center;
    }

    .vip-deposit-range,
    .vip-tradeback,
    .vip-bonus-info {
        font-size: 17px;
        color: #e0f0ff;
    }

    /* Убираем псевдо-элементы before — они не нужны, раз всё по центру */
    .vip-account-row td:before {
        display: none;
    }
}

@media (max-width: 480px) {
    .vip-promo-heading { font-size: 42px; }
    .vip-payment-method { width: 140px; height: 80px; font-size: 16px; }
}

/* Плавающее вертикальное меню шаринга — только иконки */
.vip-share-menu {
    position: fixed;
    top: 50%;
    right: 12px;                /* базовый отступ от края на десктопе */
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;                  /* расстояние между иконками на десктопе */
}

.vip-share-link {
    width:  44px;
    height: 44px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    transition: opacity 0.2s ease;
}

.vip-share-link:hover {
    opacity: 0.8;               /* лёгкое затемнение при наведении */
}

/* Иконки — путь относительно style.css */
.vip-telegram   { background-image: url('../binarium-vip/assets/telegram-icon.webp'); }
.vip-vk         { background-image: url('../binarium-vip/assets/vk-icon.webp');       }
.vip-ok         { background-image: url('../binarium-vip/assets/ok-icon.webp');       }
.vip-whatsapp   { background-image: url('../binarium-vip/assets/whatsapp-icon.webp'); }
.vip-instagram  { background-image: url('../binarium-vip/assets/instagram-icon.webp');}
.vip-x          { background-image: url('../binarium-vip/assets/twitter-icon.webp');  }
.vip-facebook   { background-image: url('../binarium-vip/assets/facebook-icon.webp'); }
.vip-linkedin   { background-image: url('../binarium-vip/assets/linkedin-icon.webp'); }

/* Мобильная версия — меньше иконки, ближе к краю */
@media (max-width: 992px) {
    .vip-share-menu {
        right: 6px;             /* почти у самого края экрана */
        gap: 12px;              /* меньше расстояние между иконками */
    }
    
    .vip-share-link {
        width:  36px;           /* уменьшенный размер на мобильных */
        height: 36px;
    }
}

/* Очень маленькие экраны (телефоны < 480px) — ещё компактнее */
@media (max-width: 480px) {
    .vip-share-menu {
        right: 4px;
        gap: 10px;
    }
    
    .vip-share-link {
        width:  32px;
        height: 32px;
    }
}
.micro-disclaimer {
    font-size: 13px;
    color: #88a0d0;             /* серый, неяркий */
    opacity: 0.75;
    margin-left: 8px;           /* небольшой отступ от копирайта */
    font-style: italic;         /* чуть мягче выглядит */
}

/* На мобильных — переносим на новую строку */
@media (max-width: 768px) {
    .micro-disclaimer {
        display: block;
        margin: 8px 0 0;
        text-align: center;
    }
}