* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --bg: #080810;
    --bg-light: #10101b;

    --card: #141421;

    --purple: #8b5cf6;
    --purple-light: #a78bfa;

    --text: #ffffff;
    --text-muted: #9b9baa;

    --border: rgba(255,255,255,0.08);

}

body {

    background: var(--bg);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    min-height: 100vh;

    padding-bottom: 100px;

}


a {
    color: inherit;
    text-decoration: none;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {

    height: 72px;

    border-bottom:
        1px solid var(--border);

    background:
        rgba(8,8,16,0.92);

    backdrop-filter:
        blur(20px);

    position: sticky;

    top: 0;

    z-index: 100;

}


.header-inner {

    max-width: 1200px;

    height: 100%;

    margin: auto;

    padding: 0 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    font-size: 24px;

    font-weight: 900;

    letter-spacing: -1px;

    color: white;

}


.main-nav {

    display: flex;

    gap: 32px;

}


.main-nav a {

    color: var(--text-muted);

    font-size: 14px;

    transition: 0.2s;

}


.main-nav a:hover,
.main-nav .active {

    color: white;

}


.header-actions {

    display: flex;

    align-items: center;

    gap: 16px;

}


.search-button {

    background: none;

    border: none;

    color: white;

    font-size: 18px;

    cursor: pointer;

}


.login-button {

    background: white;

    color: black;

    padding: 9px 18px;

    border-radius: 20px;

    font-size: 14px;

    font-weight: 700;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    max-width: 1200px;

    margin: 40px auto 70px;

    padding: 70px 70px;

    min-height: 430px;

    border-radius: 28px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:

        radial-gradient(
            circle at 20% 20%,
            rgba(139,92,246,0.45),
            transparent 45%
        ),

        linear-gradient(
            135deg,
            #171326,
            #090912
        );

}


.hero-content {

    max-width: 600px;

    position: relative;

    z-index: 2;

}


.eyebrow,
.section-label {

    color: var(--purple-light);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


.hero h1 {

    font-size: clamp(42px, 6vw, 72px);

    line-height: 0.95;

    letter-spacing: -3px;

    margin: 16px 0 24px;

}


.hero p {

    color: #c2c2ce;

    line-height: 1.7;

    max-width: 500px;

    margin-bottom: 20px;

}


.hero-meta {

    display: flex;

    gap: 10px;

    color: var(--text-muted);

    font-size: 13px;

    margin-bottom: 28px;

}


.primary-button {

    display: inline-block;

    background: white;

    color: black;

    padding: 13px 24px;

    border-radius: 25px;

    font-weight: 800;

    font-size: 14px;

}


.hero-cover {

    width: 270px;

    height: 330px;

    transform: rotate(4deg);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.6);

}


.hero-cover img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 14px;

}


/* =====================================================
   SECTIONS
===================================================== */

.content-section {

    max-width: 1200px;

    margin: 0 auto 70px;

    padding: 0 24px;

}


.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 24px;

}


.section-heading h2 {

    font-size: 28px;

    margin-top: 6px;

    letter-spacing: -1px;

}


.section-heading > a {

    color: var(--text-muted);

    font-size: 13px;

}


/* =====================================================
   STORY GRID
===================================================== */

.story-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 18px;

}


.story-card {

    min-width: 0;

}


.story-image {

    aspect-ratio: 0.72;

    overflow: hidden;

    border-radius: 12px;

    background: var(--card);

    margin-bottom: 12px;

}


.story-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.3s;

}


.story-card:hover img {

    transform: scale(1.05);

}


.story-info h3 {

    font-size: 15px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.story-info p {

    color: var(--text-muted);

    font-size: 12px;

    margin-top: 5px;

}


/* =====================================================
   GENRES
===================================================== */

.genre-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

}


.genre-card {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 22px;

    font-weight: 700;

    transition: 0.2s;

}


.genre-card span {

    margin-right: 8px;

}


.genre-card:hover {

    border-color:
        rgba(139,92,246,0.5);

    transform: translateY(-2px);

}


/* =====================================================
   MINI PLAYER
===================================================== */

.mini-player {

    position: fixed;

    bottom: 0;

    left: 0;

    right: 0;

    height: 76px;

    background:
        rgba(15,15,25,0.96);

    backdrop-filter:
        blur(20px);

    border-top:
        1px solid var(--border);

    z-index: 200;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 28px;

}


.player-info {

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 220px;

}


.player-cover {

    width: 48px;

    height: 48px;

    background: #242435;

    border-radius: 6px;

}


.player-info strong {

    display: block;

    font-size: 13px;

}


.player-info small {

    color: var(--text-muted);

    font-size: 11px;

}


.player-controls {

    display: flex;

    align-items: center;

    gap: 20px;

}


.player-controls button {

    border: none;

    background: none;

    color: white;

    cursor: pointer;

    font-size: 18px;

}


.player-controls .play-button {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    background: white;

    color: black;

}


.player-progress {

    position: absolute;

    bottom: 0;

    left: 0;

    height: 3px;

    width: 100%;

    background: #252535;

}


.player-progress-bar {

    height: 100%;

    width: 0%;

    background: var(--purple);

}


/* =====================================================
   MOBILE NAV
===================================================== */

.mobile-nav {

    display: none;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .story-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .hero {

        margin: 20px 16px 50px;

        padding: 40px 30px;

    }

    .hero-cover {

        width: 190px;

        height: 240px;

    }

}


@media (max-width: 600px) {

    .header-inner {

        padding: 0 18px;

    }

    .login-button {

        display: none;

    }

    .hero {

        min-height: 500px;

        flex-direction: column;

        align-items: flex-start;

        justify-content: space-between;

    }

    .hero h1 {

        font-size: 48px;

    }

    .hero-cover {

        align-self: center;

        width: 180px;

        height: 220px;

    }

    .story-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .genre-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .mini-player {

        bottom: 62px;

        height: 65px;

        padding: 0 15px;

    }

    .mobile-nav {

        position: fixed;

        display: flex;

        bottom: 0;

        left: 0;

        right: 0;

        height: 62px;

        background: #0c0c15;

        border-top:
            1px solid var(--border);

        z-index: 300;

        justify-content:
            space-around;

        align-items: center;

    }

    .mobile-nav a {

        color: var(--text-muted);

        font-size: 10px;

        text-align: center;

    }

    .mobile-nav span {

        display: block;

        font-size: 18px;

        margin-bottom: 3px;

    }

}
