/* Recompensa / Reward System Styles */

/* Scoped Wrapper to avoid conflicts */
.lcr-reward-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    /* Richer background with multiple gradients for depth */
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 210, 106, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(247, 224, 166, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 50% 0%, #1a1d21 0%, #0b1014 80%);
    position: relative;
    overflow: hidden;
    /* Clip the huge pseudo-element background */
}

/* Subtle background pulse animation */
.lcr-reward-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wMykiLz48L3N2Zz4=');
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    animation: rotateBg 60s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.lcr-reward-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Card Style */
.lcr-reward-card {
    background: rgba(21, 25, 30, 0.7);
    /* Slightly transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Lighter border */
    border-radius: 24px;
    padding: 40px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    /* Inner glow */
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.lcr-reward-card:hover {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transform: translateY(-5px);
}

/* Premium Header */
.lcr-reward-header {
    margin-bottom: 30px;
    position: relative;
}

.lcr-reward-title {
    font-size: 3rem;
    /* Larger */
    font-weight: 800;
    /* Bolder */
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #fff 0%, #e2e2e2 50%, #a3a3a3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.1));
}

.lcr-reward-subtitle {
    color: #a3a3a3;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lcr-reward-subtitle p {
    margin: 0 0 16px 0;
}

.lcr-reward-subtitle p:last-child {
    margin-bottom: 0;
}

/* Form Specific */
.lcr-reward-iframe-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #fff;
    /* Ensure contrast for form if transparent iframe issues occur */
    border-radius: 12px;
    overflow: hidden;
}

.lcr-reward-iframe-container iframe {
    width: 100%;
    border: none;
    background: transparent;
    min-height: 1200px;
}

/* Video Page Specific */
.lcr-reward-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.lcr-reward-video-wrapper:hover {
    transform: scale(1.02);
}

.lcr-reward-video-wrapper iframe,
.lcr-reward-video-wrapper video,
.lcr-reward-video-wrapper .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a3a3a3;
    font-size: 1.2rem;
    background: linear-gradient(to bottom, #1a1a1a, #000);
    gap: 15px;
}

.lcr-reward-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.lcr-reward-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 48px;
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 12px;
    position: relative;
    overflow: hidden;
}

/* Button Glow Effect */
.lcr-reward-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lcr-reward-btn:hover {
    transform: translateY(-4px);
}

.lcr-reward-btn:hover::after {
    opacity: 1;
}

.lcr-btn-primary {
    background: linear-gradient(135deg, #00d26a 0%, #00a855 100%);
    box-shadow: 0 10px 20px rgba(0, 210, 106, 0.2);
}

.lcr-btn-primary:hover {
    box-shadow: 0 15px 30px rgba(0, 210, 106, 0.4);
}

.lcr-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a3a3a3;
}

.lcr-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Confetti Canvas */
#lcr-confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Email Form */
.lcr-reward-email-form {
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.lcr-reward-email-form p {
    color: #a3a3a3;
    margin: 0;
}

#lcr-reward-newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

#lcr-reward-email {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

#lcr-reward-email:focus {
    border-color: #00d26a;
    box-shadow: 0 0 10px rgba(0, 210, 106, 0.2);
}

.lcr-btn-small {
    padding: 15px 30px;
    font-size: 1rem;
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    .lcr-reward-card {
        padding: 24px;
        border-radius: 20px;
    }

    .lcr-reward-title {
        font-size: 2.2rem;
    }

    .lcr-reward-btn {
        width: 100%;
        /* Full width buttons on mobile */
        max-width: 320px;
    }

    .lcr-reward-iframe-container iframe {
        /* Mobile forms might need more height or scrolling */
        min-height: 1000px;
    }
}