:root {
    --primary-green: #006400;
    /* Darker, richer green */
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --gold: #FFD700;
    --gold-gradient: linear-gradient(180deg, #FFD700 0%, #FDB931 100%);
    --gold-text: #FDB931;
    --bg-gradient: radial-gradient(circle at center, #1a4d1a 0%, #052605 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --text-main: #1e293b;
    --text-muted: #475569;
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --glow-color: rgba(255, 215, 0, 0.6);
    /* Gold glow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects - Confetti/Particles (Simulated with CSS) */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        radial-gradient(#FFD700 2px, transparent 2px),
        radial-gradient(#25D366 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
}

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.top-left {
    top: -150px;
    left: -150px;
    background: var(--gold);
}

.bottom-right {
    bottom: -150px;
    right: -150px;
    background: var(--whatsapp-green);
}

/* Main Container */
.container {
    width: 100%;
    max-width: 1200px;
    /* Full width for desktop */
    padding: 20px;
    z-index: 1;
}

/* Card */
.card {
    background: var(--card-bg);
    border-radius: 32px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 215, 0, 0.3);
    /* Gold border hint */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* Badge */
.badge-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.badge {
    background: #FFF4E5;
    /* Light orange/gold tint */
    color: #B45309;
    /* Dark gold/orange */
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #FDB931;
}

/* Hero Image */
.hero-image-container {
    width: 100%;
    margin-bottom: 8px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    /* Slight zoom */
}

/* Typography */
.headline {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-main);
}

.highlight-gold {
    display: block;
    /* Break line for emphasis */
    font-size: 2.8rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.subheadline {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 95%;
}

.subheadline strong {
    color: var(--primary-green);
    font-weight: 700;
}

/* CTA Button */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.125rem;
    padding: 20px 24px;
    border-radius: 100px;
    /* Fully rounded */
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 12px;
    opacity: 0.7;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .card {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .headline {
        font-size: 1.4rem;
    }

    .highlight-gold {
        font-size: 1.75rem;
    }
}

/* Hero Grid Layout */
.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 48px;
        text-align: center;
        /* Center text */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center items */
    }

    .card {
        padding: 48px;
    }

    .badge-container {
        justify-content: center;
        /* Center badge */
    }

    .cta-button,
    .btn-secondary {
        width: 100%;
        /* Full width in the column */
        max-width: 400px;
        /* Cap width for aesthetics */
    }
}

/* Floating Badge */
.floating-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-green);
    border: 2px solid var(--whatsapp-green);
    animation: slideUp 0.5s ease-out;
}

.floating-badge img {
    height: 24px;
    width: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Clovers */
.clover {
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    animation: float-clover 10s infinite linear;
    z-index: 0;
}

@keyframes float-clover {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

/* Secondary Button (Registered Games) - High Visibility */
.btn-secondary {
    display: inline-block;
    margin-top: 16px;
    padding: 16px 32px;
    background: var(--gold-gradient);
    border: none;
    color: #004d40;
    /* Dark green text for contrast */
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    /* Slightly smaller font to fit text */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    animation: pulse-gold 2s infinite;
    /* Mobile full width */
}

.secondary-group {
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
    /* More space from main CTA */
}

.secondary-group .caption:first-child {
    margin-bottom: 4px !important;
    /* Tighter to button */
}

.scarcity-alert {
    color: #ef4444;
    font-weight: 800;
    /* Extra bold */
    font-size: 1rem;
    /* Slightly larger */
    margin-top: 16px;
    /* More space from subheadline */
    margin-bottom: 8px;
    text-transform: uppercase;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
}

/* ... (Scarcity and Titles remain same) ... */

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.testimonial-card {
    background: #f8fafc;
    padding: 16px;
    border-radius: 16px;
    text-align: left;
    border-left: 4px solid var(--whatsapp-green);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.testimonial-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--whatsapp-green);
}

.user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.user-prize {
    font-size: 0.8rem;
    color: var(--whatsapp-dark);
    font-weight: 600;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-style: italic;
}

/* FAQ */
.faq-container {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 16px;
}

.faq-question {
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 6px;
    font-size: 1rem;
}

.faq-answer {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Games Modal */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #f8fafc;
    width: 100%;
    max-width: 800px;
    height: 90vh;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.modal-title h3 {
    font-size: 1.2rem;
    color: var(--primary-green);
    font-weight: 800;
    margin-bottom: 4px;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f1f5f9;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.game-card {
    background: white;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.game-header {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.game-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.game-numbers span {
    background: var(--whatsapp-green);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.modal-footer {
    background: white;
    padding: 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
}

.btn-close-fixed {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    transition: transform 0.2s;
}

.btn-close-fixed:active {
    transform: scale(0.98);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    /* Dark gray for visibility on white */
    font-size: 0.75rem;
    width: 100%;
    max-width: 1200px;
    /* Match container max-width */
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-link {
    color: #475569;
    /* Darker gray for links */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.disclaimer {
    line-height: 1.5;
}

/* Generic Modal Text Content */
.modal-text-content {
    padding: 20px;
    color: #334155;
    line-height: 1.6;
    font-size: 0.9rem;
}

.modal-text-content h4 {
    color: var(--primary-green);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.modal-text-content p {
    margin-bottom: 15px;
}



/* Price Label */
.price-label {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 700;
}

.price-highlight {
    color: #b8860b;
    /* Gold/Dark Yellow */
    font-size: 1.4rem;
    font-weight: 800;
}

/* Quota Badges (Quadrantes) */
.badge-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.quota-badge {
    background-color: #f0fdf4;
    /* Light Green */
    border: 2px solid #b8860b;
    /* Gold */
    color: #166534;
    /* Dark Green */
    padding: 10px 20px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    /* Prevent wrapping */
}

@media (max-width: 480px) {
    .quota-badge {
        font-size: 0.75rem;
        /* Smaller on mobile */
        padding: 8px 15px;
        width: 100%;
        /* Full width if needed, or auto */
        justify-content: center;
    }
}

/* Warning Box */
.warning-box {
    background-color: #fffbeb;
    /* Light Yellow */
    border: 1px solid #fcd34d;
    /* Yellow Border */
    color: #92400e;
    /* Dark Brown/Orange */
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin: 10px 0;
    line-height: 1.4;
    display: inline-block;
    max-width: 90%;
}

/* Price Box */
.price-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 15px 25px;
    display: inline-block;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.price-box-label {
    font-size: 0.9rem;
    color: #166534;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.price-box-value {
    font-size: 2rem;
    color: var(--primary-green);
    font-weight: 800;
    line-height: 1;
}

/* Sales Notification Popup */
.sales-popup {
    position: fixed;
    top: 20px;
    right: -300px;
    /* Hidden initially */
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 280px;
    border-left: 4px solid var(--primary-green);
}

.sales-popup.show {
    right: 20px;
}

.sales-popup-icon {
    background: #dcfce7;
    color: var(--primary-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sales-popup-text {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.4;
}

.sales-popup-text strong {
    color: var(--primary-green);
}

/* WhatsApp Float Animation */
@keyframes float-vertical {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}



/* Red Count Animation */
.count-red {
    color: #dc2626;
    /* Red */
    font-weight: 900;
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.2s;
}

.count-pulse {
    animation: count-pulse-anim 0.5s ease-in-out;
}

@keyframes count-pulse-anim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
        color: #ef4444;
    }

    100% {
        transform: scale(1);
    }
}

/* Info Badge */
.info-badge {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 480px) {
    .info-badge {
        font-size: 0.85rem;
        padding: 10px 14px;
        text-align: left;
        justify-content: flex-start;
    }
}


.info-badge svg {
    color: var(--whatsapp-green);
    flex-shrink: 0;
}

/* Last Chance Modal */
.last-chance-modal {
    text-align: center;
    width: 280px !important;
    /* Fixed small width */
    height: 280px !important;
    /* Fixed height to match width (square) */
    max-width: 90vw !important;
    padding: 20px !important;
    border-radius: 20px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.last-chance-title {
    color: #dc2626;
    font-size: 1.2rem;
    /* Smaller title */
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.last-chance-text {
    font-size: 0.95rem;
    /* Smaller text */
    color: #334155;
    margin-bottom: 20px;
}

.modal-link {
    display: block;
    margin-top: 15px;
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}