body {
    background: radial-gradient(circle, #2c3e50, #000);
    color: white;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-direction: row; /* В ряд на ПК */
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 900px;
    align-items: center;
}

/* Секция с колесом */
.wheel-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wheel-wrapper {
    position: relative;
    width: 320px; /* Фиксированный размер обертки для контроля */
    height: 320px;
}

#wheel {
    width: 100%; /* Занимает всю ширину обертки */
    height: auto;
    transition: transform 3s cubic-bezier(0.15, 0, 0.15, 1);
}

/* Секция со статами */
.stats-section {
    flex: 1;
    width: 100%;
}

.stat-row {
    margin-bottom: 12px;
    background: rgba(255,255,255,0.07);
    padding: 12px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

/* АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Стеком: колесо сверху, статы снизу */
        padding: 20px;
        gap: 20px;
    }

    .wheel-wrapper {
        width: 280px; /* Чуть меньше на мобилках */
        height: 280px;
    }

    h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .stats-section {
        width: 100%;
    }
}

/* Остальные стили из прошлого примера (кнопки, поинтер) оставляем без изменений */
.pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background: #ff4500;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 10;
}

#spinBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #ff8c00;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px #ff8c00;
    z-index: 11;
}

.stat-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(255,140,0,0.4), rgba(255,69,0,0.6));
    z-index: 1;
    transition: width 1s ease-out;
}
.stat-row span, .stat-row strong { position: relative; z-index: 2; }
