/* Home Page Winners Carousel Styling */
.winner-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.winner-slide-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    width: 100%;
    border: 2px solid #ff6b35;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    display: flex;
    gap: 30px;
    align-items: center;
}

.winner-image-container {
    position: relative;
    flex-shrink: 0;
}

.winner-image {
    width: 250px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #ff6b35;
}

.winner-game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.winner-info {
    flex: 1;
    color: white;
}

.winner-tournament-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.winner-game-info {
    font-size: 1.1rem;
    color: #00ffff;
    margin-bottom: 20px;
    font-weight: 500;
}

.winner-rating-display {
    margin-bottom: 20px;
}

.admin-rating, .user-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rating-label {
    font-weight: 600;
    color: #ccc;
    min-width: 100px;
}

.stars-display {
    font-size: 18px;
}

.rating-count {
    color: #aaa;
    font-size: 14px;
}

.winner-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 25px;
}

.user-rating-section {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.user-rating-section h4 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.user-rating-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.user-rating-stars input[type="radio"] {
    display: none;
}

.user-star {
    font-size: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.user-star:hover,
.user-rating-stars input[type="radio"]:checked + .user-star {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.2);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: #ff6b35;
}

/* Rating Success Animation */
.rating-success {
    animation: slideInRight 0.5s ease, slideOutRight 0.5s ease 2.5s forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .winner-slide-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .winner-image {
        width: 200px;
        height: 150px;
    }
    
    .winner-tournament-name {
        font-size: 1.5rem;
    }
    
    .admin-rating, .user-rating {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .rating-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .winner-slide-content {
        padding: 15px;
    }
    
    .winner-image {
        width: 150px;
        height: 120px;
    }
    
    .winner-tournament-name {
        font-size: 1.3rem;
    }
    
    .user-star {
        font-size: 20px;
    }
}
