.scopri {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Arial, sans-serif;
}

/* Темное наложение поверх фоновой картинки, чтобы текст хорошо читался */
.scopri::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.testoContainer {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.testoContainer .intro {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.testoContainer .intro-autore {
    font-size: 22px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
}

.testoContainer .intro-autore .nome {
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    margin-top: 15px;
    color: #f0a500; /* Акцентный цвет */
}

.testoContainer hr.divisore {
    width: 60px;
    border: none;
    border-top: 2px solid #f0a500;
    margin: 25px auto;
}

.testoContainer .intro-frase {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #fff;
}

.testoContainer .content {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
    text-align: left;
}

.testoContainer .content p {
    margin-bottom: 15px;
}

.testoContainer .content a {
    color: #f0a500;
    text-decoration: none;
    font-weight: bold;
}

.testoContainer .content a:hover {
    text-decoration: underline;
}

/* Стили для элементов управления слайдером */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
}

.controls img {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.2s;
    width: 30px;
    filter: invert(1); /* Делаем иконки белыми, если они черные */
}

.controls img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.controls .pager {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.controls .pager.active, .controls .pager:hover {
    background: #f0a500;
    transform: scale(1.2);
}

/* Кнопка закрытия (На главную) */
.close-scopri {
    position: fixed;
    top: 30px;
    right: 40px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 22px;
    text-decoration: none;
    z-index: 9999;
    transition: background 0.3s, transform 0.2s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-scopri:hover {
    background: #f0a500;
    transform: scale(1.1);
    color: #fff;
    border-color: #f0a500;
}
