
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;900&display=swap');

.raffle-container-new {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

/* Wrapper de Escala para Mobile e Desktop */
.wheel-scale-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out;
}

@media (max-width: 1200px) {
    .wheel-scale-wrapper {
        transform: scale(0.85);
    }
}

@media (max-width: 500px) {
    .wheel-scale-wrapper {
        transform: scale(0.7);
        margin: -40px 0;
    }
    .raffle-container-new {
        height: 320px;
    }
}

/* Moldura externa preta (Trilho das luzes) - Agora com 20px */
.snake-border {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 20px solid #000000;
    z-index: 10;
    box-shadow: 0 0 25px rgba(0,0,0,0.9), inset 0 0 15px rgba(255,255,255,0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wheel-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

#dots-container {
    position: absolute;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    width: 450px;
    height: 450px;
}

#wheel-new {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    position: relative;
    transition: transform 8s cubic-bezier(0.1, 0.45, 0.2, 1);
    overflow: hidden;
    z-index: 5;
    background: #1e293b;
    box-shadow: inset 0 0 30px rgba(0,0,0,1);
}

.wheel-spinning {
    transition: none !important;
    animation: spin-loop 0.7s linear infinite;
}

@keyframes spin-loop {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ponteiro */
.marker-wrapper {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    transform-origin: top center;
    transition: transform 0.1s ease-out;
}

.marker-new {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 45px solid #ef4444;
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.8));
}

.center-button-new {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85px;
    height: 85px;
    background: #000;
    border: 3px solid #fb923c;
    border-radius: 50%;
    z-index: 110;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fb923c;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(0,0,0,1), inset 0 0 12px rgba(251, 146, 60, 0.5);
    text-align: center;
    line-height: 1.1;
    pointer-events: none;
    overflow: hidden;
}

.center-button-new span:first-child {
    font-size: 9px;
}
.center-button-new span:nth-child(2) {
    font-size: 16px;
}
.center-button-new span:last-child {
    font-size: 9px;
}

.dot-new {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #334155;
    border-radius: 50%;
    transition: background 0.1s, box-shadow 0.1s, opacity 0.1s, transform 0.2s;
    opacity: 0.2;
}

.dot-new.active {
    opacity: 1;
}

.slice-new {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slice-new span {
    color: white;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    width: 100%;
    padding-left: 25px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,1);
}

.confetti-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
}

