:root {
    --bg-dark: #0a0e14;
    --bg-mid: #151b24;
    --bg-light: #1f2937;
    --text-primary: #e8e6e3;
    --text-secondary: #9ca3af;
    --accent: #7dd3fc;
    --accent-dim: #38bdf8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(125, 211, 252, 0.15), transparent),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px;
}

header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.bio {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-mid);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 6px;
    color: var(--accent);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.1), transparent);
    transition: left 0.5s ease;
}

.platform-link:hover::before {
    left: 100%;
}

.platform-link:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(125, 211, 252, 0.15);
}

.section {
    margin: 100px 0;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.6s forwards;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.track-card {
    background: var(--bg-mid);
    border: 1px solid rgba(125, 211, 252, 0.1);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.track-card:hover {
    border-color: rgba(125, 211, 252, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.track-card:hover::before {
    opacity: 1;
}

.track-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.soundcloud-embed {
    width: 100%;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-section {
    background: var(--bg-mid);
    border: 1px solid rgba(125, 211, 252, 0.15);
    border-radius: 16px;
    padding: 50px;
    margin: 80px 0;
    text-align: center;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--accent);
}

/* Listen Everywhere section */
.listen-everywhere {
    text-align: center;
    margin-top: 40px;
}

.listen-everywhere p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

footer {
    text-align: center;
    margin-top: 120px;
    padding: 40px 0;
    border-top: 1px solid rgba(125, 211, 252, 0.1);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-tagline {
    margin-top: 10px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .platforms {
        gap: 15px;
    }

    .platform-link {
        padding: 10px 18px;
        font-size: 0.75rem;
    }

    .tracks-grid {
        grid-template-columns: 1fr;
    }

    .featured-section {
        padding: 30px 20px;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .track-card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease-out forwards;
    }

    .track-card:nth-child(1) { animation-delay: 0.1s; }
    .track-card:nth-child(2) { animation-delay: 0.2s; }
    .track-card:nth-child(3) { animation-delay: 0.3s; }
    .track-card:nth-child(4) { animation-delay: 0.4s; }
    .track-card:nth-child(5) { animation-delay: 0.5s; }
    .track-card:nth-child(6) { animation-delay: 0.6s; }
}
