:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #0f0f13;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Aurora Background Styles */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    opacity: 0.6;
}

.aurora-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    background: transparent;
    border-radius: 35%;
    animation: aurora-movement 50s linear infinite;
    filter: blur(60px);
}

.aurora-bg:nth-child(1) {
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, transparent 0%, rgba(66, 46, 184, 0.2) 50%, #221872 100%);
    animation-delay: 0s;
    animation-duration: 90s;
}

.aurora-bg:nth-child(2) {
    top: -60%;
    left: -30%;
    background: radial-gradient(circle at center, transparent 0%, rgba(66, 184, 131, 0.2) 50%, #1f6e52 100%);
    animation-delay: -10s;
    animation-duration: 100s;
}

.aurora-bg:nth-child(3) {
    top: -45%;
    left: -40%;
    background: radial-gradient(circle at center, transparent 0%, rgba(245, 72, 66, 0.2) 50%, #f54842 100%);
    animation-delay: -5s;
    animation-duration: 110s;
}

@keyframes aurora-movement {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-container h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-container h1 span {
    color: var(--secondary-color);
}

.user-info {
    background-color: var(--light-color);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.user-info p {
    font-size: 14px;
    font-weight: 500;
}

.intro {
    text-align: center;
    padding: 40px 0;
}

.intro h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.intro p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.offerwall-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 40px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-btn:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: var(--gray-color);
    font-size: 14px;
}

/* Lead Capture Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: linear-gradient(135deg, #1f2029 0%, #2d2b42 100%);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    transform: translateY(50px);
    transition: transform 0.4s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-overlay.active .popup-container {
    transform: translateY(0);
}

.popup-header {
    padding: 25px 30px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-header h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.4;
}

.popup-body {
    padding: 25px 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.12);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.25);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background-color: #f54842;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background-color: #ff3931;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(245, 72, 66, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px -5px rgba(245, 72, 66, 0.6);
}

.popup-footer {
    padding: 15px 30px 25px;
    text-align: center;
}

.privacy-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.privacy-text a {
    color: var(--secondary-color);
    text-decoration: none;
}

.privacy-text a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    /* More compact header for mobile */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        gap: 5px;
    }
    
    .logo-container h1 {
        font-size: 20px;
    }
    
    .user-info {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .user-info p {
        font-size: 12px;
    }
    
    /* Reduced spacing in intro section */
    .intro {
        padding: 10px 0;
    }
    
    .intro h2 {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .intro p {
        font-size: 13px;
        max-width: 100%;
    }
    
    /* Ultra-compact text for mobile view */
    .mobile-hide-text {
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    /* More compact tabs */
    .tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* Reduce spacing between sections */
    .offerwall-container {
        margin-bottom: 15px;
        margin-top: 5px;
    }
    
    /* Allow iframe to start higher on screen */
    .tab-content {
        padding: 8px;
    }
}
