* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --secondary: #ff00ff;
    --dark: #0a0a0f;
    --darker: #050508;
    --light: #ffffff;
    --accent: #7c3aed;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Canvas Background */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite;
}

.hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero .tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Section Styling */
section {
    position: relative;
    padding: 3rem 5%;
    z-index: 1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Albums Grid */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.album-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid rgba(0, 212, 255, 0.1);
    cursor: pointer;
}

.album-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.4s;
}

.album-card:hover .album-cover {
    transform: scale(1.1);
}

.album-info {
    padding: 1.5rem;
}

.album-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.album-year {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Spotify Player */
.spotify-player {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.spotify-player iframe {
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.player-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 352px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tag {
    padding: 0.7rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 30px;
    font-weight: 500;
    color: var(--primary);
}

/* Social Links */
.social-section {
    background: rgba(0, 212, 255, 0.03);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

/* Footer */
footer {
    position: relative;
    padding: 3rem 5%;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.5));
    }
}

/* --- Navigation Enhancements (Burger & Portal) --- */

/* Portal Button Style */
.nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    color: var(--light) !important;
    /* Override default link color */
}

/* Remove the underline effect from the portal button */
.nav-back::after {
    display: none;
}

.nav-back svg {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    stroke: var(--primary);
}

.nav-back span {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-back:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.nav-back:hover svg {
    transform: translateX(-4px);
    filter: drop-shadow(0 0 5px var(--primary));
}

/* Hamburger Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background: var(--light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
    background: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
}

/* Responsive Navigation (Max-width 1024px to match RumbleKit) */
@media (max-width: 1024px) {
    nav {
        padding: 1rem 5%;
        justify-content: space-between;
    }

    .logo {
        z-index: 2000;
        /* Ensure logo stays above menu overlay if desired, or let menu cover it depending on preference. Keeping it typically visible or menu covers it. */
        position: relative;
        font-size: 1rem;
        max-width: 70%;
        /* Prevent overlapping with burger */
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 8, 0.98);
        /* backdrop-filter: blur(20px); */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1500;
        padding-bottom: 2rem;
        /* Account for mobile browser bars */
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
        transition-delay: 0s;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for list items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links a {
        font-size: 1.5rem;
        display: block;
    }

    .nav-back {
        padding: 0.8rem 2rem;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.05);
    }



    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Mobile Specific Layout */
@media (max-width: 768px) {
    .albums-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 80px;
        align-items: flex-start;
        /* Align top to prevent centering overlap if screen is short */
    }

    .hero-content {
        margin-top: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}