*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:#05080d;
    color:#fff;
    font-family:Arial,sans-serif;
}

a{
    text-decoration:none;
    color:inherit;
}

.navbar{
    height:74px;
    padding:0 6%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid #1a232e;
    background:#05080ddd;
    backdrop-filter:blur(15px);
    position:sticky;
    top:0;
    z-index:20;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:bold;
}

.logo img{
    width:60px;
    height:60px;
    object-fit:contain;
}

.navbar nav{
    display:flex;
    align-items:center;
    gap:25px;
}

.navbar nav a{
    color:#9ba6b4;
    font-size:14px;
}

.btn-register,
.btn-main{
    background:#16d67a!important;
    color:#04110a!important;
    padding:12px 20px;
    border-radius:9px;
    font-weight:bold;
}

.hero{
    max-width:1250px;
    margin:auto;
    min-height:760px;
    padding:80px 25px;
    display:grid;
    grid-template-columns:1fr 1.1fr;
    gap:50px;
    align-items:center;
}

.live{
    color:#16d67a;
    font-size:11px;
    font-weight:bold;
    letter-spacing:2px;
}

.live span{
    display:inline-block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#16d67a;
    margin-right:7px;
}

.hero h1{
    text-align:left;
    font-size:clamp(45px,6vw,75px);
    line-height:1;
    letter-spacing:-4px;
}

.hero h1 strong{
    color:#16d67a;
}

.hero-content p{
    color:#8994a2;
    line-height:1.8;
}

.hero-buttons{
    display:flex;
    gap:12px;
    margin-top:30px;
}

.btn-main,
.btn-outline{
    display:inline-block;
    padding:14px 22px;
}

.btn-outline{
    border:1px solid #293542;
    border-radius:9px;
}

.stats{
    display:flex;
    gap:35px;
    margin-top:45px;
}

.stats div{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.stats span{
    font-size:11px;
    color:#697583;
}

.chart-wrapper{
    height:560px;
    background:#0a1017;
    border:1px solid #202c37;
    border-radius:18px;
    overflow:hidden;
}

.chart-header{
    height:65px;
    padding:0 18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #202c37;
}

.chart-header b,
.chart-header small{
    display:block;
}

.chart-header small{
    color:#687583;
    font-size:10px;
    margin-top:4px;
}

.chart-header select{
    background:#111923;
    color:#fff;
    border:1px solid #2a3541;
    padding:8px;
    border-radius:7px;
}

#tradingview_chart {
    width: 100%;
    height: 520px;
    min-height: 520px;
}
@media (max-width: 768px) {
    #tradingview_chart {
        height: 550px;
        min-height: 550px;
    }
}

@media (max-width: 480px) {
    #tradingview_chart {
        height: 580px;
        min-height: 580px;
    }
}

.markets,
.about{
    max-width:1250px;
    margin:auto;
    padding:90px 25px;
}

.section-title{
    text-align:center;
    margin-bottom:35px;
}

.section-title span{
    color:#16d67a;
    font-size:11px;
    letter-spacing:2px;
}

.section-title h2{
    font-size:38px;
}

.market-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

.market-card{
    text-align:left;
    color:#fff;
    background:#0a1017;
    border:1px solid #202b36;
    padding:25px;
    border-radius:14px;
    cursor:pointer;
    transition:.2s;
}

.market-card:hover{
    transform:translateY(-5px);
    border-color:#16d67a;
}

.market-icon{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    margin-bottom:20px;
}

.gold{
    background:#33290d;
}

.bitcoin{
    background:#30200d;
}

.ethereum{
    background:#181b38;
}

.euro{
    background:#102237;
}

.market-card b,
.market-card span{
    display:block;
}

.market-card span{
    color:#697582;
    font-size:11px;
    margin-top:7px;
}

.about{
    text-align:center;
}

.about>span{
    color:#16d67a;
}

.about h2{
    font-size:42px;
}

.about p{
    max-width:600px;
    margin:auto;
    color:#7f8996;
    line-height:1.8;
}

footer{
    text-align:center;
    border-top:1px solid #19222c;
    padding:30px;
    color:#596572;
    font-size:12px;
}

@media(max-width:850px){

    .hero{
        grid-template-columns:1fr;
    }

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

}

@media(max-width:550px){

    .navbar{
        padding:0 15px;
    }

    .navbar nav a:not(.btn-register){
        display:none;
    }

    .hero{
        padding:55px 15px;
    }

    .hero h1{
        font-size:43px;
    }

    .chart-wrapper{
        height:540px;
    }

    .market-grid{
        grid-template-columns:1fr;
    }

    .stats{
        gap:18px;
    }

}