/* =========================================================
   BUZZERBAIK - SITEMAP PAGE
   Modern Glassmorphism & Gradient Design System
   ========================================================= */

.bb-sitemap-hero {
    position: relative;
    padding: 90px 0 60px;
    background:
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, .12), transparent 35%),
        radial-gradient(circle at 90% 20%, rgba(124, 58, 237, .12), transparent 35%),
        radial-gradient(circle at 50% 100%, rgba(6, 182, 212, .08), transparent 40%),
        #f8fafc;
    border-bottom: 1px solid rgba(226, 232, 240, .8);
    text-align: center;
}

.bb-sitemap-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #64748b;
}

.bb-sitemap-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.bb-sitemap-breadcrumb a:hover {
    text-decoration: underline;
}

.bb-sitemap-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .1);
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.bb-sitemap-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 16px;
}

.bb-sitemap-title strong {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bb-sitemap-desc {
    max-width: 680px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
}

/* Search bar */
.bb-sitemap-search-wrap {
    max-width: 580px;
    margin: 0 auto 24px;
    position: relative;
}

.bb-sitemap-search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    font-size: 15px;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
    transition: all .25s ease;
    box-sizing: border-box;
}

.bb-sitemap-search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 12px 35px rgba(37, 99, 235, .15);
}

.bb-sitemap-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #94a3b8;
    pointer-events: none;
}

/* Stats Pills */
.bb-sitemap-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.bb-sitemap-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .02);
}

.bb-sitemap-pill span {
    color: #2563eb;
    font-weight: 800;
}

/* Main Content Grid */
.bb-sitemap-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

.bb-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.bb-sitemap-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
}

.bb-sitemap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, .08);
    border-color: #cbd5e1;
}

.bb-sitemap-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.bb-sitemap-card-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bb-sitemap-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(124, 58, 237, .1));
    color: #2563eb;
    font-weight: 800;
    font-size: 16px;
}

.bb-sitemap-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.bb-sitemap-card-count {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
}

/* Link Lists */
.bb-sitemap-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bb-sitemap-link-item {
    transition: opacity .2s ease;
}

.bb-sitemap-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all .2s ease;
}

.bb-sitemap-link:hover {
    color: #2563eb;
    background: #ffffff;
    border-color: #e2e8f0;
    padding-left: 16px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .06);
}

.bb-sitemap-link::after {
    content: "→";
    opacity: 0;
    transform: translateX(-4px);
    transition: all .2s ease;
    font-size: 13px;
    color: #2563eb;
}

.bb-sitemap-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Empty search state */
.bb-sitemap-empty {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px dashed #cbd5e1;
    grid-column: 1 / -1;
}

.bb-sitemap-empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.bb-sitemap-empty-desc {
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 768px) {
    .bb-sitemap-hero {
        padding: 60px 0 40px;
    }
    .bb-sitemap-grid {
        grid-template-columns: 1fr;
    }
}
