/**
 * important_links.css — Chaltakhali R.G.B.C. Institution Important External Links
 * Dedicated styling for pages/important_links.php
 */

.links-hero-banner {
    background: linear-gradient(135deg, #091a3e 0%, #0f3871 50%, #1e40af 100%);
    padding: 3.5rem 0 3rem 0;
    position: relative;
    overflow: hidden;
}

.links-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.links-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.link-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 32px -8px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.link-card-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    transition: transform 0.3s ease;
}

.link-card:hover .link-card-icon-wrapper {
    transform: scale(1.1);
}

/* Category Badges */
.cat-badge-boards { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.cat-badge-portals { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.cat-badge-scholarships { background: #fefce8; color: #a16207; border: 1px solid #fef08a; }
.cat-badge-digital { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }

/* Filter Pill Buttons */
.category-filter-btn {
    border-radius: 50rem;
    padding: 0.45rem 1.15rem;
    font-size: 0.84rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    transition: all 0.2s ease;
    cursor: pointer;
}

.category-filter-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.category-filter-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

/* Copy Link Feedback Button */
.btn-copy-link {
    transition: all 0.2s ease;
}

.btn-copy-link:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}
