/* WINNERS PAGE STYLES */

.winners-container {
    padding-top: 100px;
    padding-bottom: 50px;
    max-width: 1200px;
}

.header-section {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5b1 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 20px rgba(212, 175, 55, 0.4);
}

.page-subtitle {
    color: #999;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Winner Card Grid */
.winners-grid {
    /* Rely on Bootstrap grid system */
    margin-bottom: 30px;
}

.winner-item {
    margin-bottom: 20px;
}

.winner-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Gold border effect on hover */
.winner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #d4af37, #f4e5b1, #d4af37);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.winner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: transparent;
}

.winner-card:hover::before {
    opacity: 1;
}

/* Winner Photo */
.winner-photo-wrapper {
    flex: 0 0 160px;
    width: 160px;
    height: 160px;
    margin-right: 25px;
    position: relative;
}

.winner-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

/* Winner Info */
.winner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category {
    font-size: 1.2rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.winner-name {
    font-size: 4.2rem;
    color: #fff;
    font-weight: 800;
    margin: 0 0 5px 0;
    line-height: 1.1;
    word-break: keep-all;
}

.artist-name {
    font-size: 2rem;
    color: #aaa;
    font-weight: 400;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .winners-container {
        padding-top: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-title {
        font-size: 2rem;
        word-break: keep-all; 
        margin-top: 60px;
    }

    .winner-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .winner-photo-wrapper {
        margin-right: 0;
        margin-bottom: 25px;
        width: 100%;
        height: auto;
        flex: none;
        max-width: 200px; /* Limit size on mobile */
        aspect-ratio: 1/1;
        margin-left: auto;
        margin-right: auto;
    }

    .winner-name {
        font-size: 3rem;
    }

    .artist-name {
        font-size: 1.5rem;
    }
}
