.gsb-hub-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 24px 18px 40px;
    background: radial-gradient(circle at top left, #072733 0, #03151b 40%, #010b10 100%);
    border-radius: 28px;
    box-shadow: 0 0 60px rgba(0, 255, 204, 0.14);
    color: #e7fbff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gsb-hub-header {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.gsb-hub-title-block {
    flex: 1 1 260px;
}

.gsb-hub-title {
    font-size: 26px;
    margin: 0 0 6px;
    letter-spacing: 0.02em;
}

.gsb-hub-subtitle {
    margin: 0;
    font-size: 14px;
    color: #b4e8f5;
    max-width: 520px;
}

.gsb-hub-search-block {
    flex: 0 0 260px;
}

.gsb-hub-search-input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 214, 0.4);
    background: rgba(1, 18, 22, 0.9);
    color: #e8feff;
    font-size: 14px;
    outline: none;
    box-shadow: 0 0 12px rgba(0, 255, 214, 0.16);
}

.gsb-hub-search-input::placeholder {
    color: #7fb9c9;
}

/* Filters */

.gsb-hub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.gsb-hub-filter-btn {
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 214, 0.22);
    background: rgba(3, 38, 45, 0.9);
    color: #d4fdff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.16s ease-out;
    white-space: nowrap;
}

.gsb-hub-filter-btn:hover {
    border-color: rgba(0, 255, 214, 0.65);
    background: rgba(6, 61, 74, 0.95);
    box-shadow: 0 0 16px rgba(0, 255, 214, 0.4);
}

.gsb-hub-filter-btn--active {
    background: linear-gradient(135deg, #00f0ff, #00ffc6);
    color: #00353e;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 255, 214, 0.75);
}

/* Grid */

.gsb-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 960px) {
    .gsb-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gsb-hub-wrapper {
        margin: 20px auto;
        border-radius: 20px;
        padding: 18px 14px 26px;
    }
    .gsb-hub-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .gsb-hub-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */

.gsb-hub-card {
    position: relative;
    padding: 14px 13px 14px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(0, 255, 214, 0.09), rgba(3, 27, 33, 0.97));
    border: 1px solid rgba(0, 255, 214, 0.25);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.17s ease-out;
}

.gsb-hub-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(0, 255, 214, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.2s ease-out;
    pointer-events: none;
}

.gsb-hub-card:hover::before {
    opacity: 1;
}

.gsb-hub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(0, 255, 214, 0.55);
}

.gsb-hub-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.gsb-hub-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 10%, #ffffff, #00f5ff, #00ffc6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 0 20px rgba(0, 255, 214, 0.9);
}

.gsb-hub-card-title {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
}

.gsb-hub-card-desc {
    margin: 0 0 10px;
    font-size: 12px;
    color: #bdefff;
    min-height: 32px;
}

.gsb-hub-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #90d6e8;
}

.gsb-hub-card-tag {
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 214, 0.4);
    background: rgba(2, 31, 36, 0.9);
}

.gsb-hub-card-cta {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Modal */

.gsb-hub-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.gsb-hub-modal--open {
    display: flex;
}

.gsb-hub-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 6, 9, 0.82);
    backdrop-filter: blur(4px);
}

.gsb-hub-modal-dialog {
    position: relative;
    max-width: 460px;
    width: 92%;
    background: radial-gradient(circle at top left, #093540, #021117 70%);
    border-radius: 24px;
    padding: 24px 20px 18px;
    border: 1px solid rgba(0, 255, 214, 0.6);
    box-shadow: 0 0 40px rgba(0, 255, 214, 0.8);
    color: #e6feff;
    z-index: 2;
}

.gsb-hub-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: #a9e6f4;
    font-size: 20px;
    cursor: pointer;
}

.gsb-hub-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 20% 10%, #ffffff, #00f5ff, #00ffc6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 0 26px rgba(0, 255, 214, 0.9);
    margin-bottom: 10px;
}

.gsb-hub-modal-title {
    margin: 0 0 6px;
    font-size: 20px;
}

.gsb-hub-modal-desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: #bdefff;
}

.gsb-hub-modal-meta {
    margin-bottom: 14px;
}

.gsb-hub-modal-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 214, 0.55);
    background: rgba(3, 36, 42, 0.9);
    font-size: 11px;
    color: #bef4ff;
}

.gsb-hub-modal-actions {
    margin-bottom: 10px;
}

.gsb-hub-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #00f0ff, #00ffc6);
    color: #00353e;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 0 24px rgba(0, 255, 214, 0.9);
}

.gsb-hub-modal-footer {
    margin: 0;
    font-size: 11px;
    color: #94d7e7;
    opacity: 0.9;
    text-align: left;
}
