/*
 Theme Name: Binarium
 
 Description: A custom multilingual theme for trading platforms.
 Version: 1.0
*/

:root {
    --site-primary: #0a1e3d;
	
    --site-accent: #00d4ff;
    --site-secondary: #1e3a5c;
    --text-light: #ffffff;
    --btn-hover: #34c759;
    --btn-default: #00d4ff;
    --stat-yellow: #ffd700;
    --stat-green: #34c759;
    --content-text: rgba(255, 255, 255, 0.9);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    background: var(--site-primary);
    margin: 0;
}

.site-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Бегущая строка */
.ticker-wrapper {
    background: none;
    overflow: hidden;
    width: 60%;
    padding: 4px 0;
    position: relative;
    z-index: 15;
    margin: auto;
    text-align: center;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

.ticker span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    visibility: hidden;
    animation: ticker-visibility 25s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes ticker-visibility {
    0%, 10% { visibility: hidden; } /* Скрыт за правым краем центральной области */
    10%, 90% { visibility: visible; } /* Видим в пределах 60% ширины */
    90%, 100% { visibility: hidden; } /* Скрыт у левого края */
}

/* Остановка анимации при наведении */
.ticker:hover {
    animation-play-state: paused;
}

.ticker:hover span {
    animation-play-state: paused;
}

/* Все заголовки по центру с новым цветом */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
    color: var(--stat-yellow);
}

/* Шапка */
.site-header .site-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header {
    background: linear-gradient(90deg, #101f2a 0%, #164472 80%, #1e90ff 100%);
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.site-logo .logo-img {
    height: 40px;
}

.nav-wrapper {
    display: flex;
}

.site-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--site-accent);
    text-shadow: 0 0 8px var(--site-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    left: 0;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* Промо-секция */
.promo-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding-top: 100px;
}

.promo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.promo__title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.1;
}

.promo__text {
    font-size: 28px;
    margin-bottom: 60px;
    line-height: 1.5;
}

.promo__text span,
.promo__text i {
    display: block;
    margin-bottom: 12px;

}

.promo__text b {
    color: var(--site-accent);
}

.promo__start {
    margin-bottom: 80px;
}

.promo-btn {
    display: inline-block;
    padding: 25px 60px;
    background: var(--btn-hover);
    color: var(--site-primary);
    text-decoration: none;
    font-size: 26px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.promo-btn:hover {
    background: var(--btn-default);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.download-btn {
    display: none;
    padding: 10px 30px;
    background: var(--site-accent);
    color: var(--site-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 15px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.download-btn:hover {
    background: var(--btn-hover);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.promo__stats_intro {
    font-size: 28px;
    font-weight: 500;
    color: var(--site-accent);
    margin-bottom: 40px;
    line-height: 1.4;
}

.promo__stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 100%;
}

.stat {
    text-align: center;
    min-width: 220px;
}

.stat__title {
    font-size: 24px;
    color: var(--stat-yellow);
    font-weight: 400;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.stat__subtitle {
    font-size: 42px;
    color: var(--stat-green);
    margin-bottom: 8px;
}

.stat__text {
    font-size: 18px;
}

/* Блок: Типы счетов */
.accounts-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #0f2b4a 0%, #1e3a5c 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.accounts__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
	text-align:center;
}

.accounts-grid {
    display: grid;
    grid-template-columns: 200px repeat(5, minmax(0, 220px));
    grid-template-rows: repeat(4, auto);
    gap: 10px;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
}

.account-labels {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    height: 100%;
}

.account-label {
    font-size: 20px;
    font-weight: 600;
    color: var(--site-accent);
    text-align: left;
    margin: 0;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.account-type {
    text-align: center;
    padding: 10px;
    background: var(--site-secondary);
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgb(43 112 48);
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    height: 100%;
    transition: transform 0.3s ease;
}

.account-type:hover {
    transform: scale(1.05);
}

.account-name,
.account-deposit,
.account-tradeback,
.account-bonus {
    font-size: 18px;
    margin: 0;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

.account-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--site-accent);
}

.account-tradeback {
    font-weight: 700;
    color: var(--stat-green);
}

.accounts-footer {
    text-align: center;
}

/* Блок: Шаги и платёжные системы */
.steps-section {
    padding: 80px 0;
    background: var(--site-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.steps__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
	text-align:center;
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.step-item {
    text-align: center;
    padding: 20px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.step-item:hover,
.step-item:active {
    transform: translateY(-5px);
}

.step-icon {
    display: inline-block;
    width: 100%;
    max-width: 130px;
    height: auto;
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 15px;
}

.step-icon-1 {
    background-image: url('../binarium/assets/step-1-icon.webp');
}

.step-icon-2 {
    background-image: url('../binarium/assets/step-2-icon.webp');
}

.step-icon-3 {
    background-image: url('../binarium/assets/step-3-icon.webp');
}

.step-icon-4 {
    background-image: url('../binarium/assets/step-4-icon.webp');
}

.step-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--stat-yellow);
    margin-bottom: 10px;
}

.step-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.steps-content {
    width: 90%;
    margin: 0 auto 60px;
    text-align: justify;
    color: var(--content-text);
    font-size: 18px;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
}

.payment-methods {
    text-align: center;
}

.payment-intro {
    font-size: 20px;
    color: var(--site-accent);
    margin-bottom: 30px;
}

.payment-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-item {
    width: 180px;
    height: 105px;
    background-size: 150px 75px;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.5), inset 0 0 5px rgba(0, 234, 255, 0.3);
    border-radius: 10px;
    border: 1px solid #107e7e;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: scale(1.05);
}

.payment-visa {
    background-image: url('../binarium/assets/visa-icon.webp');
}

.payment-mastercard {
    background-image: url('../binarium/assets/mastercard-icon.webp');
}

.payment-webmoney {
    background-image: url('../binarium/assets/webmoney-icon.webp');
}

.payment-bank {
    background-image: url('../binarium/assets/bank-icon.webp');
}

.payment-crypto {
    background-image: url('../binarium/assets/crypto-icon.webp');
}

.payment-yandex {
    background-image: url('../binarium/assets/yandex-icon.webp');
}

/* Футер */
.site-footer {
    padding: 60px 0 20px;
    background: linear-gradient(180deg, #101f2a 0%, #0a1e3d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: block;
    margin-bottom: 40px;
    overflow: hidden;
}

.footer-logo-img {
    height: 50px;
}

.footer-column {
    min-width: 150px;
    float: left;
    margin-right: 30px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--site-accent);
    margin-bottom: 15px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    text-align: left;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    line-height: 2;
}

.footer-list a:hover {
    color: var(--stat-yellow);
}

.footer-bottom {
    text-align: center;
    clear: both;
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Вертикальное меню шаринга */
.share-menu {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.share-link {
    display: block;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.share-link:hover {
    transform: scale(1.1);
}

.share-telegram {
    background-image: url('../binarium/assets/telegram-icon.webp');
}

.share-vk {
    background-image: url('../binarium/assets/vk-icon.webp');
}

.share-ok {
    background-image: url('../binarium/assets/ok-icon.webp');
}

.share-instagram {
    background-image: url('../binarium/assets/instagram-icon.webp');
}

.share-twitter {
    background-image: url('../binarium/assets/twitter-icon.webp');
}

.share-facebook {
    background-image: url('../binarium/assets/facebook-icon.webp');
}

.share-whatsapp {
    background-image: url('../binarium/assets/whatsapp-icon.webp');
}

.share-linkedin {
    background-image: url('../binarium/assets/linkedin-icon.webp');
}

/* Анимация */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Медиа-запросы */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-wrapper {
        display: none;
        position: fixed;
        top: 80px;
        right: -250px;
        width: 250px;
        height: calc(100% - 80px);
        background: var(--site-secondary);
        flex-direction: column;
        padding: 20px;
        transition: right 0.8s ease-in-out;
        z-index: 10;
    }

    .nav-wrapper.active {
        display: flex;
        right: 0;
    }

    .site-nav .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .promo-section {
        padding-top: 80px;
    }

    .promo__title {
        font-size: 48px;
    }

    .promo__text {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .promo__text span,
    .promo__text i {
        margin-bottom: 10px;
    }

    .promo__start {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
    }

    .promo-btn {
        padding: 20px 50px;
        font-size: 22px;
    }

    .download-btn {
        display: inline-block;
    }

    .promo__stats_intro {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .promo__stats {
        flex-direction: column;
        gap: 50px;
        padding: 0 10px;
    }

    .stat {
        min-width: 180px;
    }

    .stat__title {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .stat__subtitle {
        font-size: 32px;
    }

    .stat__text {
        font-size: 16px;
    }

    .accounts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .account-labels {
        display: none;
    }

    .account-name {
        font-size: 24px;
    }

    .account-deposit,
    .account-tradeback,
    .account-bonus {
        font-size: 18px;
        padding: 15px 5px;
    }

    .accounts-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .steps-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-item {
        transition: transform 0.3s ease;
    }

    .step-icon {
        max-width: 120px;
    }

    .footer-content {
        text-align: center;
    }

    .footer-column {
        float: none;
        margin: 0 auto 20px;
    }

    .share-menu {
        right: 10px;
        gap: 10px;
    }

    .share-link {
        width: 32px;
        height: 32px;
    }

    .ticker-wrapper {
        width: 80%;
        padding: 3px 0;
    }

    .ticker span {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .promo-section {
        padding-top: 60px;
    }

    .promo__title {
        font-size: 40px;
    }

    .promo__text {
        font-size: 20px;
        padding: 0 15px;
    }

    .promo__start {
        margin-bottom: 50px;
    }

    .promo-btn {
        padding: 15px 40px;
        font-size: 18px;
    }

    .download-btn {
        padding: 8px 25px;
        font-size: 16px;
        margin-top: 10px;
    }

    .promo__stats_intro {
        font-size: 20px;
    }

    .stat__title {
        font-size: 18px;
    }

    .stat__subtitle {
        font-size: 28px;
    }

    .stat__text {
        font-size: 14px;
    }

    .accounts__title,
    .steps__title {
        font-size: 28px;
		
    }

    .accounts-grid,
    .steps-list {
        grid-template-columns: 1fr;
    }

    .account-name {
        font-size: 28px;
    }

    .account-deposit,
    .account-tradeback,
    .account-bonus {
        font-size: 20px;
        padding: 15px 5px;
    }

    .step-item {
        transition: transform 0.3s ease;
    }

    .step-icon {
        max-width: 150px;
    }

    .step-title {
        font-size: 22px;
    }

    .step-text {
        font-size: 16px;
    }

    .steps-content {
        font-size: 16px;
    }

    .share-menu {
        right: 5px;
        gap: 12px;
    }

    .share-link {
        width: 36px;
        height: 36px;
    }

    .ticker-wrapper {
        width: 90%;
        padding: 2px 0;
    }

    .ticker span {
        font-size: 8px;
    }
}