* {
    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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../assets/images/bg.jpg') center center / cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Overlay oscuro para tema nocturno */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 0;
}

/* 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(50px);
}

.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 */
.container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    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);
    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);
}

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

.logo img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

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

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

/* Botón de inicio */
.home-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(40, 40, 45, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.home-btn:hover {
    background: rgba(212, 165, 116, 0.3);
    backdrop-filter: blur(15px);
    border-color: rgba(212, 165, 116, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    text-decoration: none;
    color: var(--text-primary);
}

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

.home-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);
}

/* Pared del museo */
.museum-wall {
    position: relative;
    min-height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px 30px 30px;
    margin-bottom: 30px;
}

/* 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, #2a2520, #1a1510);
    padding: 25px;
    border-radius: 2px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 0 0 2px rgba(212, 165, 116, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.frame-border::before {
    content: '';
    position: absolute;
    inset: 15px;
    border: 3px solid #4a3828;
    border-radius: 1px;
    box-shadow: 
        0 0 0 1px rgba(212, 165, 116, 0.2),
        inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.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;
    bottom: -55px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #2a2520, #1a1510);
    padding: 10px 20px;
    border-radius: 3px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(212, 165, 116, 0.3);
    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;
    }
}

/* Controles de galería */
.gallery-controls {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Navegador de obras */
.artwork-navigator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 17px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(40, 40, 45, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 13px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.nav-btn:hover {
    background: rgba(212, 165, 116, 0.3);
    backdrop-filter: blur(20px);
    border-color: rgba(212, 165, 116, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

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

.artwork-counter {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.artwork-counter #currentNumber {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 800;
}

/* Modal de video */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    padding: 40px 20px;
}

.video-modal.active {
    display: flex;
}

/* Luz del museo en el modal */
.video-modal::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 250px;
    background: radial-gradient(ellipse at center top, 
        rgba(212, 165, 116, 0.3) 0%, 
        rgba(212, 165, 116, 0.15) 30%, 
        transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.close-modal {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(40, 40, 45, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 30px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.close-modal:hover {
    background: rgba(212, 165, 116, 0.4);
    backdrop-filter: blur(20px);
    border-color: rgba(212, 165, 116, 0.6);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

/* Gancho del modal */
.modal-frame::before {
    content: '';
    position: absolute;
    top: -30px;
    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: 10;
}

.modal-frame::after {
    content: '';
    position: absolute;
    top: -22px;
    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);
    z-index: 10;
}

.modal-frame {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    animation: modalHang 0.6s ease-out;
}

@keyframes modalHang {
    0% {
        transform: translateY(-100px) scale(0.9);
        opacity: 0;
    }
    60% {
        transform: translateY(10px) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.frame-border-modal {
    position: relative;
    background: linear-gradient(145deg, #2a2520, #1a1510);
    padding: 30px;
    border-radius: 2px;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.9),
        0 20px 50px rgba(0, 0, 0, 0.7),
        inset 0 0 0 3px rgba(212, 165, 116, 0.3),
        inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.frame-border-modal::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 4px solid #4a3828;
    border-radius: 1px;
    box-shadow: 
        0 0 0 2px rgba(212, 165, 116, 0.2),
        inset 0 0 0 2px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Borde decorativo interno */
.frame-border-modal::after {
    content: '';
    position: absolute;
    inset: 26px;
    border: 1px solid rgba(74, 56, 40, 0.5);
    border-radius: 1px;
}

.modal-artwork-content {
    position: relative;
    width: 80vw;
    max-width: 1400px;
    max-height: 75vh;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-artwork-content img,
.modal-artwork-content video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.modal-artwork-content img {
    z-index: 2;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.modal-artwork-content img.hidden {
    opacity: 0;
    z-index: 1;
}

.modal-artwork-content video {
    z-index: 1;
}

.modal-plaque {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #2a2520, #1a1510);
    padding: 15px 35px;
    border-radius: 3px;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.7),
        inset 0 2px 0 rgba(212, 165, 116, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
    min-width: 300px;
    color: var(--text-primary);
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.modal-plaque h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.modal-plaque p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 3px 0;
}

.modal-plaque p:first-of-type {
    font-style: italic;
    font-weight: 500;
}

/* Barra de miniaturas */
.thumbnail-strip {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 17px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow-x: auto;
    overflow-y: hidden;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.thumbnail-strip::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

.thumbnail-container {
    display: flex;
    gap: 12px;
    padding: 4px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    cursor: pointer;
    border-radius: 7px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(30, 30, 35, 0.5);
    backdrop-filter: blur(5px);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    border-color: rgba(212, 165, 116, 0.5);
    background: rgba(40, 40, 45, 0.7);
    backdrop-filter: blur(10px);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: rgba(212, 165, 116, 0.8);
    background: rgba(212, 165, 116, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item.active::after {
    opacity: 0;
}

.thumbnail-item:not(.active)::after {
    opacity: 1;
}

.thumbnail-item:hover::after {
    opacity: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .artwork-content {
        max-width: 600px;
        max-height: 45vh;
    }

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

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

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

    .header-actions {
        gap: 10px;
    }

    .home-btn span {
        display: none;
    }

    .home-btn {
        padding: 10px 12px;
        border-radius: 12px;
    }

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

    .museum-wall {
        padding: 40px 20px 20px;
        min-height: 60vh;
    }

    .artwork-content {
        max-width: 450px;
        min-width: 250px;
        max-height: 40vh;
        overflow: hidden;
    }
    
    .artwork-content img,
    .artwork-content video {
        max-height: 40vh;
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .frame-border {
        padding: 15px;
    }

    .artwork-navigator {
        padding: 15px 20px;
    }

    .nav-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .nav-btn span {
        display: none;
    }

    .artwork-counter {
        font-size: 16px;
    }

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

    .thumbnail-item {
        width: 100px;
        height: 75px;
    }
}

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

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

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

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

    .artwork-content {
        width: auto;
        max-width: 350px;
        min-width: 200px;
        max-height: 35vh;
        overflow: hidden;
    }
    
    .artwork-content img,
    .artwork-content video {
        max-height: 35vh;
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .frame-border {
        padding: 12px;
    }

    .artwork-plaque {
        bottom: -50px;
        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;
    }

    .thumbnail-item {
        width: 80px;
        height: 60px;
    }
    
    /* Modal responsive */
    .video-modal {
        padding: 15px 10px;
    }
    
    .modal-artwork-content {
        width: 85vw;
        max-width: 500px;
        max-height: 55vh;
        aspect-ratio: auto;
        min-height: 300px;
    }
    
    .modal-artwork-content img,
    .modal-artwork-content video {
        object-fit: contain;
        max-height: 100%;
        max-width: 100%;
    }
    
    .frame-border-modal {
        padding: 10px;
    }
    
    .frame-border-modal::before {
        inset: 12px;
        border-width: 2px;
    }
    
    .modal-plaque {
        bottom: -65px;
        padding: 8px 15px;
        min-width: 180px;
    }
    
    .modal-plaque h3 {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .modal-plaque p {
        font-size: 10px;
    }
    
    .close-modal {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .modal-artwork-content {
        width: 80vw;
        max-width: 600px;
        max-height: 60vh;
        aspect-ratio: auto;
        min-height: 350px;
    }
    
    .modal-artwork-content img,
    .modal-artwork-content video {
        object-fit: contain;
        max-height: 100%;
        max-width: 100%;
    }
    
    .frame-border-modal {
        padding: 14px;
    }
    
    .frame-border-modal::before {
        inset: 15px;
        border-width: 3px;
    }
    
    .modal-plaque {
        bottom: -70px;
        padding: 10px 20px;
        min-width: 220px;
    }
    
    .modal-plaque h3 {
        font-size: 14px;
        letter-spacing: 1.5px;
    }
    
    .modal-plaque p {
        font-size: 11px;
    }
    
    .close-modal {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .modal-artwork-content {
        width: 85vw;
        max-height: 65vh;
    }
    
    .frame-border-modal {
        padding: 25px;
    }
    
    .modal-plaque {
        bottom: -75px;
        padding: 12px 25px;
        min-width: 250px;
    }
    
    .modal-plaque h3 {
        font-size: 16px;
    }
    
    .modal-plaque p {
        font-size: 12px;
    }
}

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

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

/* Efecto de carga */
.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.video-container.loading::after {
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Video en pantalla completa para móviles */
.fullscreen-video-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    object-fit: contain;
}

.fullscreen-video-mobile::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.8);
}

/* Ocultar el modal en móviles cuando hay video en pantalla completa */
body:has(.fullscreen-video-mobile) .video-modal {
    display: none !important;
}

body:has(.fullscreen-video-mobile) .container {
    display: none !important;
}

