/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
}

/* Container principal */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header com logo */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Seções */
.section {
    width: 100%;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
}

/* Títulos */
h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #cccccc;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Formulários */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffd700;
    font-size: 0.95rem;
}

input[type="text"], 
input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

input[type="text"]:focus, 
input[type="email"]:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Botões */
.button-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary, 
.btn-secondary {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-out;
}

/* Dados do participante existente */
.dados-participante {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.dados-participante h3 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.dados-participante .dado-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.dados-participante .dado-item:last-child {
    border-bottom: none;
}

.dados-participante .dado-label {
    font-weight: 600;
    color: #ffd700;
    min-width: 120px;
}

.dados-participante .dado-valor {
    color: #ffffff;
    text-align: right;
    flex: 1;
    margin-left: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, 
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .dados-participante .dado-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .dados-participante .dado-valor {
        text-align: left;
        margin-left: 0;
    }
}

/* Efeitos de hover nos inputs */
input[type="text"]:hover, 
input[type="email"]:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffed4e;
}