
/* PixelRealm Games — Catalogue V1 */

.prg-cat-header,
.prg-cat-header * {
    box-sizing: border-box;
}

.prg-cat-header {
    min-height: 76px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #0b1220;
    border-bottom: 1px solid #28334b;
}

.prg-cat-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.prg-cat-brand img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.prg-cat-brand-label {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.5px;
    line-height: 1;
}

.prg-cat-name {
    color: #fff;
}

.prg-cat-games {
    color: #b58cff;
}

.prg-cat-header-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.prg-cat-header-links a {
    color: #c5b5ff;
    text-decoration: none;
    font-size: 13px;
}

.prg-cat-header-links a:hover {
    color: #fff;
}

.prg-cat-layout {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 130px;
    gap: 18px;
    align-items: start;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 22px 30px 0;
    box-sizing: border-box;
}

.prg-cat-layout > .seo-main {
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 0 0;
    box-sizing: border-box;
}

.prg-cat-layout .seo-nav {
    display: none;
}

.prg-cat-layout h1 {
    margin: 12px 0 25px;
    font-size: clamp(24px, 2vw, 32px);
}

.prg-cat-layout .seo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 13px;
    margin: 20px 0 28px;
}

.prg-cat-layout .seo-list a {
    display: flex;
    align-items: center;
    min-height: 43px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #35415b;
    border-radius: 11px;
    background: #111b30;
    color: #c5b5ff;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}

.prg-cat-layout .seo-list a:hover {
    border-color: #a783ff;
    background: #1b2440;
    color: #fff;
}

.prg-cat-ad {
    position: sticky;
    top: 95px;
    min-height: 360px;
    padding: 16px 8px;
    box-sizing: border-box;
    border: 1px dashed #66518c;
    border-radius: 12px;
    background: #15182b;
    text-align: center;
    color: #8e9bb7;
    font-size: 12px;
}

.prg-cat-ad > span,
.prg-cat-amazon > span {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #aab3ce;
}

.prg-cat-ad p {
    margin-top: 16px;
}

.prg-cat-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 35px 0;
}

.prg-cat-pagination .prg-cat-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    box-sizing: border-box;
    border: 1px solid #384663;
    border-radius: 10px;
    background: #151e34;
    color: #e5e9ff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.prg-cat-pagination a.prg-cat-page:hover {
    background: #302351;
    border-color: #aa86ff;
}

.prg-cat-pagination .prg-cat-page.active {
    background: #714ac4;
    border-color: #aa86ff;
    color: #fff;
}

.prg-cat-pagination .prg-cat-dots {
    padding: 0 5px;
    color: #9aa4bf;
}

.prg-cat-amazon {
    min-height: 110px;
    margin: 28px 0 40px;
    padding: 22px;
    border: 1px dashed #66518c;
    border-radius: 12px;
    background: #15182b;
    text-align: center;
    color: #9da7c4;
}

.prg-cat-amazon p {
    margin: 15px 0 0;
    font-size: 13px;
}

body > .pr-footer {
    display: block;
    width: 100%;
    max-width: none;
    margin: 45px 0 0;
}

@media (max-width: 1100px) {
    .prg-cat-layout {
        grid-template-columns: minmax(0, 1fr);
        padding: 18px 20px;
    }

    .prg-cat-ad {
        display: none;
    }
}

@media (max-width: 650px) {
    .prg-cat-header {
        min-height: 70px;
        padding: 10px 14px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .prg-cat-brand img {
        width: 43px;
        height: 43px;
    }

    .prg-cat-brand-label {
        font-size: 15px;
    }

    .prg-cat-header-links {
        gap: 14px;
    }

    .prg-cat-layout {
        padding: 14px;
    }

    .prg-cat-layout .seo-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .prg-cat-layout .seo-list a {
        font-size: 12px;
        padding: 10px;
    }

    .prg-cat-pagination .prg-cat-page {
        min-width: 36px;
        min-height: 36px;
        padding: 7px 9px;
    }
}
