/* ============================================
   ESTILOS COMPARTIDOS PARA YATEVEO.COM
   Paleta: Negro mate, Blanco hueso, Dorado apagado
   ============================================ */

:root {
    --bg-matte: #121212;
    --card-bg: #1E1E1E;
    --text-main: #F5F5F0;
    --text-muted: #A0A0A0;
    --gold-accent: #C5A059;
    --gold-hover: #D4AF37;
    --error-red: #E57373;
    --success-green: #81C784;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-matte);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 100px; /* Espacio para el reproductor flotante */
}

.container { max-width: 900px; margin: 0 auto; padding: 20px; }

/* --- HEADER CON OJOS ANIMADOS --- */
header {
    text-align: center;
    padding: 30px 20px 20px 20px;
    border-bottom: 1px solid #2A2A2A;
}

/* Contenedor de los dos ojos */
.eyes-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 15px;
}

/* Cada ojo individual */
.eye-container {
    width: 70px; 
    height: 45px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid var(--gold-accent);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: relative; 
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.5),
        inset 0 2px 8px rgba(0,0,0,0.3);
}

/* Iris con gradiente dorado */
.iris {
    width: 28px; 
    height: 28px;
    background: radial-gradient(
        circle at 30% 30%,
        #D4AF37 0%,
        #C5A059 40%,
        #A08040 70%,
        #8B7035 100%
    );
    border-radius: 50%;
    position: absolute;
    transition: transform 0.1s ease-out;
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.3),
        0 0 8px rgba(197, 160, 89, 0.3);
}

/* Patrón del iris (líneas sutiles) */
.iris::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px,
        transparent 2px,
        rgba(0,0,0,0.1) 2px,
        rgba(0,0,0,0.1) 3px
    );
    border-radius: 50%;
    opacity: 0.4;
}

/* Pupila negra */
.pupil {
    width: 12px; 
    height: 12px;
    background: radial-gradient(circle at 40% 40%, #000 60%, #1a1a1a 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.8);
}

/* Brillo sutil (reflejo de luz) */
.eye-shine {
    width: 6px; 
    height: 6px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    position: absolute;
    top: 25%;
    left: 30%;
    pointer-events: none;
}

/* Párpado superior (para animación de parpadeo) */
.eyelid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    border-bottom: 1px solid var(--gold-accent);
    transition: height 0.15s ease-in-out;
    z-index: 10;
}

/* Animación de parpadeo */
@keyframes blink {
    0%, 90%, 100% { height: 0%; }
    95% { height: 100%; }
}

.eye-container.blink .eyelid {
    animation: blink 0.3s ease-in-out;
}

/* Pestañas sutiles (decorativas) */
.eye-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--gold-accent) 20%,
        var(--gold-accent) 80%,
        transparent 100%
    );
    border-radius: 2px;
    opacity: 0.6;
}

h1.site-title {
    font-size: 2rem;
    color: var(--text-main);
    margin-top: 15px;
    font-weight: 300;
    letter-spacing: 2px;
}
h1.site-title span { color: var(--gold-accent); font-weight: 600; }
.tagline { color: var(--text-muted); font-size: 0.95rem; margin-top: 8px; }

/* --- MENÚ DE NAVEGACIÓN --- */
.main-nav {
    background: var(--card-bg);
    border-bottom: 1px solid #2A2A2A;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold-accent);
    border-bottom-color: var(--gold-accent);
}

/* --- TARJETAS / SECCIONES --- */
.section-card {
    background: var(--card-bg);
    border: 1px solid #2A2A2A;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
}
.section-title {
    color: var(--gold-accent);
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* --- FORMULARIOS --- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-group input, .form-group textarea {
    width: 100%;
    background: var(--bg-matte);
    border: 1px solid #333;
    color: var(--text-main);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.btn-submit {
    background: transparent;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}
.btn-submit:hover {
    background: var(--gold-accent);
    color: var(--bg-matte);
}

/* --- ALERTAS --- */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}
.alert-success { background: rgba(129, 199, 132, 0.1); color: var(--success-green); border: 1px solid #2E7D32; }
.alert-error { background: rgba(229, 115, 115, 0.1); color: var(--error-red); border: 1px solid #C62828; }

/* --- MENSAJES / COMENTARIOS --- */
.mensaje-item {
    background: var(--bg-matte);
    border-left: 3px solid var(--gold-accent);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.mensaje-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}
.mensaje-autor { color: var(--gold-accent); font-weight: 600; font-size: 1.1rem; }
.mensaje-fecha { color: var(--text-muted); font-size: 0.8rem; }
.mensaje-texto { color: var(--text-main); margin-bottom: 15px; white-space: pre-wrap; }

/* --- VIDEO EMBED --- */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
    margin-top: 15px;
    background: #000;
}
.video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* --- REPRODUCTOR DE AUDIO --- */
.audio-player {
    background: var(--bg-matte);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.audio-player h3 {
    color: var(--gold-accent);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 500;
}
.audio-player .meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.audio-player audio {
    width: 100%;
    margin: 10px 0;
}
.audio-player .letra {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    white-space: pre-wrap;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.8;
    max-height: 300px;
    overflow-y: auto;
}
.audio-player .btn-download {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: transparent;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.audio-player .btn-download:hover {
    background: var(--gold-accent);
    color: var(--bg-matte);
}

/* --- REPRODUCTOR FLOTANTE --- */
.floating-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 2px solid var(--gold-accent);
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    display: none; /* Oculto hasta que haya canciones */
}
.floating-player.active {
    display: block;
}
.player-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.player-info {
    flex: 1;
    min-width: 0;
}
.player-title {
    color: var(--gold-accent);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
}
.player-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}
.player-btn {
    background: transparent;
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1rem;
}
.player-btn:hover {
    background: var(--gold-accent);
    color: var(--bg-matte);
}
.player-btn.play-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}
.player-progress {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}
.player-progress input[type="range"] {
    flex: 1;
    height: 4px;
    background: #333;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}
.player-progress input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--gold-accent);
    border-radius: 50%;
    cursor: pointer;
}
.player-progress input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--gold-accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}
.player-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    min-width: 40px;
}
.player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
}
.player-volume input[type="range"] {
    width: 80px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}
.player-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: var(--gold-accent);
    border-radius: 50%;
    cursor: pointer;
}
.player-volume input[type="range"]::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: var(--gold-accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

@media (max-width: 768px) {
    .player-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .player-progress {
        order: 3;
        flex: 0 0 100%;
    }
    .player-volume {
        display: none;
    }
}

/* --- GRID DE VIDEOS --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.video-card {
    background: var(--card-bg);
    border: 1px solid #2A2A2A;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}
.video-card:hover { transform: translateY(-3px); }
.video-card .video-embed { margin-top: 0; border-radius: 0; }
.video-card .video-info { padding: 15px; }
.video-card h3 {
    color: var(--gold-accent);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 500;
}
.video-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- PÁGINA QUIÉN SOY --- */
.perfil-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.perfil-foto {
    flex: 0 0 250px;
}
.perfil-foto img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--gold-accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.perfil-bio {
    flex: 1;
    min-width: 280px;
}
.perfil-bio p {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* --- NEWSLETTER --- */
.newsletter-item {
    background: var(--bg-matte);
    border-left: 3px solid var(--gold-accent);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.newsletter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}
.newsletter-title {
    color: var(--gold-accent);
    font-size: 1.3rem;
    font-weight: 600;
}
.newsletter-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.newsletter-image {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #333;
}
.newsletter-content {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1rem;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    border-top: 1px solid #2A2A2A;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.social-links a {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
}
.social-links a:hover {
    color: var(--gold-accent);
    transform: translateY(-3px);
}
.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-text a {
    color: var(--gold-accent);
    text-decoration: none;
}

/* --- EMPTY STATE --- */
.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 20px;
    font-size: 1.1rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    h1.site-title { font-size: 1.5rem; }
    .nav-container { gap: 15px; }
    .nav-link { font-size: 0.85rem; }
    .perfil-foto { flex: 0 0 100%; max-width: 250px; margin: 0 auto; }
    .section-card { padding: 20px; }
}