.grand-prize-container {
    background: #212121;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    margin-top: 20px;
}

.grand-prize-container .header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.grand-prize-container .header h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.diamond-icon {
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    transform: rotate(45deg);
    display: inline-block;
}

.prize-carousel {
    height: 260px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
}

.prize-track {
    display: flex;
    gap: 12px;
    padding: 12px;
    animation: scroll-horizontal 20s linear infinite;
    white-space: nowrap;
}

.prize-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #404040;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.prize-card:hover {
    background: #333333;
    transform: translateY(-2px);
    border-color: #555;
}

.prize-card .game-image {
    width: 90px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
    width: 100%;
}

.congrats-user {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
}

.congrats-text {
    color: #78E02C;
    font-weight: 500;
}

.username {
    color: #ffffff;
    font-weight: 600;
}

.win-info {
    text-align: center;
    width: 100%;
}

.win-label {
    color: #7ED321;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 2px;
}

.win-amount {
    color: #FFD700;
    font-size: 16px;
    font-weight: 700;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.prize-carousel::before,
.prize-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 1;
    pointer-events: none;
}

.prize-carousel::before {
    left: 0;
    background: linear-gradient(to right, #1a1a1a, transparent);
}

.prize-carousel::after {
    right: 0;
    background: linear-gradient(to left, #1a1a1a, transparent);
}

@media (max-width: 480px) {
    .grand-prize-container {
        padding: 16px;
        max-width: 100%;
    }

    .grand-prize-container .header h2 {
        font-size: 18px;
    }

    .prize-carousel {
        height: 240px;
    }

    .prize-card {
        min-width: 100px;
    }

    .prize-card .game-image {
        width: 80px;
        height: 110px;
    }
}