* {
    font-family: "Rubik", sans-serif!important;
    margin: 0;
}
p {
    margin: 0;
}
section {
    background: #0D0D2B;
}
.container {
    position: relative;
}
button {
    border: none;
}
.navbar {
    background: #0D0D2B;
    padding: 24px 0;
}

/* Navbar styles */
.navbar {
    background-color: #0D0D2B;
    padding: 16px 0;
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #F6B8FD;
}

/* Login/Sign up buttons */
.navbar .btn-group .line {
    background: #F2F2F2;
    width: 1px;
    height: 30px;
    margin: 0 12px;
}

.navbar .btn-group a.btn-group-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
    padding: 8px 16px;
}

.navbar .btn-group a.register {
    background: linear-gradient(90deg, rgba(246, 184, 253, 1) 0%, rgba(49, 106, 215, 1) 100%);
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
    padding: 8px 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        gap: 0 !important;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar .btn-group {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 16px;
    }

    .navbar .btn-group .line {
        display: none;
    }

    .navbar .btn-group a.btn-group-link {
        padding: 8px 30px;
    }

    .navbar .btn-group a.register {
        margin-top: 8px;
    }

    .dropdown .btn {
        padding: 10px 16px !important;
    }

    .dropdown-menu {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-width: 140px;
    }

    .dropdown .btn .d-md-block {
        display: none !important;
    }
}


section.header {
    background-color: #0D0D2B;
    padding: 100px 0 170px;
    overflow: hidden;
    position: relative;
}

section.header .top-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

section.header .top-title .background {
    background: rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    padding: 4px 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

section.header .top-title span.first {
    background: #ffffff;
    border-radius: 20px;
    padding: 4px 16px;
    font-weight: bold;
    font-size: 16px;
    color: #0D0D2B;
    margin: 0 14px 0 0;
    white-space: nowrap;
}

section.header .top-title span.second {
    font-size: 64px;
    color: #ffffff;
    white-space: nowrap;
    font-weight: bold;
}

section.header .header-left {
    position: absolute;
    width: 924px;
    height: auto;
    right: -312px;
    top: -59px;
    z-index: 0;
}

section.header h2 {
    font-size: 42px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    margin: 34px auto 78px;
    width: 720px;
    z-index: 1;
    position: relative;
}

section.header button {
    background: linear-gradient(90deg, rgba(246, 184, 253, 1) 0%, rgba(49, 106, 215, 1) 100%);
    padding: 12px 28px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    margin: 0 auto;
    border: none;
    cursor: pointer;
    z-index: 1;
    position: relative;
}

section.header button span {
    color: #ffffff;
    font-size: 18px;
    font-weight: normal;
    margin-right: 16px;
}

section.header button i {
    color: #ffffff;
    font-size: 28px;
}

/* 🔽 Responsive */
@media (max-width: 991px) {
    section.header .header-left {
        width: 600px;
        right: -200px;
        top: -50px;
    }

    section.header h2 {
        font-size: 42px;
        width: 90%;
        margin: 20px auto 60px;
    }

    section.header .top-title span.first,
    section.header .top-title span.second {
        font-size: 14px;
    }

    section.header button span {
        font-size: 16px;
    }

    section.header button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    section.header {
        padding: 80px 20px 100px;
    }

    section.header .header-left {
        width: 100%;
        right: -100px;
        top: -30px;
        opacity: 0.2;
    }

    section.header h2 {
        font-size: 18px;
        width: 100%;
    }

    section.header .top-title .background {
        flex-direction: column;
        padding: 6px 10px;
    }

    section.header .top-title span.first,
    section.header .top-title span.second {
        margin: 4px 0;
        font-size: 20px;
        text-align: center;
    }

    section.header button {
        padding: 10px 20px;
    }

    section.header button span {
        font-size: 14px;
    }

    section.header button i {
        font-size: 22px;
    }
}

section.diogram {
    padding: 40px 0 0;
}

section.diogram .user-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section.diogram .user-profile .left,
section.diogram .user-profile .right {
    display: flex;
    align-items: center;
}

section.diogram .user-profile .box {
    display: flex;
    flex-direction: column;
}


section.diogram .user-profile .box button {
    width: 57px;
    height: 57px;
    background: #252540;
    padding: 16px 20px;
    border-radius: 50%;
    position: relative;
}

section.diogram .user-profile .box button i {
    color: #ffffff;
    font-size: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

section.diogram .user-profile .box p {
    color: #fff;
    margin-top: 10px;
}
section.diogram .user-profile .history {
    margin-right: 40px;
    display: flex;
    align-items: center;
}
section.diogram .user-profile .history .round {
    width: 57px;
    height: 57px;
    background: #252540;
    padding: 16px 20px;
    border-radius: 50%;
    position: relative;
}

section.diogram .user-profile .history p {
    color: #fff;
    margin-top: 10px;
}

section.diogram .user-profile .history .round i {
    color: #ffffff;
    font-size: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
section.diogram .user-profile .balance {
    display: flex;
    align-items: center;
}
section.diogram .user-profile .balance .round {
    width: 57px;
    height: 57px;
    background: #252540;
    padding: 16px 20px;
    border-radius: 50%;
    position: relative;
    margin-right: 11px;
}

section.diogram .user-profile .balance p {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

section.diogram .user-profile .balance span {
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
}

section.diogram .user-profile .balance .round i {
    color: #ffffff;
    font-size: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

section.diogram .diagram-img {
    width: 100%;
}
@media (max-width: 1200px) {
    section.diogram .user-profile {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    section.diogram .user-profile .left,
    section.diogram .user-profile .right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20px;
    }

    section.diogram .user-profile .history {
        margin-right: 0;
    }

    section.diogram .user-profile .balance-group {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    section.diogram .user-profile .right {
        flex-direction: column;
        align-items: flex-start;
    }

    section.diogram .user-profile .balance-group {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    section.diogram {
        padding: 20px 0 0;
    }

    section.diogram .user-profile .box button {
        width: 48px;
        height: 48px;
        padding: 12px;
    }

    section.diogram .user-profile .box button i,
    section.diogram .user-profile .history .round i {
        font-size: 18px;
    }

    section.diogram .user-profile .box p,
    section.diogram .user-profile .history p {
        font-size: 14px;
        margin-top: 6px;
    }

    section.diogram .user-profile .history .round {
        width: 48px;
        height: 48px;
    }
}


section.box-block {
    padding: 40px 0;
}

section.box-block .row .box {
    margin-bottom: 28px;
}

section.box-block .row .box .background {
    padding: 26px 30px 34px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #161633;
    border-radius: 16px;
    height: 100%;
    text-align: center;
}

section.box-block .row .box img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

section.box-block .row .box h3 {
    color: #ffffff;
    margin: 10px 0 20px;
    font-size: 20px;
    font-weight: 600;
}

section.box-block .row .box a {
    background: linear-gradient(90deg, rgba(246, 184, 253, 1) 0%, rgba(49, 106, 215, 1) 100%);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    margin: 0 auto;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 220px;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
}

section.box-block .row .box a span {
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
}

section.box-block .row .box i {
    color: #ffffff;
    font-size: 24px;
}

section.box-block .row .box a:hover {
    transform: scale(1.03);
}

/* ===== Responsive Styles ===== */
@media (max-width: 767.98px) {
    section.box-block .row .box .background {
        padding: 20px;
    }

    section.box-block .row .box h3 {
        font-size: 18px;
    }

    section.box-block .row .box a {
        padding: 8px 16px;
        font-size: 14px;
    }

    section.box-block .row .box a span {
        font-size: 14px;
        margin-right: 10px;
    }

    section.box-block .row .box i {
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    section.box-block .row {
        margin: 0;
    }

    section.box-block .row .box {
        padding-left: 15px;
        padding-right: 15px;
    }

    section.box-block .row .box .background {
        padding: 16px;
    }

    section.box-block .row .box h3 {
        font-size: 16px;
    }

    section.box-block .row .box a span {
        font-size: 13px;
    }

    section.box-block .row .box i {
        font-size: 18px;
    }
}



.tokenomics {
    background-color: #0D0D2B;
    color: #ffffff;
    padding: 40px 0 20px;
}

.tokenomics h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.tokenomics p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 24px;
    line-height: 1.6;
    color: #ccc;
}

.tokenomics .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* kartalar orasida masofa */
}

.tokenomics .card {
    background-color: #1B1B3A;
    border: 1px solid #2E2E5D;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex: 1 1 calc(33.333% - 40px); /* 3ta karta sig'ishi uchun */
    max-width: 320px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.tokenomics .card:hover {
    transform: translateY(-5px);
}

.tokenomics .card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    border-bottom: 1px solid #2E2E5D;
}

.tokenomics .card-header .round {
    width: 40px;
    height: 40px;
    background: linear-gradient(90deg, rgba(246, 184, 253, 1) 0%, rgba(49, 106, 215, 1) 100%);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    flex-shrink: 0;
}

.tokenomics .card-header h3 {
    margin: 0;
    font-size: 20px;
    color: #ffffff;
    flex: 1;
}

.tokenomics .card-body {
    padding: 20px;
    text-align: center;
}

.tokenomics .card-body img {
    height: 100px;
    max-width: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .tokenomics .card {
        flex: 1 1 calc(45% - 40px);
    }
}

@media (max-width: 768px) {
    .tokenomics h2 {
        font-size: 28px;
    }

    .tokenomics p {
        font-size: 16px;
    }

    .tokenomics p.last-child {
        font-size: 10px;
    }

    .tokenomics .row {
        flex-direction: column;
        align-items: center;
    }

    .tokenomics .card {
        flex: 1 1 100%;
        max-width: 90%;
        margin: 0 auto;
    }

    .tokenomics .card-header {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }

    .tokenomics .card-header h3 {
        font-size: 18px;
    }

    .tokenomics .card-body img {
        height: 80px;
    }
}

.ecosystem {
    background-color: #0D0D2B;
    color: #ffffff;
    padding: 60px 20px;
}

.ecosystem h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #ffffff;
}

.ecosystem .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px; /* bloklar orasida masofa */
}

.ecosystem .col-sm-6 {
    flex: 1 1 45%;
    max-width: 500px;
}

.ecosystem img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.ecosystem p {
    font-size: 18px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Tabletlar uchun */
@media (max-width: 992px) {
    .ecosystem .col-sm-6 {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .ecosystem {
        padding: 40px 20px;
    }
}

/* Telefonlar uchun */
@media (max-width: 768px) {
    .ecosystem h2 {
        font-size: 28px;
    }

    .ecosystem p {
        font-size: 16px;
        text-align: justify;
    }
}



.crypto-cap {
    background-color: #0D0D2B;
    color: #ffffff;
    padding: 60px 20px;
}

.crypto-cap h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 700;
}

.crypto-cap .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.crypto-cap .col {
    flex: 1 1 calc(25% - 30px);
    display: flex;
    margin-bottom: 20px;
}

.crypto-cap .box {
    background-color: #1B1B3A;
    border: 1px solid #2E2E5D;
    border-radius: 16px;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    width: 100%;
}

.crypto-cap .box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.crypto-cap .round {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-cap .round img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.crypto-cap h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
}

.crypto-cap p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
    text-align: center;
}

/* Planshetlar uchun (2 ustun) */
@media (max-width: 992px) {
    .crypto-cap .col {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

/* Mobil qurilmalar uchun (1 ustun) */
@media (max-width: 576px) {
    .crypto-cap {
        padding: 20px 0;
    }
    .crypto-cap h2 {
        font-size: 28px;
    }

    .crypto-cap .col {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .crypto-cap p {
        font-size: 15px;
    }

    .crypto-cap .box {
        padding: 20px;
    }
}

.trading-charts {
    background-color: #0D0D2B;
    padding: 20px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* yupqa va chiroyli border */
}

.trading-charts .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.chart-img-top {
    width: 100%;
    max-width: 335px;
    height: auto;
    margin: 20px auto 40px;
    display: block;
}

.chart-img-full {
    width: 100%;
    height: auto;
}


.footer {
    background: #0D0D2B;
    color: #ffffff;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: #6c5ce7;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #b4b6bb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6c5ce7;
    transform: translateY(-3px);
}

.newsletter-input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
}
.newsletter-input::placeholder {
    color: #ccc;
}
.newsletter-input:focus {
    background: rgba(255,255,255,0.15);
    border-color: #6c5ce7;
    color: #ffffff;
    box-shadow: none;
}

.btn-subscribe {
    background: #6c5ce7;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #5a4bd1;
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
}

.footer-bottom a {
    color: #6c5ce7;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}
