/*
Theme Name: ERA TRADE NEW
Theme URI: https://wordpress.org/themes/boldfund
Author: bokhan7
Author URI: https://wordpress.org
Description: Machinery documentation
Requires at least: 6.1
Tested up to: 6.5
Requires PHP: 5.6
Version: 2025.05.23
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: twentytwentythree
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

:root{
    --bg: #0A0A0B;
    --sect-bg: #111114;
    --gray: #ffffff75;
    --gradient-up: linear-gradient(180deg, #25062B, var(--bg));
    --gradient-mid: linear-gradient(180deg, var(--bg), #450053, #111114);
    --gradient-down: linear-gradient(180deg, #111114, #25062B);
    --pink: #F09EFF;
    --bronze: #DA7A13;
    --silver: #CACACA;
    --gold: #FFD600;
    --diamond: #0DC7FA;
}

*{
    box-sizing: border-box;
}

body{
    font-family: 'Manrope';
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    background: var(--bg);
    color: white;
    font-size: 14px;
    padding-top: 72px;
}

html{
    overflow-x: hidden;
}

a, button{
    all: unset;
    cursor: pointer;
}

input{
    all: unset;
}

.wrapper{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,h2,h3,h4,h5,h6,p{
    padding: 0;
    margin: 0;
    line-height: 100%;
}

.row{
    display: flex;
    flex-direction: row;
}

.col{
    display: flex;
    flex-direction: column;
}

.center{
    align-items: center;
}

.g4{
    gap: 4px;
}
.g8{
    gap: 8px;
}
.g12{
    gap: 12px;
}
.g24{
    gap: 24px;
}
.g36{
    gap: 36px;
}
.g48{
    gap: 48px;
}
.g96{
    gap: 96px;
}
.jcsb{
    justify-content: space-between;
}
.jcc{
    justify-content: center;
}
.jcsa{
    justify-content: space-around;
}

.pink{
    color: var(--pink);

}

.header{
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    padding: 16px 0;
    background: #111114d2;
    backdrop-filter: blur(36px);
    border-bottom: 1px solid #ffffff30;
}

.op6{
    opacity: .6;
}

.menu a{
    opacity: .6;
    transition: all ease .15s;
}

.menu a:hover{
    opacity: 1;
}

.btn{
    padding: 16px 32px;
    border-radius: 12px;
    background: var(--pink);
    color: black;
    font-weight: 700;
    transition: all ease .15s;
    width: fit-content;
}

.btn:hover{
    background: white;
}

.btn__outline{
    padding: 16px 32px;
    border-radius: 12px;
    background: #ffffff01;
    backdrop-filter: blur(36px);
    color: white;
    font-weight: 700;
    transition: all ease .15s;
    border: 1px solid #ffffff30;
}

.btn__outline:hover{
    border: 1px solid #ffffff50;
}

.btn__small{
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--pink);
    color: black;
    font-weight: 700;
    transition: all ease .15s;
}

.btn__small:hover{
    background: white;
}

.tag{
    padding: 8px 16px;
    border-radius: 32px;
    border: 1px solid #F09EFF40;
    font-weight: 700;
    color: var(--pink);
    background: #F09EFF25;
    width: fit-content;
}

h1{
    font-size: 96px;
    font-weight: 800;
    max-width: 600px;
    line-height: 100%;
}

mark{
    all: unset;
}

.welcome{
    background: url('assets/img/bg.png') center center no-repeat;
    background-size: cover;
}

section{
    padding: 64px 0;
}

.welcome{
    padding: 96px 0;
}

.welcome__img{
    width: 100%;
    max-width: 480px;
}

.features__line{
    background: var(--pink);
    color: black;
    font-weight: 700;
    padding: 18px 0;
}

.features__line, .tournament__line, .partners__line, .certificates__line{
    overflow: hidden;
    width: 100%;
}

.ticker-track img{
    padding: 0 8px;
}


.ticker-track {
  display: flex;
  gap: 0px;
  width: max-content;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  will-change: transform;
  transform:translateX(0);
}

.ticker-track p {
    margin: 0;
    flex: 0 0 auto;
    padding: 0 24px;
    white-space: nowrap;
}

@keyframes ticker {
    from{transform:translateX(0)} 
    to{transform:translateX(-50%)} 
}

.bold{
    font-weight: 700;
}

.num{
    font-size: 56px;
    font-weight: 800;
}

.partners__line .ticker-track img{
    max-width: 110px;
}

.stats__content{
    padding: 24px;
    width: 100%;
    background: #ffffff10;
    border: 1px solid #ffffff30;
    border-radius: 24px;
}

.gradient-up{
    background: var(--gradient-up);
}
.gradient-down{
    background: var(--gradient-down);
}

h2{
    font-size: 56px;
    font-weight: 800;
    line-height: 100%;
}

.subhead{
    font-size: 12px;
    letter-spacing: 10%;
}

.offline__offer{
    max-width: 600px;
}

.offline__preview{
    width: 100%;
    max-width: 540px;
}

.strip-photo {
  flex-shrink: 0;
  width: 300px;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.strip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.strip-photo:hover img { transform: scale(1.04); }

@media (max-width: 768px) {
  .strip-photo { width: 220px; height: 280px; }
}

.tournament__line{
    margin-top: 36px;
}

.smart__img{
    width: 100%;
    max-width: 530px;
}

.calculations{
    font-size: 24px;
}

.payouts__content{
    border-bottom: 1px solid var(--pink);
}

.payouts__img{
    width: 100%;
    max-width: 600px;
}

.certificates__line{
    margin-top: 24px;
}

.certificates__line img{
    width: 320px;
}

h3{
    font-size: 28px;
    font-weight: 800;
}

.grid-5{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.challenge__card{
    gap: 20px;
}

.gold{
    color: var(--gold);
}
.diamond{
    color: var(--diamond);
}
.silver{
    color: var(--silver);
}
.bronze{
    color: var(--bronze);
}

.challenge__card{
    padding: 20px 24px;
    background: #ffffff10;
    border-radius: 24px;
}

.challenge__card.gold{
    border: 1px solid #FFD60030;
    color: white;
    background: linear-gradient(45deg, #FFD60010, #ffffff10);
}
.challenge__card.diamond{
    border: 1px solid #0DC7FA30;
    color: white;
    background: linear-gradient(45deg, #0dc7fa41, #ffffff10);
}
.challenge__card.silver{
    border: 1px solid #CACACA30;
    color: white;
    background: linear-gradient(45deg, #CACACA15, #ffffff10);
}
.challenge__card.bronze{
    border: 1px solid #DA7A1330;
    color: white;
    background: linear-gradient(45deg, #DA7A1315, #ffffff10);

}
.challenge__card.pink{
    border: 1px solid #F09EFF30;
    color: white;
    background: linear-gradient(45deg, #f09eff5e, #ffffff10);
}

.challenge__card .btn{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.challenge__size{
    font-size: 28px;
    font-weight: 800;
}

.challenge__conditions{
    padding: 12px 0;
    border-top: 1px solid #ffffff20;
    border-bottom: 1px solid #ffffff20;
    font-size: 12px;
}

.configurator{
    background: #ffffff10;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid #CACACA30;
    width: 100%;
}

.option{
    padding: 8px 20px;
    border: 1px solid #CACACA30;
    border-radius: 12px;
    font-weight: 600;
    color: #ffffff70;
    transition: all ease .15s;
}

.option:hover{
    background: #ffffff10;
}

.option.active{
    background: #8A33AD;
    color: white;
    border: 1px solid #8A33AD;
}

.summary{
    background: #0A0A0B;
    border-radius: 4px;
    border: 1px solid var(--pink);
    gap: 20px;
}

.grid-3{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    row-gap: 24px;
}

.process__item{
    padding: 24px 20px;
    border-radius: 24px;
    border: 1px solid #ffffff30;
    background: #ffffff10;
    transition: all ease .15s;
}

.process__item:hover{
    transform: translateY(3%);
}

.sect__bg{
    background: var(--sect-bg);
}

.green{
    color: #3BFFA3;
}

.terminal__item{
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid #ffffff30;
    background: #ffffff10;
    transition: all ease .15s;
    width: 100%;
    position: relative;
}

.terminal__tag{
    position: absolute;
    right: 24px;
    top: -10px;
}

.terminal__item img{
    max-width: 184px;
}

.terminal__item:hover{
    transform: translateY(3%);
}

.best__item{
    font-size: 20px;
}
.best__item img{
    max-width: 124px;
}

.support__img{
    width: 430px;
}

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #CACACA30;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; color: var(--white); font-family: 'Manrope'; font-weight: 600; font-size: 16px;
}
.faq-icon { color: var(--pink); font-size: 20px; transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  font-size: 14px; color: var(--gray); line-height: 1.7;
  padding: 0; opacity: .6;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 12px; transition: all ease .15s; }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  background: var(--sect-bg); border: 1px solid #ffffff30;
  border-radius: 9px; padding: 3px;
}
.lang-btn {
  padding: 4px 10px; border-radius: 6px; border: none; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; background: none; color: var(--gray);
}
.lang-btn.active { background: #8A33AD; color: white; }


/* ── FOOTER ── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  border-top: 1px solid #ffffff30;
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-desc { color: var(--gray); font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col-title { font-family: 'Manrope'; font-weight: 700; font-size: 14px; color: var(--white); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--gray); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray); }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px; border: 1px solid var(--gray); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); text-decoration: none; transition: all 0.2s; font-size: 15px;
}
.footer-social:hover { border-color: var(--pink); color: var(--pink); }


.challenge__cfg{
    margin-bottom: -12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ffffff20;
}

.mobile__menu{
    display: none;
    padding: 12px;
    background: black;
    border-top: 1px solid #ffffff30;
    position: fixed;
}




@media screen and (max-width: 1240px) {
    .wrapper{
        max-width: 1040px;
    }

    .challenge__card .btn{
        padding-left: 8px;
        padding-right: 8px;
    }
}


@media screen and (max-width: 1060px) {
    .wrapper{
        max-width: 920px;
    }

    .challenge__card{
        padding: 16px;
    }
}


@media screen and (max-width: 940px) {
    .wrapper{
        max-width: 750px;
    }

    .welcome__content{
        flex-direction: column;
        text-align: center;
        position: relative;
        align-items: center;
    }

    .welcome__content .col.g24{
        align-items: center;
    }

    h1{
        width: 100%;
        font-size: 68px;
        text-align: center;
        margin-bottom: 200px;
    }

    .welcome__img{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 240px;
        width: 320px;
    }

    .offline__content{
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .strip-photo{
        width: 240px;
        height: 300px;
    }

    .smart__content{
        flex-direction: column-reverse;
        text-align: center;
        align-items: center;
    }

    .calculations{
        align-items: center;
    }

    .payouts__content{
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .payouts__content .col.g24{
        align-items: center;
        text-align: center;
    }

    .challenge__content .grid-5{
        overflow: auto;
        padding-left: 24px;
        padding-right: 24px;
    }

    .challenge__card{
        width: 210px;
    }

    .challenge .wrapper{
        max-width: 100%;
    }
    
    .certificates__line img {
        width: 270px;
    }

    .process .grid-3{
        grid-template-columns: repeat(1,1fr);
    }

    .support__content{
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
}


@media screen and (max-width: 770px) {
    .wrapper{
        max-width: 520px;
    }

    .menu{
        display: none;
    }

    .mobile__menu{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: none;
        z-index: 999999;
    }

    .calculations{
        font-size: 20px;
    }

    .stats__content{
        flex-direction: column;
        gap: 24px;
    }

    .partners__line .ticker-track img {
        max-width: 90px;
    }

    h2{
        font-size: 36px;
    }

    .num{
        font-size: 42px;
    }

    .terminals .grid-3{
        grid-template-columns: repeat(1, 1fr);
    }

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

    .best__item img{
        width: 96px;
        height: 96px;
    }

    .best__item{
        font-size: 16px;
    }

    .footer-top{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

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

    .footer-socials{
        display: flex;
        flex-direction: row !important;
        margin-bottom: 24px;
    }

    .footer-links{
        gap: 4px;
    }

    .footer-col-title{
        margin-bottom: 4px;
    }

    .ticker-track {
        display: flex; animation: ticker 30s linear infinite; white-space: nowrap;
    }

    @keyframes ticker {
        from{transform:translateX(0)} 
        to{transform:translateX(-50%)} 
    }

    .footer-bottom{
        flex-direction: column;
        gap: 24px;
    }
}


@media screen and (max-width: 540px) {
    .wrapper{
        max-width: 360px;
    }
    
    h1{
        font-size: 56px;
    }

    h1 mark{
        font-size: 64px;
    }

    .welcome__img{
        top: 200px;
    }

    .welcome{
        background-position: bottom right;
    }

    .challenge__cfg{
        flex-direction: column;
        gap: 20px;
    }

    .wrapper{
        max-width: 100%;
        padding: 0 16px;
    }

    .challenge .wrapper{
        max-width: 100%;
        padding: 0;
    }

    .support__img{
        width: 80%;
    }

    h2{
        text-align: center;
    }

    .support .row.center.g4{
        flex-direction: column;
        gap: 8px;
    }

    .best__item{
        font-size: 14px;
        text-align: center;
    }

    .smart__img{
        max-width: 60%;
    }
}


@media screen and (max-width: 395px) {
    h1{
        font-size: 42px;
    }
}