.top-ticker {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    position: sticky;
    top: 0;
    z-index: 999;
    min-height: 35px;
    display: flex;
    align-items: center;
}

.ticker-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 5px 20px;
}

.ticker-item {

    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #00ffcc;
}

.ticker-item .symbol {
    text-transform: uppercase;
    opacity: 0.9;
    color: #ffffff;
}

.ticker-item .price {
    font-size: 1rem;
    color: #00ffcc;
}


.change-positive {
    color: #2ecc71;
    margin-left: 0.3rem;
}

.change-negative {
    color: #e74c3c;
    margin-left: 0.3rem;
}

.change-neutral {
    color: #cccccc;
    margin-left: 0.3rem;
}


@media (max-width: 960px) {

    .ticker-item:nth-child(n+3) {
        display: none;
    }


    .ticker-item {
        font-size: 0.8rem;
        gap: 0.3rem;
        white-space: nowrap;
    }


    .change-positive,
    .change-negative,
    .change-neutral {
        margin-left: 0.2rem;
    }
}

header {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    position: sticky;
    top: 30px;
    z-index: 100;
}


.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}


.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 15%;
    object-fit: cover;
    border: 1px solid rgba(128,128,128,0.8);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 5px rgba(128,128,128,0.5);
}

.site-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}


.main-nav {
    margin-left: 2rem;
    transition: transform 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #00ffcc;
}


.main-nav a.active {
    color: #00ffcc;
    font-weight: 600;
    border-bottom: 2px solid #00ffcc;
    padding-bottom: 2px;
}


.right-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #00ffcc;
}


.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #fff;
}




@media (max-width: 992px) {
    .main-nav ul {
        gap: 1rem;
    }
}


@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }


    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(4px);
        transform: translateY(-200%);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }


    .main-nav.active {
        transform: translateY(0);
    }
}


@media (max-width: 600px) {
    .header-container {
        flex-wrap: wrap;
    }
    .logo-img {
        width: 40px;
        height: 40px;
    }
    .site-name {
        font-size: 1rem;
    }
}


.language-menu {
    position: relative;
}


.lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}


.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
    min-width: 120px;
}


.language-menu.active .lang-dropdown {
    display: block;
}


.lang-dropdown li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.lang-dropdown li:last-child {
    border-bottom: none;
}
.lang-dropdown a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: background 0.3s, color 0.3s;
}
.lang-dropdown a:hover {
    background: rgba(0,255,204,0.2);
    color: #00ffcc;
}