:root {
    --primary-bg: black;
    --accent-green: limegreen;
    --accent-red: red;
    --text-light: white;
}

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

/* Body */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
}

.container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

/* Prize Container */
#prizes-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

/* Prize Card */
.prize-card {
    background: #1a1a1a;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
    color: var(--text-light);
    /* height: 50vh; Two cards per page */
    animation: gradientShadowFlow 5s infinite ease-in-out;
    transition: transform 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.4);
}

/* Prize Image Section */
.prize-image-wrapper {
    flex: 1;
    position: relative;
    cursor: pointer;
    margin-right: 20px;
}

.prize-image {
    width: 100%;
    height: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.prize-image-wrapper:hover .prize-image {
    transform: scale(1.02);
}

/* Prize Content */
.prize-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Prize Title */
.prize-title {
    background-image: linear-gradient(90deg, #00ffff, #ff00cc, #00ff99);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s linear infinite;
    font-weight: bold;
    font-size: 2rem;
}
.prize-title {
    font-size: 1.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}


/* Prize Description */
.prize-description p {
    font-size: 1.1rem;
    color: #ccc;
    text-align: justify;
    margin-bottom: 10px;
}

/* Animation for Card Glow */
@keyframes gradientShadowFlow {
    0%, 100% {
        box-shadow: -8px 8px 30px rgba(0, 255, 0, 0.3), 0 0 30px rgba(255, 255, 0, 0.3);
    }
    20% {
        box-shadow: 0px 8px 30px rgba(0, 255, 255, 0.3), 0 0 30px rgba(255, 0, 255, 0.3);
    }
    40% {
        box-shadow: 8px 8px 30px rgba(255, 0, 0, 0.3), 0 0 30px rgba(255, 165, 0, 0.3);
    }
    60% {
        box-shadow: 16px 8px 30px rgba(0, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.3);
    }
    80% {
        box-shadow: 24px 8px 30px rgba(0, 255, 0, 0.3), 0 0 30px rgba(255, 165, 0, 0.3);
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(255, 255, 255, 0.05); /* Transparent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-top: 50px;
}

/* Modal Content */
.modal-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Modal Images */
.modal-content img {
    object-fit: contain;
    max-width: 30%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-content img:hover {
    transform: scale(1.05);
}

/* Close Button */
.close {
    color: var(--text-light);
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Mobile View */
@media (max-width: 768px) {
    .prize-card {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    .prize-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
