* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #202020 50%, #000000 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

.container {
    position: relative;
    min-height: 100vh;
}

/* Formulário de Captura de Leads */
.lead-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease;
}

.lead-form-overlay.hidden {
    display: none;
}

.lead-form-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h2 {
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.btn-participar {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-participar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 15px;
}

.form-footer p {
    color: #999;
    font-size: 0.85rem;
}

/* Conteúdo Principal */
.main-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0.3;
    pointer-events: none;
    transition: all 0.5s ease;
}

.main-content.active {
    opacity: 1;
    pointer-events: all;
}

.promo-header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
    padding: 15px 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(213, 0, 0, 0.3);
    transform: rotate(-2deg);
}

.mes-text,
.do-text,
.consumidor-text {
    display: block;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mes-text {
    font-size: 1.2rem;
}

.do-text {
    font-size: 1rem;
    margin: -5px 0;
}

.consumidor-text {
    font-size: 1.4rem;
}

.ano-text {
    display: block;
    font-size: 0.9rem;
    color: #ffeb3b;
    font-weight: bold;
    margin-top: 5px;
}

.promo-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Seção da Roleta */
.wheel-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.wheel-container {
    position: relative;
    background: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 8px solid #f45b00;
}

#wheelCanvas {
    border-radius: 50%;
    transition: transform 4s cubic-bezier(0.23, 1, 0.32, 1);
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 30px solid #fecb00;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    rotate: 180deg;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.center-logo {
    background: #2a2a2a;
    border-radius: 200px;
    width: 40px;
    height: 40px;
}

.spin-button-container {
    text-align: center;
}

.spin-button {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.4);
}

.spin-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.spin-button.spinning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    animation: pulse 1s infinite;
}

/* Seção de Resultado */
.result-section {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.result-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    border: 3px solid #ff6b35;
}

.result-card h2 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.prize-display {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #e3f2fd;
    padding: 12px;
    border-radius: 8px;
    border: 2px dashed #2196f3;
}

.coupon-code span {
    font-weight: bold;
    color: #1976d2;
    font-size: 1.1rem;
}

.copy-btn {
    background: #2196f3;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.instructions {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    margin: 0 20px;
}

.instructions p {
    font-size: 1.1rem;
    color: #333;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.modal-header {
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.modal-header h2 {
    font-size: 2rem;
    margin: 0;
}

.modal-body {
    padding: 30px 25px;
    text-align: center;
}

.winner-announcement p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 15px;
}

.winner-announcement h1 {
    font-size: 1.8rem;
    color: #ff6b35;
    margin-bottom: 20px;
    line-height: 1.2;
}

.modal-coupon {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 10px;
    border: 2px dashed #2196f3;
    margin: 15px 0;
}

.modal-coupon span {
    font-weight: bold;
    color: #1976d2;
    font-size: 1.2rem;
}

.instructions-modal {
    background: #fff3e0;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.instructions-modal p {
    color: #e65100;
    font-weight: 600;
    margin: 0;
}

.modal-footer {
    padding: 20px 25px;
    text-align: center;
    background: #f8f9fa;
}

.btn-close {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: #5a6268;
}

/* Confetes */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    animation: confetti-fall 3s linear forwards;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .promo-header h1 {
        font-size: 2rem;
    }

    .promo-header p {
        font-size: 1rem;
    }

    #wheelCanvas {
        width: 300px;
        height: 300px;
    }

    .wheel-container {
        padding: 10px;
    }

    .lead-form-container {
        padding: 20px;
        margin: 20px;
    }

    .spin-button {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    #wheelCanvas {
        width: 250px;
        height: 250px;
    }

    .promo-header h1 {
        font-size: 1.8rem;
    }

    .lead-form-container {
        margin: 10px;
        padding: 15px;
    }
}