* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url("/imgs/bg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden;
}

.hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* Efeitos de luz */
.spotlight {
    position: absolute;
    width: 150px;
    height: 400px;
    background: linear-gradient(
        180deg,
        rgba(255, 215, 0, 0.3) 0%,
        transparent 100%
    );
    filter: blur(20px);
    transform-origin: top center;
    z-index: 1;
    pointer-events: none;
}

.spotlight-1 {
    top: -50px;
    left: 15%;
    animation: spotlightMove1 8s ease-in-out infinite;
}
.spotlight-2 {
    top: -50px;
    right: 15%;
    animation: spotlightMove2 10s ease-in-out infinite;
    background: linear-gradient(
        180deg,
        rgba(147, 51, 234, 0.3) 0%,
        transparent 100%
    );
}

/* ============================================
   ALERTAS - CSS para formulário de inscrição
   ============================================ */

/* Alert base */
.alert {
    padding: 15px 22px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Alert de erro */
.alert-error {
    background: linear-gradient(135deg, #e935354f 0%, #b8070763 100%);
    color: #fd4747;
    border-left: 4px solid #dc2626;
}

/* Alert de sucesso */
.alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
    border-left: 4px solid #16a34a;
}

/* Alert de aviso */
.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border-left: 4px solid #d97706;
}

/* Alert de informação */
.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
    border-left: 4px solid #2563eb;
}

/* Ícone dentro do alert */
.alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Lista dentro do alert */
.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert ul li {
    margin-bottom: 5px;
}

.alert ul li:last-child {
    margin-bottom: 0;
}

@keyframes spotlightMove1 {
    0%,
    100% {
        transform: rotate(-20deg) translateX(0);
    }
    50% {
        transform: rotate(-5deg) translateX(30px);
    }
}

@keyframes spotlightMove2 {
    0%,
    100% {
        transform: rotate(20deg) translateX(0);
    }
    50% {
        transform: rotate(5deg) translateX(-30px);
    }
}

/* Partículas */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.particle-gold {
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    box-shadow: 0 0 10px #ffd700;
}

.p1 {
    width: 6px;
    height: 6px;
    left: 8%;
    animation: float1 22s linear infinite;
}
.p2 {
    width: 4px;
    height: 4px;
    left: 85%;
    animation: float2 18s linear infinite 3s;
}
.p3 {
    width: 5px;
    height: 5px;
    left: 45%;
    animation: float3 20s linear infinite 5s;
}

@keyframes float1 {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes float2 {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes float3 {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* Container do conteúdo */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card {
    background: rgba(27, 27, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid #d8b546;
    border-radius: 24px;
    padding: 45px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: cardShine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardShine {
    0%,
    100% {
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

.header-section {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #d4af37;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.header-section h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5c2 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.header-section .subtitle {
    color: #f8f7f7;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #d4af37;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 4px;
}

.form-group input,
.form-group select {
    color: #dfdddd;
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #141313;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #252323d5;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
    background: #252323d5;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group select::placeholder {
    color: #b4b2b2;
}

.form-terms {
    margin: 25px 0;
    padding: 15px;
    background: linear-gradient(135deg, #313131 0%, #292828 100%);
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.form-terms label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #ebe9e9;
    line-height: 1.5;
}

.form-terms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #d4af37;
    cursor: pointer;
}

.form-terms a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
}

.form-terms a:hover {
    text-decoration: underline;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #e0bc42 0%, #c4a01f 100%);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px auto;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    text-align: center;
    z-index: 100;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer-text a {
    color: #d4af37;
    font-weight: 600;
    text-decoration: none;
}

.footer-text a:hover {
    transition: 0.3s;
    color: #cac7be;
}

/* Responsivo */
@media (max-width: 600px) {
    .form-card {
        padding: 30px 20px;
    }

    .header-section h1 {
        font-size: 1.6rem;
    }
    .footer {
        position: absolute;
        padding: 0px;
    }
}

/* Mensagem de sucesso */
.success-message {
    display: none;
    text-align: center;
    padding: 40px;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.success-message h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.success-message p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}
