/* Estilos para Formulário - Confraternização Geração Neon */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f4c75);
    min-height: 100vh;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

/* Efeito de estrelas no fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

.form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.form-header {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.8)); }
}

.form-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(45deg, #FF6B35, #7FFF00, #FF1493);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
    margin-bottom: 10px;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-style: italic;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
}

/* Estatísticas */
.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2em;
    color: #7FFF00;
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #FF6B35;
    font-family: 'Orbitron', monospace;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

/* Alertas */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: rgba(127, 255, 0, 0.2);
    border: 1px solid #7FFF00;
    color: #7FFF00;
}

.alert-error {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid #FF6B35;
    color: #FF6B35;
}

/* Formulário */
.inscription-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #7FFF00;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #7FFF00;
    box-shadow: 0 0 15px rgba(127, 255, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
}

/* Checkbox personalizado */
.checkbox-group {
    position: relative;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(127, 255, 0, 0.5);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 25px;
    height: 25px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #7FFF00;
    border-color: #7FFF00;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1a2e;
    font-weight: bold;
    font-size: 16px;
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Botão de envio */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #FF6B35, #7FFF00);
    border: none;
    border-radius: 10px;
    color: #1a1a2e;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Links adicionais */
.additional-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.link-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #7FFF00;
}

.link-btn i {
    color: #FF6B35;
}

/* Footer */
.form-footer {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

.form-footer p {
    margin: 5px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .form-container {
        margin: 10px;
        padding: 15px;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-header h1 {
        font-size: 2em;
    }
    
    .logo {
        height: 60px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .additional-links {
        grid-template-columns: 1fr;
    }
    
    .inscription-form {
        padding: 20px;
    }
    
    .checkbox-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 1.5em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .stat-number {
        font-size: 2em;
    }
}

/* Animações de entrada */
.form-container > * {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.form-container > *:nth-child(1) { animation-delay: 0.1s; }
.form-container > *:nth-child(2) { animation-delay: 0.2s; }
.form-container > *:nth-child(3) { animation-delay: 0.3s; }
.form-container > *:nth-child(4) { animation-delay: 0.4s; }
.form-container > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}