.catalog-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.catalog-nav .brand { margin-right: auto; }
.catalog-nav .brand img { display: block; }
.catalog-nav a { color: #eef2ff; font-size: 14px; font-weight: 600; text-decoration: none; }
.catalog-nav a:hover, .catalog-nav a[aria-current="page"] { color: #fde68a; }
.catalog-shell { width: min(100% - 32px, 1180px); margin: 0 auto; padding-bottom: 56px; }
.catalog-hero { padding: 38px 0 30px; }
.catalog-kicker { margin-bottom: 8px; color: #fbbf24; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.catalog-hero h1 { max-width: 760px; color: #f8fafc; font-size: clamp(2.1rem, 6vw, 4.1rem); line-height: 1.04; }
.catalog-hero > p:not(.catalog-kicker) { max-width: 820px; margin-top: 18px; color: #cbd5e1; font-size: 1.03rem; line-height: 1.75; }
.catalog-notice { max-width: 900px; margin-top: 24px; padding: 17px 20px; border: 1px solid rgba(251,191,36,.32); border-radius: 12px; background: rgba(120,53,15,.18); color: #dbeafe; line-height: 1.65; }
.catalog-notice a, .catalog-method a { color: #c7d2fe; }
.catalog-controls { margin-bottom: 28px; padding: 24px; border: 1px solid rgba(99,102,241,.23); border-radius: 16px; background: rgba(30,27,75,.55); }
.catalog-controls h2 { margin-bottom: 18px; }
.filter-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 14px; }
.filter-grid label { display: flex; flex-direction: column; gap: 7px; color: #cbd5e1; font-size: 13px; font-weight: 700; }
.filter-grid input, .filter-grid select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(148,163,184,.36); border-radius: 9px; background: #11152e; color: #f8fafc; }
.catalog-count { margin-top: 16px; color: #a5b4fc; font-size: 14px; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.catalog-card { overflow: hidden; border: 1px solid rgba(99,102,241,.2); border-radius: 14px; background: rgba(30,27,75,.58); }
.catalog-card button { display: flex; width: 100%; height: 100%; flex-direction: column; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.catalog-card button:hover .catalog-thumb { transform: scale(1.035); }
.catalog-thumb-wrap { width: 100%; overflow: hidden; aspect-ratio: 4 / 3; background: #0f172a; }
.catalog-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.catalog-card-copy { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 14px; }
.catalog-card h3 { color: #f1f5f9; font-size: .98rem; line-height: 1.35; }
.catalog-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.catalog-card-meta span { padding: 4px 7px; border-radius: 999px; background: rgba(99,102,241,.14); color: #a5b4fc; font-size: 11px; }
.catalog-empty { padding: 52px 18px; color: #94a3b8; text-align: center; }
.catalog-method { max-width: 850px; margin-top: 50px; padding-top: 30px; border-top: 1px solid rgba(99,102,241,.2); }
.catalog-method h2 { margin-bottom: 13px; }
.catalog-method p { margin-top: 12px; color: #b6c2d2; line-height: 1.75; }
.game-dialog { width: min(960px, calc(100% - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; overflow: auto; border: 1px solid rgba(129,140,248,.45); border-radius: 16px; background: #101226; color: #e2e8f0; }
.game-dialog::backdrop { background: rgba(2,6,23,.86); backdrop-filter: blur(4px); }
.dialog-header { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid rgba(99,102,241,.2); background: rgba(16,18,38,.96); }
.dialog-header h2 { margin-top: 4px; font-size: clamp(1.25rem, 4vw, 1.8rem); }
.dialog-source { color: #a5b4fc; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.dialog-close { flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid rgba(148,163,184,.35); border-radius: 50%; background: #1e1b4b; color: #fff; font-size: 25px; cursor: pointer; }
.game-stage { position: relative; display: grid; min-height: min(66vh, 620px); place-items: center; overflow: hidden; background: #020617; }
.game-stage > img { width: 100%; height: 100%; max-height: 620px; object-fit: contain; opacity: .52; }
.game-consent { position: absolute; width: min(90%, 480px); padding: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(2,6,23,.9); text-align: center; }
.game-consent p { margin-bottom: 16px; color: #dbeafe; line-height: 1.55; }
.game-consent button { padding: 12px 19px; border: 0; border-radius: 9px; background: linear-gradient(135deg,#d4a017,#f5c518); color: #1a1407; font-weight: 800; cursor: pointer; }
.game-stage iframe { width: 100%; height: min(66vh, 620px); border: 0; background: #000; }
.game-stage[data-orientation="portrait"] iframe { width: min(100%, 460px); }
.dialog-body { padding: 24px; }
.game-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 26px; }
.game-facts div { padding: 12px; border-radius: 9px; background: rgba(99,102,241,.1); }
.game-facts dt { color: #94a3b8; font-size: 11px; text-transform: uppercase; }
.game-facts dd { margin-top: 5px; color: #f1f5f9; font-size: 14px; }
.dialog-body section + section { margin-top: 22px; }
.dialog-body h3 { margin-bottom: 8px; color: #c7d2fe; font-size: 1rem; }
.dialog-body p { color: #b6c2d2; line-height: 1.7; }
.provider-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(99,102,241,.2); font-size: 13px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .catalog-nav { gap: 13px; overflow-x: auto; }
  .catalog-nav a { white-space: nowrap; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .game-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .catalog-nav a:nth-of-type(4), .catalog-nav a:nth-of-type(5) { display: none; }
  .filter-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .catalog-card-copy { padding: 10px; }
  .game-facts { grid-template-columns: 1fr; }
}
