:root{
    --bg:#020817;
    --panel:#07111f;
    --panel2:#0b1628;
    --card:rgba(15,23,42,.82);
    --line:rgba(148,163,184,.18);
    --text:#f8fafc;
    --muted:#94a3b8;
    --blue:#006bff;
    --blue2:#2f8cff;
    --cyan:#38bdf8;
    --green:#18d47b;
    --red:#ff4d4d;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,Arial,sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at 18% 12%,rgba(0,107,255,.24),transparent 34%),
        radial-gradient(circle at 75% 18%,rgba(56,189,248,.14),transparent 30%),
        linear-gradient(180deg,#020817,#07111f 55%,#020817);
    overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer}
.up{color:var(--green)}
.down{color:var(--red)}

.p6-header{
    width:min(1500px,calc(100% - 48px));
    height:72px;
    margin:22px auto 0;
    padding:0 18px;
    position:sticky;
    top:18px;
    z-index:50;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:1px solid var(--line);
    border-radius:28px;
    background:rgba(3,8,20,.82);
    backdrop-filter:blur(18px);
    box-shadow:0 25px 70px rgba(0,0,0,.45);
}

.p6-brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:25px;
    font-weight:900;
}
.p6-brand span{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:10px;
    color:white;
    background:linear-gradient(135deg,var(--blue),var(--cyan));
    box-shadow:0 0 32px rgba(0,107,255,.55);
    font-weight:900;
}

.p6-nav{
    display:flex;
    gap:30px;
    color:#cbd5e1;
    font-size:14px;
    font-weight:800;
}
.p6-nav a:hover{color:#fff}

.p6-actions{
    display:flex;
    align-items:center;
    gap:12px;
}
.p6-btn,.p6-lang{
    height:44px;
    padding:0 18px;
    border-radius:12px;
    border:1px solid transparent;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    font-size:14px;
    font-weight:900;
}
.p6-btn-lg{height:58px;padding:0 30px;font-size:16px;border-radius:14px}
.p6-btn-primary{
    color:#fff;
    background:linear-gradient(135deg,var(--blue),var(--blue2));
    box-shadow:0 18px 45px rgba(0,107,255,.36);
}
.p6-btn-dark,.p6-lang,.p6-btn-outline{
    color:#e5edff;
    background:rgba(255,255,255,.055);
    border-color:var(--line);
}
.p6-btn-primary:hover,.p6-btn-outline:hover{transform:translateY(-2px)}

.p6-hero{
    width:min(1500px,calc(100% - 48px));
    margin:0 auto;
    min-height:720px;
    padding:72px 0 44px;
    display:grid;
    grid-template-columns:430px 1fr;
    gap:50px;
    align-items:center;
    position:relative;
}
.p6-earth{
    position:absolute;
    left:-140px;
    bottom:0;
    width:720px;
    height:260px;
    border-radius:50% 50% 0 0;
    background:
        radial-gradient(circle at 50% 20%,rgba(56,189,248,.26),transparent 30%),
        linear-gradient(180deg,rgba(0,107,255,.35),rgba(0,107,255,.02));
    box-shadow:0 -20px 80px rgba(0,107,255,.5);
    opacity:.85;
}
.p6-copy{position:relative;z-index:2}
.p6-live-dot{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#9ed8ff;
    font-size:13px;
    font-weight:900;
}
.p6-live-dot span{
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--blue2);
    box-shadow:0 0 20px var(--blue2);
}
.p6-copy h1{
    margin:28px 0 0;
    font-size:clamp(54px,5vw,82px);
    line-height:.96;
    letter-spacing:-.065em;
    font-weight:900;
}
.p6-copy h1 em{
    font-style:normal;
    color:var(--blue2);
    text-shadow:0 0 45px rgba(47,140,255,.45);
}
.p6-copy p{
    margin:28px 0 0;
    color:#d2d9e8;
    font-size:17px;
    line-height:1.65;
}
.p6-hero-buttons{
    margin-top:34px;
    display:flex;
    gap:18px;
}
.p6-benefits{
    margin-top:38px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}
.p6-benefits div{text-align:center}
.p6-benefits i{
    width:48px;
    height:48px;
    margin:0 auto 12px;
    display:grid;
    place-items:center;
    border-radius:16px;
    color:var(--cyan);
    background:rgba(0,107,255,.16);
    font-size:21px;
}
.p6-benefits strong{display:block;font-size:13px}
.p6-benefits span{display:block;color:#9ca8bb;font-size:12px;margin-top:4px}

.p6-terminal{
    position:relative;
    z-index:3;
    border:1px solid rgba(96,165,250,.26);
    border-radius:26px;
    background:rgba(4,11,24,.9);
    box-shadow:0 35px 100px rgba(0,0,0,.55);
    overflow:hidden;
}
.p6-terminal-top{
    height:72px;
    padding:0 22px;
    display:grid;
    grid-template-columns:36px 150px 1fr 130px 90px;
    align-items:center;
    gap:16px;
    border-bottom:1px solid var(--line);
}
.p6-menu{color:#cbd5e1}
.p6-terminal-brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:22px;
    font-weight:900;
}
.p6-terminal-brand span{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:linear-gradient(135deg,var(--blue),var(--cyan));
}
.p6-search{
    height:40px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 14px;
    border:1px solid var(--line);
    border-radius:10px;
    color:#64748b;
    background:rgba(255,255,255,.04);
    font-size:13px;
}
.p6-balance small{display:block;color:#94a3b8;font-size:11px}
.p6-balance strong{font-size:15px}
.p6-deposit{
    height:40px;
    border:0;
    border-radius:9px;
    color:#fff;
    background:var(--blue);
    font-weight:900;
}

.p6-terminal-grid{
    display:grid;
    grid-template-columns:240px 1fr 240px;
}
.p6-watch,.p6-chart-panel,.p6-trade{
    min-height:520px;
    border-right:1px solid var(--line);
}
.p6-trade{border-right:0}
.p6-watch{padding:18px}
.p6-panel-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:14px;
}
.p6-panel-title strong{font-size:14px}
.p6-panel-title a,.p6-panel-title span{color:var(--blue2);font-size:13px;font-weight:900}
.p6-tabs{
    display:flex;
    gap:10px;
    margin-bottom:14px;
    color:#8da0bb;
    font-size:11px;
}
.p6-tabs .active{color:var(--blue2)}
.p6-watch-row{
    padding:11px 0;
    display:grid;
    grid-template-columns:1fr 75px 55px;
    gap:8px;
    align-items:center;
    border-bottom:1px solid rgba(148,163,184,.11);
}
.p6-watch-row strong{display:block;font-size:13px}
.p6-watch-row small{display:block;color:#7d8ca3;font-size:11px;margin-top:2px}
.p6-watch-row span{font-size:13px;text-align:right}
.p6-watch-row em{font-style:normal;font-size:12px;font-weight:900;text-align:right}
.p6-add-symbol{
    width:100%;
    height:36px;
    margin-top:14px;
    border:1px solid var(--line);
    border-radius:10px;
    color:#dbeafe;
    background:rgba(255,255,255,.04);
    font-weight:800;
}

.p6-chart-panel{padding:18px}
.p6-chart-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-bottom:16px;
    border-bottom:1px solid rgba(148,163,184,.12);
}
.p6-asset{display:flex;align-items:center;gap:12px}
.p6-coin{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#f59e0b;
    font-weight:900;
}
.p6-asset strong{display:block;font-size:20px}
.p6-asset small{display:block;color:#94a3b8;margin-top:3px}
.p6-price{text-align:right}
.p6-price strong{
    display:block;
    color:var(--green);
    font-size:30px;
    letter-spacing:-.05em;
}
.p6-price span{color:var(--green);font-size:13px;font-weight:900}

.p6-timeframes{
    height:44px;
    display:flex;
    align-items:center;
    gap:18px;
    color:#cbd5e1;
    font-size:13px;
}
.p6-timeframes .active{
    padding:6px 9px;
    border-radius:7px;
    color:#fff;
    background:rgba(0,107,255,.42);
}
.p6-chart{
    height:275px;
    padding:18px;
    display:flex;
    align-items:end;
    gap:6px;
    border:1px solid rgba(148,163,184,.12);
    border-radius:14px;
    background:
        linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
        rgba(3,12,26,.85);
    background-size:42px 42px;
}
.p6-chart i{
    width:7px;
    border-radius:8px;
    background:linear-gradient(180deg,var(--green),#065f46);
}
.p6-chart i:nth-child(3n){background:linear-gradient(180deg,var(--red),#7f1d1d)}
.p6-chart i:nth-child(1){height:34%}.p6-chart i:nth-child(2){height:41%}.p6-chart i:nth-child(3){height:29%}
.p6-chart i:nth-child(4){height:50%}.p6-chart i:nth-child(5){height:44%}.p6-chart i:nth-child(6){height:58%}
.p6-chart i:nth-child(7){height:63%}.p6-chart i:nth-child(8){height:47%}.p6-chart i:nth-child(9){height:66%}
.p6-chart i:nth-child(10){height:71%}.p6-chart i:nth-child(11){height:59%}.p6-chart i:nth-child(12){height:75%}
.p6-chart i:nth-child(13){height:68%}.p6-chart i:nth-child(14){height:79%}.p6-chart i:nth-child(15){height:73%}
.p6-chart i:nth-child(16){height:64%}.p6-chart i:nth-child(17){height:52%}.p6-chart i:nth-child(18){height:61%}
.p6-chart i:nth-child(19){height:57%}.p6-chart i:nth-child(20){height:70%}.p6-chart i:nth-child(21){height:76%}
.p6-chart i:nth-child(22){height:80%}.p6-chart i:nth-child(23){height:72%}.p6-chart i:nth-child(24){height:83%}
.p6-chart i:nth-child(n+25){height:calc(42% + 30px)}
.p6-chart-foot{
    height:42px;
    display:flex;
    align-items:center;
    gap:18px;
    color:#9ba8ba;
    font-size:13px;
}
.p6-chart-foot em{margin-left:auto;font-style:normal;color:#dbeafe}

.p6-bottom-panels{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.p6-bottom-panels>div{
    padding:14px;
    border:1px solid rgba(148,163,184,.12);
    border-radius:14px;
    background:rgba(255,255,255,.03);
}
table{width:100%;border-collapse:collapse}
td{padding:8px 0;color:#dbeafe;font-size:12px}

.p6-trade{padding:18px}
.p6-trade-tabs,.p6-buy-sell,.p6-order-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-bottom:14px;
}
.p6-trade-tabs button,.p6-buy-sell button{
    height:42px;
    border:0;
    border-radius:9px;
    color:#dbeafe;
    background:rgba(255,255,255,.05);
    font-weight:900;
}
.p6-trade-tabs .active{color:var(--blue2)}
.p6-buy-sell button:first-child{background:linear-gradient(135deg,#16a34a,var(--green));color:white}
.p6-buy-sell button:last-child{background:linear-gradient(135deg,#991b1b,var(--red));color:white}
.p6-order-tabs{grid-template-columns:repeat(3,1fr);color:#94a3b8;font-size:13px}
.p6-order-tabs .active{color:var(--blue2)}
.p6-trade label{
    display:block;
    margin:14px 0 7px;
    color:#cbd5e1;
    font-size:12px;
    font-weight:900;
}
.p6-input{
    height:43px;
    padding:0 13px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:1px solid rgba(148,163,184,.18);
    border-radius:10px;
    background:rgba(255,255,255,.04);
}
.p6-input span,.p6-input i{color:#7d8ca3}
.p6-estimate{
    margin-top:14px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    color:#94a3b8;
    font-size:12px;
}
.p6-estimate strong{text-align:right;color:#dbeafe}
.p6-buy-main{
    width:100%;
    height:48px;
    margin-top:18px;
    border:0;
    border-radius:11px;
    display:grid;
    place-items:center;
    color:#fff;
    background:linear-gradient(135deg,#16a34a,var(--green));
    font-weight:900;
}

.p6-ticker,.p6-section,.p6-security,.p6-cta,.p6-footer,.p6-footer-bottom{
    width:min(1500px,calc(100% - 48px));
    margin-left:auto;
    margin-right:auto;
}
.p6-ticker{
    margin-top:16px;
    display:grid;
    grid-template-columns:.7fr repeat(7,1fr);
    border:1px solid rgba(96,165,250,.25);
    border-radius:18px;
    overflow:hidden;
    background:rgba(5,13,27,.75);
}
.p6-ticker>div{
    min-height:68px;
    padding:13px 16px;
    border-right:1px solid rgba(148,163,184,.13);
}
.p6-ticker-live{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:rgba(0,107,255,.32);
    font-weight:900;
}
.p6-ticker b,.p6-ticker span,.p6-ticker em{display:block}
.p6-ticker b{font-size:12px}
.p6-ticker span{margin-top:5px;font-size:16px;font-weight:900}
.p6-ticker em{margin-top:3px;font-size:12px;font-style:normal;font-weight:900}

.p6-section{padding:58px 0 20px}
.p6-section-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    margin-bottom:24px;
}
.p6-section h2,.p6-security h2,.p6-cta h2{
    margin:0;
    font-size:34px;
    letter-spacing:-.04em;
}
.p6-section p,.p6-security p,.p6-cta p{
    color:#9ba8ba;
}
.p6-section-head a{color:var(--blue2);font-weight:900}
.p6-market-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
}
.p6-market-grid div{
    min-height:135px;
    padding:22px;
    border:1px solid var(--line);
    border-radius:18px;
    background:
        radial-gradient(circle at right,rgba(0,107,255,.25),transparent 45%),
        rgba(255,255,255,.04);
}
.p6-market-grid span,.p6-market-grid small{display:block;color:#cbd5e1}
.p6-market-grid strong{
    display:block;
    margin:18px 0 4px;
    font-size:34px;
}

.p6-why-grid{
    margin-top:24px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
}
.p6-why-grid div{
    padding:22px;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(255,255,255,.04);
}
.p6-why-grid i{
    color:var(--blue2);
    font-size:24px;
    margin-bottom:16px;
}
.p6-why-grid strong{display:block}
.p6-why-grid span{
    display:block;
    margin-top:8px;
    color:#9ba8ba;
    font-size:13px;
    line-height:1.5;
}

.p6-security{
    margin-top:60px;
    padding:38px;
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:30px;
    border:1px solid rgba(96,165,250,.24);
    border-radius:24px;
    background:
        radial-gradient(circle at right,rgba(0,107,255,.24),transparent 42%),
        rgba(255,255,255,.04);
}
.p6-security-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}
.p6-security-grid div{
    padding:18px;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(255,255,255,.04);
}
.p6-security-grid i{color:var(--blue2);font-size:22px}
.p6-security-grid strong{display:block;margin-top:12px}
.p6-security-grid span{display:block;color:#9ba8ba;font-size:12px;margin-top:5px}

.p6-cta{
    margin-top:58px;
    padding:38px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    border:1px solid rgba(96,165,250,.3);
    border-radius:24px;
    background:linear-gradient(135deg,rgba(0,107,255,.28),rgba(255,255,255,.045));
}
.p6-footer{
    margin-top:70px;
    padding:36px 0;
    border-top:1px solid var(--line);
    display:grid;
    grid-template-columns:1.5fr repeat(4,1fr);
    gap:30px;
}
.p6-footer p,.p6-footer a{color:#94a3b8;font-size:14px;line-height:1.7}
.p6-footer a{display:block;margin:7px 0}
.p6-footer h4{margin:0 0 12px}
.p6-footer-bottom{
    padding:22px 0 34px;
    border-top:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    color:#94a3b8;
    font-size:13px;
}

/* Auth */
.auth-open{overflow:hidden}
.auth-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}
.auth-modal.show{display:flex}
.auth-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.78);backdrop-filter:blur(16px)}
.auth-card{
    position:relative;
    width:100%;
    max-width:460px;
    padding:28px;
    border:1px solid rgba(96,165,250,.25);
    border-radius:24px;
    background:#07111f;
    box-shadow:0 30px 100px rgba(0,0,0,.65);
}
.auth-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border:0;border-radius:50%;color:white;background:rgba(255,255,255,.08)}
.auth-brand{margin-bottom:20px}
.auth-brand small{display:block;color:#94a3b8;margin-top:8px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:5px;border-radius:14px;background:rgba(255,255,255,.06);margin-bottom:16px}
.auth-tabs button{border:0;border-radius:10px;padding:12px;background:transparent;color:#94a3b8;font-weight:900}
.auth-tabs button.active{background:linear-gradient(135deg,var(--blue),var(--blue2));color:white}
.auth-form{display:none}
.auth-form.active{display:block}
.auth-form label{display:block;margin:12px 0 7px;font-size:13px;font-weight:800}
.auth-form input{width:100%;height:46px;padding:0 13px;border:1px solid var(--line);border-radius:12px;color:white;background:rgba(255,255,255,.055)}
.auth-form input:focus{outline:none;border-color:var(--blue2)}
.auth-submit{width:100%;margin-top:18px}
.auth-message{display:none;padding:11px 13px;border-radius:12px;font-size:13px;font-weight:800;margin-bottom:12px}
.auth-message.error{display:block;background:rgba(239,68,68,.15);color:#fecaca}
.auth-message.success{display:block;background:rgba(0,107,255,.16);color:#bfdbfe}

@media(max-width:1200px){
    .p6-nav{display:none}
    .p6-hero{grid-template-columns:1fr}
    .p6-terminal-grid{grid-template-columns:220px 1fr}
    .p6-trade{grid-column:1/-1;border-top:1px solid var(--line)}
    .p6-ticker{grid-template-columns:repeat(4,1fr)}
    .p6-market-grid,.p6-why-grid{grid-template-columns:repeat(2,1fr)}
    .p6-security,.p6-footer{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
    .p6-header,.p6-hero,.p6-ticker,.p6-section,.p6-security,.p6-cta,.p6-footer,.p6-footer-bottom{width:calc(100% - 24px)}
    .p6-header{height:64px;margin-top:12px;top:12px}
    .p6-actions .p6-lang,.p6-actions .p6-btn-dark{display:none}
    .p6-copy h1{font-size:44px}
    .p6-hero-buttons,.p6-cta,.p6-footer-bottom{flex-direction:column;align-items:flex-start}
    .p6-hero-buttons .p6-btn{width:100%}
    .p6-benefits,.p6-terminal-top,.p6-terminal-grid,.p6-bottom-panels,.p6-ticker,.p6-market-grid,.p6-why-grid,.p6-security,.p6-security-grid,.p6-footer{grid-template-columns:1fr}
    .p6-search,.p6-balance,.p6-deposit,.p6-watch{display:none}
    .p6-terminal-top{height:auto;padding:16px}
    .p6-chart{height:220px}
}