/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
}

/* Custom cursor */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff6b6b, transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

/* Particles background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: #ff6b6b;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Audio visualizer */
.visualizer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 100;
}

.bar {
    width: 4px;
    height: 20px;
    background: linear-gradient(to top, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    animation: visualize 0.8s infinite ease-in-out;
}

.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }
.bar:nth-child(6) { animation-delay: 0.5s; }
.bar:nth-child(7) { animation-delay: 0.6s; }
.bar:nth-child(8) { animation-delay: 0.7s; }
.bar:nth-child(9) { animation-delay: 0.8s; }
.bar:nth-child(10) { animation-delay: 0.9s; }

@keyframes visualize {
    0%, 100% { height: 20px; }
    50% { height: 60px; }
}

/* Main container */
.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(4rem, 12vw, 12rem);
    line-height: 0.8;
    margin-bottom: 2rem;
    position: relative;
}

.title-line {
    display: block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    font-weight: 300;
}

.play-button {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.play-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.play-button:hover .play-icon {
    transform: scale(1.2);
}

/* Floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-note {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 107, 107, 0.6);
    animation: floatNote 8s infinite ease-in-out;
}

.floating-note:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-note:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-note:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.floating-note:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes floatNote {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-30px) rotate(360deg); opacity: 1; }
}

/* Playlists section */
.playlists-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.7;
    font-weight: 300;
}

.playlists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.playlist-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.playlist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.playlist-card:hover::before {
    left: 100%;
}

.playlist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
}

.playlist-header {
    margin-bottom: 1rem;
}

.playlist-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ff6b6b;
}

.playlist-description {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.4;
}

.playlist-embed {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.playlist-card:hover .playlist-embed {
    transform: scale(1.02);
}

/* Interactive elements */
.interactive-elements {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vinyl-record {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #1a1a1a 30%, #333 31%, #333 40%, #1a1a1a 41%);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: spin 10s linear infinite;
}

.vinyl-record:hover {
    transform: scale(1.1);
    animation-duration: 2s;
}

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 50%;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mood-selector {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 200px;
}

.mood-selector h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #ff6b6b;
}

.mood-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mood-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.mood-btn:hover,
.mood-btn.active {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    transform: translateX(5px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 4rem;
}

.footer-content p {
    margin-bottom: 1rem;
    opacity: 0.7;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: scale(1.2) rotate(10deg);
}

/* Cursor trail */
.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #ff6b6b;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .interactive-elements {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin: 2rem 0;
    }
    
    .playlists-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .mood-selector {
        min-width: auto;
    }
    
    .mood-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: white;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}
