/* Awards Page CSS */

.awards-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    font-size: 2rem;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin: 30px auto;
    text-align: center;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.award-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border: 1px solid #eee;
    cursor: pointer;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.award-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    /* Placeholder bg */
}

.award-thumb.no-thumb::after {
    content: '\f03e';
    /* FontAwesome image icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #ddd;
}

@media (max-width: 768px) {
    .award-thumb.no-thumb::after {
        font-size: 1.2rem;
    }
}

.award-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.award-card:hover .award-thumb img {
    transform: scale(1.05);
}

.award-content {
    padding: 20px;
    text-align: left;
}

.tournament-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.award-meta {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.meta-item {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
}

.award-list {
    margin-bottom: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.award-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.award-type {
    font-weight: bold;
    color: #e67e22;
    /* Gold/Bronze like color */
    flex-shrink: 0;
    margin-right: 10px;
}

.award-winner {
    text-align: right;
    font-weight: 500;
}

.stream-link-btn {
    display: block;
    text-align: center;
    background: #3fbcff;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.stream-link-btn:hover {
    background: #b1aeae;
    color: #fff;
}

.btn2 {
    margin-bottom: 20px;
}

.award-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.tag {
    font-size: 0.75rem;
    padding: 3px 12px;
    background: #f5f5f5;
    border-radius: 15px;
    color: #777;
    font-weight: 500;
}

.award-meta-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.award-author {
    color: #3fbcff;
    font-weight: bold;
    font-size: 0.9rem;
}

.award-info-summary {
    display: none;
    /* Only show on mobile */
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .award-info-summary {
        display: block;
    }

    .award-meta {
        display: none;
        /* Hide old meta on mobile */
    }
}

.award-details {
    display: none;
}

@media (max-width: 768px) {
    .awards-container {
        padding: 10px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .award-card {
        display: flex;
        flex-direction: row-reverse;
        /* Thumb on right */
        align-items: flex-start;
        padding: 15px;
    }

    .award-thumb {
        width: 80px;
        min-width: 80px;
        aspect-ratio: 1 / 1;
        margin-left: 15px;
        border-radius: 8px;
    }

    .award-content {
        padding: 0;
        flex: 1;
    }

    .tournament-name {
        font-size: 1.05rem;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .award-meta {
        margin-bottom: 8px;
        gap: 5px;
    }

    .meta-item {
        background: none;
        padding: 0;
        color: #888;
        font-size: 0.8rem;
    }

    /* Tags at the top */
    .award-tags {
        display: flex;
        gap: 5px;
        margin-bottom: 5px;
    }

    .tag {
        font-size: 0.7rem;
        padding: 2px 10px;
        background: #f0f0f0;
        border-radius: 12px;
        color: #666;
    }

    /* Author info */
    .award-author {
        font-size: 0.85rem;
        color: #3fbcff;
        font-weight: bold;
        margin-right: 5px;
    }

    .toggle-icon-container {
        display: none;
        /* Hide toggle icon on mobile if whole card is clickable or we just use slideToggle */
    }

    .award-details {
        margin-top: 10px;
        width: 100%;
        clear: both;
    }
}

/* Filter Button Styles */
.award-filters {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff;
    border: 2px solid #3fbcff;
    color: #3fbcff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #f0faff;
}

.filter-btn.active {
    background: #3fbcff;
    color: #fff;
}