.navbar, .navbar .container-fluid { overflow: visible; }
.dropdown-menu { z-index: 2000; }
.trade-dropdown { min-width: 360px; }

.dropdown-item {
    position: relative; 
    transition: color 0.2s ease;
}

.feature {
    width: 350px;
    height: auto;
    margin-top: 8px 40px 0 0;
    left: 50%;
    transform: translateX(-50%);
}

.texthover:hover {
    color: rgb(243, 193, 46);
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown > .dropdown-toggle:active {
    pointer-events: none;
}

.my-navbar { 
    background-color: #0b0f15 !important; 
}

.navbar .nav-link, .navbar .navbar-brand { 
    color: #e6edf3 !important; 
}

.backgroundcolor {
    background-color: #31394a;
    border-radius: 25px;
    margin-bottom: 20px;
}

.dropdown-menu { 
    background-color: #111827; 
    border: 1px solid #1f2937; 
}

.dropdown-item { 
    color: #d1d5db; 
}

.dropdown-item:hover { 
    background-color: #1f2937; 
    color: #fff; 
}

.butn:hover {
    color: rgb(243, 193, 46);
}

.border1 {
    border-radius: 25px;
}

.price {
    text-align: center;
}

.accordion-button {
    color: white;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(243, 3, 3, 0.1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.news:hover {
    color: rgb(191, 189, 189);
}

.community-icons {
    max-width: 400px; 
}

.community-icons a {
    flex: 0 0 25%; 
    text-align: center;
}

.icon-custom {
    width: 1em;
    height: 1em;
}

.bi {
    vertical-align: -0.125em;
    width: 1em;
    height: 1em;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #31394a; 
    color: #e4e6eb; 
}

.login-box {
    background-color: #1f2130;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 360px;
}

.login-box h3 {
    color: #e4e6eb;
}

.form-label { color: #a5a8b6; }

.form-control {
    background-color: #2c2e3e;
    border: 1px solid #3a3d50;
    color: #e4e6eb;
}

.form-control::placeholder {
    color: #6c6f85;
}

.btn-login {
    background-color: #f3ce87; 
    border: none;
    color: #1f2130;
    font-weight: bold;
}

.btn-login:hover {
    background-color: #e4ba4e;
}

.or-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.or-divider::before,
.or-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #3a3d50;
}

.or-divider:not(:empty)::before { margin-right: .5rem; }
.or-divider:not(:empty)::after { margin-left: .5rem; }

.social-btn {
    background-color: #2c2e3e;
    border: 1px solid #3a3d50;
    color: #e4e6eb;
}

.social-btn:hover {
    background-color: #3a3d50;
}

.social-btn i {
    margin-right: .5rem;
    font-size: 1.25rem;
    vertical-align: middle;
}

.view-area {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.mode-switcher {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mode-switcher .underline {
    height: 3px;
    background-color: #f2b319;
    bottom: 0;
    transition: transform 0.3s ease;
    width: 0;
}

.btn-link {
    padding: 0.5rem 1rem;
}

.view-area img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #0b0f15;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 0.5rem;
    }
    
    .navbar-nav .dropdown-menu {
        background-color: #1a1e29;
        border: none;
        margin: 0.5rem 0;
    }
    
    .trade-dropdown {
        min-width: auto;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
}

.user span {
    font-size: clamp(2.5rem, 8vw, 5rem) !important;
    line-height: 1.2;
}

.user h1 {
    text-align: center;
}

@media (max-width: 768px) {
    .list-group-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 1rem;
    }
    
    .list-group-item .flex-grow-1 {
        flex-grow: 0 !important;
        width: 100%;
    }
    
    .price, .px-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .input-group .form-control {
        margin-bottom: 10px;
        border-radius: 0.375rem !important;
    }
    
    .input-group .btn {
        border-radius: 0.375rem !important;
        width: 100%;
    }
}

.news {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    display: block;
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .view-area {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .view-area img {
        max-width: 200px;
    }
    
    .col-6:last-child {
        text-align: center;
    }
}

.accordion-button {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    padding: 1rem 1.25rem;
}

@media (max-width: 768px) {
    footer .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .community-icons {
        justify-content: center;
        max-width: 100%;
    }
    
    .community-icons a {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 576px) {
    .col-6, .col-4, .col-3, .col-2 {
        width: 100% !important;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .container, .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    section {
        margin: 2rem 0;
    }
}

img {
    max-width: 100%;
    height: auto;
}

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

@media (min-width: 768px) {
    .d-none.d-md-block {
        display: block !important;
    }
}

.dropdown-menu {
    position: absolute;
}

@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-link, .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .bi.fs-5, .bi.fs-3, .bi.fs-2 {
        font-size: 1.2em !important;
    }
}

html, body {
    overflow-x: hidden;
}

