:root {
    --primary-purple: #6c1ac0;
    --dark-purple: #4a0072;
    --light-purple: #b366ff;
    --accent-yellow: #ffc107;
    --text-dark: #333;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
}

header {
    border-top: 4px solid #a720ff;
}

/* Header */
.header-logo {
    max-height: 100px;
}

.earn-text {
    font-size: .94rem;
    letter-spacing: 0.5px;
    margin: 10px 0 0;
}

.small-text {
    font-size: 0.65rem;
}

.trust-badge i {
    font-size: 0.7rem;
}

.trust-badge .small,
.trust-badge small {
    font-size: 10px;
}

.star-box {
    background-color: #00C853;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 10px !important;
    margin-right: 2px;
    border-radius: 2px;
    padding: 1px 0 0;
}

.trust-badge .text-success {
    color: #28a745 !important;
}

.btn-purple {
    background: linear-gradient(90deg, #9c27b0, #673ab7);
    color: white;
    border: none;
}

.btn-outline-purple {
    color: #673ab7;
    border-color: #673ab7;
}

.btn-outline-purple:hover {
    background-color: #673ab7;
    color: white;
}

/* Hero */
.hero-section {
    background: radial-gradient(circle at center, #7b1fa2 0%, #4a148c 100%);
    position: relative;
}

.video-container {
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-selectors-text {
    font-size: 0.9rem;
}

/* Tab Carousel */
#tabCarouselWindow {
    /* Width will be controlled inline or via JS, but max-width ensures responsiveness */
    white-space: nowrap;
    /*mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);*/
}

#tabTrack {
    /* Flex alignment handled in HTML classes */
    justify-content: center;
}

/* Ensure tabs don't wrap and have consistent sizing behavior */
.video-tab {
    color: white;
    /* Changed from var(--primary-purple) for purple background */
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    opacity: 0.6;
    /* Increased default opacity slightly */
    white-space: nowrap;
}

.video-tab:hover,
.video-tab.active {
    opacity: 1;
    border-bottom-color: white;
    /* Changed to white */
}

.cursor-pointer {
    cursor: pointer;
}

/* Main Content */
.section-title {
    font-weight: 800;
    color: #333;
    line-height: 55px;
}

.section-title span {
    font-size: 50px;
    font-weight: 900;
    margin: 0;
}

.text-purple {
    color: #9c27b0;
}

/* Cards */
.purple-card {
    background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
    box-shadow: 0 10px 20px rgba(103, 58, 183, 0.3);
    border: 1px solid #ba68c8;
}

.black-banner {
    background: linear-gradient(to bottom, #000, #222);
    border: .5px solid var(--accent-yellow);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
    margin-left: -1rem;
    margin-right: -1rem;
}

/* Countdown */
.time-box {
    background-color: #000;
    color: var(--accent-yellow);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 2rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #444;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.time-label {
    font-size: 0.6rem;
    color: #ccc;
    margin-top: 5px;
    font-weight: normal;
    letter-spacing: 1px;
}

.colon {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-yellow);
    align-self: auto;
}

.btn-white {
    background-color: white;
    color: var(--dark-purple);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.btn-white:hover {
    transform: translateY(-2px);
    background-color: #f8f9fa;
    color: var(--dark-purple);
}

.active-tab {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: transparent;
}

.set_width {
    max-width: 1060px;
    margin: 0 auto;
}

/* Footer */
footer {
    border-top: 1px solid #eee;
}

/* Carousel */
.carousel-item img {
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-item img:hover {
    transform: scale(1.02);
}

.trust-badge small {
    padding-left: 0px;
}

.set_width_undervid {
    max-width: 880px;
    margin: 0 auto;
}

.rounded_title {
    background-color: #fefef9;
    border-radius: 20px;
    border: .5px solid #ffc107;
    padding: 10px;
    max-width: 640px;
    margin: 0 auto;
}

.header_center {
    max-width: 1100px;
    margin: 0 auto;
}


/* Custom Overlay */
.custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.custom-popup {
    background: white;
    max-width: 90%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: popupScale 0.3s ease-out;
}

/* Layout: Split (Wide, Side-by-Side) */
.layout-split {
    width: 800px;
    display: flex;
    flex-direction: row;
}

.popup-image {
    background-image: url('img/1.jpeg');
    background-size: cover;
    background-position: center;
    flex: 1;
    min-height: 300px;
    display: none;
}

.layout-split .popup-image {
    display: block;
}

/* Layout: Standard (Vertical, Top Image) */
.layout-standard {
    width: 500px;
    display: flex;
    flex-direction: column;
}

.popup-image-top {
    background-image: url('img/1.jpeg');
    background-size: cover;
    background-position: center;
    height: 200px;
    width: calc(100% - 30px);
    margin: 15px auto 0;
    border-radius: 10px;
    display: none;
}

.layout-standard .popup-image-top {
    display: block;
}

/* Color Themes */
/* Default Purple is already set via base styles */

/* Green Theme */
.theme-green .popup-header,
.theme-green .btn-purple {
    background: linear-gradient(90deg, #2e7d32, #1b5e20) !important;
}

.theme-green .text-purple {
    color: #2e7d32 !important;
}

/* Blue Theme */
.theme-blue .popup-header,
.theme-blue .btn-purple {
    background: linear-gradient(90deg, #1565c0, #0d47a1) !important;
}

.theme-blue .text-purple {
    color: #1565c0 !important;
}

/* Orange Theme */
.theme-orange .popup-header,
.theme-orange .btn-purple {
    background: linear-gradient(90deg, #ef6c00, #e65100) !important;
}

.theme-orange .text-purple {
    color: #ef6c00 !important;
}

/* Red Theme */
.theme-red .popup-header,
.theme-red .btn-purple {
    background: linear-gradient(90deg, #c62828, #b71c1c) !important;
}

.theme-red .text-purple {
    color: #c62828 !important;
}

/* Mobile Tweaks for Layouts */
@media (max-width: 768px) {
    .layout-split {
        flex-direction: column;
        width: 500px;
    }

    .layout-split .popup-image {
        display: none;
    }
}

@keyframes popupScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-header {
    background: radial-gradient(circle at center, #7b1fa2 0%, #4a148c 100%);
}

@media (max-width: 768px) {
    .header-logo {
        max-height: 50px;
    }

    .video-selectors-text {
        font-size: 0.75rem;
        gap: 0.5rem !important;
    }

    .video-tab span {
        font-size: 0.7rem;
    }

    .video-tab i {
        font-size: 0.7rem;
        margin-right: 2px;
    }
}

.hover-opacity-100 {
    transition: opacity 0.3s ease;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* Remove text decoration from nav arrows if they use btn-link */
.btn-link.text-white {
    text-decoration: none;
}