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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* Gallery */
.gallery {
    display: flex;
    gap: 0;
    width: 100vw;
    min-height: 100vh;
}

.gallery-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    display: block;
    width: 100%;
    line-height: 0;
}

.gallery-item video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    background: #000;
    margin: 0;
    padding: 0;
    vertical-align: top;
}


/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 0;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-video {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.modal-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.modal-title {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 2001;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-prev {
    left: 2rem;
}

.modal-next {
    right: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .modal-prev {
        left: 1rem;
    }

    .modal-next {
        right: 1rem;
    }

    .modal-video {
        max-width: 100vw;
        max-height: 100vh;
    }
}
