/* ==========================================
   WINNER STRIP - LAST ROUND SHOWCASE
   Cool redesign for concurs page
   ========================================== */

.ap-winner-strip {
    background: linear-gradient(135deg, rgba(8, 20, 24, 0.95) 0%, rgba(15, 25, 35, 0.95) 100%);
    border: 2px solid rgba(22, 241, 211, 0.4);
    border-radius: 20px;
    padding: 30px !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(22, 241, 211, 0.2),
        inset 0 0 30px rgba(22, 241, 211, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.ap-winner-strip::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #16f1d3, #0ea5e9, #16f1d3);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity 0.4s ease;
}

.ap-winner-strip:hover {
    transform: translateY(-3px);
    border-color: rgba(22, 241, 211, 0.6);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(22, 241, 211, 0.4),
        inset 0 0 40px rgba(22, 241, 211, 0.08);
}

.ap-winner-strip:hover::before {
    opacity: 0.3;
}

/* Trophy icon */
.ap-winner-cup {
    font-size: 64px;
    line-height: 1;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    animation: trophyFloat 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes trophyFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-2deg);
    }
    75% {
        transform: translateY(-3px) rotate(2deg);
    }
}

/* Top line - "Ultima rundă încheiată" */
.ap-winner-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ap-winner-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #16f1d3;
    text-shadow: 0 0 10px rgba(22, 241, 211, 0.5);
}

.ap-winner-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Song title and user name */
.ap-winner-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 12px;
}

.ap-winner-by {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin: 0 8px;
}

.ap-winner-user,
.ap-winner-title .clickable-username {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #16f1d3 !important;
    text-decoration: none;
    text-shadow: 
        0 0 15px rgba(22, 241, 211, 0.8),
        0 0 30px rgba(22, 241, 211, 0.4) !important;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    cursor: pointer !important;
}

.ap-winner-user::after,
.ap-winner-title .clickable-username::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #16f1d3, #0ea5e9);
    box-shadow: 0 0 10px rgba(22, 241, 211, 0.8);
    transition: width 0.3s ease;
}

.ap-winner-user:hover,
.ap-winner-title .clickable-username:hover {
    color: #fff !important;
    text-shadow: 
        0 0 20px rgba(22, 241, 211, 1),
        0 0 40px rgba(22, 241, 211, 0.6) !important;
    transform: translateY(-2px);
}

.ap-winner-user:hover::after,
.ap-winner-title .clickable-username:hover::after {
    width: 100%;
}

/* Theme pill and badges */
.ap-theme-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(22, 241, 211, 0.1);
    border: 1px solid rgba(22, 241, 211, 0.3);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
}

.ap-theme-cat {
    color: #16f1d3;
    font-weight: 700;
}

.ap-theme-sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
}

.ap-theme-title {
    color: rgba(255, 255, 255, 0.9);
}

.ap-votes-badge {
    background: rgba(255, 215, 0, 0.15) !important;
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700 !important;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
}

/* Buttons container */
.ap-winner-strip .d-flex.gap-2 {
    gap: 12px !important;
}

/* YouTube button - COOL DESIGN */
.ap-winner-youtube-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 12px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 
        0 4px 20px rgba(255, 0, 0, 0.4),
        0 0 30px rgba(255, 0, 0, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ap-winner-youtube-btn::before {
    content: '▶';
    font-size: 18px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.ap-winner-youtube-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.ap-winner-youtube-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(255, 0, 0, 0.6),
        0 0 50px rgba(255, 0, 0, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.8);
}

.ap-winner-youtube-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Archive button - COOL NEON DESIGN */
.ap-winner-archive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(22, 241, 211, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
    border: 2px solid #16f1d3;
    border-radius: 12px;
    color: #16f1d3 !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 
        0 4px 20px rgba(22, 241, 211, 0.3),
        0 0 30px rgba(22, 241, 211, 0.2),
        inset 0 0 20px rgba(22, 241, 211, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ap-winner-archive-btn::before {
    content: '📊';
    font-size: 18px;
    filter: drop-shadow(0 0 8px rgba(22, 241, 211, 0.6));
}

.ap-winner-archive-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #16f1d3, #0ea5e9, #16f1d3);
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.ap-winner-archive-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, rgba(22, 241, 211, 0.25) 0%, rgba(14, 165, 233, 0.25) 100%);
    box-shadow: 
        0 8px 30px rgba(22, 241, 211, 0.5),
        0 0 50px rgba(22, 241, 211, 0.4),
        inset 0 0 30px rgba(22, 241, 211, 0.1);
    color: #fff !important;
}

.ap-winner-archive-btn:hover::after {
    opacity: 0.5;
}

/* ==========================================
   RESPONSIVE - MOBILE & TABLET
   ========================================== */

/* Tablets */
@media (max-width: 991px) {
    .ap-winner-strip {
        padding: 25px !important;
    }

    .ap-winner-cup {
        font-size: 56px;
    }

    .ap-winner-title {
        font-size: 20px;
    }

    .ap-winner-user {
        font-size: 22px;
    }

    .ap-winner-youtube-btn,
    .ap-winner-archive-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ap-winner-strip {
        padding: 20px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    .ap-winner-cup {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .ap-winner-topline {
        justify-content: center;
    }

    .ap-winner-title {
        font-size: 18px;
    }

    .ap-winner-by {
        font-size: 16px;
    }

    .ap-winner-user {
        font-size: 20px;
        display: block;
        margin-top: 5px;
    }

    .ap-winner-strip .d-flex.gap-2 {
        flex-direction: column !important;
        width: 100%;
        gap: 10px !important;
    }

    .ap-winner-youtube-btn,
    .ap-winner-archive-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .ap-theme-pill,
    .ap-votes-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    .ap-winner-strip {
        padding: 18px !important;
    }

    .ap-winner-cup {
        font-size: 40px;
    }

    .ap-winner-title {
        font-size: 16px;
    }

    .ap-winner-user {
        font-size: 18px;
    }

    .ap-winner-label,
    .ap-winner-date {
        font-size: 11px;
    }

    .ap-winner-youtube-btn,
    .ap-winner-archive-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .ap-theme-pill,
    .ap-votes-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
}

