﻿/* Potential Prizes Overlay Styles */
.overlay-prizes-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10001;
    /* Above win overlay if needed */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay-prizes-root.active {
    opacity: 1;
    visibility: visible;
}

.overlay-prizes-modal {
    position: relative;
    width: 680px;
    max-width: 90%;
    background: #141416;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.overlay-prizes-root.active .overlay-prizes-modal {
    transform: scale(1);
}

.overlay-prizes-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.overlay-prizes-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.overlay-prizes-title {
    font-family: 'Geologica', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.overlay-prizes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.overlay-prizes-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.overlay-prizes-img-wrapper {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    /* Optional: styling for card background if not provided in image */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.overlay-prizes-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.overlay-prizes-label {
    font-family: 'Geologica', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .overlay-prizes-modal {
        width: 90%;
        max-width: 400px;
        height: auto;
        bottom: auto;
        top: auto;
        position: relative;
        border-radius: 24px;
        padding: 30px 20px;
        transform: scale(0.95);
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .overlay-prizes-root.active .overlay-prizes-modal {
        transform: scale(1);
    }
    
    .overlay-prizes-close-btn {
        top: 15px;
        right: 15px;
    }

    .overlay-prizes-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .overlay-prizes-grid {
        gap: 15px;
    }
    
    .overlay-prizes-item {
        width: calc(50% - 10px);
    }

    .overlay-prizes-img-wrapper {
        width: 100px;
        height: 100px;
        aspect-ratio: 1;
    }
}
