body.glxhome-page {
    background:
        radial-gradient(circle at 10% 0%, rgba(56, 189, 248, .13), transparent 30%),
        radial-gradient(circle at 90% 5%, rgba(168, 85, 247, .12), transparent 32%),
        #050816 !important;
    color: #f8fafc;
}

.glxhome-wrap,
.glxhome-wrap * {
    box-sizing: border-box;
}

.glxhome-wrap {
    min-height: 80vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.glxhome-hero {
    position: relative;
    isolation: isolate;
    max-width: 1360px;
    margin: 0 auto;
    padding: 58px 24px 30px;
}

.glxhome-hero-bg {
    position: absolute;
    inset: 24px;
    z-index: -1;
    border-radius: 38px;
    background:
        linear-gradient(90deg, rgba(56,189,248,.12), transparent, rgba(168,85,247,.13)),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,.026) 0,
            rgba(255,255,255,.026) 1px,
            transparent 1px,
            transparent 78px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.018) 0,
            rgba(255,255,255,.018) 1px,
            transparent 1px,
            transparent 78px
        ),
        rgba(15,23,42,.48);
    border: 1px solid rgba(148,163,184,.15);
    box-shadow: 0 32px 100px rgba(0,0,0,.30);
}

.glxhome-hero-content {
    max-width: 1030px;
    margin: 0 auto;
    padding: 72px 0 62px;
    text-align: center;
}

.glxhome-kicker,
.glxhome-section-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(56,189,248,.12);
    border: 1px solid rgba(125,211,252,.24);
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.glxhome-hero h1 {
    max-width: 980px;
    margin: 18px auto 16px;
    color: #f8fafc;
    font-size: clamp(38px, 6vw, 78px);
    line-height: .96;
    font-weight: 950;
    letter-spacing: -.07em;
}

.glxhome-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(226,232,240,.78);
    font-size: 17px;
    line-height: 1.75;
}

.glxhome-search {
    max-width: 860px;
    margin: 30px auto 0;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    border-radius: 24px;
    background: rgba(15,23,42,.82);
    border: 1px solid rgba(148,163,184,.20);
    box-shadow: 0 22px 70px rgba(0,0,0,.22);
}

.glxhome-search input,
.glxhome-search button,
.glxhome-mini-search input,
.glxhome-mini-search button {
    min-height: 50px;
    border-radius: 16px;
    font: inherit;
}

.glxhome-search input,
.glxhome-mini-search input {
    width: 100%;
    border: 1px solid rgba(148,163,184,.20);
    background: rgba(2,6,23,.68);
    color: #f8fafc;
    padding: 0 16px;
    outline: none;
}

.glxhome-search input:focus,
.glxhome-mini-search input:focus {
    border-color: rgba(125,211,252,.65);
    box-shadow: 0 0 0 4px rgba(56,189,248,.10);
}

.glxhome-search button,
.glxhome-mini-search button {
    border: 0;
    padding: 0 24px;
    color: #020617;
    background: linear-gradient(135deg, #7dd3fc, #c084fc);
    font-weight: 950;
    cursor: pointer;
}

.glxhome-hero-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.glxhome-main-cta,
.glxhome-secondary-cta {
    min-height: 44px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 950;
}

.glxhome-main-cta {
    color: #020617 !important;
    background: linear-gradient(135deg, #7dd3fc, #c084fc);
}

.glxhome-secondary-cta {
    color: #f8fafc !important;
    background: rgba(15,23,42,.70);
    border: 1px solid rgba(148,163,184,.20);
}

.glxhome-panels,
.glxhome-featured,
.glxhome-categories,
.glxhome-latest,
.glxhome-final-cta {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.glxhome-panels {
    padding-top: 16px;
    padding-bottom: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.glxhome-panel {
    padding: 22px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(15,23,42,.78), rgba(15,23,42,.50)),
        rgba(15,23,42,.70);
    border: 1px solid rgba(148,163,184,.15);
    box-shadow: 0 22px 70px rgba(0,0,0,.18);
}

.glxhome-panel span {
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .15em;
}

.glxhome-panel h2 {
    margin: 12px 0 8px;
    color: #f8fafc;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.glxhome-panel p {
    margin: 0;
    color: rgba(226,232,240,.75);
    font-size: 14px;
    line-height: 1.7;
}

.glxhome-featured,
.glxhome-categories,
.glxhome-latest {
    padding-top: 28px;
    padding-bottom: 28px;
}

.glxhome-section-head {
    margin-bottom: 18px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.glxhome-section-head h2 {
    margin: 10px 0 0;
    color: #f8fafc;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.055em;
}

.glxhome-section-head > a {
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #7dd3fc !important;
    text-decoration: none !important;
    background: rgba(56,189,248,.10);
    border: 1px solid rgba(125,211,252,.22);
    font-size: 13px;
    font-weight: 850;
}

.glxhome-featured-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.glxhome-featured-grid .glxhome-card--large {
    grid-row: span 2;
}

.glxhome-latest-grid,
.glxhome-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.glxhome-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.glxhome-card,
.glxhome-category-card,
.glxhome-empty,
.glxhome-final-cta {
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(15,23,42,.78), rgba(15,23,42,.52)),
        rgba(15,23,42,.70);
    border: 1px solid rgba(148,163,184,.16);
    box-shadow: 0 22px 70px rgba(0,0,0,.20);
}

.glxhome-card {
    min-width: 0;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.glxhome-card:hover,
.glxhome-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125,211,252,.32);
    background: rgba(15,23,42,.82);
}

.glxhome-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: rgba(2,6,23,.70);
    overflow: hidden;
}

.glxhome-card--large .glxhome-card-media {
    aspect-ratio: 16 / 10;
}

.glxhome-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .22s ease;
}

.glxhome-card:hover .glxhome-post-img {
    transform: scale(1.035);
}

.glxhome-post-img--fallback {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(56,189,248,.24), transparent 34%),
        radial-gradient(circle at 80% 70%, rgba(168,85,247,.20), transparent 38%),
        rgba(2,6,23,.95);
}

.glxhome-post-img--fallback span {
    font-size: 36px;
    font-weight: 950;
    letter-spacing: -.08em;
    background: linear-gradient(135deg, #fff, #7dd3fc 45%, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glxhome-card-body {
    padding: 18px;
}

.glxhome-card-meta,
.glxhome-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.glxhome-card-meta {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.glxhome-card-meta span {
    color: #7dd3fc;
}

.glxhome-card h3 {
    margin: 12px 0 9px;
    color: #f8fafc;
    font-size: 20px;
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: -.03em;
}

.glxhome-card--large h3 {
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.06;
}

.glxhome-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.glxhome-card h3 a:hover {
    color: #7dd3fc !important;
}

.glxhome-card p {
    margin: 0;
    color: rgba(226,232,240,.76);
    font-size: 14px;
    line-height: 1.65;
}

.glxhome-card-footer {
    margin-top: 16px;
}

.glxhome-card-footer span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.glxhome-card-footer a {
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #020617 !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #7dd3fc, #c084fc);
    font-size: 12px;
    font-weight: 950;
}

.glxhome-category-card {
    min-height: 150px;
    padding: 20px;
    display: grid;
    align-content: space-between;
    color: #f8fafc !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.glxhome-category-card span {
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .11em;
}

.glxhome-category-card strong {
    margin-top: 16px;
    color: #f8fafc;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.glxhome-category-card em {
    margin-top: 18px;
    color: rgba(226,232,240,.78);
    font-size: 13px;
    font-style: normal;
    font-weight: 850;
}

.glxhome-empty {
    padding: 26px;
}

.glxhome-empty h2 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 28px;
    font-weight: 950;
}

.glxhome-empty p {
    margin: 0;
    color: rgba(226,232,240,.75);
}

.glxhome-final-cta {
    margin-top: 28px;
    margin-bottom: 76px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 480px);
    align-items: center;
    gap: 24px;
    background:
        radial-gradient(circle at 20% 0%, rgba(56,189,248,.18), transparent 38%),
        radial-gradient(circle at 88% 20%, rgba(168,85,247,.16), transparent 36%),
        rgba(15,23,42,.76);
}

.glxhome-final-cta h2 {
    margin: 12px 0 10px;
    color: #f8fafc;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.055em;
}

.glxhome-final-cta p {
    max-width: 680px;
    margin: 0;
    color: rgba(226,232,240,.76);
    line-height: 1.7;
}

.glxhome-mini-search {
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    border-radius: 22px;
    background: rgba(2,6,23,.42);
    border: 1px solid rgba(148,163,184,.16);
}

@media (max-width: 1100px) {
    .glxhome-featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .glxhome-featured-grid .glxhome-card--large {
        grid-row: auto;
    }

    .glxhome-latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .glxhome-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .glxhome-final-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .glxhome-hero {
        padding: 36px 14px 22px;
    }

    .glxhome-hero-bg {
        inset: 14px;
        border-radius: 28px;
    }

    .glxhome-hero-content {
        padding: 44px 0 36px;
    }

    .glxhome-search,
    .glxhome-mini-search {
        grid-template-columns: 1fr;
    }

    .glxhome-panels,
    .glxhome-featured,
    .glxhome-categories,
    .glxhome-latest,
    .glxhome-final-cta {
        padding-left: 14px;
        padding-right: 14px;
    }

    .glxhome-panels,
    .glxhome-latest-grid,
    .glxhome-category-grid {
        grid-template-columns: 1fr;
    }

    .glxhome-section-head {
        align-items: start;
        flex-direction: column;
    }

    .glxhome-final-cta {
        margin-bottom: 50px;
        padding: 22px;
    }
}
