/* --- VARIABLES --- */
:root {
    --bg-color: #050505;
    --card-bg: rgba(17, 17, 17, 0.8);
    --text-color: #e0e0e0;
    --muted-color: #888;
    --cyan-neon: #00ffff;
    --magenta-neon: #ff00ff;
    --green-neon: #39ff14;
    --main-accent: var(--cyan-neon);
}

/* --- RESET & GLOBALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 50%, #111 0%, #050505 100%);
    color: var(--text-color);
    font-family: 'Space Mono', monospace;
    line-height: 1.6;
    padding-top: 60px;
    padding-bottom: 75px;
    /* Espacio para el reproductor lineal */
    min-height: 100vh;
}

h1,
h2,
h3 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- NAVBAR & MENU --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 5px var(--cyan-neon), 0 0 10px var(--cyan-neon);
}

.menu-checkbox {
    display: none;
}

.menu-btn {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1002;
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
    box-shadow: 0 0 5px #fff;
}

.menu-checkbox:checked~.menu-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-checkbox:checked~.menu-btn span:nth-child(2) {
    opacity: 0;
}

.menu-checkbox:checked~.menu-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1001;
}

.menu-checkbox:checked~.menu-overlay {
    opacity: 1;
    visibility: visible;
}

.menu-links {
    list-style: none;
    text-align: center;
}

.menu-links li {
    margin: 20px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.4s;
}

.menu-checkbox:checked~.menu-overlay .menu-links li {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered transition for menu items */
.menu-checkbox:checked~.menu-overlay .menu-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-checkbox:checked~.menu-overlay .menu-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.menu-checkbox:checked~.menu-overlay .menu-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.menu-checkbox:checked~.menu-overlay .menu-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.menu-checkbox:checked~.menu-overlay .menu-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: 2.5rem;
    font-family: 'Anton';
    text-shadow: 0 0 10px transparent;
    transition: 0.3s;
}

.menu-links a:hover {
    color: var(--magenta-neon);
    text-shadow: 0 0 15px var(--magenta-neon);
}

/* --- BACK BUTTON --- */
.top-nav {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
}

.btn-back {
    border-color: var(--cyan-neon) !important;
    color: var(--cyan-neon) !important;
    text-shadow: 0 0 5px var(--cyan-neon);
}

.btn-back:hover {
    background: var(--cyan-neon) !important;
    color: #000 !important;
    box-shadow: 0 0 15px var(--cyan-neon);
}

/* --- HEROES --- */
.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    background: #000 url('BannerYMD.jpeg') center/contain no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--main-accent);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.2);
}

.hero-profile {
    height: 40vh;
    border-bottom: 3px solid var(--cyan-neon);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #050505 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    color: #fff;
    text-shadow: 3px 3px 0 var(--cyan-neon), -3px -3px 0 var(--magenta-neon);
    animation: glitch 2s infinite alternate;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    margin-top: 10px;
    color: #ddd;
    letter-spacing: 5px;
}

@keyframes glitch {
    0% {
        text-shadow: 3px 3px 0 var(--cyan-neon), -3px -3px 0 var(--magenta-neon);
    }

    50% {
        text-shadow: -3px 3px 0 var(--cyan-neon), 3px -3px 0 var(--magenta-neon);
    }

    100% {
        text-shadow: 3px -3px 0 var(--cyan-neon), -3px 3px 0 var(--magenta-neon);
    }
}

/* --- CONTENEDORES --- */
.main-container,
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.avatar {
    width: 160px;
    height: 160px;
    border: 4px solid var(--cyan-neon);
    background: #000 center/cover;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.artist-socials {
    margin-top: 15px;
  	margin-bottom: 7px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-btn {
    padding: 8px 12px;
    border: 1px solid;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
    border-radius: 4px;
}

.social-cyan {
    color: var(--cyan-neon);
    border-color: var(--cyan-neon);
}

.social-cyan:hover {
    background: var(--cyan-neon);
    color: #000;
    box-shadow: 0 0 10px var(--cyan-neon);
}

/* --- SECTIONS --- */
section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    display: inline-block;
    border-bottom: 2px solid var(--main-accent);
    padding-bottom: 5px;
}

/* --- CARDS & FEEDS --- */
.track-card,
.news-card {
    background: var(--card-bg);
    border: 1px solid #222;
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--cyan-neon);
}

.track-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    border-color: #444;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.news-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--cyan-neon);
    margin-bottom: 10px;
    font-weight: bold;
}

.news-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.news-excerpt {
    color: #ccc;
}

.track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.track-title {
    color: #fff;
    font-size: 1.4rem;
}

.track-desc {
    color: var(--muted-color);
    font-size: 0.9rem;
    margin-top: 5px;
}

.track-player-container {
    margin: 15px 0;
    width: 100%;
}

.track-player-container audio {
    width: 100%;
    border-radius: 4px;
    outline: none;
}

/* --- ROSTER ARTISTS --- */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.artist-card {
    background: var(--card-bg);
    border: 1px solid #222;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
    border-top: 4px solid #fff;
}

.artist-card:hover {
    transform: translateY(-10px);
    background: #1a1a1a;
}

.artist-cyan {
    border-top-color: var(--cyan-neon);
}

.artist-cyan:hover {
    box-shadow: 0 -5px 20px rgba(0, 255, 255, 0.2);
    border-color: var(--cyan-neon);
}

.artist-magenta {
    border-top-color: var(--magenta-neon);
}

.artist-magenta:hover {
    box-shadow: 0 -5px 20px rgba(255, 0, 255, 0.2);
    border-color: var(--magenta-neon);
}

.artist-green {
    border-top-color: var(--green-neon);
}

.artist-green:hover {
    box-shadow: 0 -5px 20px rgba(57, 255, 20, 0.2);
    border-color: var(--green-neon);
}

.artist-avatar-frame {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border: 2px solid #555;
    border-radius: 50%;
    overflow: hidden;
    padding: 4px;
}

.artist-avatar {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
}

.artist-name {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    word-break: break-word;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 10px;
}

.artist-tagline {
    color: var(--muted-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 40px;
}

/* --- BOTONES --- */
.btn {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s;
    font-family: 'Space Mono', monospace;
    font-weight: bold;
}

.btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 10px #fff;
}

.btn-view-profile {
    border-color: #fff;
}

.artist-cyan .btn-view-profile:hover {
    background: var(--cyan-neon);
    border-color: var(--cyan-neon);
    color: #000;
    box-shadow: 0 0 15px var(--cyan-neon);
}

.artist-magenta .btn-view-profile:hover {
    background: var(--magenta-neon);
    border-color: var(--magenta-neon);
    color: #000;
    box-shadow: 0 0 15px var(--magenta-neon);
}

.artist-green .btn-view-profile:hover {
    background: var(--green-neon);
    border-color: var(--green-neon);
    color: #000;
    box-shadow: 0 0 15px var(--green-neon);
}

.btn-download {
    border-color: var(--cyan-neon);
    color: var(--cyan-neon);
}

.btn-download:hover {
    background: var(--cyan-neon);
    color: #000;
    box-shadow: 0 0 10px var(--cyan-neon);
}

.btn-contact {
    border-color: var(--magenta-neon);
    color: var(--magenta-neon);
}

.btn-contact:hover {
    background: var(--magenta-neon);
    color: #000;
}

/* --- REPRODUCTOR GLOBAL --- */
.global-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--magenta-neon);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(255, 0, 255, 0.15);
}

.player-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.player-select {
    background: #1a1a1a;
    color: var(--magenta-neon);
    border: 1px solid var(--magenta-neon);
    padding: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
}

.player-select:focus {
    box-shadow: 0 0 8px var(--magenta-neon);
}

.player-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    padding: 0 15px;
}

.player-audio {
    width: 100%;
    height: 40px;
    outline: none;
}

.player-controls-custom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-audio {
    background: transparent;
    color: #fff;
    border: 1px solid #444;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
}

.btn-audio:hover {
    background: #fff;
    color: #000;
}

.player-right {
    flex: 1;
    text-align: right;
    font-size: 0.85rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.player-label {
    color: var(--magenta-neon);
    margin-right: 5px;
    font-weight: bold;
}

/* --- MERCHANDISE PLACEHOLDER --- */
.merch-placeholder {
    border: 2px dashed #444;
    padding: 40px 20px;
    text-align: center;
    color: var(--muted-color);
}

.merch-placeholder h3 {
    color: #fff;
    margin-bottom: 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .player-right {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .global-player {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .player-select {
        max-width: 100px;
    }

    .player-center {
        margin: 0;
    }

    .btn-audio {
        padding: 6px 8px;
        font-size: 0.7rem;
    }

    .avatar {
        width: 120px;
        height: 120px;
        margin-top: 30px;
    }
}

.track-cover {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #444;
    margin-right: 15px;
    flex-shrink: 0;
}

/* --- CUSTOM PLAYER JS --- */
.custom-audio-player {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 40px;
    padding: 4px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.custom-audio-container {
    width: 100%;
    flex: 1;
}

.inline-player {
    width: 100%;
}

.custom-progress-container {
    flex-grow: 1;
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #444;
    margin-top: -2px;
}

.custom-progress-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.custom-progress-fill {
    height: 100%;
    background: var(--main-accent);
    width: 0%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.custom-progress-locked {
    height: 100%;
    z-index: 2;
    background-color: #050505;
    /* Opaque background to hide blue underneath */
    background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 0, 0, 0.4) 5px, rgba(255, 0, 0, 0.4) 11px);
    position: absolute;
    top: 0;
}

.custom-progress-locked.left {
    left: 0;
    border-right: 2px solid red;
}

.custom-progress-locked.right {
    border-left: 2px solid red;
}

.custom-time-display {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #ccc;
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2px;
}

.custom-volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-left: auto;
}

.vol-icon {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vol-slider {
    width: 70px;
    accent-color: var(--main-accent);
    cursor: pointer;
    height: 4px;
}

.custom-play-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    padding: 0;
}

.custom-play-btn:hover {
    background: transparent;
    color: #fff;
    transform: scale(1.1);
    box-shadow: none;
}
/* --- LOGIN/AUTH CSS --- */
.auth-container { max-width: 400px; margin: 100px auto 50px; background: var(--card-bg); border: 1px solid #333; border-top: 4px solid var(--magenta-neon); padding: 40px 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); text-align: center; }
.auth-title { margin-bottom: 25px; color: #fff; font-size: 2rem; text-shadow: 2px 2px 0 var(--cyan-neon), -2px -2px 0 var(--magenta-neon); }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { text-align: left; }
.form-label { display: block; margin-bottom: 5px; color: var(--muted-color); font-size: 0.85rem; font-family: 'Space Mono', monospace; }
.form-input { width: 100%; padding: 12px; background: #0a0a0a; border: 1px solid #444; color: #fff; font-family: 'Space Mono', monospace; outline: none; transition: 0.3s; }
.form-input:focus { border-color: var(--cyan-neon); box-shadow: 0 0 10px rgba(0, 255, 255, 0.2); }
.btn-submit { background: transparent; color: var(--magenta-neon); border: 1px solid var(--magenta-neon); padding: 12px; cursor: pointer; text-transform: uppercase; font-family: 'Space Mono', monospace; font-weight: bold; transition: 0.3s; margin-top: 10px; }
.btn-submit:hover { background: var(--magenta-neon); color: #000; box-shadow: 0 0 15px var(--magenta-neon); }
.auth-switch { margin-top: 20px; font-size: 0.85rem; color: #888; }
.auth-switch a { color: var(--cyan-neon); text-decoration: none; cursor: pointer; }
.auth-switch a:hover { text-decoration: underline; }
.auth-error { color: #ff3333; font-size: 0.85rem; margin-top: 10px; min-height: 20px; }

