/* Estilos Gerais */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #121212;
    --darker-color: #0a0a0a;
    --light-color: #f8f9fa;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--dark-color);
    color: white;
    line-height: 1.6;
}

.container-fluid {
    padding: 0;
}

/* Desativar zoom */
html, body {
    touch-action: manipulation;
}

/* Header */
.header-section {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern.svg');
    opacity: 0.05;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Features Section */
.features-section {
    background-color: var(--darker-color);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* How It Works Section */
.step-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* Footer */
.footer-section {
    background-color: var(--darker-color);
    color: var(--secondary-color);
}

.social-link {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: var(--dark-color);
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    color: white;
}

.btn {
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* QR Code Container */
.qr-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 250px;
    margin: 0 auto;
}

.qr-code {
    width: 100%;
    height: auto;
}

/* Dashboard */
.dashboard-header {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sidebar {
    background-color: var(--darker-color);
    height: 100%;
    min-height: calc(100vh - 70px);
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link i {
    width: 24px;
    margin-right: 10px;
}

.dashboard-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 10px;
    padding: 20px;
    height: 100%;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .sidebar {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .step-card, .feature-card {
        margin-bottom: 20px;
    }
}

/* Estilos para o tema preto moderno */
.bg-black {
    background-color: #000000 !important;
}

.modal-content.bg-black {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-header.border-secondary.border-opacity-25 {
    border-bottom: 1px solid rgba(108, 117, 125, 0.25) !important;
}

.modal-footer.border-secondary.border-opacity-25 {
    border-top: 1px solid rgba(108, 117, 125, 0.25) !important;
}

.form-control.bg-black {
    background-color: #121212 !important;
    border-color: #333 !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.form-control.bg-black:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
    border-color: #666 !important;
}

.text-info {
    color: #5bc0de !important;
    transition: all 0.3s ease;
}

.text-info:hover {
    color: #31b0d5 !important;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
}

/* Animações para os modais */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: none;
}

/* Ícones nos formulários */
.form-label i {
    color: #3b82f6;
}

/* Títulos dos modais */
.modal-title {
    color: #06b6d4;
    font-weight: 600;
}

.modal-title i {
    color: #3b82f6;
}

/* Estilo para mensagens de sucesso */
.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

/* Estilo para mensagens de erro */
.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Animações do Personagem Free Fire */
.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    animation: floatContainer 6s ease-in-out infinite;
}

.hero-character-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 50px rgba(30, 64, 175, 0.8)) 
            drop-shadow(0 10px 30px rgba(37, 99, 235, 0.7)) 
            drop-shadow(0 5px 15px rgba(29, 78, 216, 0.6));
    animation: floatCharacter 4s ease-in-out infinite;
    transform-origin: center bottom;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Glow effect atrás da imagem */
.hero-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(30, 64, 175, 0.7) 0%, rgba(37, 99, 235, 0.5) 30%, rgba(29, 78, 216, 0.3) 50%, transparent 80%);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

/* Animação de flutuação do container */
@keyframes floatContainer {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Animação do personagem flutuando */
@keyframes floatCharacter {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(1deg) scale(1.02);
    }
    50% {
        transform: translateY(-10px) rotate(0deg) scale(1);
    }
    75% {
        transform: translateY(-15px) rotate(-1deg) scale(1.02);
    }
}

/* Animação do brilho/glow */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Efeito hover adicional */
.hero-image-container:hover .hero-character-image {
    animation: floatCharacter 2s ease-in-out infinite, shake 0.5s ease-in-out;
    filter: drop-shadow(0 25px 60px rgba(30, 64, 175, 1)) 
            drop-shadow(0 15px 40px rgba(37, 99, 235, 0.9)) 
            drop-shadow(0 8px 25px rgba(29, 78, 216, 0.8));
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(-5px) translateY(-10px) rotate(-1deg);
    }
    75% {
        transform: translateX(5px) translateY(-10px) rotate(1deg);
    }
}

/* Aura pulsante ao redor da imagem */
.hero-image-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    border: 4px solid rgba(30, 64, 175, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(30, 64, 175, 0.6),
                0 0 60px rgba(37, 99, 235, 0.4),
                inset 0 0 30px rgba(29, 78, 216, 0.3);
    animation: pulseAura 2s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes pulseAura {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
        border-color: rgba(30, 64, 175, 0.8);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
        border-color: rgba(37, 99, 235, 0.9);
    }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .hero-image-container {
        max-width: 350px;
    }
    
    .hero-character-image {
        max-width: 100%;
        filter: drop-shadow(0 15px 35px rgba(30, 64, 175, 0.7)) 
                drop-shadow(0 8px 20px rgba(37, 99, 235, 0.6));
    }
}

@media (max-width: 576px) {
    .hero-image-container {
        max-width: 280px;
    }
} 
/* Correção para o intl-tel-input */
.iti {
    width: 100%;
    display: block;
}

.iti__.form-control {
    background-color: #121212 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #1a1a2e !important;
    border-color: #06b6d4 !important;
    box-shadow: 0 0 0 0.25rem rgba(6, 182, 212, 0.25) !important;
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.iti {
    color: white !important;
    z-index: 1060 !important;
}

.iti__country {
    padding: 10px !important;
}

.iti__country:hover, .iti__country.iti__highlight {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.iti__selected-dial-code {
    color: white !important;
    margin-left: 4px !important;
}

.iti__flag-container {
    padding: 2px !important;
}

/* Ajuste para o input dentro do intl-tel-input */
.iti input {
    padding-left: 100px !important; /* Espaço para a bandeira e o código do país */
}

/* Estilos para o seletor de gênero */
.gender-label {
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

.gender-label.male i {
    color: #3b82f6; /* Azul */
}

.gender-label.female i {
    color: #E1306C; /* Rosa */
}

input[name="regGender"]:checked + .gender-label.male {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

input[name="regGender"]:checked + .gender-label.female {
    background: rgba(225, 48, 108, 0.2);
    border-color: #E1306C;
    box-shadow: 0 0 10px rgba(225, 48, 108, 0.3);
}
