.premium-site[data-view="home"] {
    background: #0a090e;
    color: #f4eef3;
}

.premium-site[data-view="home"]::before {
    background: radial-gradient(ellipse at 50% 4%, #26151e 0%, transparent 54%);
}

.premium-site[data-view="home"] #psParticleCanvas {
    opacity: 0;
}

.store-home-deep-space,
.store-home-star-glints {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.store-home-star-glints {
    overflow: hidden;
}

.store-home-star-glints span {
    position: absolute;
    width: 18px;
    height: 18px;
    margin: -9px;
    color: rgb(var(--star-color));
    opacity: .71;
    background: radial-gradient(circle, rgb(var(--star-color) / 96%) 0 1px, rgb(var(--star-color) / 35%) 2px, transparent 68%);
}

.store-home-star-glints .is-bright {
    width: 24px;
    height: 24px;
    margin: -12px;
}

.store-home-star-glints span::before,
.store-home-star-glints span::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 11px;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: .64;
}

.store-home-star-glints span::after {
    transform: rotate(90deg) scaleX(.75);
}

@media (prefers-reduced-motion: no-preference) {
    .store-home-star-glints span {
        animation: store-star-glint var(--star-period) ease-in-out var(--star-phase) infinite alternate;
    }

    @keyframes store-star-glint {
        from { opacity: .28; transform: translate(0, 2px) scale(.82); }
        to { opacity: 1; transform: translate(var(--star-drift), -7px) scale(1.18); }
    }
}

.store-home {
    position: relative;
    width: min(1192px, calc(100% - 64px));
    margin-inline: auto;
    padding-block: clamp(38px, 6vw, 82px) 8px;
}

.store-home-galaxy {
    position: absolute;
    top: clamp(-60px, -3.5vw, -26px);
    left: 50%;
    width: clamp(840px, 110vw, 1760px);
    height: auto;
    transform: translateX(-50%);
    opacity: .93;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 49%, transparent 81%);
}

.store-home-intro,
.store-home-products,
.store-home-support {
    position: relative;
}

.store-home-intro {
    margin: 0 auto clamp(28px, 4vw, 54px);
    text-align: center;
}

.store-home-intro h1 {
    margin: 0;
    color: #fbf2f2;
    font-size: clamp(18px, 5.25vw, 42px);
    font-weight: 680;
    line-height: 1.32;
    letter-spacing: .01em;
    text-wrap: balance;
}

.store-home-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.5vw, 18px);
    margin-top: clamp(7px, 1.4vw, 14px);
    color: #f1c8d3;
    font-size: clamp(15px, 3.1vw, 25px);
    font-weight: 600;
    letter-spacing: .065em;
}

.store-home-direct::before,
.store-home-direct::after {
    content: "";
    width: clamp(16px, 4vw, 52px);
    height: 1px;
    background: linear-gradient(90deg, transparent, #eab9c799);
}

.store-home-direct::after {
    transform: scaleX(-1);
}

.store-home-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.store-home-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: end;
    padding: clamp(21px, 3vw, 38px);
    border: 1px solid rgb(var(--home-accent) / 23%);
    border-radius: 22px;
    background: radial-gradient(ellipse at 86% 18%, var(--home-glow), transparent 68%), #0e0d14;
    box-shadow: inset 0 1px #ffffff09, 0 20px 50px #0005;
    color: #fff4f6;
    transition: border-color .22s, box-shadow .22s;
}

.store-home-card--apt {
    --home-accent: 248 167 121;
    --home-glow: #351b19;
    --home-surface: url("/apt-solar-preview-b7f31d8c/solar.webp");
}

.store-home-card--afterdark {
    --home-accent: 248 112 138;
    --home-glow: #31151f;
    --home-surface: url("/afterdark-pubg-efed630107cd/assets/images/moon/moon_1024.jpg");
}

.store-home-card:hover,
.store-home-card:focus-visible {
    border-color: rgb(var(--home-accent) / 64%);
    box-shadow: inset 0 1px #ffffff14, 0 16px 44px rgb(var(--home-accent) / 10%);
}

.store-home-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, #0e0d14 3%, #0e0d14da 34%, transparent 79%),
                linear-gradient(0deg, #0e0d14 1%, #0e0d1485 34%, transparent 70%);
}

.store-home-planet {
    position: absolute;
    z-index: -2;
    top: 14%;
    right: -4%;
    width: 61%;
    max-width: 380px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 0 22px rgb(var(--home-accent) / 32%), 0 0 64px rgb(var(--home-accent) / 18%);
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.store-home-card:hover .store-home-planet {
    transform: translate(-5px, -4px) scale(1.035);
}

.store-home-planet span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--home-surface) center / cover;
    box-shadow: inset -10px 4px 24px rgb(var(--home-accent) / 48%), inset 22px -16px 40px #07070b;
}

.store-home-card--apt .store-home-planet span {
    background-image: linear-gradient(110deg, #180910dc 6%, #8c281e99 57%, #ff9e5e48), var(--home-surface);
}

.store-home-card--afterdark .store-home-planet span {
    background-image: linear-gradient(112deg, #07070bef 16%, #180c18ea 45%, #c6365352), var(--home-surface);
}

.store-home-card-copy {
    position: relative;
    width: 100%;
}

.store-home-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 12px;
    border: 1px solid rgb(var(--home-accent) / 26%);
    border-radius: 14px;
    background: #110e16e8;
}

.store-home-icon img {
    width: 34px;
    height: 34px;
}

.store-home-card h2 {
    margin: 0;
    color: #fff5f6;
    font-family: Montserrat, "Microsoft YaHei UI", system-ui, sans-serif;
    font-size: clamp(25px, 3.6vw, 43px);
    font-weight: 750;
    line-height: 1.17;
    letter-spacing: -.025em;
}

.store-home-card h2 span {
    font-size: .74em;
    letter-spacing: 0;
    vertical-align: .075em;
}

.store-home-team {
    margin: 8px 0 0;
    color: rgb(var(--home-accent));
    font-size: 13px;
}

.store-home-description {
    min-height: 3.5em;
    max-width: 35em;
    margin: 16px 0 14px;
    color: #dfd2dc;
    font-size: 14px;
    line-height: 1.75;
}

.store-home-card-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: #fff1f0;
    font-size: 13px;
    font-weight: 650;
}

.store-home-card-link svg,
.store-home-support-links svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.6;
}

.store-home-card-link svg {
    color: rgb(var(--home-accent));
}

.store-home-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 22px;
    margin-top: 22px;
    border: 1px solid #ffffff17;
    border-radius: 15px;
    background: #100e16d9;
}

.store-home-support h2 {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.store-home-support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.store-home-support-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding-inline: 9px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.store-home-support-links a:hover {
    background: #ffffff1a;
}

.premium-site[data-view="home"] .ps-footer {
    max-width: 1192px;
    color: #a499a5;
}

@media (max-width: 740px) {
.store-home-galaxy {
    top: -24px;
    width: 174%;
    min-width: 540px;
    opacity: .77;
}
    .store-home { width: calc(100% - 32px); }
    .store-home-products { grid-template-columns: 1fr; gap: 14px; }
    .store-home-card { min-height: 286px; border-radius: 16px; }
    .store-home-description { min-height: auto; }
    .store-home-support { gap: 5px; padding: 13px 12px; }
    .store-home-support-links { gap: 4px; }
    .store-home-support-links a { padding-inline: 6px; }
}
