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

:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --glass-bg: rgba(20, 20, 25, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0a0;
    --accent-color: #d4a574;
    --shadow-light: rgba(255, 255, 255, 0.05);
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(to bottom, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Luces del museo */
.museum-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.light {
    position: absolute;
    top: -50px;
    width: 150px;
    height: 200px;
    background: radial-gradient(ellipse at center top, 
        rgba(212, 165, 116, 0.25) 0%, 
        rgba(212, 165, 116, 0.12) 30%, 
        transparent 70%);
    filter: blur(20px);
}

.light:nth-child(1) { left: 20%; }
.light:nth-child(2) { left: 50%; transform: translateX(-50%); }
.light:nth-child(3) { right: 20%; }

/* Contenedor principal con efecto glass oscuro mejorado */
.container {
    background: rgba(20, 20, 25, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.6),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Indicador de progreso */
.progress-indicator {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.progress-step span {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.progress-step.active span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.progress-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.3) 100%);
    border-radius: 1px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.logo span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
}

/* Acciones del header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Botón del museo - Principal CTA */
.museum-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    /* Efecto liquid glass mejorado para fondo blanco */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(200, 90, 40, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
}

.museum-btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 10%;
    right: 10%;
    height: 8px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 50%, transparent 100%);
    border-radius: 50px;
    filter: blur(4px);
    opacity: 0.7;
    z-index: -1;
}

.museum-btn::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(200, 90, 40, 0.2), transparent);
    border-radius: 50px;
    filter: blur(1px);
    opacity: 0.6;
    z-index: -1;
}

.museum-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(200, 90, 40, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.museum-btn:hover::before {
    opacity: 0.9;
    height: 12px;
    filter: blur(6px);
}

.museum-btn:hover::after {
    opacity: 0.8;
    height: 5px;
    filter: blur(2px);
}

.museum-btn svg {
    width: 18px;
    height: 18px;
}

.museum-btn span {
    letter-spacing: 0.5px;
}

.menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn:hover span {
    background: rgba(100, 100, 100, 0.8);
}

/* Contenido principal del museo */
.museum-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    min-height: 70vh;
    padding: 20px 0;
}

/* Sección del retrato de Byron (lado izquierdo) */
.byron-portrait-section {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 45px;
    min-width: 350px;
}

/* Sección de biografía (lado derecho) */
.byron-biography-section {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.biography-content {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    width: 100%;
    max-width: 600px;
}

.biography-content h2 {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: left;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-shadow: none;
}

/* Bloques de biografía */
.biography-intro {
    margin-bottom: 20px;
}

.bio-block {
    margin-bottom: 15px;
}

.bio-icon svg {
    width: 24px;
    height: 24px;
}

.bio-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.8px;
    line-height: 1.4;
}

.bio-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: justify;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Botón biografía completa */
.biography-actions {
    text-align: center;
    margin-top: 20px;
}

.full-biography-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: none;
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    /* Efecto liquid glass mejorado para fondo blanco */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
}

.full-biography-btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 10%;
    right: 10%;
    height: 8px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 50%, transparent 100%);
    border-radius: 50px;
    filter: blur(4px);
    opacity: 0.7;
    z-index: -1;
}

.full-biography-btn::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(200, 90, 40, 0.2), transparent);
    border-radius: 50px;
    filter: blur(1px);
    opacity: 0.6;
    z-index: -1;
}

.full-biography-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(200, 90, 40, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.full-biography-btn:hover::before {
    opacity: 0.9;
    height: 12px;
    filter: blur(6px);
}

.full-biography-btn:hover::after {
    opacity: 0.8;
    height: 5px;
    filter: blur(2px);
}

.full-biography-btn svg {
    width: 18px;
    height: 18px;
}

.full-biography-btn span {
    letter-spacing: 0.5px;
}

/* Modal de biografía */
.biography-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.biography-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    margin: 5vh auto;
    padding: 50px 40px;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.2),
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    animation: modalSlideIn 0.4s ease-out;
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 5%;
    right: 5%;
    height: 12px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
    border-radius: 50px;
    filter: blur(8px);
    opacity: 0.8;
    z-index: -1;
}

.modal-content::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 15%;
    right: 15%;
    height: 4px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.3), transparent);
    border-radius: 50px;
    filter: blur(2px);
    opacity: 0.7;
    z-index: -1;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
}

.close-modal::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 10%;
    right: 10%;
    height: 6px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 50%, transparent 100%);
    border-radius: 50px;
    filter: blur(3px);
    opacity: 0.7;
    z-index: -1;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.close-modal:hover::before {
    opacity: 0.9;
    height: 8px;
    filter: blur(4px);
}

.close-modal svg {
    width: 20px;
    height: 20px;
}

.modal-header h2 {
    font-size: 36px;
    font-weight: 300;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 20px;
    text-shadow: none;
    position: relative;
}

.modal-header h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    filter: blur(0.5px);
}

/* Bloques de biografía en el modal - Layout simplificado */
.biography-blocks {
    display: grid;
    gap: 30px;
}

.bio-block-full {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    position: relative;
    margin-bottom: 20px;
}

.bio-block-full::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 8%;
    right: 8%;
    height: 8px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.04) 50%, transparent 100%);
    border-radius: 50px;
    filter: blur(4px);
    opacity: 0.6;
    z-index: -1;
}

.bio-block-full::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.15), transparent);
    border-radius: 50px;
    filter: blur(1px);
    opacity: 0.5;
    z-index: -1;
}

.bio-block-full:hover {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.bio-block-full:hover::before {
    opacity: 0.8;
    height: 12px;
    filter: blur(6px);
}

.bio-block-full:hover::after {
    opacity: 0.7;
    height: 5px;
    filter: blur(2px);
}

.bio-block-full .bio-icon {
    display: none; /* Simplificar quitando íconos */
}

.bio-block-full .bio-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 8px;
}

.bio-block-full .bio-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    opacity: 0.6;
}

.bio-block-full .bio-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    text-align: justify;
    margin: 0;
}

/* Indicador de audio */
.audio-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    opacity: 0.7;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.audio-indicator:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.audio-indicator svg {
    width: 24px;
    height: 24px;
}

/* Animación del indicador cuando se reproduce audio */
.audio-indicator.playing {
    opacity: 1;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    animation: audioPlaying 1.5s ease-in-out infinite;
}

@keyframes audioPlaying {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Efecto hover en la imagen de Byron */
#byronImage {
    cursor: pointer;
    transition: all 0.3s ease;
}

#byronImage:hover {
    filter: brightness(1.1) contrast(1.05);
}

/* Ajustes para el marco de Byron */
.byron-portrait-section .artwork-content {
    max-width: 300px;
    max-height: 400px;
    position: relative;
}

/* Gancho de la pared */
.wall-hook {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background: linear-gradient(to bottom, #8b7355, #6d5a45);
    border-radius: 5px 5px 0 0;
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.wall-hook::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: #4a4a4a;
    border-radius: 50%;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
}

/* Cuadro colgado */
.hanging-artwork {
    position: relative;
    transform-origin: top center;
    animation: gentleSwing 4s ease-in-out infinite;
}

@keyframes gentleSwing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(0.5deg); }
    75% { transform: rotate(-0.5deg); }
}

/* Alambre de colgar */
.hanging-wire {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, 
        rgba(150, 150, 150, 0.8), 
        rgba(100, 100, 100, 0.6));
    z-index: 0;
}

.hanging-wire::before,
.hanging-wire::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(150, 150, 150, 0.8) 50%, 
        transparent);
}

.hanging-wire::before {
    right: 0;
}

.hanging-wire::after {
    left: 0;
    transform: scaleX(-1);
}

/* Marco del cuadro */
.artwork-frame {
    position: relative;
    z-index: 2;
}

.frame-border {
    position: relative;
    background: linear-gradient(145deg, #f5f0e8, #d4c8b0);
    padding: 25px;
    border-radius: 2px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.5),
        inset 0 0 30px rgba(0, 0, 0, 0.08);
}

.frame-border::before {
    content: '';
    position: absolute;
    inset: 15px;
    border: 3px solid #8b7355;
    border-radius: 1px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.artwork-content {
    position: relative;
    width: auto;
    max-width: 600px;
    min-width: 250px;
    max-height: 42vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.artwork-content img,
.artwork-content video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    max-height: 42vh;
    max-width: 100%;
}

.artwork-content img {
    z-index: 1;
    transition: opacity 0.5s ease;
    cursor: pointer;
    position: relative;
}

.artwork-content img:hover {
    opacity: 0.95;
}

.artwork-content video {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.artwork-content video.active {
    opacity: 1;
}

.artwork-content img.hidden {
    opacity: 0;
}

/* Placa informativa */
.artwork-plaque {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #e8e8e8, #d0d0d0);
    padding: 10px 20px;
    border-radius: 3px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-align: center;
    min-width: 210px;
}

.artwork-plaque h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
    letter-spacing: 1.3px;
}

.artwork-plaque p {
    font-size: 10px;
    color: var(--text-secondary);
    margin: 2px 0;
}

.artwork-plaque p:first-of-type {
    font-style: italic;
}

/* Animación de descolgarse */
.hanging-artwork.unhang {
    animation: unhangArtwork 1s ease-in-out forwards;
}

@keyframes unhangArtwork {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    30% {
        transform: translateY(20px) rotate(2deg);
    }
    60% {
        transform: translateY(100vh) rotate(-5deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(-8deg);
        opacity: 0;
    }
}

/* Animación de colgarse */
.hanging-artwork.hang {
    animation: hangArtwork 1s ease-in-out forwards;
}

@keyframes hangArtwork {
    0% {
        transform: translateY(-100vh) rotate(8deg);
        opacity: 0;
    }
    40% {
        transform: translateY(-50px) rotate(-2deg);
        opacity: 0.8;
    }
    70% {
        transform: translateY(20px) rotate(1deg);
        opacity: 1;
    }
    85% {
        transform: translateY(-10px) rotate(-0.5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .museum-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .byron-portrait-section {
        min-width: auto;
        width: 100%;
        justify-content: center;
    }

    .byron-biography-section {
        width: 100%;
        min-height: auto;
    }

    .biography-content {
        max-width: 100%;
    }

    .artwork-content {
        max-width: 400px;
        max-height: 400px;
    }

    .frame-border {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        border-radius: 20px;
    }

    .logo span {
        font-size: 10px;
    }

    .progress-indicator {
        position: static;
        transform: none;
        order: 2;
        margin: 10px 0;
    }

    .progress-step span {
        font-size: 10px;
    }

    .progress-line {
        width: 30px;
    }

    .header-actions {
        gap: 8px;
    }

    .museum-btn span {
        display: none;
    }

    .museum-btn {
        padding: 10px 12px;
        border-radius: 12px;
        gap: 0;
    }

    .museum-btn svg {
        width: 20px;
        height: 20px;
    }

    .museum-content {
        gap: 40px;
        padding: 15px 0;
    }

    .byron-portrait-section {
        padding-top: 35px;
        min-width: auto;
    }

    .byron-portrait-section .artwork-content {
        max-width: 280px;
        max-height: 350px;
        width: 100%;
        overflow: hidden;
    }

    .byron-portrait-section .artwork-content img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .frame-border {
        padding: 15px;
    }

    .biography-content {
        padding: 30px 20px;
        margin-top: 20px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .biography-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
        letter-spacing: 1.5px;
    }

    .bio-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .artwork-plaque {
        min-width: 200px;
        max-width: 85vw;
        padding: 10px 18px;
    }
    
    .artwork-plaque h3 {
        font-size: 13px;
        letter-spacing: 1.2px;
    }

    .audio-indicator {
        width: 35px;
        height: 35px;
    }

    .audio-indicator svg {
        width: 20px;
        height: 20px;
    }

    /* Modal responsive */
    .modal-content {
        margin: 10vh auto;
        padding: 30px 25px;
        max-height: 80vh;
    }

    .modal-header h2 {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .biography-blocks {
        gap: 25px;
    }

    .bio-block-full {
        padding: 25px 20px;
    }

    .bio-block-full .bio-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .bio-block-full .bio-content p {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .progress-indicator {
        order: 1;
    }

    .header-actions {
        justify-content: center;
        order: 3;
    }

    .logo {
        flex-direction: column;
        gap: 10px;
        order: 0;
    }

    .museum-content {
        gap: 35px;
        padding: 10px 0;
    }

    .byron-portrait-section {
        width: 100%;
        padding-top: 30px;
    }

    .byron-portrait-section .artwork-content {
        max-width: 250px;
        max-height: 300px;
        width: 100%;
        overflow: hidden;
    }

    .byron-portrait-section .artwork-content img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .frame-border {
        padding: 15px;
    }

    .biography-content {
        padding: 25px 15px;
        margin-top: 15px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .biography-content h2 {
        font-size: 20px;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    .bio-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .artwork-plaque {
        min-width: 180px;
        max-width: 90vw;
        padding: 10px 15px;
        white-space: normal;
        word-wrap: break-word;
    }

    .artwork-plaque h3 {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .artwork-plaque p {
        font-size: 10px;
    }

    .audio-indicator {
        width: 30px;
        height: 30px;
        top: 10px;
        right: 10px;
    }

    .audio-indicator svg {
        width: 18px;
        height: 18px;
    }

    /* Modal responsive para móviles pequeños */
    .modal-content {
        margin: 35vh auto;
        padding: 25px 20px;
        max-height: 85vh;
        border-radius: 15px;
    }

    .modal-header h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .biography-blocks {
        gap: 20px;
    }

    .bio-block-full {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .bio-block-full .bio-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .bio-block-full .bio-content p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.6s ease-out;
}

/* Audio element oculto */
#byronAudio {
    display: none;
}

.about-container {
    padding: 2rem;
}

.title {
    font-size: 36px;
    font-weight: 300;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 20px;
    text-shadow: none;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    filter: blur(0.5px);
}

/* Contenedor de créditos */
.credits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Cards - Diseño minimalista con glassmorphism */
.card {
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Efecto de sombra flotante */
.card::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 8%;
    right: 8%;
    height: 10px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.12) 0%, transparent 70%);
    filter: blur(8px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

/* Contenedor de imagen */
.card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, rgba(40, 40, 45, 0.3), rgba(30, 30, 35, 0.2));
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(10%) brightness(1.05);
}

/* Efecto de brillo en la imagen */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

/* Contenido de la card */
.card-content {
    padding: 20px 24px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
}

.card h2 {
    margin: 0 0 8px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.card-role {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.85;
}

.card-id {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(40, 40, 45, 0.5);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hover effects */
.card:hover {
    background: rgba(40, 40, 50, 0.75);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(212, 165, 116, 0.4);
}

.card:hover::before {
    opacity: 1;
    bottom: -12px;
}

.card:hover .card-image img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1.1);
}

.card:hover .card-shine {
    left: 100%;
}

.card:hover .card-id {
    background: rgba(212, 165, 116, 0.2);
    border-color: rgba(212, 165, 116, 0.3);
    color: var(--accent-color);
}

/* Responsive mejoras para las cards */
@media (max-width: 768px) {
    .credits-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .card {
        border-radius: 18px;
    }
    
    .card-image {
        height: 260px;
        border-radius: 18px 18px 0 0;
    }
    
    .card-content {
        padding: 18px 20px 20px;
    }
    
    .card h2 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .card-role {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .card-id {
        font-size: 10px;
        padding: 5px 12px;
    }
    
    .title {
        font-size: 28px;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .credits-container {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 25px;
        padding: 0 10px;
    }
    
    .card {
        border-radius: 16px;
    }
    
    .card-image {
        height: 240px;
        border-radius: 16px 16px 0 0;
    }
    
    .card-content {
        padding: 16px 18px 18px;
    }
    
    .card h2 {
        font-size: 15px;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .card-role {
        font-size: 10px;
        margin-bottom: 8px;
        letter-spacing: 0.6px;
    }
    
    .card-id {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .title {
        font-size: 24px;
        margin-bottom: 25px;
        padding-bottom: 12px;
    }
    
    .card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* Modal de detalles del miembro */
.member-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.member-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: rgba(25, 25, 30, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
    margin: auto;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(40, 40, 45, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(212, 165, 116, 0.3);
    border-color: rgba(212, 165, 116, 0.5);
    transform: rotate(90deg) scale(1.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.modal-content {
    padding: 40px 35px;
}

.modal-header {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1;
}

.modal-info h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.modal-role {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.modal-degree {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-style: italic;
    opacity: 0.9;
}

.modal-semester {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(212, 165, 116, 0.15);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.modal-id {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(40, 40, 45, 0.6);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 15px 0;
    letter-spacing: 0.3px;
}

.modal-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    text-align: justify;
}

/* Scrollbar oscuro para el modal */
.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: rgba(20, 20, 25, 0.3);
    border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: rgba(212, 165, 116, 0.4);
    border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 165, 116, 0.6);
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .member-modal {
        padding: 15px;
    }
    
    .modal-container {
        width: 95%;
        max-height: 90vh;
        border-radius: 20px;
    }
    
    .modal-content {
        padding: 35px 25px;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .modal-avatar {
        width: 100px;
        height: 100px;
    }
    
    .modal-info h2 {
        font-size: 20px;
    }
    
    .modal-body h3 {
        font-size: 16px;
    }
    
    .modal-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .member-modal {
        padding: 10px;
    }
    
    .modal-container {
        width: 95%;
        border-radius: 18px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
    
    .modal-close svg {
        width: 18px;
        height: 18px;
    }
    
    .modal-avatar {
        width: 90px;
        height: 90px;
        border-radius: 16px;
    }
    
    .modal-info h2 {
        font-size: 18px;
    }
    
    .modal-role {
        font-size: 11px;
    }
    
    .modal-degree {
        font-size: 10px;
    }
    
    .modal-semester {
        font-size: 9px;
        padding: 3px 10px;
    }
    
    .modal-id {
        font-size: 10px;
        padding: 5px 12px;
    }
    
    .modal-body h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .modal-description {
        font-size: 13px;
        line-height: 1.5;
    }
}