/* Weekly Champions Section */
.weekly-champions {
    padding: 0;
    margin-top: -40px;
    margin-bottom: 120px;
    background: transparent;
}

.weekly-champions .container {
    background: #000;
    padding: 40px;
    border-radius: 10px;
    border: 3px solid #00ff41;
}

.weekly-champions .section-subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Champions Grid */
.champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Champion Card */
.champion-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.champion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.3);
}

/* First Place - Blue (like AI Video Creation box) */
.champion-card.first-place {
    border: 3px solid #00d9ff;
    grid-column: span 1;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.champion-card.first-place:hover {
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}

/* Second Place - Red (like Original Music box) */
.champion-card.second-place {
    border: 3px solid #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.champion-card.second-place:hover {
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
}

/* Third Place - Green (like MHS Konnect box) */
.champion-card.third-place {
    border: 3px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.champion-card.third-place:hover {
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.4);
}

/* Medal Badge */
.champion-medal {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    z-index: 10;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Place Label */
.champion-place {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff41;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    border: 1px solid #00ff41;
}

.first-place .champion-place {
    color: #FFD700;
    border-color: #FFD700;
}

.second-place .champion-place {
    color: #C0C0C0;
    border-color: #C0C0C0;
}

.third-place .champion-place {
    color: #CD7F32;
    border-color: #CD7F32;
}

/* Video */
.champion-video {
    position: relative;
    width: 100%;
    background: #000;
}

.champion-video video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: contain;
    background: #000;
}

/* Info Section */
.champion-info {
    padding: 25px;
}

.champion-info h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.champion-author {
    color: #00ff41;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.champion-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Stats */
.champion-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.champion-votes {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.champion-votes .vote-icon {
    font-size: 1.3rem;
}

/* Placeholder Card */
.champion-card.placeholder {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-style: solid;
    opacity: 1;
}

.placeholder-content {
    padding: 80px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.placeholder-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.placeholder-content h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.placeholder-content p {
    color: #999;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.placeholder-content .btn {
    margin-top: 10px;
}

/* Loading Message */
.loading-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.2rem;
}

.loading-message a {
    color: #00ff41;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.loading-message a:hover {
    color: #00ff88;
    text-decoration: underline;
}

/* Contest CTA */
.contest-cta {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .champions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .champion-medal {
        font-size: 2.5rem;
        top: 15px;
        left: 15px;
    }

    .champion-place {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .champion-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .weekly-champions {
        padding: 60px 0;
    }

    .champion-medal {
        font-size: 2rem;
    }

    .champion-info {
        padding: 20px;
    }

    .champion-info h3 {
        font-size: 1.2rem;
    }
}
