/* ==============================================
   RESET E VARIÁVEIS
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00A859;
    --primary-dark: #008844;
    --secondary: #209869;
    --accent: #FFD700;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --light: #f5f5f5;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================================
   HEADER
   ============================================== */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: 10px;
}

.logo-text h1 {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

.logo-text p {
    color: var(--accent);
    font-size: 12px;
    margin: 0;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

/* ==============================================
   HERO SECTION
   ============================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="100" cy="100" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="300" cy="200" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="500" cy="150" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="700" cy="250" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="100" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.hero-title {
    color: var(--white);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    display: block;
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.prize {
    display: block;
    color: var(--primary);
    font-size: 64px;
    text-shadow: 0 0 30px rgba(0, 168, 89, 0.5);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 30px rgba(0, 168, 89, 0.5); }
    50% { text-shadow: 0 0 50px rgba(0, 168, 89, 0.8); }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    color: var(--primary);
    font-size: 36px;
    font-weight: 800;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Lottery Balls Animation */
.lottery-balls {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ball {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 168, 89, 0.4);
    animation: bounce 2s infinite;
}

.ball-1 { animation-delay: 0s; }
.ball-2 { animation-delay: 0.2s; }
.ball-3 { animation-delay: 0.4s; }
.ball-4 { animation-delay: 0.6s; }
.ball-5 { animation-delay: 0.8s; }
.ball-6 { animation-delay: 1s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn i {
    font-size: 18px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 168, 89, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 168, 89, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    display: block;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==============================================
   COUNTDOWN
   ============================================== */
.countdown-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.countdown-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.countdown-section h3 i {
    font-size: 28px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 48px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    border-radius: 15px;
    min-width: 100px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.countdown-label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

/* ==============================================
   SECTIONS
   ============================================== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ==============================================
   STEPS
   ============================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 168, 89, 0.3);
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.step-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.step-detail {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text);
}

/* ==============================================
   ADVANTAGES
   ============================================== */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--primary);
    filter: drop-shadow(0 5px 15px rgba(0, 168, 89, 0.3));
}

.advantage-icon i {
    font-size: 64px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* ==============================================
   CALCULATOR
   ============================================== */
.calculator {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.calculator-input {
    margin-bottom: 40px;
}

.calculator-input label {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.input-cotas {
    width: 100%;
    height: 60px;
    font-size: 24px;
    text-align: center;
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 0 20px;
    font-weight: 700;
}

.range-display {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: var(--light);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.result-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.result-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
}

.highlight-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.highlight-card .result-label,
.highlight-card .result-value {
    color: var(--white);
}

.prize-card {
    background: linear-gradient(135deg, var(--accent) 0%, #FFA500 100%);
}

.prize-card .result-value {
    color: var(--dark);
}

.calculator-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

/* ==============================================
   PARTICIPATE FORM
   ============================================== */
.section-participate {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.participate-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.participate-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
}

.info-list {
    list-style: none;
    margin-bottom: 30px;
}

.info-list li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-list li i {
    color: var(--primary);
    font-size: 18px;
}

.info-box {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
}

.participate-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.form-summary {
    background: var(--light);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.form-summary h4 {
    margin-bottom: 15px;
    color: var(--dark);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.form-security {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-security i {
    color: var(--success);
}

/* ==============================================
   FAQ
   ============================================== */
.faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==============================================
   CONTACT
   ============================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--primary);
    filter: drop-shadow(0 5px 15px rgba(0, 168, 89, 0.3));
}

.contact-icon i {
    font-size: 64px;
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
    background: var(--dark-light);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.security-badges {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .btn-mobile-menu {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .prize {
        font-size: 48px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .lottery-balls {
        height: 250px;
    }
    
    .ball {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .participate-container {
        grid-template-columns: 1fr;
    }
    
    .calculator {
        padding: 30px 20px;
    }
    
    .participate-form-container {
        padding: 30px 20px;
    }
}
