/* COLLECTION SECTION - REFACTORED */

#collection-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 30px;
}

.collection-header-modern {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(30, 40, 70, 0.95) 0%, rgba(20, 30, 50, 0.98) 100%);
    border-radius: 24px;
    border: 3px solid rgba(79, 195, 247, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.collection-page-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(79, 195, 247, 0.6);
}

.collection-page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.collection-stats-expanded {
    background: linear-gradient(135deg, rgba(30, 40, 70, 0.9) 0%, rgba(20, 30, 50, 0.95) 100%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    border: 3px solid rgba(79, 195, 247, 0.4);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.stats-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid rgba(79, 195, 247, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 195, 247, 0.6);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 8px rgba(79, 195, 247, 0.6));
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #4fc3f7;
}

.collection-progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(79, 195, 247, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4fc3f7 0%, #0288d1 100%);
    transition: width 0.5s ease;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.8);
}

.collection-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(30, 40, 70, 0.9) 0%, rgba(20, 30, 50, 0.95) 100%);
    border-radius: 20px;
    border: 3px solid rgba(79, 195, 247, 0.4);
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: rgba(79, 195, 247, 0.2);
    border-color: rgba(79, 195, 247, 0.5);
}

.view-btn.active {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.3) 0%, rgba(0, 188, 212, 0.3) 100%);
    border-color: rgba(79, 195, 247, 0.6);
}

.visual-filters-section {
    margin-bottom: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(30, 40, 70, 0.9) 0%, rgba(20, 30, 50, 0.95) 100%);
    border-radius: 20px;
    border: 3px solid rgba(79, 195, 247, 0.4);
}

.filter-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.visual-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background: rgba(79, 195, 247, 0.2);
    border-color: rgba(79, 195, 247, 0.5);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.3) 0%, rgba(0, 188, 212, 0.3) 100%);
    border-color: rgba(79, 195, 247, 0.6);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.4);
}

.filter-icon {
    font-size: 1.3rem;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.creatures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}
