:root {
    --bg-color: #0a0a0a;
    --card-bg: linear-gradient(to right bottom, #1a1a1a70, #2d2d2d50);
    --accent: #7d4dff;
    --neon-effect: #9d6dff;
    --text-primary: rgba(255, 255, 255, 0.92);
    --text-secondary: rgba(255, 255, 255, 0.65);
}

.musicians-list {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.profile-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .18));
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 48%,
            #ffffff08 48%,
            #ffffff08 52%,
            transparent 52%);
    transform: rotate(25deg);
    pointer-events: none;
}

.profile-card:hover {
    border-color: rgba(255, 255, 255, .18);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    margin-right: 1.5rem;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.profile-photo::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, var(--accent), transparent 60%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.5;
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    background: linear-gradient(45deg, #fff, #d4c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.meta-grid {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item:last-child {
    border-bottom: none;
}

.label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.value {
    font-weight: 500;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gender-marker {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.search-form {
    display: flex;
    margin: 0;
}

.container-query-search {
    display: flex;
    align-items: center;
}

.container-query-search input[type="text"] {
    border-radius: 5px 0 0 5px;
    width: 470px;
}

.profile-list-container {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1300px;
    margin: 20px 0;
}

/* viewed */
.container-viewed {
    position: absolute;
    display: inline-block;
    cursor: pointer;
    z-index: 2;
    margin: 5px;
}

.icon-viewed {
    font-size: 24px;
    color: #ffffff;
    transition: transform 0.2s;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 100%;
    padding: 5px;
}

.menu-viewed {
    position: absolute;
    background: white;
    top: -10%;
    padding: 8px 15px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #ddd;
    z-index: 100;
    min-width: 150px;
}

.container-viewed:hover .menu-viewed {
    opacity: 1;
    visibility: visible;
}

#view-date-viewed {
    font-size: 12px;
    color: #000;
}

@media (max-width: 980px) {

    .musicians-list {
        grid-template-columns: 1fr;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
    }

    .container-query-search,
    .search-form {
        flex-wrap: wrap;
        margin: 0 auto;
    }

    .search-form input[type="text"] {
        width: 100%;
        margin-top: 10px;
    }

    .container-query-search button:not(.color-btn):not([class*="fr"]):not(.search-btn):not([class*="owl-"]) {
        width: 100%;
        border-radius: 0;
    }

    .search-form input[type="text"] {
        border-radius: 0;
    }
}