/* Import Google Font - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap'); /* Ensures Inter font is loaded */

:root {
    /* Mantenha suas variáveis */
    --player-bg: #1C1E32;
    --player-highlight: #4D5BEE;
    --player-highlight-hover: #6a79f1;
    --player-control: #9CA3AF;
    --progress-bg: #292B45;
    --progress-fill-gradient: linear-gradient(90deg, #4D5BEE 0%, #8E67E5 100%);
    --dark-bg-primary: #0D0E1C;
    --text-light: #E0E0E0;
    --text-muted: #9CA3AF; /* Adicionando a variável que faltava */
}

/* audiosphere-style.css */

body {
    background-color: var(--dark-bg-primary) !important;
    color: var(--text-light) !important;
    font-family: 'Inter', sans-serif;
}

p, span, div:not(.fa-icon-container), a:not(.fa-icon-link), button:not(.fa-button) {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #4D5BEE 0%, #8E67E5 50%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- ESTILOS PARA AS CATEGORIAS NO HEADER --- */
.header-category-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
    font-size: 14px;
    white-space: nowrap;
}

.header-category-link:hover {
    color: var(--text-light);
    background-color: rgba(77, 91, 238, 0.1);
}

.header-category-link.active {
    background: linear-gradient(135deg, #4D5BEE 0%, #8E67E5 100%);
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(77, 91, 238, 0.4);
}

/* Responsividade para o menu de categorias no header */
@media (max-width: 768px) {
    #headerCategoriesNav {
        display: none; /* Esconde as categorias no header em telas menores */
    }
}


/* --- ESTILOS DO SUBHEADER (REMOVIDOS) --- */
/*
.subheader {
    ...
}
.subheader-link {
    ...
}
*/

/* O restante do seu CSS continua aqui... */
/* ... (primary-button, secondary-button, floating-elements, etc.) ... */
/* ... (Todos os outros estilos permanecem os mesmos) ... */
.primary-button {
    background: linear-gradient(135deg, #4D5BEE 0%, #8E67E5 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    color: white;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(77, 91, 238, 0.3);
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.primary-button:hover::before {
    left: 100%;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(77, 91, 238, 0.5);
}

#playerTitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.secondary-button {
    background: rgba(77, 91, 238, 0.1);
    border: 1px solid rgba(77, 91, 238, 0.3);
    border-radius: 10px;
    padding: 12px 24px;
    color: #4D5BEE;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.secondary-button:hover {
    background: rgba(77, 91, 238, 0.2);
    border-color: rgba(77, 91, 238, 0.5);
    transform: translateY(-2px);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-circle {
    position: absolute;
    border: 2px solid rgba(77, 91, 238, 0.1);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(77, 91, 238, 0.1);
}

.floating-circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation-delay: 5s;
}

.floating-circle:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 15%;
    animation-delay: 10s;
}

.floating-circle:nth-child(4) {
    width: 180px;
    height: 180px;
    bottom: 15%;
    right: 8%;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-30px) translateX(20px) rotate(90deg); }
    50% { transform: translateY(-60px) translateX(0px) rotate(180deg); }
    75% { transform: translateY(-30px) translateX(-20px) rotate(270deg); }
}

.premium-card {
    background: linear-gradient(135deg, rgba(28, 30, 50, 0.95) 0%, rgba(37, 39, 66, 0.95) 100%);
    border: 1px solid rgba(77, 91, 238, 0.2);
    border-radius: 24px;
    padding: 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 91, 238, 0.5), transparent);
    z-index: 1;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(77, 91, 238, 0.05) 0%, rgba(142, 103, 229, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.premium-card:hover::after {
    opacity: 1;
}

.premium-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(77, 91, 238, 0.5);
    border-color: rgba(77, 91, 238, 0.4);
}

.premium-card.active-playing {
    border: 2px solid var(--accent-blue);
    box-shadow: 0 20px 50px rgba(77, 91, 238, 0.6);
    transform: translateY(-5px);
}

.premium-card.active-playing .card-title {
    color: var(--accent-blue);
}

.card-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    height: 240px;
}

.card-image {
    width: 100%;
    height: 255px;
    object-fit: contain;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1em;
}

.play-pause-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.premium-card:hover .play-pause-button,
.premium-card.active-playing .play-pause-button {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.play-pause-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-pause-button i {
    color: white;
    font-size: 24px;
}

.category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-card:hover .category-badge {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.category-badge .date-text {
    color: #c4c4c4;
    font-size: 10px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.card-content {
    padding: 16px 16px 0;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #E0E0E0;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
    text-align: center;
}

.premium-card:hover .card-title {
    color: #FFFFFF;
}

.card-bottom-section {
    padding: 0 24px 24px;
    position: relative;
    z-index: 2;
    margin-top: auto;
    border-radius: 0 0 24px 24px;
}

.card-button {
    background: linear-gradient(135deg, #4D5BEE 0%, #8E67E5 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(77, 91, 238, 0.3);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* Botão sempre visível na página principal */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.card-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.card-button:hover::before {
    left: 100%;
}

.card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(77, 91, 238, 0.5);
}

.card-stats-row {
    background-color: #1618279e;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--dark-border);
    border-radius: 0 0 24px 24px;
    color: #9CA3AF;
    position: relative;
    bottom: -24px;
    left: -24px;
    width: calc(100% + 48px);
    box-sizing: border-box;
}

.card-stats-row-2 {
    background-color: #1618279e;
    padding: 5px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 2px dotted #4d5bee4d;
    border-bottom: 2px dotted #4d5bee4d;
    color: #9CA3AF;
    position: relative;
    bottom: -24px;
    left: -24px;
    width: calc(100% + 48px);
    box-sizing: border-box;
}

.card-stats-container-2 {
    display: flex; /* Revertido para o estilo original */
}

.card-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
}

.card-stat-item i {
    font-size: 14px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 8px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: #9CA3AF;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.stat-item i {
    margin-right: 4px;
}

.premium-card:hover .stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #B8BCC8;
}

.trending-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.featured-card {
    background: linear-gradient(135deg, rgba(77, 91, 238, 0.1) 0%, rgba(142, 103, 229, 0.1) 100%);
    border: 2px solid rgba(77, 91, 238, 0.3);
}

.featured-card::before {
    background: linear-gradient(90deg, transparent, rgba(77, 91, 238, 0.8), transparent);
}

/* Updated modal class names */
.meu-modal-overlay {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.meu-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.meu-modal-container {
    transform: scale(0) translateY(30px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    background: linear-gradient(135deg, #1C1E32 0%, #252742 100%);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(77, 91, 238, 0.2);
    border-radius: 24px;
    overflow: hidden;
}

.meu-modal-overlay.active .meu-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.meu-modal-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.meu-modal-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(77, 91, 238, 0.1), rgba(142, 103, 229, 0.1));
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}


.meu-modal-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.meu-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.meu-modal-download-btn {
    background: linear-gradient(135deg, #4D5BEE 0%, #8E67E5 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(77, 91, 238, 0.4);
}

.meu-modal-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.meu-modal-download-btn:hover::before {
    left: 100%;
}

.meu-modal-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(77, 91, 238, 0.5);
}

.meu-modal-info-badge {
    background: linear-gradient(135deg, rgba(77, 91, 238, 0.2), rgba(142, 103, 229, 0.2));
    border: 1px solid rgba(77, 91, 238, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    justify-content: center !important;
}

.meu-modal-info-badge span {
    font-size: 12px;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.pagination-button {
    background: rgba(77, 91, 238, 0.1);
    border: 1px solid rgba(77, 91, 238, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    color: #4D5BEE;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pagination-button:hover {
    background: rgba(77, 91, 238, 0.2);
    border-color: rgba(77, 91, 238, 0.4);
    transform: translateY(-2px);
}

.pagination-button.active {
    background: linear-gradient(135deg, #4D5BEE 0%, #8E67E5 100%);
    color: white;
    border-color: transparent;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-animation {
    animation-delay: var(--delay, 0s);
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .filter-section {
        flex-direction: row;
        justify-content: center;
    }
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 0.4em 1rem;
    border-radius: 100px;
    border: 1px solid #292B45;
    background-color: #1C1E32;
    color: #E0E0E0;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    border-color: #4D5BEE;
    box-shadow: 0 0 0 3px rgba(77, 91, 238, 0.3);
}

.category-select {
    width: 100%;
    max-width: 200px;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #292B45;
    background-color: #1C1E32;
    color: #E0E0E0;
    font-size: 1rem;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23E0E0E0'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-select:focus {
    border-color: #4D5BEE;
    box-shadow: 0 0 0 3px rgba(77, 91, 238, 0.3);
}

.sticky-player {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: var(--player-bg);
    border-top: 1px solid var(--dark-border);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    height: 76px;
    z-index: 60;
    transition: bottom 0.5s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-player.visible {
    bottom: 0;
}

.sticky-player .inner-container {
    width: 100%;
    max-width: 1300px;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
}

.sticky-player .top-progress-bar { /* Re-adicionada esta barra, baseada no HTML original */
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--player-highlight);
    width: 0%;
    transition: width 0.1s linear;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player-button, .control-button {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sticky-center-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;   
}

.player-button svg, .control-button svg {
    color: var(--text-light);
    transition: color 0.3s ease;
    width: 25px;
    height: 25px;
}

.player-button i, .control-button i {
    font-size: 15px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.player-button:hover, .control-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--player-highlight);
}
.player-button:hover svg, .control-button:hover svg,
.player-button:hover i, .control-button:hover i {
    color: var(--player-highlight);
}

.player-button.play-pause-sticky {
    width: 38px;
    height: 38px;
}
.player-button.play-pause-sticky i {
    font-size: 18px;
}

.song-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 150px;
}

.song-cover {
    width: 56px;
    height: 56px !important;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    border-radius: 5px !important;
}

.song-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.song-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 0.75rem;
    color: var(--player-control);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.progress-time {
    font-size: 12px;
    color: var(--player-control);
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.progress-bar-container {
    flex-grow: 1;
    height: 8px;
    background-color: var(--progress-bg);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--progress-fill-gradient);
    border-radius: 5px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-bar-thumb {
    position: absolute;
    height: 14px;
    width: 14px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 0%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-bar-container:hover .progress-bar-thumb {
    opacity: 1;
}

.player-download-button-container {
    margin-left: 1rem;
    flex-shrink: 0;
}

.player-download-button {
    background: var(--player-highlight);
    color: white;
    padding: 0.5rem 0.85rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    min-width: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.player-download-button:hover {
    background: var(--player-highlight-hover);
}

.volume-control {
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.volume-slider-container {
    width: 100px;
    height: 4px;
    border-radius: 5px;
    background: var(--progress-bg);
    margin-left: 0.5rem;
    cursor: pointer;
    position: relative;
}

.volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    position: absolute;
    z-index: 2;
    cursor: grab;
}

#modalImage {
    height: 500px;
    width: 500px;
    object-fit: contain;
    filter: drop-shadow(0px 0px 15px black);
    padding: 5em;
    z-index: 999;
}

.meu-modal-image-container {
    display: flex;
    justify-content: center;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.volume-slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--player-highlight);
    border-radius: 5px;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    height: 4px;
}

#modalDescription { /* Added style for modal description */
    height: 360px;
    overflow: auto;
    padding-right: 1em;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--player-highlight) var(--progress-bg); /* Firefox */

}

#modalDescription::-webkit-scrollbar { /* Custom scrollbar for WebKit browsers */
    width: 8px;
}

#modalDescription::-webkit-scrollbar-track { /* Custom scrollbar for WebKit browsers */
    background: var(--progress-bg);
    border-radius: 10px;
}

#modalDescription::-webkit-scrollbar-thumb { /* Custom scrollbar for WebKit browsers */
    background-color: var(--player-highlight);
    border-radius: 10px;
    border: 2px solid var(--progress-bg);
}


@media (max-width: 768px) {
    header nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .sticky-player {
        height: auto;
        padding: 0.5rem 1rem;
    }

    .sticky-player .inner-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .sticky-player .control-group {
        display: none;
    }

    .sticky-player .song-info {
        min-width: unset;
        flex-grow: 1;
        order: 1;
        justify-content: flex-start;
    }

    .sticky-player .song-details {
        text-align: left;
    }

    .sticky-player .progress-section {
        order: 3;
        width: 100%;
        margin: 0;
        justify-content: space-between;
        flex-basis: 100%;
    }

    .sticky-player .player-download-button-container,
    .sticky-player .volume-control {
        display: none;
    }

    .sticky-player .player-button.play-pause-sticky {
        order: 2;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        margin-left: auto;
    }

    .sticky-player .song-cover {
        width: 40px;
        height: 40px;
    }

    .sticky-player .song-title {
        font-size: 0.85rem;
    }

    .sticky-player .song-artist {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .sticky-player .inner-container {
        padding: 0.5rem;
    }

    .sticky-player .song-info {
        flex-grow: 1;
        justify-content: center;
    }
    .sticky-player .player-button.play-pause-sticky {
        margin-left: 0.5rem;
    }
}

#modalDescription pre, #modalDescription h3, #modalDescription .download-section {
    display: none;
}

#modalDescription p {
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
}

#modalTitle {
    padding-right: 1em;    
}


#modalDescription h4 {
    color: #fff !important;
}

.card-stats-container-2 .card-stat-item:not(:last-child)::after {
    content: "|";
    margin: 0 2px;
}

.player-download-button, #playerArtist, #currentTime, #durationTime {
    font-family: 'Inter', sans-serif;    
}


/* --- Estilos para a Nova Barra de Busca na Página Principal --- */

.main-search-form-wrapper {
    max-width: 700px;
    margin: 1.5rem auto 0; /* Espaçamento ajustado */
}

.main-search-form {
    position: relative;
}

.main-search-form .search-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none; /* Garante que o ícone não interfira no clique */
}

.main-search-field {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem; /* Padding esquerdo para o ícone */
    border-radius: 100px;
    border: 2px solid #292B45;
    background-color: #1C1E32;
    color: #E0E0E0;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

.main-search-field:focus {
    border-color: #4D5BEE;
    box-shadow: 0 0 0 4px rgba(77, 91, 238, 0.3);
}

.main-search-field:focus + .search-icon {
    color: #4D5BEE;
}



/* audiosphere/css/search-page-style.css - Versão Simples e Direta */

.audiosphere-simple-search-container {
    max-width: 85rem;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.search-form-wrapper {
    margin-bottom: 3rem;
}

.search-form {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.search-field {
    width: 100%;
    padding: 1.2rem 4rem 1.2rem 1.5rem; /* Aumenta o padding para um visual mais clean */
    border-radius: 100px;
    border: 2px solid #292B45;
    background-color: #1C1E32;
    color: #E0E0E0;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-field:focus {
    border-color: #4D5BEE;
    box-shadow: 0 0 0 4px rgba(77, 91, 238, 0.3);
}

.search-submit {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #4D5BEE 0%, #8E67E5 100%);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-submit:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(77, 91, 238, 0.5);
}

.results-count {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--dark-border);
    text-align: center;
}

.no-results {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    padding: 4rem 0;
}

/* Estilos da paginação - Reutilizados de audiosphere-style.css, mas garantindo consistência */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-container .page-numbers {
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    border-radius: 12px;
    background: rgba(77, 91, 238, 0.1);
    border: 1px solid rgba(77, 91, 238, 0.2);
    color: #4D5BEE;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-container .page-numbers:hover,
.pagination-container .page-numbers.current {
    background: linear-gradient(135deg, #4D5BEE 0%, #8E67E5 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

#stickyCloseBtn {
    position: absolute;
    right: 50%;
    top: -15px;
    background: #292b45;
    border: 1px solid #292b45;
}