/* Reset básico e fonte */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Fundo geral do body */
body {
    background: linear-gradient(175deg, #ffffff, #7a7a7a, #ffffff);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(90deg, #ffffff, #7a7a7a, #ffffff);
    color: white;
    padding: 1rem;
    text-align: center;
}

header h1 {
    font-size: 2rem;
}

/* Navegação */
nav {
    background: linear-gradient(90deg, #ffffff, #7a7a7a, #ffffff);
    padding: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #31312f;
}

/* Container da nav (links + busca) */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Barra de busca */
.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    right: 1rem;
}

.search-form input[type="text"] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    background-color: white;
    color: #333;
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s ease;
}

.search-form button {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background-color: #555;
}

/* Container de álbuns */

        .album-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding: 2rem;
            gap: 2rem;
        }

        .new-album-card {
    background: linear-gradient(135deg, #ffffff, #f5ffca, #ffffff, #ffedd1, #ffffff);
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 115, 230, 0.2);
    width: 250px;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.new-album-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 115, 230, 0.4);
}

/* Brilho animado (hover) */
.new-album-card::before,
.new-album-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Reflexo */
.new-album-card::before {
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: skewX(-25deg);
}

/* Estrelinhas */
.new-album-card::after {
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px),
                      radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Ativa brilho e estrelas no hover */
.new-album-card:hover::before {
    animation: shine 1.5s ease forwards;
    opacity: 1;
}

.new-album-card:hover::after {
    animation: sparkle 3s linear infinite;
    opacity: 0.5;
}

        



/* Estilo básico do cartão */
.album-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    min-height: 380px; /* nova altura mínima */
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.album-card:hover {
    transform: scale(1.05);
}

/* Cartão especial com dourado, brilho e estrelinhas */
.special-album-card {
    background: linear-gradient(135deg, #FFD700, #FFEF8A, #FFC107, #FFB300, #FFA000);
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    width: 250px;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.special-album-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.4);
}

/* Brilho animado (somente no hover) */
.special-album-card::before,
.special-album-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Reflexo */
.special-album-card::before {
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: skewX(-25deg);
}

/* Estrelinhas */
.special-album-card::after {
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    background-image: radial-gradient(#fff 1px, transparent 1px),
                      radial-gradient(#fff 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Ativa brilho e estrelas no hover */
.special-album-card:hover::before {
    animation: shine 1.5s ease forwards;
    opacity: 1;
}

.special-album-card:hover::after {
    animation: sparkle 3s linear infinite;
    opacity: 0.6;
}

/* Animação de brilho */
@keyframes shine {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* Animação das estrelas */
@keyframes sparkle {
    0% {
        background-position: 0 0, 10px 10px;
        opacity: 0.6;
    }
    50% {
        background-position: 0 -10px, 10px 0;
        opacity: 0.8;
    }
    100% {
        background-position: 0 -20px, 10px -10px;
        opacity: 0.6;
    }
}

/* Estilo das imagens */
.album-card img,
.special-album-card img,
.new-album-card img {
    display: block;          /* para margin auto funcionar */
    margin: 0 auto 1rem;     /* centraliza horizontalmente e dá margem inferior */
    max-width: 200px;        /* máximo de largura */
    width: 100%;             /* para ser responsivo, respeitando o max-width */
    height: auto;
    border-radius: 8px;
}

/* Títulos */
.album-card h3,
.special-album-card h3,.new-album-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Parágrafos */
.album-card p,
.special-album-card p,.new-album-card p {
    color: #555;
    font-size: 0.9rem;
}

/* Subtítulos */
.album-card h5,
.special-album-card h5,.new-album-card h5 {
    font-size: 0.85rem;
    color: #333;
    margin: 0.5rem 0;
}
/* Contêiner de nota circular */
.rating-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000; /* Cor de fundo - pode variar por nota */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.album-card p,
.special-album-card p,
.new-album-card p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem; /* Espaço fixo entre quote e círculo da nota */
}






/* Cores alternativas por faixa de nota (exemplo opcional) */

.rating-circle.excellent {
    background: linear-gradient(#ffdd00, rgb(255, 209, 110), #ffdd00); ;
    color: #ffffff;
}

.rating-circle.good {
    background: #2a9b66;
    background: linear-gradient(135deg, #008044, #00cc8f, #00b13b);
}

.rating-circle.average {
    background: #c99400;
    color: #ffffff;
}

.rating-circle.poor {
    background: #ff6200;
}

/* Rodapé */
footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 1rem;
    width: 100%;
    position: relative;
    margin-top: auto;
    min-height: 100px;
    flex-shrink: 0;
}

/* Círculo da nota */
.rating-circle {
    width: 75px;
    height: 75px;
    border-radius: 70%;
    background: "";
    color: '';
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    flex-shrink: 0;  /* >>> Evita que o círculo encolha */
}



.rating-circle.average:hover,
.rating-circle.poor:hover,
.rating-circle.good:hover,
.rating-circle.excellent:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.4);
}
.review-container {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #e0e0e0;
    text-align: center;
    transition: transform 0.3s ease;
}



.review-container img {
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.review-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(46, 46, 46, 0.4);
}

.review-container p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-container h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: #000;
}

.tracklist-container {
    background: linear-gradient(90deg#ffffff, #e3e3e3, #ffffff);  ;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tracklist-container h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #222;
}

.tracklist {
    list-style: decimal inside;
    padding-left: 0;
    margin: 0;
    text-align: left;
}

.tracklist li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
    color: #333;
}

.tracklist li:last-child {
    border-bottom: none;
}

.tracklist-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.voltar {
    display: inline-block;
    margin-top: 2rem;
    color: #000000;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 1rem;
    width: 100%;
    position: relative;
    margin-top: auto;
    min-height: 100px;
    flex-shrink: 0;
}

/* Efeito Tilt Genérico */
.tilt-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-hover:hover {
    transform: perspective(800px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.section-title {
    font-size: 1.8rem;
    margin: 2rem auto 1rem;
    text-align: center;
    border-left: none;
    padding: 0;
    font-weight: bold;
    color: #222;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #222;
    margin: 8px auto 0;
    border-radius: 2px;
}

.spotify-container {
    background: linear-gradient(75deg#ffffff, #6c6c6c, #ffffff);  ;
    border: 1px solid #ddd;
    border-radius: 9px;
    padding: 1.5rem;
    margin: 3rem auto;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.spotify-container h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #222;
}

.spotify-container p {
    list-style: decimal inside;
    padding-left: 0;
    margin: 0;
    text-align: left;
}

.spotify li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
    color: #333;
}

.spotify li:last-child {
    border-bottom: none;
}

.spotify-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}
.capa3d-container {
    width: 300px;
    height: 300px;
    margin: auto;
}
canvas {
    display: block;
}
