body.games-catalog { margin: 0; color: #17213d; background: #f7f8fc; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.games-catalog * { box-sizing: border-box; }
.games-catalog .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.catalog-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.catalog-nav { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid #e2e5f0; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.catalog-nav__inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.catalog-brand { color: #17213d; font-size: 1.22rem; font-weight: 850; text-decoration: none; }
.catalog-brand span { color: #6659e8; }
.catalog-links { display: flex; gap: 4px; }
.catalog-links a { padding: 9px 11px; border-radius: 8px; color: #3f4a63; font-size: .88rem; font-weight: 750; text-decoration: none; }
.catalog-links a:hover, .catalog-links a:focus-visible, .catalog-links a[aria-current="page"] { color: #493fc3; background: #f0efff; outline: none; }
.catalog-controls { display: flex; align-items: center; gap: 8px; }
.catalog-controls select, .catalog-controls button { min-height: 38px; border: 1px solid #e2e5f0; border-radius: 8px; color: #36415d; background: #fff; font: inherit; font-size: .82rem; font-weight: 750; }
.catalog-controls select { padding: 0 26px 0 10px; }
.catalog-controls button { width: 38px; cursor: pointer; }
.catalog-hero { padding: 52px 0 42px; background: #eceaff; }
.catalog-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 30px; align-items: center; }
.catalog-eyebrow { margin: 0 0 12px; color: #493fc3; font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.catalog-hero h1 { max-width: 700px; margin: 0; color: #17213d; font-size: clamp(2.35rem, 5vw, 4.3rem); line-height: 1.04; letter-spacing: 0; }
.catalog-hero h1 span { color: #6659e8; }
.catalog-hero p:not(.catalog-eyebrow) { max-width: 640px; margin: 16px 0 0; color: #51607d; font-size: 1.04rem; line-height: 1.65; }
.catalog-hero__stat { display: grid; gap: 14px; padding: 26px; border: 1px solid #d6d3f7; border-radius: 18px; color: #17213d; background: #fff; box-shadow: 0 16px 36px rgba(67,53,158,.1); }
.catalog-hero__stat strong { color: #6659e8; font-size: 2.7rem; line-height: 1; }
.catalog-hero__stat span { color: #5b6680; font-size: .91rem; line-height: 1.5; }
.catalog-main { padding: 50px 0 70px; }
.games-catalog .main-container { width: auto; max-width: none; margin: 0; padding: 0; }
.games-catalog .header.catalog-hero { width: 100%; max-width: none; min-height: auto; margin: 0; padding: 52px max(16px, calc((100% - 1120px) / 2)) 42px; border-radius: 0; text-align: left; }
.games-catalog .header.catalog-hero > * { width: min(1120px, 100%); margin-left: auto; margin-right: auto; }
.games-catalog .game-categories { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.games-catalog #classic-mini-games { width: min(1120px, calc(100% - 32px)); margin: 42px auto 0; }
.catalog-jump { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 46px; }
.catalog-jump a { display: flex; min-height: 64px; align-items: center; justify-content: center; padding: 10px; border: 1px solid #e2e5f0; border-radius: 11px; color: #36415d; background: #fff; font-size: .9rem; font-weight: 800; text-align: center; text-decoration: none; }
.catalog-jump a:hover, .catalog-jump a:focus-visible { border-color: #6659e8; color: #493fc3; background: #f0efff; outline: none; }
.games-catalog .seo-content { display: none; }
.games-catalog .game-categories { display: grid; gap: 42px; }
.games-catalog .category-section { padding: 0; margin: 0; scroll-margin-top: 94px; }
.games-catalog .category-title { margin: 0; color: #17213d; font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: 0; }
.games-catalog .category-description { max-width: 770px; margin: 10px 0 20px; color: #5b6680; line-height: 1.65; }
.games-catalog .game-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.games-catalog .game-item { position: relative; min-height: 158px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 18px; overflow: hidden; border: 1px solid #e2e5f0; border-radius: 13px; color: #17213d; background: #fff; box-shadow: 0 7px 18px rgba(28,38,68,.04); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.games-catalog .game-item:hover, .games-catalog .game-item:focus-visible { border-color: #6659e8; box-shadow: 0 14px 25px rgba(46,53,100,.12); transform: translateY(-3px); outline: none; }
.games-catalog .game-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: auto; border-radius: 11px; color: #493fc3; background: #eceaff; font-size: 1.1rem; }
.games-catalog .game-item:nth-child(3n+2) .game-icon { color: #18705a; background: #b9f3d2; }
.games-catalog .game-item:nth-child(3n) .game-icon { color: #a44824; background: #ffe4d8; }
.games-catalog .game-item > span:not(.game-badge) { font-size: 1rem; font-weight: 850; }
.games-catalog .game-item-description { min-height: 0; margin: 7px 0 0; color: #5b6680; font-size: .84rem; line-height: 1.45; }
.games-catalog .game-badge { position: absolute; top: 13px; right: 13px; padding: 5px 8px; border-radius: 999px; color: #493fc3; background: #f0efff; font-size: .69rem; font-weight: 800; }
.games-catalog #classic-mini-games { padding: 28px; border: 1px solid #d6d3f7; border-radius: 18px; background: #f0efff; }
.games-catalog #classic-mini-games .classic-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.games-catalog #classic-mini-games .game-card { display: flex !important; border: 1px solid #e2e5f0; border-radius: 12px; background: #fff; overflow: hidden; }
.games-catalog #classic-mini-games .thumbnail-img, .games-catalog #classic-mini-games .thumbnail-canvas { width: 100%; height: 142px; object-fit: cover; }
.games-catalog #classic-mini-games .game-info { padding: 15px; }
.games-catalog .features-section { display: none; }
.catalog-footer { padding: 36px 0; color: #b8c2d8; background: #111a31; }
.catalog-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.catalog-footer a { color: #fff; font-weight: 800; text-decoration: none; }
.catalog-footer p { margin: 0; font-size: .87rem; }
body.games-catalog[data-theme="dark"] { color: #edf1ff; background: #11182b; }
body.games-catalog[data-theme="dark"] .catalog-nav { border-color: #31405f; background: rgba(17,24,43,.94); }
body.games-catalog[data-theme="dark"] .catalog-brand, body.games-catalog[data-theme="dark"] .catalog-hero h1, body.games-catalog[data-theme="dark"] .category-title, body.games-catalog[data-theme="dark"] .game-item { color: #edf1ff; }
body.games-catalog[data-theme="dark"] .catalog-links a, body.games-catalog[data-theme="dark"] .catalog-controls select, body.games-catalog[data-theme="dark"] .catalog-controls button { color: #dce4f7; border-color: #31405f; background: #1a2440; }
body.games-catalog[data-theme="dark"] .catalog-hero { background: #1b2444; }
body.games-catalog[data-theme="dark"] .catalog-hero p:not(.catalog-eyebrow), body.games-catalog[data-theme="dark"] .category-description, body.games-catalog[data-theme="dark"] .game-item-description { color: #b5bfd5; }
body.games-catalog[data-theme="dark"] .catalog-hero__stat, body.games-catalog[data-theme="dark"] .catalog-jump a, body.games-catalog[data-theme="dark"] .game-item, body.games-catalog[data-theme="dark"] #classic-mini-games .game-card { border-color: #31405f; background: #1a2440; }
body.games-catalog[data-theme="dark"] .catalog-hero__stat span { color: #b5bfd5; }
body.games-catalog[data-theme="dark"] #classic-mini-games { border-color: #42527a; background: #1b2745; }
@media (max-width: 820px) { .catalog-hero__grid { grid-template-columns: 1fr; } .catalog-jump, .games-catalog .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .games-catalog #classic-mini-games .classic-games-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .catalog-shell { width: min(100% - 24px,1120px); } .catalog-nav__inner { min-height: 61px; } .catalog-links { display:none; } .catalog-hero { padding: 40px 0 35px; } .catalog-main { padding: 38px 0 54px; } .catalog-jump { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 35px; } .games-catalog .game-grid, .games-catalog #classic-mini-games .classic-games-grid { grid-template-columns: 1fr; } .games-catalog #classic-mini-games { padding: 18px; } .catalog-footer__inner { align-items:flex-start; flex-direction:column; } }
