/*
Theme Name: Makemestarr V2
Theme URI: https://makemestarr.com
Description: A premium, high-performance WordPress theme for creators. Built with Glassmorphism and modern Dark Mode styling.
Version: 2.1.0
Author: Abhishek 
Text Domain: makemestarr
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;300;400;500;700;900&display=swap');

:root {
    --primary: #f97316;
    --primary-rgb: 249, 115, 22;
    --secondary: #fbbf24;
    --background: #020617;
    --foreground: #f8fafc;
    --muted: #0f172a;
    --muted-foreground: #94a3b8;
    --accent: #1e293b;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.12);
    --radius-lg: 32px;
    --radius-xl: 48px;
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --transition-speed: 0.4s;
}

/* --- Light Mode Overrides --- */
body.light-mode {
    --background: #ffffff;
    --foreground: #0f172a;
    --muted: #f8fafc;
    --muted-foreground: #475569;
    --accent: #f1f5f9;
    --border: rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
}

/* Playlist Specific Light Mode Fixes */
body.light-mode .playlist-card {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

body.light-mode .playlist-card h3 {
    color: #0f172a !important;
}

body.light-mode .playlist-card .card-thumb {
    background: #f1f5f9 !important;
}

body.light-mode .playlist-embed-wrapper {
    background: #f8fafc !important;
    border-color: rgba(0,0,0,0.1) !important;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

body {
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
}

.inner-header-v2, .site-nav a, .logo-v2 span, .mobile-icon svg {
    transition: all var(--transition-speed) ease;
}

body.light-mode .inner-header-v2 {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .site-nav a, 
body.light-mode .logo-v2 span,
body.light-mode .btn-login-v2,
body.light-mode .login-submit-btn,
body.light-mode .register-submit-btn {
    color: #1e293b !important;
}

body.light-mode .login-submit-btn,
body.light-mode .register-submit-btn {
    background: #f97316 !important;
    color: #ffffff !important;
}

body.light-mode .btn-upload-v2 {
    color: #1e293b !important;
}

body.light-mode .mobile-icon svg,
body.light-mode .search-container svg {
    stroke: #0f172a !important;
}

body.light-mode .btn-upload-v2,
body.light-mode .home-publish-btn {
    background: #f97316 !important;
    color: #ffffff !important;
}

body.light-mode .search-container input {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Light Mode Mobile Nav Overrides */
@media (max-width: 1024px) {
    body.light-mode .site-nav {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
    }
    
    body.light-mode .nav-link-v2 {
        color: #0f172a !important;
    }

    body.light-mode .mobile-menu-toggle span {
        background: #0f172a !important;
    }

    body.light-mode .nav-active .mobile-menu-toggle span {
        background: var(--primary) !important;
    }

    .desktop-hide {
        display: block !important;
    }
}

.dark-theme {
    background-color: var(--background);
    color: var(--foreground);
}

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

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Outfit', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* Ensure all sections respect the background variable */
section, .hero-section, .mic-hero, .auth-wrapper, .site-main {
    background-color: var(--background) !important;
    transition: background-color var(--transition-speed) ease;
}

/* --- Premium Utilities --- */

.glass {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    transition: all 0.4s ease;
}

.glass:hover {
    background: var(--glass) !important;
    border-color: rgba(249, 115, 22, 0.3);
}

body.light-mode .glass {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .form-input-premium {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .form-input-premium::placeholder {
    color: #64748b !important;
}

body.light-mode h1, 
body.light-mode h2, 
body.light-mode h3, 
body.light-mode h4,
body.light-mode p, 
body.light-mode .section-title {
    color: #0f172a !important;
}

/* Header Dynamic UI */
.nav-link-v2 {
    color: var(--foreground) !important;
    text-decoration: none;
    font-weight: 700;
    opacity: 0.9;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-link-v2:hover {
    color: var(--primary) !important;
    opacity: 1;
}

.btn-login-v2 {
    color: var(--foreground) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn-login-v2:hover {
    color: var(--primary) !important;
}

.btn-join-v2 {
    background: #f97316 !important;
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.btn-join-v2:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    filter: brightness(1.1);
}

.btn-upload-v2 {
    background: var(--primary);
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Global Premium Hover Class --- */
.btn-premium-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn-premium-hover:hover {
    transform: translateY(-5px) scale(1.025) !important;
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.35) !important;
    filter: brightness(1.1) !important;
}

body.light-mode .btn-premium-hover:hover {
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.2) !important;
}

.profile-ui-v2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    position: relative;
    color: var(--foreground);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.profile-ui-v2 svg, .theme-toggle-v2 svg {
    stroke: currentColor;
}

.profile-ui-v2:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

body.light-mode .profile-ui-v2:hover {
    background: rgba(0,0,0,0.05) !important;
}

.profile-dropdown-v2 {
    position: absolute;
    top: 130%;
    right: 0;
    background: #0b1120;
    width: 180px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    display: none;
    z-index: 10000;
}

@media (max-width: 600px) {
    .profile-dropdown-v2 {
        right: -10px;
        width: 160px;
    }
}

.profile-dropdown-v2.active {
    display: block !important;
}

body.light-mode .profile-dropdown-v2 {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.1) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}

.profile-dropdown-v2 a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #fff !important;
    text-decoration: none;
    font-size: 1rem !important;
    font-weight: 500;
}

body.light-mode .profile-dropdown-v2 a {
    color: #475569 !important;
}

.mobile-menu-toggle span {
    background: var(--foreground) !important;
    width: 22px;
    height: 2px;
    border-radius: 5px;
    transition: 0.3s;
}

body.light-mode .profile-ui-v2 {
    border-color: rgba(0,0,0,0.1) !important;
}

/* Footer Light Mode Overrides (Restored & Refined) */
body.light-mode .site-footer {
    background: #f1f5f9 !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
}

body.light-mode .site-footer h4,
body.light-mode .site-footer p,
body.light-mode .site-footer span[style*="opacity: 0.6"],
body.light-mode .site-footer .footer-description {
    color: #1e293b !important;
    opacity: 1 !important;
}

body.light-mode .footer-links a,
body.light-mode .site-footer .social-icon {
    color: #475569 !important;
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.1) !important;
}

body.light-mode .footer-links a:hover {
    color: var(--primary) !important;
}

body.light-mode .site-footer input {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.light-mode .site-footer input::placeholder {
    color: #94a3b8 !important;
}

body.light-mode .site-footer div[style*="border-top"] {
    border-top-color: rgba(0,0,0,0.05) !important;
}

body.light-mode .site-footer div[style*="border-top"] p {
    color: #64748b !important;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.section-padding {
    padding: clamp(80px, 10vw, 160px) 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Typography */
h1 { font-size: clamp(2.2rem, 8vw, 6.5rem); }
h2 { font-size: clamp(1.6rem, 5vw, 4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 2.5rem); }
p { font-size: clamp(1rem, 1.2vw, 1.25rem); }

@media (max-width: 1024px) {
    .hero-section { padding-top: 180px !important; }
    .hero-title { font-size: 3.5rem !important; }
    .hero-subtitle { font-size: 1.1rem !important; }
    .section-padding { padding: 80px 0; }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .hero-section { padding-top: 140px !important; padding-bottom: 80px !important; }
    .hero-title { font-size: 2.75rem !important; margin: 1.5rem 0 !important; }
    .hero-subtitle { font-size: 1rem !important; margin-bottom: 2rem !important; }
    .section-title { font-size: 2.25rem !important; }
    
    .open-mic-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .open-mic-visual {
        min-height: 400px;
    }
    
    .filter-tabs {
        gap: 0.5rem !important;
        justify-content: center;
    }
    
    .filter-tab {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.7rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.25rem !important; }
    .auth-container { padding: 2rem !important; border-radius: 30px !important; }
    .logo-header h1 { font-size: 2rem !important; }
}

.hover-scale {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-scale:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    .header-desktop-actions {
        display: none !important;
    }
}

/* --- Animations --- */

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navigation --- */

.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    z-index: 10000;
    background: var(--background);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Push header down if WP Admin Bar is present */
.admin-bar .site-header {
    top: 32px;
}

/* Desktop Hide Utility */
@media (min-width: 1025px) {
    .desktop-hide {
        display: none !important;
    }
}

/* Mobile Adjustments */
@media screen and (max-width: 1024px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.site-header.scrolled {
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-bottom: 1px solid var(--border);
}

.nav-links-v2 {
    display: flex !important;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.site-nav a:hover {
    color: var(--primary);
}

/* Hide mobile-only items on desktop by default */
.mobile-only-separator,
.desktop-hide,
.site-nav .nav-upload,
.site-nav .nav-admin,
.site-nav .nav-logout {
    display: none !important;
}

/* --- Global Glows --- */
.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
    transform: translateX(-50%);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

/* --- Pagination & Misc --- */
.navigation.pagination {
    margin-top: 5rem;
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.page-numbers {
    padding: 1rem 1.5rem;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--foreground);
    text-decoration: none;
    font-weight: 900;
    transition: all 0.3s ease;
}

.page-numbers:hover, .page-numbers.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .site-header .container { flex-direction: column; gap: 1.5rem; }
    .site-nav { width: 100%; justify-content: center; flex-wrap: wrap; }
    #dynamic-clock { display: none; }
    
    .desktop-hide {
        display: block !important;
    }
}

/* --- Premium Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3.5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* --- Premium Form Inputs --- */
.form-input-premium {
    width: 100%;
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.form-input-premium:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(2, 6, 23, 0.6);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

.form-label-premium {
    display: block;
    font-weight: 800;
    margin-bottom: 0.85rem;
    color: var(--muted-foreground);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* Light Mode Overrides for Form Elements */
body.light-mode .form-input-premium {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #0f172a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

body.light-mode .form-input-premium:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

body.light-mode .form-label-premium {
    color: #1e293b;
}

body.light-mode .form-input-premium::placeholder {
    color: #94a3b8;
}

/* --- Badge & Status --- */
.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 950;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Refined Header Layout for Logged In --- */
.user-meta-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

.user-meta-header span {
    color: var(--foreground);
    font-weight: 800;
}

/* --- Admin Moderation UI --- */
/* Header height was already defined above, keeping this for background transition logic if needed */
.site-header.scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
}

/* --- Responsive Layout Classes --- */
.open-mic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.auth-page-main {
    background: #060910;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 1rem 4rem; /* Increased top padding to prevent header overlap */
}

.auth-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
}

body.light-mode .site-header {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-actions-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.75rem;
    z-index: 50;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover .admin-actions-overlay,
.creator-card:hover .admin-actions-overlay {
    opacity: 1;
    transform: translateY(0);
}

.admin-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.admin-btn.edit {
    background: rgba(15, 23, 42, 0.8);
    color: #f97316;
}

.admin-btn.delete {
    background: rgba(220, 38, 38, 0.82);
    color: white;
}

.admin-btn:hover {
    transform: scale(1.15);
    background: #fff;
    color: #000;
}

.admin-delete-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(220, 38, 38, 0.8) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    z-index: 100 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(8px);
}

/* --- MOBILE NAVIGATION SYSTEM (PREMIUM) --- */

@media (max-width: 1024px) {
    .inner-header-v2 {
        padding: 0 1.5rem !important;
        height: 80px !important;
    }

    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #020617;
        z-index: 10000;
        display: none !important; /* Force hide by default on mobile */
        align-items: center;
        flex-direction: column;
        justify-content: flex-start; /* Start from top instead of centering */
        padding: 5rem 2rem 2rem; /* Add generous top padding */
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto; /* Allow scrolling if menu is long */
    }

    .nav-active .site-nav {
        display: flex !important;
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-active .mobile-menu-toggle {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Force Home Visibility & Styling */
    .mobile-home-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-links-v2 {
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center;
        width: 100%;
        margin-top: 20px;
    }

    .nav-link-v2 {
        font-size: 1.5rem !important;
        font-weight: 800 !important;
        letter-spacing: -0.5px;
        text-transform: uppercase;
    }

    /* Mobile Menu Separator & Action Links */
    .mobile-only-separator {
        display: block !important;
        width: 40px;
        height: 2px;
        background: #f97316;
        margin: 1rem auto;
    }

    .site-nav .nav-upload,
    .site-nav .nav-admin,
    .site-nav .nav-logout {
        display: block !important;
    }

    /* Burger Animation */
    .mobile-menu-toggle span {
        display: block;
        width: 28px;
        height: 2.5px;
        background: #fff;
        border-radius: 99px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-active .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
        background: #f97316;
    }
    .nav-active .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }
    .nav-active .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
        background: #f97316;
    }

    .logo-v2 span {
        font-size: 1.25rem !important;
    }

    .header-right-ui {
        gap: 1.25rem !important;
    }

    .profile-ui-v2 {
        width: 36px;
        height: 36px;
    }
}

/* --- MOBILE NAVIGATION SYSTEM (PREMIUM) --- */
@media (max-width: 1024px) {
    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #020617;
        z-index: 10000;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4rem 2rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        text-align: center;
    }

    .nav-active .site-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-links-v2 {
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
        width: 100%;
    }

    .nav-links-v2 li { width: 100%; }

    .nav-link-v2 {
        display: block !important;
        font-size: 1.5rem !important;
        font-weight: 800 !important;
        letter-spacing: -0.5px;
        text-transform: uppercase;
        color: #fff !important;
    }

    .mobile-only-separator {
        display: block !important;
        width: 60px;
        height: 2px;
        background: #f97316;
        margin: 1.5rem auto;
    }

    .site-nav .nav-upload,
    .site-nav .nav-admin,
    .site-nav .nav-logout {
        display: block !important;
    }

    .nav-upload { color: #f97316 !important; font-weight: 900 !important; }
    .nav-admin { color: #6366f1 !important; }
    .nav-logout { color: #ef4444 !important; }

    /* Mobile Close View Styles */
    .mobile-close-btn {
        display: block !important;
        position: absolute;
        top: 25px;
        right: 25px;
        cursor: pointer;
        z-index: 10001;
        transition: transform 0.3s ease;
    }
    .mobile-close-btn:hover { transform: rotate(90deg); }
}

/* Strictly hide mobile parts on desktop */
@media (min-width: 1025px) {
    .mobile-close-btn, .mobile-only-separator {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Hero & Page Header Scaling */
    .hero-title, .creators-title, .page-header h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
        line-height: 1.1 !important;
        letter-spacing: -1.5px !important;
    }

    /* Grid Stacking */
    .playlist-grid-v2, .works-grid, .creator-grid, .open-mic-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Horizontal Category Scroller */
    .filter-container, .category-list, .archive-filters {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 0.75rem !important;
        padding-bottom: 1rem;
        scrollbar-width: none;
    }
    .filter-container::-webkit-scrollbar { display: none; }
}

@media (max-width: 600px) {
    .inner-header-v2 {
        height: 70px !important;
        padding: 0 1.25rem !important;
    }
    
    .logo-v2 img { height: 45px !important; width: 45px !important; }
    .logo-v2 span { font-size: 1.1rem !important; }

    .auth-container {
        padding: 2.5rem 1.5rem !important;
        border-radius: 24px !important;
    }

    .btn-primary, .btn-secondary {
        padding: 1.2rem 2rem !important;
        font-size: 1rem !important;
        width: 100%;
        justify-content: center;
    }
}

/* --- Join Galaxy Loading & Dashboard --- */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.admin-content {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
}

/* --- Space Shield (Footer Fix) --- */
.page-template-page-login .site-footer,
.page-template-page-register .site-footer,
.page-template-page-lost-password .site-footer {
    margin-top: 300px !important;
}

@media (max-width: 768px) {
    .page-template-page-login .site-footer,
    .page-template-page-register .site-footer,
    .page-template-page-lost-password .site-footer {
        margin-top: 150px !important;
    }
}
/* --- About Page V3 --- */
.about-grid-v3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image-v3 {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-v3:hover {
    transform: scale(1.02);
}

.about-content-v3 p {
    font-size: 1.25rem;
    color: var(--foreground);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about-content-v3 p.muted {
    color: var(--muted-foreground);
}

@media (max-width: 1024px) {
    .about-grid-v3 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-content-v3 h2 {
        font-size: 2.8rem !important;
    }
}
