/* Скидання (reset) основних стилів за бажанням */
* {
    padding: 0;
    box-sizing: #aaaaaa;
    margin: 0 auto;
    max-width: 800px;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1b1b1b;

    /* Темний фон */
    color: #f0f0f0;

    /* Світлий колір тексту */
    line-height: 1.5;
    font-size: large;
    text-align: left;
}

/* Контейнер для центрування та обмеження ширини */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    /* padding: 1rem */
}

/* Шапка сайту */
.site-header {
    background-color: #000000;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    margin: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ffac33;
}

/* Банер / Верхній блок */
.top-banner {
    /* background-color: #333 */
    text-align: center;
    padding: 2rem 0;
}

.top-banner h2 {
    font-size: 34px;
    margin-bottom: 1rem;
}

/* Для мобільних пристроїв (ширина до 767px) */
@media (max-width: 767px) {
    .top-banner h2 {
        font-size: 24px;
    }
}

.top-banner p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Основний контент */
.content-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* При ширині екрана більше 768px виводити по 2 колонки, більше 992px - 3 колонки */
@media (min-width: 768px) {
    .content-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .content-blocks {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Стиль для кожного блоку */
.content-item {
    background-color: #2c2c2c;
    padding: 1rem;
    border-radius: 4px;
}

.content-item h3 {
    margin: 1rem 0 0.5rem;
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    max-width: 800px;
    margin: 0 auto;
}

/* Рекламний блок */
.ads-section {
    background-color: #444;
    padding: 2rem 0;
    margin: 2rem 0;
}

.ads-block {
    text-align: center;
}

.ads-block p {
    margin-bottom: 1rem;
}

.btn {
    background-color: #ffac33;
    border: none;
    padding: 0.75rem 1.5rem;
    color: #1b1b1b;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #ffd280;
}

/* Коментарі */
.comments-section {
    margin-bottom: 2rem;
}

.comments-section h2 {
    margin-bottom: 1rem;
}

.comment-item {
    background-color: #2c2c2c;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 4px;
}

.comment-item strong {
    display: block;
    margin-bottom: 0.5rem;
}

/* Футер */
.site-footer {
    background-color: #2c2c2c;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.site-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #aaaaaa;
}

/* ---------- Текстові блоки (нові) ---------- */
.text-blocks {
    margin: 1rem 0;

    /* невеликий відступ зверху/знизу */
}

.text-block {
    /* background-color: #2c2c2c */
    border-radius: 4px;

    /* padding: 1rem */
    margin-bottom: 1rem;
}

.centered-title {
    text-align: center;
    margin-bottom: 0.75rem;
}

/* ---------- Зображення з оверлеєм (нові) ---------- */
.image-overlay-section {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.image-overlay-container {
    position: relative;
    flex: 1 1 300px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #2c2c2c;
}

.image-overlay-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    /* Злегка зменшимо прозорість, щоб зображення проглядалося */
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px;
    color: #fff;
}

@media (max-width: 767px) {
    .overlay-text {
        font-size: 16px;
    }
}

.stats-container {
    display: flex;
    align-items: center;

    /* Вертикальне вирівнювання */
    gap: 10px;

    /* Проміжок між елементами */
    color: #fff;

    /* Колір тексту */
    font-size: 1.1rem;

    /* Розмір шрифту */
}

.divider {
    opacity: 0.6;

    /* Трохи прозорий, щоб роздільник не впадав у вічі */
}

/* Стилі для іконок */
.stats-container i {
    margin-right: 0.3rem;

    /* Відступ праворуч від іконки */
}

.spin-wrapper * {
    box-sizing: border-box;
}

.wheel {
    margin: 0 auto;
    position: relative;
}

.wheel-cursor {
    position: absolute;
    width: 35% !important;
    height: 35%;
    top: 49%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.cursor-text {
    position: absolute;
    z-index: 2;
    width: 70px !important;
    height: 70px;
    line-height: 61px;
    cursor: pointer;
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
    border: 1px solid #ccc;
    top: 47%;
    left: 50%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-box-shadow: rgba(255, 255, 255, 1) 0 -2px 0 inset, rgba(255, 255, 255, 1) 0 2px 0 inset, rgba(0, 0, 0, .4) 0 0 5px;
    box-shadow: rgba(255, 255, 255, 1) 0 -2px 0 inset, rgba(255, 255, 255, 1) 0 2px 0 inset, rgba(0, 0, 0, .4) 0 0 5px;
    background: #fff;
    background: -webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0, rgba(255, 255, 255, 1)), color-stop(100%, rgba(234, 234, 234, 1)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0, rgba(234, 234, 234, 1) 100%);
    background: -o-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0, rgba(234, 234, 234, 1) 100%);
    background: -webkit-radial-gradient(center, ellipse, rgba(255, 255, 255, 1) 0, rgba(234, 234, 234, 1) 100%);
    background: -o-radial-gradient(center, ellipse, rgba(255, 255, 255, 1) 0, rgba(234, 234, 234, 1) 100%);
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0, rgba(234, 234, 234, 1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.wheel-img {
    -webkit-transition: 4s;
    -o-transition: 4s;
    transition: 4s;
}

.close-popup {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, .1) url(../img/cross.svg);
    background-size: 100%;
    top: -40px;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 10px #fff;
    right: -40px;
    cursor: pointer;
}

.cursor-text:active {
    -webkit-box-shadow: rgba(0, 0, 0, .4) 0 0 5px inset;
    box-shadow: rgba(0, 0, 0, .4) 0 0 5px inset;
}

.spin-result-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;

    /* або block, якщо треба відобразити */
}

.pop-up-window {
    position: relative;
    max-width: 400px;
    right: 0;
    left: 0;
    top: 40%;
    margin: 0 auto;
    background: #fff none repeat scroll 0 0;
    text-align: center;
    padding: 10px;
    padding-top: 70px;
    padding-bottom: 20px;
    border-radius: 10px;
    animation: .7s ease 0s normal none 1 running pop-up-appear;
}

.pop-up-window::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    top: -55px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #42b7e0;
    border-radius: 50%;
    animation: .5s ease .6s normal backwards 1 running pop-up-appear-before;
}

.pop-up-window::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 20px;
    top: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-width: medium medium 4px 4px;
    border-style: none none solid solid;
    border-color: currentcolor currentcolor #fff #fff;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    transform: rotate(-45deg);
    transition: opacity 1s ease 0s;
    animation: .5s ease .6s normal backwards 1 running pop-up-appear-after;
}

@keyframes pop-up-appear {
    0% {
        transform: translateY(-2000px);
    }

    30% {
        transform: translateY(100px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes pop-up-appear-before {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pop-up-appear-after {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.pop-up-heading {
    font-size: 40px;
    margin-bottom: 20px;
}

.pop-up-text {
    margin-bottom: 25px;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
}

.pop-up-button {
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 20%;
    font-size: 20px;
    border-radius: 5px;

    /* border: #fcb800 */
    cursor: pointer;
    outline: medium none;
    margin-top: 20px;
    display: inline-block;
    background-color: #42b7e0;
    color: black;
}

.pop-up-button:hover {
    color: #fff;
    text-decoration: none;
}

.wheel img {
    max-width: 100%;
}

@media all and (max-width: 520px) {
    .cursor-text {
        line-height: 48px;
        font-size: 1px;
        width: 40px !important;
        height: 40px;
        top: 50%;
    }

    .close-popup {
        position: absolute;
        width: 30px;
        height: 30px;
        background-image: url(../img/cross.svg);
        background-size: 100%;
        top: -40px;
        border-radius: 50%;
        -webkit-box-shadow: 0 0 10px #fff;
        box-shadow: 0 0 10px #fff;
        right: -10px;
        cursor: pointer;
    }
}

.spin-wrapper {
    padding: 20px 10px;
    text-align: center;
    box-sizing: border-box;
    border: 2px solid #fcb800;
    border-radius: 10px !important;
    margin-bottom: 18px;
}

.container_last {
    display: flex;

    /* Вмикаємо флекс-блок */
    flex-wrap: wrap;

    /* Дозволяємо перенос рядків на мобільних */
    justify-content: space-between;
    max-width: 1200px;

    /* Опційна максимальна ширина */
    margin: 0 auto;

    /* Центруємо по горизонталі */
    padding: 20px;
    align-items: center;

    /* Центрує вміст по вертикалі */
}

.left-box,
.right-box {
    flex: 1 1 48%;

    /* Задаємо ~50% ширини для кожного блоку */
    margin: 10px 0;

    /* Вертикальні відступи між блоками */
}

/* Картинка та CTA-кнопка ліворуч */
.left-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: red;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    padding: 12px 20px;
    border-radius: 5px;
}

/* Правий блок з текстом */
.right-box h2 {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;

    /* Приклад стилізації */
}

.porn-star-badge {
    display: inline-block;

    /* background-color: yellow */
    color: #000;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.right-box p {
    font-size: 18px;
    margin-top: 10px;
}

/* Адаптив під мобільні пристрої (менше 768px) */
@media (max-width: 768px) {
    .left-box,
    .right-box {
        flex: 1 1 100%;

        /* Займають всю ширину */
    }

    .right-box h2 {
        font-size: 20px;
    }
}

#otzivi {
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

#otzivi .tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    border-bottom: 2px solid #ffac33;
}

#otzivi .tabs .tab {
    margin-right: 15px;
    padding: 10px 15px;
    cursor: pointer;

    /* color: #ffac33 */
}

#otzivi .tabs .tab:hover {
    background-color: #ffac33;
}

#otzivi .tabs .indicator {
    flex: 1;

    /* або ваш колір */
}

#otzivi hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #ccc;
}

#otzivi .card-panel {
    background-color: #262626;
    border-radius: 5px;
    padding: 20px;
}

#otzivi .row {
    display: flex;
    align-items: flex-start;
}

#otzivi .comments {
    display: flex;
    width: 100%;
}

#otzivi .photo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

#otzivi .photo {
    margin-right: 15px;
}

#otzivi .body {
    flex: 1;
}

#otzivi .body .name {
    font-weight: bold;
    margin-bottom: 5px;
}

#otzivi .body .text {
    margin-bottom: 10px;
}

#otzivi .answer a {
    color: #ffac33;
    text-decoration: none;
    font-size: 14px;
}

#otzivi .answer a:hover {
    text-decoration: underline;
}

.certificate,
.product {
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 1 1 200px;

    /* Адаптивне "виростання" та мінімальна ширина */
    max-width: 150px;

    /* Максимальна ширина кожного блоку */
    text-align: center;
}

.flex-container {
    display: flex;

    /* Вмикаємо флекс */
    flex-wrap: wrap;

    /* Дозволяємо перенесення елементів на новий ряд */
    justify-content: center;

    /* Вирівнюємо по центру */
    gap: 20px;

    /* Проміжки між елементами */
    align-items: center;
    max-width: 400px;
    margin-bottom: 3em;
    margin-top: 3em;
}

.certificate img,
 {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
}

.product img {
    max-width: 100px;
    height: auto;
    border-radius: 5px;
}

/* Приклади медіа-запитів для додаткової адаптивності */
@media (max-width: 600px) {
    .flex-container {
        gap: 10px;
    }

    .certificate,
    .product {
        flex: 1 1 150px;
        max-width: 200px;
    }
}