:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Elementos de dinheiro flutuantes */
.money-icon {
    position: absolute;
    font-size: 28px;
    animation: float 4s ease-in-out infinite;
    z-index: 1;
    opacity: 0.9;
}

.money-1 { top: -100px; left: -50px; animation-delay: 0s; }
.money-2 { top: -80px; right: -40px; animation-delay: 0.8s; }
.money-3 { top: 20px; left: -60px; animation-delay: 1.5s; }
.money-4 { top: 50px; right: -50px; animation-delay: 2.2s; }
.money-5 { bottom: 150px; left: -70px; animation-delay: 3s; }
.money-6 { bottom: 120px; right: -60px; animation-delay: 0.5s; }
.money-7 { bottom: -50px; left: -40px; animation-delay: 1.8s; }
.money-8 { bottom: -80px; right: -30px; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(5deg); 
    }
}

/* Cabeçalho */
.header {
    text-align: center;
    margin-bottom: 30px;
    z-index: 10;
    position: relative;
}

.mission-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.prize-amount {
    font-size: 4.5rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 3px white;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.4);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* Container do formulário */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 35px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px;
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.form-subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    margin: 3px 0;
    line-height: 1.4;
}

.arrow-pointer {
    position: absolute;
    top: 100%;
    right: -15px;
    width: 0;
    height: 0;
    border-left: 15px solid rgba(255, 255, 255, 0.95);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Formulário */
.main-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #d5e4e7;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #F8FBFC;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input::placeholder {
    color: #999;
    font-weight: 400;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #4ECDC4;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
    transform: translateY(-1px);
}

/* Select customizado */
.input-group select {
    appearance: none;
    cursor: pointer;
    padding-right: 45px;
    background-image: none;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    font-size: 0.8rem;
}

/* Botão de envio */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer com logo */
.brand-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #E8F4F8;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4ECDC4;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .mission-title {
        font-size: 1.8rem;
    }
    
    .prize-amount {
        font-size: 3.5rem;
    }
    
    .form-container {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .money-icon {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .mission-title {
        font-size: 1.5rem;
    }
    
    .prize-amount {
        font-size: 3rem;
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    .input-group input,
    .input-group select {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Animações de entrada */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    animation: slideInUp 0.8s ease-out;
}

.header {
    animation: slideInUp 0.6s ease-out;
}

/* Estilos para o checkbox dos termos */
.terms-group {
    margin: 20px 0;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555;
}

.terms-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: #F8FBFC;
    border: 2px solid #d5e4e7;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-checkbox:hover .checkmark {
    border-color: #4ECDC4;
    background-color: rgba(78, 205, 196, 0.1);
}

.terms-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #4ECDC4;
    border-color: #4ECDC4;
}

.terms-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.terms-text {
    flex: 1;
}

.terms-link {
    color: #4ECDC4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #44A08D;
    text-decoration: underline;
}

/* Estilos para os modais */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.3s ease;
}

.modal-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #E8F4F8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #4ECDC4;
}

.modal-body {
    padding: 20px 30px;
    line-height: 1.6;
    color: #555;
}

.modal-body h4 {
    color: #333;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body ul {
    margin: 10px 0 15px 20px;
}

.modal-body li {
    margin-bottom: 5px;
}

.modal-footer {
    padding: 15px 30px 25px;
    border-top: 1px solid #E8F4F8;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.modal-btn {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.modal-btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Animações dos modais */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade para modais */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px 20px 10px;
    }
    
    .modal-body {
        padding: 15px 20px;
    }
    
    .modal-footer {
        padding: 10px 20px 20px;
        flex-direction: column;
    }
    
    .modal-btn,
    .modal-btn-secondary {
        width: 100%;
        margin-bottom: 10px;
    }
}


input[type="checkbox"] + label {
    font-size: 14px;
    color: #555;
    border: 1px #222;
    accent-color: initial;
}