.characters-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
    padding: 2vh;
    position: relative;
}

/* Стрелка назад */
.back-arrow {
    position: absolute;
    top: 2vh;
    left: 2vh;
    width: 6vh;
    height: 6vh;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.back-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.back-arrow img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Панель навигации */
.navigation-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8vh;
    margin: 8vh 0 3vh 0;
    width: 100%;
    flex-shrink: 0;
}

/* Стрелки навигации */
.nav-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 8vh;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-arrow img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Кнопка OK */
.ok-button {
    /*background: rgba(76, 175, 80, 0.7);*/
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 10vh;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ok-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.ok-button img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Отображение персонажа */
.character-display {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-height: 70vh;
}

.character-display img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 2vh;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.character-name {
    margin-top: 2vh;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.6);
    padding: 1vh 3vh;
    border-radius: 1vh;
}