html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111;
    font-family: Verdana, Arial, sans-serif;
}

#slide-container {
    width: 100%;
    height: calc(100% - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
}

#slide {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#controls {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 9999;
}

.control-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255,102,0,0.9);
    color: white;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.control-btn:active {
    transform: scale(0.95);
}

#counter {
    color: white;
    font-size: 16px;
    min-width: 70px;
    text-align: center;
}

#fullscreenButton {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,102,0,0.9);
    color: white;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 700px) {

    #controls {
        height: 52px;
        gap: 8px;
    }

    #slide-container {
        height: calc(100% - 52px);
    }

    .control-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    #fullscreenButton {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    #counter {
        font-size: 14px;
        min-width: 60px;
    }
}
