﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background: #08142e;
    color: #fff;
    overflow: hidden;
}

.app {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: #0e244a;
    padding: 8px;
    display: flex;
    justify-content: space-between;
}

.logo {
    background: #fff;
    color: #000;
    padding: 5px 10px;
}

.actions {
    display: flex;
    gap: 5px;
}

.btn {
    padding: 6px 10px;
}


.stage {
    flex: 1;
    position: relative;
}


.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    transition: .5s;
}

    .slide.active {
        opacity: 1;
    }


.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .hero img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        transform-origin: left;
        transform: rotateY(90deg);
        transition: transform 1s ease;
    }

.slide.active img {
    transform: rotateY(0);
}

.slide.prev img {
    transform: rotateY(-90deg);
}


.caption {
    background: #0f214d;
    padding: 8px;
    text-align: center;
}


.nav {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

    .nav button {
        pointer-events: auto;
        width: 40px;
        height: 40px;
    }


.dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #fff5;
    border-radius: 50%;
}

    .dot.active {
        background: #fff;
    }


footer {
    background: #0e244a;
    text-align: center;
    padding: 6px;
    font-size: 12px;
    flex: 0 0 auto;
}


@media print {
    header, .nav, .dots, footer {
        display: none
    }

    .slide {
        position: static;
        opacity: 1 !important;
        page-break-after: always;
    }

    .hero img {
        transform: none !important;
        width: 100%;
    }
}
