.grand-prize-container {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
}

.grand-prize-container .header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.grand-prize-container .header h2 {
    color: #FFED1C;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-shadow: 0 0 10px rgba(255, 237, 28, 0.3);
}

.diamond-icon {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #FFED1C, #FFD700);
    transform: rotate(45deg);
    display: inline-block;
    box-shadow: 0 0 6px rgba(255, 237, 28, 0.5);
}

.prize-carousel {
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.prize-track {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    animation: scroll-vertical 50s linear infinite;
    white-space: nowrap;
}

.prize-card {
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #444;
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.prize-card:hover {
    background: linear-gradient(135deg, #3a3a3a 0%, #333 100%);
    transform: scale(1.02);
    border-color: #FFED1C;
}

.prize-card .game-image {
    width: 50px;
    height: 65px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.prize-card .game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.prize-info {
    flex: 1; 
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.game-title {
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.congrats-text {
    color: #888;
    font-weight: 400;
}

.username {
    color: #ccc;
    font-weight: 500;
}

.win-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.win-label {
    color: #888;
    font-size: 12px;
    font-weight: 400;
}

.win-amount {
    color: #FFED1C;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 237, 28, 0.4);
}

.play-button {
    background-color: #FFED1C;
    color: #1a1a1a;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    flex-shrink: 0; 
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-left: 12px; 
}

.play-button:hover {
    background-color: #ffd900;
    transform: scale(1.05);
}

@keyframes scroll-vertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-33.333%);
    }
}

.prize-carousel::before,
.prize-carousel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 30px;
    z-index: 1;
    pointer-events: none;
}

.prize-carousel::before {
    top: 0;
    background: linear-gradient(to bottom, #1a1a1a 0%, rgba(26, 26, 26, 0.8) 70%, transparent 100%);
}

.prize-carousel::after {
    bottom: 0;
    background: linear-gradient(to top, #1a1a1a 0%, rgba(26, 26, 26, 0.8) 70%, transparent 100%);
}

@media (max-width: 480px) {
    .grand-prize-container {
        padding: 16px;
        max-width: 100%;
    }

    .grand-prize-container .header h2 {
        font-size: 18px;
    }

    .prize-carousel {
        height: 350px;
    }

    .prize-card {
        min-height: 70px;
        padding: 10px;
    }

    .prize-card .game-image {
        width: 45px;
        height: 58px;
    }
}