@property --game-background {
    syntax: "<color>";
    inherits: true;
    initial-value: #75451f;
}

.favorite-games {
    --game-background: #75451f;
    background-color: var(--game-background);
    background-image:
        linear-gradient(
            125deg,
            color-mix(in srgb, var(--game-background) 72%, #475569),
            color-mix(in srgb, var(--game-background) 56%, #020617)
        );
}

.game-feature {
    background: #0f172a;
    min-height: 22.625rem;
}

@media (max-width: 1199px) {
    .game-feature {
        min-height: 20.8125rem;
    }
}

@media (max-width: 899px) {
    .game-feature {
        min-height: 16.75rem;
    }
}

@media (max-width: 600px) {
    .game-feature {
        min-height: 14.375rem;
    }
}

@media (max-width: 350px) {
    .game-feature {
        min-height: 16.75rem;
    }
}

.game-feature::before {
    position: absolute;
    z-index: 0;
    inset: -12px;
    background-image: var(--game-feature-image, linear-gradient(145deg, #334155, #020617));
    background-position: center;
    background-size: cover;
    content: "";
    filter: blur(2px);
    opacity: 0.4;
}

.game-feature::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image:
        linear-gradient(110deg, rgb(2 6 23 / 78%), rgb(2 6 23 / 20%)),
        radial-gradient(
            circle at 85% 30%,
            color-mix(in srgb, var(--game-accent, #f8fafc) 52%, transparent),
            transparent 68%
        );
    content: "";
}

.game-tile-art {
    background-image: linear-gradient(
        145deg,
        color-mix(in srgb, var(--game-accent) 48%, #334155),
        #0f172a 80%
    );
}

.game-tile-art.has-cover::before {
    display: none;
}

.game-tile-art::before {
    position: absolute;
    top: -38%;
    right: -17%;
    width: 82%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 35%,
        color-mix(in srgb, var(--game-accent) 88%, white),
        var(--game-accent) 58%,
        transparent 73%
    );
    content: "";
    opacity: 0.86;
}

.game-tile-art::after {
    position: absolute;
    z-index: 1;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgb(2 6 23 / 58%));
    content: "";
}
