/* Contest Popup Stylesss */
.contest-popup { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

.contest-popup.show {
    opacity: 1;
    visibility: visible;
}

/* Contest Banner Styles */
.contest-banner-section {
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.contest-banner-link {
    display: block;
    position: relative;
    transition: transform 0.3s ease;
}

.contest-banner-link:hover {
    transform: scale(1.02);
}

.influencers-banner {
    width: 100vw;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.contest-banner-link:hover .influencers-banner {
    filter: brightness(1.1);
}

/* Add a subtle overlay on hover */
.contest-banner-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(58, 117, 196, 0.1), rgba(247, 148, 29, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contest-banner-link:hover::after {
    opacity: 1;
}

.popup-content {
    background-color: transparent;
    border-radius: var(--radius-md);
    max-width: 900px;
    width: 90%;
    padding: 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.contest-popup.show .popup-content {
    transform: scale(1);
}

.popup-video-container {
    flex: 0 0 auto;
    height: 100%;
    width: 48%;
    max-width: 48%;
    background-color: #58249c;
    display: flex;
    align-items: center;
    justify-content: contain;
}

.popup-video {
    width: 1000%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    object-fit: contain; /* Preserve aspect ratio */
}

.popup-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1e2a44 0%, #4b1e5a 100%);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    overflow-y: auto;
}

.popup-text {
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
}

.popup-text h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.popup-text p {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
}

.prize-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.prize-list li {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.prize-list li::before {
    content: '';
    margin-right: 0.5rem;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary {
    background-color: #ffeb3b !important;
    color: #1e2a44 !important;
    border: none !important;
}

.btn-secondary:hover {
    background-color: white !important;
    color: #1e2a44 !important;
    transform: scale(1.05); /* Scale animation on hover */
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #ffeb3b;
}



/* Hashtag styles for contest popup */
.popup-text .hashtags {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.popup-text .hashtags span {
    background-color: #ffffff1a;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #ffeb3b;
    white-space: nowrap;
}

/* New styles for popup-text mobile/desktop versions */
.popup-text-mobile {
    display: none;
}

@media (max-width: 768px) {
    .popup-text-desktop {
        display: none;
    }

    .popup-text-mobile {
        display: flex;
        flex-direction: column;
        color: white;
        font-size: 0.8rem;
        line-height: 1.4;
        text-align: left;
        align-items: flex-start;
    }

    .popup-text-mobile h2 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .popup-text-mobile p {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        flex-direction: column;
    }

    .popup-video-container {
        height: auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #58249c;
    }

    .popup-video {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 40vh;
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        object-fit: contain; /* Preserve aspect ratio on mobile */
    }

    .popup-right {
        padding: 1rem;
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        max-height: 50vh;
    }

    .popup-text {
        text-align: left;
        align-items: flex-start;
    }

    .popup-text h2 {
        font-size: 1.2rem;
    }

    .popup-text p {
        font-size: 0.8rem;
    }

    .prize-list li {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    .popup-buttons {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 98%;
    }

    .popup-video-container {
        max-height: 35vh;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #58249c;
    }

    .popup-video {
        max-height: 35vh;
    }

    .popup-right {
        padding: 0.75rem;
        max-height: 55vh;
    }

    .popup-text {
        text-align: left;
        align-items: flex-start;
    }

    .popup-text h2 {
        font-size: 1rem;
    }

    .popup-text p {
        font-size: 0.75rem;
    }

    .prize-list li {
        font-size: 0.7rem;
    }

    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .close-popup {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.2rem;
    }
}

/* .popup-horizontal {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.popup-horizontal p,
.popup-horizontal ul {
    flex: 1 1 45%;
    min-width: 200px;
} */