@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root {
    --green: #0f0;
    --red: #f00;
    --light: #636363;
    --gray: #222;
    --white: #ffff;
    --blue: #007bff;
    --yellow: #ffc400;
    --dark: #000;
}

/* Estilo Geral */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    /* Padrão Regular */
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    /* Organiza os elementos em coluna */
    min-height: 100vh;
    /* Garante que o conteúdo ocupe toda a altura da janela */
}

/* Estilo do Header */
.header {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Garante que o fundo não "vaze" */
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imgs/background-player.png');
    background-size: cover;
    background-position: center;
    filter: grayscale(10%) blur(0px);
    /* Filtro aplicado somente no fundo */
    z-index: -1;
    /* Mantém o fundo atrás do conteúdo */
}

/* Estilo da Logo */
.logo img {
    width: 400px;
    /* Define a largura máxima da logo */
    height: auto;
    /* Mantém a proporção da imagem */
}

/* Pesos personalizados */
.montserrat-bold {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.montserrat-light {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

/* Estilos Adicionais */
h1,
h2,
h3 {
    display: contents;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
    letter-spacing: -1px
}

h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
    letter-spacing: -1px
}

/* Estilos Adicionais */
p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    margin: 5px;
    color: #fff;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background-color: #111;
    padding: 10px 20px;
}

.lancamentos-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111;
    padding: 5px 10px;
    height: 55px;
}

.search-bar {
    padding: 10px;
    width: 30%;
    border-radius: 5px;
    font-size: 16px;
    background: linear-gradient(46deg, rgba(0, 170, 0, 0), rgb(0 170 0 / 21%));
    border: 1px solid rgb(0 255 0 / 34%);
    color: var(--green);
    font-weight: bold;

}


/* Logo */
.logo {
    text-align: center;
    padding: 20px 0;
}



/* Seção de Últimos Lançamentos */
.latest-releases {
    text-align: center;
}

.latest-releases h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.cd-grid {
    display: flex;
    grid-template-columns: repeat(6, 2fr);
    gap: 20px;
    padding: 20px;
    justify-content: center;
    justify-items: stretch;
    width: 90%;
    margin: auto;
    align-items: center;
    flex-wrap: wrap;
}

.cd-columns {
    display: grid;
    grid-template-columns: repeat(6, 2fr);
    gap: 20px;
    padding: 20px;
    justify-content: center;
    justify-items: center;
    width: 90%;
    margin: auto;
}

.cd-row {
    display: flex;
    gap: 20px;
    padding: 20px;
    justify-content: space-around;
    justify-items: end;
    width: 90%;
    margin: auto;
    align-items: flex-end;
    align-content: stretch;
    flex-wrap: wrap;

}

.columns {
    display: flex;
    align-content: space-around;
    justify-content: space-evenly;
}

.cd-row img {
    width: 200px !important;
}






.cd-card {
    background-color: #222;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    justify-items: center;
    width: 200px;
    opacity: 0;
    /* Inicia invisível */
    transform: translateY(20px);
    /* Movido para baixo */
    transition: opacity 0.5s ease, transform 0.5s ease;

}



.cd-card.loading {
    opacity: 0;
    transform: translateY(20px);
}

.cd-card.loaded {
    opacity: 1;
    transform: translateY(0);
    /* Volta à posição original */
}

.cd-image {
    width: 100%;
    height: 200px;
    background-color: #444;
    border-radius: 10px;
    margin-bottom: 10px;
}

.cd-image img {
    height: 200px;
    border-radius: 10px;
}

.card-info-cd {
    background-color: #222;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    justify-items: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    /* Centraliza horizontalmente */
    overflow: hidden;
    /* Garante que elementos não vazem */
}

/* Estilo da Logo */
.card-info-cd-image img {
    border-radius: 10px;
    max-width: 400px;
    display: flex;
}

/* Estilo das Informações */
.card-info-cd-desc {
    text-align: right;
    /* Alinha o texto à direita */
    margin: auto 5% auto auto;
}

/* Para telas menores que 1200px */
@media (max-width: 1920px) {

    .card-info-cd-image img {
        max-width: clamp(300px, 30vw, 400px);

    }
}

/* Para telas menores que 1200px */
@media (max-width: 800px) {

    .card-info-cd {
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;
        width: fit-content;
    }

    .card-info-cd-desc {
        text-align: center;
        margin: 20px auto;
    }

}

/* Para telas menores que 900px */
@media (max-width: 900px) {

    .card-info-cd {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: flex-start;
        width: fit-content;
        margin: auto;
    }

    .card-info-cd-desc {
        text-align: center;
        margin: 20px auto;
    }

}


/* Rodapé */
.footer {
    background: linear-gradient(to bottom, #000, #212121);
    /* Degradê do preto ao cinza escuro */
    padding: 20px 0;
    /* Espaçamento interno */
    color: #fff;
    /* Texto branco */

}

.footer-container {
    display: flex;
    /* Ativa o layout em linha */
    justify-content: space-between;
    /* Espaço entre logo e informações */
    align-items: center;
    /* Centraliza verticalmente os itens */
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    /* Centraliza horizontalmente */

}

/* Estilo da Logo */
.footer-logo img {
    max-width: 250px;
    /* Ajuste o tamanho da logo */
    height: auto;
    /* Mantém proporções da logo */
}

/* Estilo das Informações */
.footer-info {
    text-align: right;
    /* Alinha o texto à direita */
}

.footer-contact {
    width: 30px;
}

.icons-contato {
    display: flex;
    align-content: space-around;
    flex-direction: row;
    justify-content: flex-end;
    gap: 20px;
}

.footer-info h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #e0e0e0;
    /* Cor mais clara para o título */
}

.footer-info p {
    margin: 5px 0;
    font-size: 16px;
    color: #b0b0b0;
    /* Cor mais clara para o texto */
}

/* Cores de textos */
.text-light {
    color: var(--light) !important;
}

.text-red {
    color: var(--red) !important;
}

.text-green {
    color: var(--green) !important;
}

.text-gray {
    color: var(--gray) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-blue {
    color: var(--blue) !important;
}

.text-yellow {
    color: var(--yellow) !important;
}

/* Cores de backgrounds */
.bg-light {
    background-color: var(--light) !important;
}

.bg-red {
    background-color: var(--red) !important;
}

.bg-green {
    background-color: var(--green) !important;
}

.bg-gray {
    background-color: var(--gray) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

.bg-blue {
    background-color: var(--blue) !important;
}

.bg-yellow {
    background-color: var(--yellow) !important;
    color: black !important;
}

.bg-neon-green {
    background: linear-gradient(46deg, rgba(0, 170, 0, 0), rgb(0 170 0 / 30%));
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7), 0 0 30px rgba(0, 255, 0, 0.4);
    border: 1px solid rgb(0 255 0 / 34%);
}

.bg-neon-blue {
    background: linear-gradient(46deg, rgba(0, 170, 0, 0), rgba(0, 108, 170, 0.21));
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.7), 0 0 30px rgba(0, 132, 255, 0.4);
    border: 1px solid rgba(0, 132, 255, 0.34)
}

.bg-neon-yellow {
    background: linear-gradient(46deg, rgba(0, 170, 0, 0), rgba(145, 170, 0, 0.21));
    box-shadow: 0 0 15px rgba(229, 255, 0, 0.7), 0 0 30px rgba(238, 255, 0, 0.4);
    border: 1px solid rgba(251, 255, 0, 0.34)
}

.bg-neon-light {
    background: linear-gradient(46deg, rgba(149, 163, 149, 0), rgba(222, 226, 228, 0.21));
    box-shadow: 0 0 15px rgba(209, 209, 209, 0.7), 0 0 30px rgba(244, 244, 245, 0.4);
    border: 1px solid rgba(220, 220, 221, 0.34)
}

.text-gradient-green {
    background: linear-gradient(46deg, #01c201, #00ff00);
    /* Gradiente verde */
    -webkit-background-clip: text;
    /* Aplica o gradiente ao texto */
    -webkit-text-fill-color: transparent;
    /* Deixa o preenchimento transparente */
    text-align: center;
    /* Centraliza o texto */
}

.text-gradient-blue {
    background: linear-gradient(46deg, #007bffd2, #007bff);
    /* Gradiente verde */
    -webkit-background-clip: text;
    /* Aplica o gradiente ao texto */
    -webkit-text-fill-color: transparent;
    /* Deixa o preenchimento transparente */
    text-align: center;
    /* Centraliza o texto */
}

.text-gradient-yellow {
    background: linear-gradient(46deg, #ffc400cc, #ffc400);
    /* Gradiente verde */
    -webkit-background-clip: text;
    /* Aplica o gradiente ao texto */
    -webkit-text-fill-color: transparent;
    /* Deixa o preenchimento transparente */
    text-align: center;
    /* Centraliza o texto */
}

.text-gradient-light {
    background: linear-gradient(46deg, #636363cb, #636363);
    /* Gradiente verde */
    -webkit-background-clip: text;
    /* Aplica o gradiente ao texto */
    -webkit-text-fill-color: transparent;
    /* Deixa o preenchimento transparente */
    text-align: center;
    /* Centraliza o texto */
}

/* Container do Login */
.login-container {

    background-color: #333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 20px auto 20px;
}

/* Título */
.login-container h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
}

/* Campos do Formulário */
.form-group {
    margin-bottom: 15px;
    text-align: left;
    margin: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #ddd;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    background-color: #444;
    color: #fff;
}

input::placeholder {
    color: var(--green);
}

.form-group select {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    background-color: #444;
    color: #fff;
}

input:focus,
textarea:focus {
    outline: none;
    /* Remove o contorno padrão */
    box-shadow: none;
    /* Remove qualquer sombra padrão */
}

/* Link de Cadastro */
.signup-link {
    margin-top: 20px;
    font-size: 14px;
}

.signup-link a {
    color: #4caf50;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}


.main-content {
    display: flex;
    width: 90%;
    margin: auto;
    flex: 1;
    flex-direction: column;
}

/* Blocos de Informações */
.card {
    background-color: #222;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 20px;
}

/* Contêiner do Card Pai */
.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
}

/* Blocos de Informações */
.cards-info {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px;
    justify-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

.card-info {
    background-color: #22222288;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 100%;

}

.card-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}



/* Blocos de Informações */
.cards-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Responsivo */
    gap: 10px;
    background-color: #111;
    border-radius: 5px;
    margin: auto 20px;
}

.card-menu-item {
    display: flex;
    /* Layout flex no card */
    align-items: center;
    /* Alinha o conteúdo verticalmente */
    justify-content: start;
    /* Alinha os itens à esquerda */
    background-color: #222;
    /* Cor de fundo do card */
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    /* Alinha o texto à esquerda */
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 20px 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Estilo para o conteúdo interno do card */
.card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Espaço entre a imagem e o texto */
}

/* Estilo da imagem */
.card-icon {
    width: 40px;
    /* Largura da imagem */
    height: 40px;
    /* Altura da imagem */
    object-fit: contain;
    /* Mantém as proporções da imagem */
}

/* Efeito de Hover */
.card-menu-item:hover {
    transform: translateY(-5px);
    /* Eleva o card */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    /* Aumenta a sombra */
    background-color: #333;
    /* Muda a cor do fundo */
}



.btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    display: contents;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    display: inline-block;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}



/* Estilo para o Botão de Upload Customizado */
.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.custom-file-upload:hover {
    background-color: #0056b3;
}

/* Oculta o campo padrão de upload */
#cd-file {
    display: none;
}


.progress-container {
    width: 95%;
    background-color: var(--light);
    border-radius: 5px;
    margin: 10px auto;
    text-align: center;

}

.progress-bar {
    height: 20px;
    width: 0%;
    background-color: var(--green);
    border-radius: 5px;
    text-align: center;
    color: var(--dark);
    font-weight: bold;
}

.pd-0 {
    padding: 0px !important;
}

.pd-5 {
    padding: 5px !important;
}

.pd-10 {
    padding: 10px !important;
}

.pd-15 {
    padding: 15px !important;
}

.m-0 {
    margin: 0px !important;
}

.m-5 {
    margin: 5px !important;
}

.m-10 {
    margin: 10px !important;
}

.m-15 {
    margin: 15px !important;
}

.gap-0 {
    gap: 0px !important;
}

.gap-5 {
    gap: 5px !important;
}

.gap-10 {
    gap: 10px !important;
}

.gap-15 {
    gap: 15px !important;
}

.size-90 {
    width: 90% !important;
    margin: 20px auto !important;
}

.size-70 {
    width: 70% !important;
    margin: 20px auto !important;
}

.size-50 {
    width: 50% !important;
    margin: 20px auto !important;
}

.size-30 {
    width: 30% !important;
    margin: 20px auto !important;
}


.size-all-90 {
    width: 90% !important;
    height: 90% !important;
    margin: 20px auto !important;
}

.size-all-70 {
    width: 70% !important;
    height: 70% !important;
    margin: 20px auto !important;
}

.size-all-50 {
    width: 50% !important;
    height: 50% !important;
    margin: 20px auto !important;
}

.size-all-30 {
    width: 30% !important;
    height: 30% !important;
    margin: 20px auto !important;
}

.acessos-diarios {
    width: 80%;
    height: 300px;
    margin: 10px auto !important;
}


/* Player Musicas */


.player-container {
    width: 30%;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.player-container img {
    width: 70%;
    border-radius: 50%;
}

.track-info {
    margin-bottom: 20px;
}

.track-info h2 {
    font-size: 18px;
    margin: 5px 0;
}

.controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.controls button {
    cursor: pointer;
    transition: background 0.3s;
}

.controls button:hover {
    background: #00ff00;
}

.progress-container {
    position: relative;
    width: 100%;
    height: 5px;
    background: #333;
    border-radius: 2.5px;
    margin: 20px 0;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: #00ff00;
    border-radius: 2.5px;
    width: 0;
}

.playlist {
    margin: 20px 0;
    list-style: none;
    padding: 0;
}

.playlist li {
    padding: 10px;
    background: #222;
    border-radius: 4px;
    margin: 5px 0;
    cursor: pointer;

}

.playlist li:hover {
    background: #333;
    color: var(--green);
}

.playlist .current {
    background: #00ff00;
    color: var(--dark);
}


#volume-slider {
    display: none;
    width: 100px;
    margin-left: 10px;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Estilo da barra do slider */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 4px;
    background: #666;
    /* Cor do trilho */
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

/* Estilo do botão (thumb) no slider */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00ff00;
    /* Cor do botão */
    cursor: pointer;
    border: 2px solid #444;
    /* Borda para melhor contraste */
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00ff00;
    /* Cor do botão no Firefox */
    cursor: pointer;
    border: 2px solid #444;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #444;
    /* Cor do trilho */
    border-radius: 10px;
}

input[type="range"]::-moz-range-track {
    background: #444;
    /* Cor do trilho no Firefox */
    border-radius: 10px;
}


.aling-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Para telas menores que 1200px */
@media (max-width: 1450px) {
    .cd-columns {
        grid-template-columns: repeat(5, 1fr);
        /* 4 itens por linha */
    }
}

/* Para telas menores que 900px */
@media (max-width: 1200px) {
    .cd-columns {
        grid-template-columns: repeat(4, 1fr);
        /* 3 itens por linha */
    }

    .player-container {
        width: clamp(50%, 2vw, 90%);
        padding: clamp(20px, 50%, 5px);
        margin: none;
    }


}

/* Para telas menores que 600px */
@media (max-width: 970px) {
    .cd-columns {
        grid-template-columns: repeat(3, 1fr);
        /* 2 itens por linha */
    }

    html {
        font-size: 14px;
    }

    .content-player {
        width: clamp(95%, 10vw, 50%);
    }

    .main-content:not(.ignore-scaling) img {
        max-width: clamp(250px, 50%, 90%);
    }


}

/* Para telas menores que 400px */
@media (max-width: 720px) {
    .cd-columns {
        grid-template-columns: repeat(2, 1fr);
        /* 1 item por linha */
    }

    .main-content {
        width: clamp(70% 2vw 90%);
    }



    .footer-logo img {
        max-width: clamp(100px, 30vw, 250px);
        height: 100%;
    }

    html {
        font-size: 13px;
    }

    .footer-info p {
        font-size: 13px;
    }

    .player-container {
        width: clamp(80%, 2vw, 100%);
        padding: clamp(20px, 50%, 5px);
        margin: none;
    }

}


/* Para telas menores que 400px */
@media (max-width: 590px) {
    .cd-card {
        min-width: 50%;
    }

    .cd-image {
        width: 100%;
        background-color: #444;
        border-radius: 10px;
        margin-bottom: 10px;
        overflow: hidden;
        /* Garante que partes fora da div sejam cortadas */
        display: flex;
        /* Centraliza a imagem */
        justify-content: center;
        align-items: center;
    }

    .cd-image img {
        width: 150% !important;
        object-fit: cover;
        /* Faz a imagem preencher o espaço mantendo proporções */
        border-radius: 10px;
        /* Aplica o mesmo border-radius da div */
    }

}

/* Para telas menores que 400px */
@media (max-width: 490px) {
    .cd-columns {
        grid-template-columns: repeat(1, 1fr);
        /* 1 item por linha */
    }

    html {
        font-size: 11px;
    }

    .footer-info p {
        font-size: 11px;
    }

    .top-bar {
        display: flex;
        background-color: #111;
        padding: 20px 10px;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }

    .btn-top-bar {
        width: 100% !important;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: flex-start;
        margin: auto
    }

    .search-bar {
        width: 90% !important;
        padding: none !important;
    }
}