/* Collections Page Styles */

/* Grid Layout */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 95%;
    margin: 20px auto;
}

.collection-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.collection-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.6em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.collection-card p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    font-size: 1em;
}

.collection-card .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    backdrop-filter: blur(5px);
}

/* Card Gradients */
.card-oscar {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
}

.card-triple {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.card-divisive {
    background: linear-gradient(135deg, #e74c3c 0%, #3498db 100%);
}

/* Header Styles */
.collection-header {
    padding: 40px;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 95%;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.collection-header h2 {
    font-size: 2.5em;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.collection-header p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Specific Header Gradients */
.header-oscar-contenders {
    background: linear-gradient(135deg, #f1c40f 0%, #d35400 100%);
}

.header-triple-crown {
    background: linear-gradient(135deg, #8e44ad 0%, #2c3e50 100%);
}

.header-critically-divisive {
    background: linear-gradient(135deg, #c0392b 0%, #2980b9 100%);
}

/* Tabs inside Header */
.collection-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.collection-tabs a {
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.collection-tabs a:hover {
    background: rgba(255, 255, 255, 0.4);
}

.collection-tabs a.active {
    background: #fff;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sort-bar a {
    color: #555;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
}

.sort-bar a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }

    .collection-header {
        padding: 25px;
    }

    .collection-header h2 {
        font-size: 2em;
    }

    .collection-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .collection-tabs a {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}