.hub-page {
    --hub-hero-rgb: 66,133,244;
    --hub-hero-glow: rgba(66,133,244,0.32);
}
.hub-theme-pvp,
.hub-theme-bedwars,
.hub-theme-fps,
.hub-theme-anime,
.hub-theme-blue {
    --hub-hero-rgb: 66,133,244;
    --hub-hero-glow: rgba(66,133,244,0.32);
}

.hub-hero {
    min-height: 39vh;
    padding: 13.5vh 5% 6.5vh;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, var(--hub-hero-glow, rgba(66,133,244,0.32)), transparent 26%), linear-gradient(135deg, #121820 0%, #202936 58%, #18202a 100%);
}
.hub-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 72px), repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 72px);
    opacity: 0.8;
}
.hub-hero:after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 12%;
    width: clamp(120px, 14vw, 230px);
    height: clamp(120px, 14vw, 230px);
    border: 3px solid rgba(var(--hub-hero-rgb, 66,133,244),0.18);
    background: linear-gradient(135deg, rgba(var(--hub-hero-rgb, 66,133,244),0.08), transparent 58%);
    transform: rotate(12deg);
    pointer-events: none;
}
.hub-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 4vh;
    align-items: center;
}
.hub-eyebrow {
    display: inline-block;
    padding: 0.65vh 1.1vh;
    border: 2px solid rgba(66,133,244,0.65);
    color: var(--c-blue);
    background: rgba(66,133,244,0.08);
    margin-bottom: 1.6vh;
}
.hub-hero h1 {
    margin: 0;
    font-size: clamp(2.5em, 5vw, 5.8em);
    line-height: 0.95;
}
.hub-hero p {
    max-width: 760px;
    font-size: 1.14em;
    line-height: 1.58;
    margin: 1.8vh 0 0;
    color: rgba(255,255,255,0.84);
}
.hub-actions {
    display: flex;
    gap: 1.2vh;
    flex-wrap: wrap;
    margin-top: 2.5vh;
}
.hub-btn {
    display: inline-block;
    text-decoration: none;
    padding: 1.35vh 2.1vh;
    background: var(--c-blue);
    color: white;
    border: 2px solid var(--c-blue);
    transition: transform 0.16s ease, filter 0.16s ease;
}
.hub-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}
.hub-btn.secondary {
    background: rgba(0,0,0,0.16);
    color: var(--c-blue);
}
.hub-stat-card {
    background: rgba(16,22,30,0.72);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.7vh;
    box-shadow: inset 4px 0 0 var(--c-blue);
}
.hub-stat-card {
    position: relative;
    overflow: hidden;
}
.hub-hero-art {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8vh;
    margin: -0.4vh 0 1.8vh;
    min-height: 8.5vh;
}
.hub-hero-art:after {
    content: "";
    position: absolute;
    inset: auto 0 -0.8vh 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66,133,244,0.48), transparent);
}
.hub-hero-art img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.22);
    filter: saturate(1.08) contrast(1.04);
}
.hub-hero-art img:nth-of-type(1) { transform: rotate(-2deg) translateY(0.2vh); }
.hub-hero-art img:nth-of-type(2) { transform: translateY(-0.55vh); }
.hub-hero-art img:nth-of-type(3) { transform: rotate(2deg) translateY(0.25vh); }
.hub-art-label {
    position: absolute;
    left: 1vh;
    top: -0.8vh;
    z-index: 2;
    color: white;
    background: var(--c-blue);
    border: 2px solid rgba(255,255,255,0.18);
    padding: 0.35vh 0.85vh;
    font-size: 0.78em;
    line-height: 1;
    box-shadow: 0 0 0 4px rgba(16,22,30,0.72);
}
.hub-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4vh;
    margin-top: 1.8vh;
}
.hub-stat {
    background: rgba(255,255,255,0.04);
    padding: 1.5vh;
}
.hub-stat strong {
    display: block;
    font-size: 1.7em;
    color: #fff;
}
.hub-main {
    padding: 4.4vh 5% 5vh;
    background: var(--c-bg);
}
.hub-wrap {
    max-width: 1280px;
    margin: 0 auto;
}
.hub-section {
    margin: 0 0 4.6vh;
}
.hub-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2vh;
    margin-bottom: 2vh;
}
.hub-section-head h2 {
    margin: 0;
    font-size: 2em;
}
.hub-section-head p {
    margin: 0.8vh 0 0;
    max-width: 720px;
    line-height: 1.55;
}
.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.2vh;
}
.hub-info-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5vh;
    align-items: stretch;
}
.hub-copy-card,
.hub-link-card,
.hub-creator-card,
.hub-vibe-card {
    background: var(--c-gray);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 2.5vh;
    box-sizing: border-box;
}
.hub-copy-card {
    border-left: 5px solid var(--c-blue);
}
.hub-info-grid > .hub-copy-card {
    align-self: stretch;
    margin-top: 0;
    display: block;
}
.hub-copy-card p {
    line-height: 1.72;
    margin: 1.2vh 0 0;
    color: rgba(255,255,255,0.78);
}
.hub-link-grid {
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-auto-rows: minmax(0,1fr);
    gap: 1.3vh;
}
.hub-link-card {
    text-decoration: none;
    color: white;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.hub-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(66,133,244,0.55);
    background: #38424f;
}
.hub-link-card span {
    color: var(--c-blue);
    margin-top: 0.7vh;
}
.hub-vibe-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1.4vh;
}
.hub-vibe-card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    padding-left: 3vh;
}
.hub-vibe-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--c-blue);
    opacity: 0.9;
    z-index: 0;
}
.hub-vibe-card:after {
    content: "";
    position: absolute;
    right: 1.8vh;
    bottom: 2.1vh;
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, rgba(66,133,244,0), rgba(66,133,244,0.42));
    transform: rotate(-10deg);
    opacity: 0.36;
    z-index: 0;
}
.hub-vibe-card > * {
    position: relative;
    z-index: 1;
}
.hub-vibe-card strong {
    display: block;
    color: var(--c-blue);
    font-size: 0.9em;
    margin-bottom: 0.9vh;
}
.hub-vibe-card h3 {
    margin: 0;
    font-size: 1.25em;
}
.hub-vibe-card p {
    margin: 1vh 0 0;
    line-height: 1.55;
    color: rgba(255,255,255,0.74);
}
.hub-creator-list {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.4vh;
}
.hub-creator-card {
    display: flex;
    align-items: center;
    gap: 1.2vh;
    text-decoration: none;
    color: white;
}
.hub-creator-card img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    image-rendering: pixelated;
    border: 2px solid var(--c-blue);
    background: #111820;
}
.hub-creator-card h3 {
    margin: 0;
    font-size: 1.05em;
}
.hub-creator-card p {
    margin: 0.4vh 0 0;
}
.hub-discover-promo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3vh;
    padding: 3vh;
    color: white;
    text-decoration: none;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(66,133,244,0.22), rgba(51,59,70,0.96) 44%, rgba(30,38,49,0.96));
    border: 1px solid rgba(66,133,244,0.36);
    box-shadow: inset 5px 0 0 var(--c-blue);
}
.hub-discover-promo:after {
    content: "";
    position: absolute;
    right: -7vh;
    top: -9vh;
    width: 26vh;
    height: 26vh;
    border: 3px solid rgba(66,133,244,0.22);
    transform: rotate(18deg);
}
.hub-discover-promo .hub-eyebrow {
    margin: 0 0 1.2vh;
}
.hub-discover-promo h2 {
    margin: 0;
    font-size: 1.9em;
}
.hub-discover-promo p {
    max-width: 760px;
    margin: 1vh 0 0;
    line-height: 1.55;
    color: rgba(255,255,255,0.76);
}
.hub-discover-promo strong {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding: 1.25vh 1.8vh;
    color: var(--c-blue);
    border: 2px solid rgba(66,133,244,0.75);
    background: rgba(8,13,20,0.34);
    transition: transform .16s ease, background .16s ease;
}
.hub-discover-promo:hover strong {
    transform: translateY(-2px);
    background: rgba(66,133,244,0.14);
}
.hub-faq {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.6vh;
}
.hub-empty {
    padding: 2vh;
}
@media (max-width: 1100px) {
    .hub-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .hub-hero-inner,
    .hub-info-grid { grid-template-columns: 1fr; }
    .hub-vibe-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hub-discover-promo { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 780px) {
    .hub-hero { padding-top: 11vh; }
    .hub-grid,
    .hub-link-grid,
    .hub-creator-list,
    .hub-faq,
    .hub-pill-row { grid-template-columns: 1fr 1fr; }
    .hub-section-head { display: block; }
}
@media (max-width: 540px) {
    .hub-grid,
    .hub-link-grid,
    .hub-creator-list,
    .hub-faq,
    .hub-stat-grid,
    .hub-vibe-grid,
    .hub-pill-row { grid-template-columns: 1fr; }
    .hub-hero h1 { font-size: 2.65em; }
}
.hub-breadcrumb {
    display: flex;
    gap: 0.9vh;
    align-items: center;
    margin-bottom: 1.4vh;
    color: rgba(255,255,255,0.45);
    font-size: 0.92em;
}
.hub-breadcrumb a {
    color: rgba(255,255,255,0.64);
    text-decoration: none;
    transition: color .16s ease;
}
.hub-breadcrumb a:hover { color: var(--c-blue); }
.hub-view-link {
    color: var(--c-blue);
    text-decoration: none;
}
.hub-view-link:hover { text-decoration: underline; }
.hub-pill-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1vh;
}
.hub-vibe-searches {
    margin-top: 1.2vh;
}
.hub-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.1vh;
    color: white;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    background: rgba(51,59,70,0.72);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid var(--c-blue);
    transition: transform .16s ease, background .16s ease, color .16s ease;
}
.hub-pill:hover {
    transform: translateY(-2px);
    background: #3a4553;
    color: var(--c-blue);
}
