/* ================================
   LEGACY MUSIC HUB
   Main Styles
   Theme: Crimson Red × Black × White
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #050505;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ================================
   HEADER
================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 7%;

    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid #241010;

    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 4px;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 4px;
    color: #777;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    position: relative;

    font-size: 14px;
    color: #aaa;

    transition: color 0.2s;
}

.nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #e50914;

    transition: width 0.2s;
}

.nav a:hover {
    color: #fff;
}

.nav a:hover::after {
    width: 100%;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 80vh;

    display: flex;
    align-items: center;

    padding: 80px 7%;

    background:
        radial-gradient(
            circle at 82% 42%,
            rgba(229, 9, 20, 0.24) 0%,
            rgba(120, 0, 10, 0.12) 24%,
            rgba(20, 5, 6, 0.45) 42%,
            #050505 72%
        );

    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";

    position: absolute;
    width: 500px;
    height: 500px;

    right: -180px;
    top: 20%;

    background: rgba(229, 9, 20, 0.08);

    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-label {
    color: #e50914;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(55px, 9vw, 110px);

    line-height: 0.95;
    letter-spacing: -3px;

    font-weight: 900;
}

.hero h1 span {
    color: #e50914;
}

.hero-description {
    max-width: 520px;

    margin-top: 30px;

    color: #aaa;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 35px;
}

.btn {
    padding: 14px 24px;

    border-radius: 5px;

    font-weight: bold;
    font-size: 14px;

    transition:
        transform 0.2s,
        background 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #e50914;
    color: #ffffff;

    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.18);
}

.btn-primary:hover {
    background: #ff1622;

    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

.btn-secondary {
    border: 1px solid #555;
    color: #fff;

    background: transparent;
}

.btn-secondary:hover {
    border-color: #e50914;
    color: #fff;
}


/* ================================
   SECTIONS
================================ */

.section {
    padding: 90px 7%;
}

.dark-section {
    background: #0a0a0a;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 35px;
}

.section h2 {
    font-size: 40px;
    line-height: 1;
}

.view-all {
    color: #999;
    font-size: 14px;

    transition: color 0.2s;
}

.view-all:hover {
    color: #e50914;
}


/* ================================
   MUSIC CARDS
================================ */

.music-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.music-card {
    background: #101010;

    border: 1px solid #242020;
    border-radius: 10px;

    overflow: hidden;

    transition:
        transform 0.25s,
        border-color 0.25s,
        box-shadow 0.25s;
}

.music-card:hover {
    transform: translateY(-5px);

    border-color: #7a1017;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(229, 9, 20, 0.10);
}


/* ================================
   COVER / MIC HOVER
================================ */

.cover-placeholder {
    position: relative;

    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(229, 9, 20, 0.12),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #242020,
            #0b0b0b
        );

    color: #e50914;

    font-size: 70px;

    cursor: pointer;
}


/* Dark overlay */

.cover-placeholder::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(229, 9, 20, 0.30),
            rgba(0, 0, 0, 0.82)
        );

    opacity: 0;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;

    transform: scale(1.1);

    pointer-events: none;
}


/* Red glow */

.cover-placeholder::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(229, 9, 20, 0.20);

    filter: blur(45px);

    opacity: 0;

    transform: scale(0.5);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;

    pointer-events: none;
}


/* Original symbol */

.cover-symbol {
    position: relative;
    z-index: 2;

    transition:
        opacity 0.25s ease,
        transform 0.35s ease;
}


/* ================================
   MIC HOVER ELEMENT
================================ */

.mic-hover {
    position: absolute;

    inset: 0;

    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;

    opacity: 0;

    transform: scale(0.75);

    transition:
        opacity 0.3s ease,
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);

    pointer-events: none;
}


/* Microphone */

.mic-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 85px;
    height: 85px;

    border: 2px solid #e50914;

    border-radius: 50%;

    background: rgba(5, 5, 5, 0.65);

    color: #ffffff;

    font-size: 38px;

    box-shadow:
        0 0 0 0 rgba(229, 9, 20, 0.4),
        0 0 35px rgba(229, 9, 20, 0.35);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Hover label */

.mic-text {
    color: #ffffff;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 3px;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.8);
}


/* ================================
   HOVER STATE
================================ */

.music-card:hover .cover-placeholder::before {
    opacity: 1;

    transform: scale(1);
}

.music-card:hover .cover-placeholder::after {
    opacity: 1;

    transform: scale(1);
}

.music-card:hover .cover-symbol {
    opacity: 0;

    transform: scale(1.35);
}

.music-card:hover .mic-hover {
    opacity: 1;

    transform: scale(1);
}

.music-card:hover .mic-icon {
    transform: scale(1.05);

    box-shadow:
        0 0 0 10px rgba(229, 9, 20, 0.04),
        0 0 45px rgba(229, 9, 20, 0.55);
}


/* ================================
   MUSIC INFO
================================ */

.music-info {
    padding: 20px;
}

.music-info h3 {
    font-size: 20px;
}

.music-info p {
    margin-top: 5px;

    color: #888;
    font-size: 14px;
}

.play-button {
    display: inline-block;

    margin-top: 18px;

    border: 1px solid #444;
    background: transparent;

    color: #fff;

    padding: 9px 15px;

    border-radius: 5px;

    cursor: pointer;

    transition:
        border-color 0.2s,
        background 0.2s,
        color 0.2s;
}

.play-button:hover {
    border-color: #e50914;
    background: #e50914;
    color: #fff;
}


/* ================================
   VIDEO / YOUTUBE
================================ */

.youtube-container {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border: 1px solid #241010;

    border-radius: 12px;

    background: #000;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(229, 9, 20, 0.05);
}

.youtube-container iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


.video-info {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;

    margin-top: 25px;

    padding: 25px;

    background: #101010;

    border: 1px solid #242020;

    border-radius: 10px;
}

.video-info h3 {
    margin-top: 8px;

    font-size: 25px;
}

.video-info p:not(.episode-number) {
    margin-top: 8px;

    color: #888;

    max-width: 650px;
}

.video-actions {
    display: flex;

    gap: 12px;

    flex-shrink: 0;
}


/* ================================
   VIDEO MOBILE
================================ */

@media (max-width: 800px) {

    .video-info {
        flex-direction: column;

        align-items: flex-start;
    }

    .video-actions {
        width: 100%;

        flex-wrap: wrap;
    }

}


/* ================================
   EPISODES
================================ */

.episode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.episode-card {
    padding: 30px;

    border: 1px solid #242020;
    border-radius: 10px;

    background: #101010;

    transition:
        transform 0.25s,
        border-color 0.25s,
        box-shadow 0.25s;
}

.episode-card:hover {
    transform: translateY(-4px);

    border-color: #7a1017;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(229, 9, 20, 0.05);
}

.episode-number {
    color: #e50914;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 2px;
}

.episode-card h3 {
    margin-top: 15px;
    font-size: 25px;
}

.episode-card p {
    margin-top: 8px;
    color: #888;
}

.episode-card a {
    display: inline-block;

    margin-top: 20px;

    color: #e50914;

    font-size: 14px;

    transition: color 0.2s;
}

.episode-card a:hover {
    color: #ff3b45;
}


/* ================================
   FOOTER
================================ */

.footer {
    padding: 60px 7%;

    border-top: 1px solid #241010;

    color: #777;
}

.footer-logo {
    color: #fff;

    font-weight: bold;
    letter-spacing: 3px;
}

.footer p {
    margin-top: 10px;
}

.copyright {
    font-size: 12px;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 800px) {

    .header {
        padding: 18px 5%;
    }

    .nav {
        display: none;
    }

    .hero {
        min-height: 75vh;

        padding: 70px 5%;

        background:
            radial-gradient(
                circle at 80% 35%,
                rgba(229, 9, 20, 0.20),
                transparent 55%
            ),
            #050505;
    }

    .hero h1 {
        font-size: 55px;
    }

    .section {
        padding: 65px 5%;
    }

    .section-heading {
        align-items: start;

        gap: 20px;

        flex-direction: column;
    }

    .music-grid {
        grid-template-columns: 1fr;
    }

    .episode-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile doesn't have true hover,
       so keep the mic visible enough
       to make the cards understandable. */

    .mic-hover {
        opacity: 0;
    }

    .cover-placeholder:active .mic-hover {
        opacity: 1;
        transform: scale(1);
    }

    .cover-placeholder:active .cover-symbol {
        opacity: 0;
        transform: scale(1.35);
    }

}