/* 
   Theme: VibeFlow
   Author: Antigravity
   Version: 1.0.0
   Description: A modern, gen-z aligned music streaming theme.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Cyberpunk / Gen Z */
    --vf-bg-main: #050505;
    --vf-bg-secondary: #0a0a0a;
    --vf-bg-card: rgba(255, 255, 255, 0.03);
    --vf-bg-glass: rgba(20, 20, 20, 0.6);

    --vf-primary: #cdfa17;
    /* Acid Green / Neon Lime */
    --vf-primary-glow: rgba(205, 250, 23, 0.4);
    --vf-secondary: #a020f0;
    /* Electric Purple */
    --vf-accent: #00f0ff;
    /* Cyan */

    --vf-text-main: #ffffff;
    --vf-text-muted: #a1a1aa;
    --vf-text-dark: #000000;

    --vf-border-light: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --vf-gap-sm: 0.5rem;
    --vf-gap-md: 1rem;
    --vf-gap-lg: 2rem;
    --vf-gap-xl: 4rem;

    /* Typography */
    --vf-font-main: 'Outfit', sans-serif;
    --vf-font-display: 'Space Grotesk', sans-serif;

    /* Effects */
    --vf-radius-sm: 8px;
    --vf-radius-md: 16px;
    --vf-radius-lg: 24px;
    --vf-radius-full: 9999px;

    --vf-shadow-glow: 0 0 20px var(--vf-primary-glow);
    --vf-backdrop-blur: blur(16px);

    --vf-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--vf-font-main);
    background-color: var(--vf-bg-main);
    color: var(--vf-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--vf-transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--vf-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--vf-border-light);
    border-radius: var(--vf-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--vf-primary);
}

/* Utilities */
.glass-panel {
    background: var(--vf-bg-glass);
    backdrop-filter: var(--vf-backdrop-blur);
    -webkit-backdrop-filter: var(--vf-backdrop-blur);
    border: 1px solid var(--vf-border-light);
}

.text-gradient {
    background: linear-gradient(135deg, var(--vf-primary), var(--vf-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glow-hover:hover {
    box-shadow: var(--vf-shadow-glow);
    transform: translateY(-2px);
}

/* Layout Core */
.ma_container {
    display: grid;
    grid-template-areas:
        "sidebar header"
        "sidebar content"
        "player player";
    grid-template-columns: 260px 1fr;
    grid-template-rows: 80px 1fr 90px;
    min-height: 100vh;
}

#page {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
    background: transparent;
    box-shadow: none;
}

/* Sidebar */
.sidebar {
    grid-area: sidebar;
    background: var(--vf-bg-secondary);
    border-right: 1px solid var(--vf-border-light);
    padding: var(--vf-gap-md);
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.logo_container img {
    height: 40px;
    margin-bottom: 2rem;
}

.sidebar_innr {
    flex: 1;
    overflow-y: auto;
}

.vf-nav-group h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--vf-text-muted);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    padding-left: 1rem;
}

.vf-nav-item a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--vf-text-muted);
    border-radius: var(--vf-radius-sm);
    font-weight: 500;
    gap: 1rem;
}

.vf-nav-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: var(--vf-transition);
}

.vf-nav-item:hover a,
.vf-nav-item.active a {
    color: var(--vf-text-main);
    background: rgba(255, 255, 255, 0.05);
}

.vf-nav-item.active a {
    border-left: 3px solid var(--vf-primary);
    background: linear-gradient(90deg, rgba(205, 250, 23, 0.1), transparent);
}

.vf-nav-item.active svg {
    color: var(--vf-primary);
    opacity: 1;
}

/* Header */
#main-header {
    grid-area: header;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 90;
    padding: 0 var(--vf-gap-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--vf-border-light);
}

.head_search {
    flex: 1;
    max-width: 400px;
    margin: 0 2rem;
}

.vf-search-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vf-border-light);
    border-radius: var(--vf-radius-full);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.vf-search-bar input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-family: var(--vf-font-main);
}

.head_user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Content */
#container_content {
    grid-area: content;
    padding: var(--vf-gap-lg);
    padding-bottom: 120px;
    /* Space for player */
}

/* Footer Player */
.ma_player {
    grid-area: player;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: var(--vf-bg-glass);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--vf-border-light);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--vf-gap-lg);
}

/* Auth Pages */
.vf-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, #1a1a1a, #000);
    position: relative;
    overflow: hidden;
}

.vf-auth-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--vf-border-light);
    padding: 3rem;
    border-radius: var(--vf-radius-lg);
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.vf-auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--vf-font-display);
}

.vf-input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.vf-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--vf-border-light);
    padding: 1rem;
    border-radius: var(--vf-radius-md);
    color: white;
    font-size: 1rem;
    transition: var(--vf-transition);
}

.vf-input:focus {
    border-color: var(--vf-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(205, 250, 23, 0.1);
}

/* Button Styles - Modern */
.btn-vibe {
    background: var(--vf-primary);
    color: var(--vf-bg-main);
    padding: 12px 24px;
    border-radius: var(--vf-radius-full);
    font-weight: 700;
    font-family: var(--vf-font-display);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--vf-transition);
}

.btn-vibe:hover {
    background: var(--vf-accent);
    box-shadow: var(--vf-shadow-glow);
    transform: scale(1.05);
}

.btn-vibe-outline {
    background: transparent;
    border: 2px solid var(--vf-border-light);
    color: var(--vf-text-main);
    padding: 10px 22px;
    border-radius: var(--vf-radius-full);
    font-weight: 600;
    cursor: pointer;
}

.btn-vibe-outline:hover {
    border-color: var(--vf-text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-full {
    width: 100%;
}

/* Utility Blobs for Auth */
.auth-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.blob-1 {
    top: -50px;
    left: -50px;
    background: var(--vf-primary);
}

.blob-2 {
    bottom: -50px;
    right: -50px;
    background: var(--vf-secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .ma_container {
        grid-template-areas:
            "header header"
            "content content"
            "player player";
        grid-template-columns: 1fr;
        grid-template-rows: 70px 1fr 80px;
    }

    .sidebar {
        display: none;
        /* Mobile menu needed */
        position: fixed;
        left: -100%;
        width: 80%;
        background: var(--vf-bg-main);
        transition: var(--vf-transition);
        border-right: 1px solid var(--vf-border-light);
    }


    .sidebar.active {
        left: 0;
    }

    .vf-split-layout {
        grid-template-columns: 1fr;
    }

    .vf-auth-visual {
        display: none;
        /* Hide visual on mobile to focus on form */
    }

    .vf-auth-form-container {
        padding: 2rem 1rem;
    }
}

/* Standalone Auth Pages (Split Screen) */
.vf-auth-page {
    min-height: 100vh;
    width: 100vw;
    background: var(--vf-bg-main);
    position: fixed;
    /* Overlay everything */
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
}

.vf-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.vf-auth-visual {
    background: radial-gradient(circle at center, #111, #000);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--vf-border-light);
}

.vf-auth-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.vf-auth-big-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: var(--vf-font-display);
}

.vf-auth-subtitle {
    font-size: 1.25rem;
    color: var(--vf-text-muted);
    margin-bottom: 3rem;
}

.vf-auth-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vf-bg-main);
    padding: 2rem;
}

.vf-auth-card-flat {
    width: 100%;
    max-width: 420px;
}

/* Feature List */
.vf-feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vf-feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.vf-feature-item .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vf-primary);
}

.vf-feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.vf-feature-item p {
    color: var(--vf-text-muted);
    font-size: 0.9rem;
}

/* Quote Card */
.vf-quote-card {
    padding: 2rem;
    border-radius: var(--vf-radius-md);
    margin-top: 3rem;
    border-left: 4px solid var(--vf-secondary);
}

.vf-quote-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.vf-quote-card span {
    color: var(--vf-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Animated Blobs */
.visual-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blob-one {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--vf-primary);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: blob-float 15s infinite alternate;
}

.blob-two {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--vf-secondary);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    animation: blob-float 12s infinite alternate-reverse;
}

/* Podcast Styling */
.track_listPodcast {
    background: var(--vf-bg-card);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.track_listPodcast:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.track_listPodcast .cover_art {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.track_listPodcast .cover_art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.track_listPodcast:hover .cover_art img {
    transform: scale(1.1);
}

.track_listPodcast .track_info h3 {
    margin: 0 0 5px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track_listPodcast .track_info h3 a {
    color: var(--vf-text-main);
}

.track_listPodcast .track_info p {
    margin: 0;
    font-size: 13px;
}

.track_listPodcast .track_info p a {
    color: white;
}

/* Single Podcast Page */
.podcast_header_bg {
    position: relative;
    padding: 100px 0 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 30px;
}

.glass_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    z-index: 1;
}

.podcast_header_content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
}

.podcast_cover img {
    width: 280px;
    height: 280px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.podcast_details h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.podcast_details .author {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.podcast_details .description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.6;
}

/* Episode List */
.song_list_podcast {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    background: var(--vf-bg-card);
    transition: background 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.song_list_podcast:hover {
    background: var(--vf-bg-hover);
    border-color: rgba(255, 255, 255, 0.05);
}

.song_list_podcast .song_left_part {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.song_list_podcast .play_btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--vf-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.song_list_podcast:hover .play_btn {
    opacity: 1;
    transform: scale(1);
}

.song_list_podcast .song_meta h4 {
    margin: 0 0 5px;
    color: var(--vf-text-main);
    font-size: 16px;
    font-weight: 600;
}

.song_list_podcast .song_meta p {
    margin: 0;
    color: var(--vf-text-secondary);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .podcast_header_content {
        flex-direction: column;
        text-align: center;
    }

    .podcast_cover img {
        width: 200px;
        height: 200px;
    }

    .podcast_details h2 {
        font-size: 28px;
    }
}