.jatekok-page {
    --jatekok-border: rgba(255, 255, 255, 0.13);
    --jatekok-surface: rgba(13, 16, 29, 0.88);
    --jatekok-surface-hover: rgba(20, 24, 42, 0.96);
}

.jatekok-page .jatekok-hero {
    height: clamp(18rem, 42vh, 28rem);
    min-height: clamp(18rem, 42vh, 28rem);
}

.jatekok-intro {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.08rem;
    line-height: 1.8;
}

.jatekok-filter {
    padding: 28px;
    border: 1px solid var(--jatekok-border);
    background: var(--jatekok-surface);
}

.jatekok-filter-group {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.jatekok-filter-group legend {
    width: auto;
    margin-bottom: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.jatekok-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jatekok-filter-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.jatekok-filter-option {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    margin: 0;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--jatekok-border);
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    transition:
        color 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        transform 160ms ease;
}

.jatekok-filter-option:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: var(--jatekok-surface-hover);
    transform: translateY(-2px);
}

.jatekok-filter-option i {
    color: inherit;
}

.jatekok-filter-radio:checked + .jatekok-filter-option {
    color: #fff;
    border-color: var(--bs-primary, var(--vr-gold));
    background: rgba(139, 92, 246, 0.2);
    box-shadow: inset 0 0 0 1px var(--bs-primary, var(--vr-gold));
}

.jatekok-filter-radio:focus-visible + .jatekok-filter-option {
    outline: 3px solid rgba(139, 92, 246, 0.45);
    outline-offset: 3px;
}

.jatekok-filter-actions {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100%;
}

.jatekok-filter-actions .button {
    margin: 0;
    white-space: nowrap;
}

.jatekok-result-count {
    margin: 22px 0 0;
}

.jatekok-group {
    scroll-margin-top: 100px;
}

.jatekok-group-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.jatekok-group-heading i {
    color: var(--bs-primary, var(--vr-gold));
    font-size: 1.7rem;
}

.jatekok-group-heading h2 {
    margin: 0;
}

.jatekok-grid {
    row-gap: 30px;
}

.jatek-list-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--jatekok-border);
    background: var(--jatekok-surface);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.jatek-list-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    background: var(--jatekok-surface-hover);
}

.jatek-list-card-image {
    position: relative;
    display: block;
    height: 100%;
    min-height: 270px;
    overflow: hidden;
}

.jatek-list-card-image img {
    width: 100%;
    height: 100%;
    min-height: 270px;
    object-fit: cover;
    transition: transform 300ms ease;
}

.jatek-list-card:hover .jatek-list-card-image img {
    transform: scale(1.025);
}

.jatek-list-card-image::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent 65%,
        rgba(13, 16, 29, 0.45)
    );
}

.jatek-list-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 30px;
}

.jatek-list-card-body h3 {
    margin-bottom: 14px;
}

.jatek-list-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.jatek-list-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid var(--jatekok-border);
    font-size: 0.82rem;
}

.jatek-list-card-description {
    margin-bottom: 22px;
    line-height: 1.7;
}

.jatek-list-card-body .button {
    margin-top: auto;
}

.jatekok-empty {
    padding: 55px 30px;
    border: 1px solid var(--jatekok-border);
    background: var(--jatekok-surface);
}

@media (max-width: 1199.98px) {
    .jatek-list-card-image,
    .jatek-list-card-image img {
        min-height: 240px;
    }
}

@media (max-width: 991.98px) {
    .jatekok-filter-actions {
        margin-top: 6px;
    }

    .jatek-list-card-image::after {
        background: linear-gradient(
            0deg,
            rgba(13, 16, 29, 0.4),
            transparent 45%
        );
    }
}

@media (max-width: 575.98px) {
    .jatekok-filter {
        padding: 20px;
    }

    .jatekok-filter-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jatekok-filter-option {
        justify-content: center;
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        text-align: center;
    }

    .jatekok-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .jatekok-filter-actions .button {
        width: 100%;
        text-align: center;
    }

    .jatek-list-card-body {
        padding: 24px 20px;
    }

    .jatek-list-card-image,
    .jatek-list-card-image img {
        min-height: 210px;
    }
}

/* VR LAND premium palette */
.jatekok-page {
    --jatekok-border: var(--vr-border);
    --jatekok-surface: rgba(13, 13, 15, 0.94);
    --jatekok-surface-hover: var(--vr-surface-light);
}

.jatekok-page .jatekok-filter,
.jatekok-page .jatek-list-card,
.jatekok-page .jatekok-empty {
    border-color: var(--vr-border);
    background: var(--jatekok-surface);
}

.jatekok-page .jatekok-filter-option {
    color: var(--vr-text-muted);
    border-color: var(--vr-border);
    background: rgba(5, 5, 5, 0.72);
}

.jatekok-page .jatekok-filter-option:hover,
.jatekok-page .jatekok-filter-radio:checked + .jatekok-filter-option {
    color: var(--vr-gold-light);
    border-color: var(--vr-gold);
    background: rgba(216, 166, 64, 0.12);
    box-shadow: inset 0 0 0 1px var(--vr-gold);
}

.jatekok-page .jatekok-filter-radio:focus-visible + .jatekok-filter-option {
    outline-color: var(--vr-gold-light);
}

.jatekok-page .jatekok-group-heading i,
.jatekok-page .jatekok-result-count strong,
.jatekok-page .jatek-list-card-meta i {
    color: var(--vr-gold);
}

.jatekok-page .jatek-list-card:hover {
    border-color: var(--vr-gold);
    background: var(--jatekok-surface-hover);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), 0 0 22px rgba(216, 166, 64, 0.08);
}

.jatekok-page .jatek-list-card-meta span {
    border-color: rgba(216, 166, 64, 0.24);
    color: var(--vr-text-muted);
}

/* Keep the list hero in the same frame as every other frontend page. */
.jatekok-page #hero.site-hero {
    height: clamp(18rem, 42vh, 28rem);
    min-height: clamp(18rem, 42vh, 28rem);
    margin-bottom: 3rem !important;
}

@media (max-width: 767.98px) {
    .jatekok-page #hero.site-hero {
        height: 16rem;
        min-height: 16rem;
        margin-bottom: 2rem !important;
    }
}

.jatekok-page .jatek-list-card-image::after {
    background: linear-gradient(90deg, transparent 55%, rgba(5, 5, 5, 0.62));
}

@media (max-width: 991.98px) {
    .jatekok-page .jatek-list-card-image::after {
        background: linear-gradient(0deg, rgba(5, 5, 5, 0.58), transparent 48%);
    }
}
