.vw-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 8, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.vw-overlay.vw-visible {
    opacity: 1;
    visibility: visible;
}

.vw-modal {
    background: #0a0a08;
    border: 2px solid #c9a660;
    border-radius: 12px;
    padding: 32px 28px;
    max-width: 380px;
    width: 92%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(201, 166, 96, 0.25);
    font-family: 'Poppins', sans-serif;
}

.vw-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #f5f0e1;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.vw-close:hover {
    color: #c9a660;
}

.vw-title {
    font-family: 'Cinzel', serif;
    color: #e8d7ad;
    font-size: 24px;
    margin: 0 0 8px;
}

.vw-subtitle {
    color: #f5f0e1;
    font-size: 14px;
    margin: 0 0 20px;
    opacity: 0.85;
}

.vw-wheel-wrap {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto 24px;
}

.vw-pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid #e8d7ad;
    z-index: 10;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.6));
}

.vw-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 4.5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    box-shadow: 0 0 0 4px #6a762e, 0 0 20px rgba(0,0,0,0.6);
}

.vw-wheel-svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.vw-spin-btn {
    background: #6a762e;
    color: #f5f0e1;
    border: 1px solid #9fa766;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease;
}

.vw-spin-btn:hover {
    background: #9fa766;
    color: #0a0a08;
}

.vw-spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vw-result {
    margin-top: 16px;
}

.vw-result-text {
    color: #e8d7ad;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.vw-result-code {
    color: #f5f0e1;
    font-size: 20px;
    letter-spacing: 1px;
    background: rgba(201, 166, 96, 0.12);
    border: 1px dashed #c9a660;
    border-radius: 6px;
    padding: 10px;
    margin: 0 0 16px;
}

@media (max-width: 420px) {
    .vw-wheel-wrap {
        width: 220px;
        height: 220px;
    }
}
