.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #181818 0%, transparent 100%);
    padding: 8px 17px;
    color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-left, .navbar-center, .navbar-right {
    display: flex;
    align-items: center;
}

.navbar-left {
    justify-content: flex-start;
    gap: 20px;
}

.navbar-center {
    justify-content: center;
    align-items: center;
}

.navbar-right {
    justify-content: flex-end;
    gap: 20px;
    margin-right: 30px;
}

.logo {
    max-width: 100px;
    max-height: 50px;
    object-fit: cover;
    margin-top: 5px;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.menu {
    display: flex;
    gap: 50px;
    position: relative;
    margin-right: 20px;
}

.menu-button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 13px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.menu-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-popup {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background: #282828;
    border-radius: 5px;
    padding: 10px;
    width: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.menu-popup button {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: white;
    text-align: left;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
}

.menu-popup button:hover {
    background: #404040;
}
.menu {
    gap: 15px;
}

.spotify-button {
    background-color: #1db954;
    color: white;
    border: 2px solid transparent;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.spotify-button:hover {
    background-color: #1E90FF;
    border: 2px solid #1db954;
}

.close-btn {
    width: 100%;
    background-color: transparent;
    color: white;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: #ff4d4d;
}

.bold-section {
    font-weight: bold;
}

@media screen and (max-width: 800px) {
    .info-table {
        width: 90%;
    }

    .top-section {
        margin-bottom: 6%;
    }
}

@media screen and (max-width: 768px) {
    .ts {
        display: inline;
    }

    .main-content {
        margin-top: 10%;
        padding: 3px;
    }

    .info-table {
        width: 90%;
    }

    .tab-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .tab-button {
        flex: 1 0 100%;
        padding: 10px;
        margin-bottom: 5px;
    }

    .container {
        display: inline-block;
        padding: 10px;
    }

    .menu {
        display: inline;
    }

    .tabs {
        margin-top: 10%;
    }

    h1, h2, h3 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .tab-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    h1 {
        font-size: 1.25rem;
    }

    h2, h3 {
        font-size: 1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .tab-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .tab-button {
        flex: 1 0 48%;
        margin-right: 5px;
        margin-bottom: 10px;
    }
}

                         

.nav-search-bar {
    display: flex;
    align-items: center;
    background: #282828;
    padding: 8px;
    border-radius: 12px;
    width: 300px;
    border: 1.3px solid transparent;
}

.nav-search-bar.focus {
    border: 1.3px solid #9eccff;
}

.nav-search-bar i {
    color: white;
    margin-right: 10px;
}

.nav-search-bar input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    outline: none;
}

@media screen and (max-width: 930px) {
    .navbar-left {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .navbar-right, .m-h {
        display: none;
    }

    .navbar {
        justify-content: center;
    }
}

@media screen and (max-width: 800px) {
    .search-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    #search-input {
        width: 80%;
        padding: 12px;
        font-size: 16px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    #search-btn {
        width: 80%;
        padding: 12px;
        font-size: 14px;
        border-radius: 12px;
        background-color: #1db954;
        color: white;
        cursor: pointer;
        border: none;
    }

    .filters {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
        width: 100%;
        margin-top: 20px;
    }

    .filters select,
    .filters input {
        width: 45%;
        margin-bottom: 10px;
    }

    .filters label {
        display: none;
    }

    .results-container {
        width: 100%;
        margin-top: 20px;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .search-item {
        padding: 10px;
        text-align: center;
    }

    .search-item img {
        width: 80px;
        height: 80px;
    }

    .tabs-container {
        display: flex;
        justify-content: center;
        gap: 5px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 16px;
        border-radius: 12px;
    }

    .search-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .search-results-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    h3, h4, p {
        font-size: 16px;
        text-align: center;
    }

    .spotify-button, .faq-btn, .menu-button {
        padding: 10px;
        font-size: 14px;
    }

    .header-container {
        display: block;
    }

    .header-left {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 570px) {
    .search-container {
        margin-top: 5%;
    }
}

@media screen and (max-width: 420px) {
    .search-container {
        margin-top: 15%;
    }
}

.profile-dropdown {
    position: relative;
    margin-left: 10px;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    color: white;
    transition: background-color 0.2s;
}

.profile-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-button img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-button i {
    font-size: 12px;
    transition: transform 0.2s;
}

.profile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #282828;
    border-radius: 8px;
    padding: 8px;
    margin-top: 5px;
    min-width: 200px;
}

.profile-menu.show {
    display: block;
}

.profile-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: none;
    background: none;
    color: white;
    cursor: pointer;
    border-radius: 15px;
    text-align: left;
}

.profile-menu button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-menu i {
    width: 20px;
    text-align: center;
}

#nav-search-input {
    background: #282828;
}

.nav-search-loading {
    font-size: 14px;
    color: #cfe6ff;
    font-weight: 500;
    opacity: 0.8;
}

.nav-search-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.nav-search-panel {
    height: 100%;
    background: linear-gradient(180deg, rgba(28,28,28,0.98), rgba(18,18,18,0.98));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    position: relative;
}

.nav-search-results {
    overflow-y: auto;
    padding: 18px;
    padding-bottom: 20px;
    max-height: calc(100% - 30px);
    display: flex;
    justify-content: center;
}

.nav-section {
    margin-bottom: 14px;
}
.nav-section h4 {
    margin: 0 0 8px 6px;
    color: #dfe6ee;
    font-size: 14px;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 5px;
    border-radius: 10px;
}

.nav-list-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px) brightness(0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.nav-list-item::before {
    background-image: var(--hover-bg);
}

.nav-list-item:hover::before {
    opacity: 1;
}

.nav-list-item > * {
    position: relative;
    z-index: 1;
}

.nav-list-item.empty {
    color: #9aa7b6;
}
.nav-list-item .left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-list-item .left img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}
.nav-list-item .middle {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.nav-list-item .middle .name {
    font-weight: 600;
}
.nav-list-item .middle .sub {
    font-size: 12px;
    color: #98a6b4;
}
.nav-list-item .right {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 12px;
    color: #9aa7b6;
}
.nav-quick-id {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 16px;
    border-radius: 10px;
    color: #cfe6ff;
}

.nav-quick-id .quick-open {
    margin-left: auto;
    background: #1db954;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nav-quick-id .quick-open:hover {
    background: #1ed760;
}

.nav-list-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.nav-search-list {
    width: 80%;
}

.nav-search-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-search-bottom .hints {
    display: flex;
    gap: 20px;
    color: #c7d5e6;
    font-size: 13px;
}
.nav-search-bottom .hints div {
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
}

.skeleton-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2a2a2a;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 10px;
    animation: shimmer 1.5s infinite linear;
}

.skeleton-item::before {
    content: '';
    width: 48px;
    height: 48px;
    background: #444;
    border-radius: 6px;
    flex-shrink: 0;
}

.skeleton-item .text-placeholder {
    width: 50px;
    height: 12px;
    background: #444;
    border-radius: 6px;
    margin-bottom: 6px;
}

.skeleton-item .sub-placeholder {
    height: 10px;
    background: #444;
    border-radius: 6px;
}

@keyframes shimmer {
    0% {
        background-position: -500px 0;
    }
    100% {
        background-position: 500px 0;
    }
}

.skeleton-item {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 1000px 100%;
}

@media screen and (max-width: 750px) {
    .nav-search-bottom {
        display: none;
    }
}