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

body {
    background: #000;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#slideshow {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#slide-image {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

#title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-family: "Lexend", sans-serif;
    font-weight: 200;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    padding: 18px 40px;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#title-overlay.visible {
    opacity: 1;
}

.nav-btn {
    position: absolute;
    right: 24px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease, background 0.2s ease;
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-btn.visible {
    opacity: 1;
}

#nav-prev {
    top: 50%;
    transform: translateY(calc(-100% - 8px));
}

#nav-next {
    top: 50%;
    transform: translateY(8px);
}
