CinePlex/css/music.css

426 lines
8.5 KiB
CSS
Raw Normal View History

2025-08-16 10:53:11 +02:00
#music-section {
padding: 2rem;
animation: fadeIn 0.5s ease-in-out;
}
#music-section .section-header {
margin-bottom: 2rem;
}
.music-controls {
display: flex;
gap: 1rem;
align-items: center;
}
.music-search-bar {
position: relative;
min-width: 280px;
}
.music-search-bar .search-input {
width: 100%;
}
.genre-card {
background: var(--gradient);
border-radius: var(--border-radius-md);
padding: 2rem 1rem;
text-align: center;
color: var(--primary);
font-size: 1.2rem;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
box-shadow: 0 5px 15px rgba(0, 224, 255, 0.2);
text-transform: capitalize;
}
.genre-card:hover {
transform: translateY(-5px) scale(1.05);
box-shadow: 0 10px 25px rgba(0, 224, 255, 0.3);
}
.artist-card-spotify {
background: transparent;
border-radius: var(--border-radius-md);
padding: 1rem;
text-align: center;
transition: background-color 0.3s ease;
cursor: pointer;
position: relative;
}
.artist-card-spotify:hover {
background-color: var(--glass);
}
.artist-card-spotify.current-artist {
background-color: var(--glass);
}
.artist-card-img-container {
position: relative;
width: 100%;
padding-top: 100%;
margin-bottom: 1rem;
}
.artist-card-img {
position: absolute;
top: 0;
left: 0;
width: 90%;
height: 90%;
object-fit: cover;
border-radius: 50%;
box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.artist-card-spotify:hover .artist-card-img {
transform: scale(1.05);
}
.artist-card-play-btn {
position: absolute;
bottom: 0;
right: 0;
width: 48px;
height: 48px;
background-color: var(--accent);
color: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
opacity: 0;
transform: translateY(10px) scale(0.8);
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.artist-card-spotify:hover .artist-card-play-btn {
opacity: 1;
transform: translateY(0) scale(1);
}
.artist-card-info {
padding: 0;
}
.artist-card-title-spotify {
font-size: 1rem;
font-weight: 600;
color: var(--text-primary);
margin: 0 0 0.25rem 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.artist-card-subtitle {
font-size: 0.85rem;
color: var(--text-secondary);
text-transform: capitalize;
}
.song-list-header-spotify {
display: flex;
align-items: flex-end;
gap: 1.5rem;
padding: 2rem;
margin-bottom: 2rem;
position: relative;
min-height: 300px;
border-radius: var(--border-radius-lg);
overflow: hidden;
transition: background 0.5s ease;
}
#back-to-artists-btn {
position: absolute;
top: 1rem;
left: 1rem;
z-index: 2;
background: rgba(0,0,0,0.3);
}
#back-to-artists-btn:hover {
background: rgba(0,0,0,0.5);
}
.artist-header-thumb-spotify {
width: 180px;
height: 180px;
border-radius: 50%;
object-fit: cover;
box-shadow: 0 8px 30px rgba(0,0,0,0.5);
z-index: 1;
}
.artist-header-info-spotify {
z-index: 1;
text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.artist-header-type {
font-weight: 700;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.artist-header-info-spotify h1 {
font-size: clamp(2.5rem, 5vw, 4.5rem);
font-weight: 900;
margin: 0;
line-height: 1.1;
font-family: 'Orbitron', sans-serif;
}
.album-group-container-spotify {
margin-bottom: 2.5rem;
}
.album-group-header-spotify {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
padding: 0 1rem;
}
.album-play-btn {
width: 42px;
height: 42px;
background-color: var(--accent);
color: var(--primary);
border: none;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 1.1rem;
transition: transform 0.2s ease, box-shadow 0.2s ease;
margin-left: auto;
}
.album-play-btn:hover {
transform: scale(1.1);
box-shadow: 0 4px 15px rgba(0, 224, 255, 0.4);
}
.album-info-spotify {
display: flex;
flex-direction: column;
}
.album-track-count {
font-size: 0.8rem;
color: var(--text-secondary);
}
.album-group-cover-art-spotify {
width: 50px;
height: 50px;
object-fit: cover;
border-radius: var(--border-radius-sm);
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.album-group-title-spotify {
font-size: 1.2rem;
font-weight: 600;
}
.song-list-grid {
display: grid;
grid-template-columns: 1fr;
gap: 0.25rem;
}
.song-list-grid-header,
.song-grid-row {
display: grid;
grid-template-columns: 40px 1fr 60px;
gap: 1rem;
align-items: center;
padding: 0.75rem 1rem;
border-radius: var(--border-radius-sm);
transition: background-color 0.2s ease-in-out;
}
.song-list-grid-header {
color: var(--text-secondary);
font-size: 0.8rem;
text-transform: uppercase;
border-bottom: 1px solid var(--glass-border);
padding-bottom: 0.5rem;
margin-bottom: 0.5rem;
}
.song-grid-row {
cursor: pointer;
}
.song-grid-row:hover {
background-color: var(--glass);
}
.song-grid-row:hover .track-number {
display: none;
}
.song-grid-row:hover .play-icon-spotify {
display: block;
}
.song-grid-row.current-song {
background-color: rgba(0, 224, 255, 0.1);
}
.song-grid-row.current-song .song-title-spotify { color: var(--accent); }
.song-grid-row.current-song .track-number { display: none; }
.song-grid-row.current-song .play-icon-spotify { display: none; }
.song-grid-row.current-song .playing-indicator { display: flex; }
.song-index {
color: var(--text-secondary);
text-align: center;
position: relative;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
}
.play-icon-spotify {
color: var(--text-primary);
display: none;
}
.playing-indicator {
display: none;
height: 16px;
align-items: flex-end;
gap: 2px;
}
.playing-indicator div {
width: 3px;
background-color: var(--accent);
animation-duration: 1.2s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
animation-name: music-wave;
}
.playing-indicator div:nth-child(1) { height: 10px; animation-delay: -1.2s; }
.playing-indicator div:nth-child(2) { height: 16px; animation-delay: -1.0s; }
.playing-indicator div:nth-child(3) { height: 6px; animation-delay: -0.8s; }
@keyframes music-wave {
50% { height: 2px; }
}
.song-title-artist {
display: flex;
flex-direction: column;
}
.song-title-spotify {
font-weight: 500;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.song-duration-header,
.song-duration {
text-align: right;
color: var(--text-secondary);
font-size: 0.9rem;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
#music-classification-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(10, 10, 15, 0.95);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: var(--text-primary);
padding: 2rem;
padding-bottom: 15vh;
}
.classification-content {
max-width: 500px;
}
.classification-icon {
font-size: 5rem;
color: var(--accent);
margin-bottom: 1.5rem;
animation: spin-vinyl 4s linear infinite;
}
@keyframes spin-vinyl {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.classification-title {
font-family: 'Orbitron', sans-serif;
font-size: 1.8rem;
margin-bottom: 0.5rem;
}
.classification-subtitle {
color: var(--text-secondary);
margin-bottom: 2rem;
font-size: 0.95rem;
}
.classification-progress-bar {
width: 100%;
height: 10px;
background-color: var(--glass);
border-radius: 5px;
overflow: hidden;
margin-bottom: 0.5rem;
}
.classification-progress-fill {
width: 0%;
height: 100%;
background: var(--gradient);
border-radius: 5px;
transition: width 0.3s ease-in-out;
}
.classification-progress-text {
display: flex;
justify-content: space-between;
font-size: 0.85rem;
color: var(--text-secondary);
margin-bottom: 1.5rem;
font-weight: 500;
}
.classification-status-text {
min-height: 1.5em;
font-style: italic;
color: var(--accent);
transition: opacity 0.3s;
}