/* Улучшенные стили для рулетки */

.roulette-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto 10px;
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    border: 2px solid #FFD700;
    color: white;
}

.roulette-header {
    background: linear-gradient(to right, #a20025, #cc0033, #a20025);
    padding: 12px;
    text-align: center;
    color: white;
}

.roulette-header h3 {
    margin: 0 0 5px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
}

.roulette-header p {
    margin: 0;
    font-size: 14px;
}

.roulette-window {
    position: relative;
    padding: 15px 0;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 320px;
    background: linear-gradient(to bottom, #000, #111, #000);
}

.roulette-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.roulette-track {
    position: absolute;
    height: 100%;
    display: flex;
    will-change: transform;
}

.roulette-pointer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #cc0033;
    z-index: 10;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

.profile-card {
    position: absolute;
    width: 200px;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #cc0033;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
    height: 290px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5);
}

.profile-image {
    height: 170px;
    background-size: cover;
    background-position: center;
    flex: 1;
}

.profile-info {
    padding: 10px;
    text-align: center;
}

.profile-info h4 {
    color: #FFD700;
    margin: 0 0 10px;
    font-size: 18px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.profile-buttons {
    display: flex;
    gap: 8px;
}

.call-btn,
.whatsapp-btn {
    flex: 1;
    padding: 8px 5px;
    font-size: 13px;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
}

.call-btn {
    background: #cc0033;
    color: white;
}

.whatsapp-btn {
    background: #1ba34e;
    color: white;
}

.call-btn:hover,
.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.roulette-nav {
    background: rgba(204, 0, 51, 0.8);
    color: #FFD700;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    /* Увеличиваем z-index */
    transition: all 0.2s ease;
    position: absolute;
    border: 1px solid #cc0033;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    /* Добавляем тень для лучшей видимости */
}

.roulette-nav.prev {
    left: 8px;
    /* Обеспечиваем полную видимость на мобильных */
    top: 50%;
    transform: translateY(-50%);
}

.roulette-nav.next {
    right: 8px;
    /* Обеспечиваем полную видимость на мобильных */
    top: 50%;
    transform: translateY(-50%);
}


/* Увеличиваем размер кнопок на малых экранах для лучшего взаимодействия */

@media (max-width: 576px) {
    .roulette-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
        background: rgba(204, 0, 51, 0.9);
        /* Делаем фон менее прозрачным */
    }
    .roulette-nav.prev {
        left: 5px;
    }
    .roulette-nav.next {
        right: 5px;
    }
}

.roulette-nav:hover {
    background: rgba(194, 27, 69, 0.8);
}

.roulette-button {
    display: block;
    margin: 10px auto 15px;
    padding: 10px 30px;
    font-size: 16px;
    color: white;
    background: #cc0033;
    border: 1px solid #FFD700;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.roulette-button:hover {
    background: #a20025;
    transform: scale(1.05);
}

.roulette-button:disabled {
    background: #555;
    cursor: not-allowed;
}


/* Мобильные устройства */

@media (max-width: 576px) {
    .profile-card {
        width: 180px;
        height: 280px;
    }
    .profile-image {
        height: 140px;
    }
    .profile-info h4 {
        font-size: 16px;
    }
    .profile-buttons {
        flex-direction: column;
        gap: 5px;
    }
    .call-btn,
    .whatsapp-btn {
        padding: 7px 5px;
        font-size: 12px;
    }
    .roulette-pointer {
        border-left-width: 10px;
        border-right-width: 10px;
        border-top-width: 10px;
    }
}

@media (max-width: 768px) {
    .roulette-header h3 {
        font-size: 24px;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.5);
        letter-spacing: 1px;
        margin-bottom: 5px;
    }
    .roulette-container {
        border: 2px solid gold;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    }
}