.biz-theme {
  --bg: #03101a;
  --panel: #0a2131;
  --line: #25485c;
  --ink: #f7fcff;
  --soft: #a9c3d3;
  --cyan: #8de5ff;
  --gold: var(--cyan);
}
.biz-theme [hidden] { display: none; }
.biz-theme main {
  background: radial-gradient(ellipse at 80% 10%, #0b344a 0, transparent 48rem),
    linear-gradient(180deg, var(--bg), #020a11);
}
.biz-theme .top { background: #061724; }
.biz-theme .top-inner { min-height: 82px; }
.biz-theme .biz-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #173e51, #041923);
}
.biz-theme .catalog-hero {
  display: grid;
  grid-template-columns: .94fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.biz-theme h1 {
  font-size: clamp(2.65rem, 5.7vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}
.biz-theme .button { border-radius: 12px; }
.biz-theme .primary { background: linear-gradient(110deg, #a7edff, #5ed2f7); color: #032133; }
.biz-theme .primary:hover { background: #b2edff; }
.biz-theme :is(.hero-display, .app-card, .platform, .steps article, .gallery figure) {
  border-color: var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #102d40, var(--panel));
}
.biz-theme .hero-display img, .biz-theme .app-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.biz-theme .app-card img { transition: transform .24s ease-out; }
.biz-theme .app-visual { overflow: hidden; }
.biz-theme .app-visual:hover img { transform: scale(1.035); }
.filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--panel);
}
.filters label { display: grid; gap: 6px; color: var(--soft); font-size: .875rem; }
.filters :is(input, select, button), .ratings select {
  min-height: 44px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 12px;
  background-color: var(--bg);
  color: var(--ink);
  font: inherit;
}
.filters button { cursor: pointer; }
.filters button:hover { border-color: var(--cyan); }
.biz-theme :is(button, input, select):focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.catalog-count { min-height: 1.5em; margin-block: 14px; color: var(--soft); font-size: .875rem; }
.card-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 10px; }
.card-links a { color: var(--cyan); text-underline-offset: 4px; }
.ratings { padding-bottom: 50px; }
.ratings label { display: inline-block; margin-right: 8px; }
.rating-scroll { overflow-x: auto; margin-top: 16px; }
.rating-scroll table { width: 100%; border-collapse: collapse; background: var(--panel); text-align: left; }
.rating-scroll :is(th, td) { padding: 14px; border-bottom: 1px solid var(--line); }
.rating-scroll th { color: var(--cyan); }
.game-detail main { padding-bottom: clamp(28px, 5vw, 68px); }
.poker-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.poker-gallery img { aspect-ratio: 16 / 9; object-fit: contain; }
.wide-preview video { width: min(100%, 640px); }
@media (max-width: 820px) {
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 630px) {
  .biz-theme .wrap { width: calc(100% - 32px); }
  .biz-theme .catalog-hero, .filters, .poker-gallery { grid-template-columns: 1fr; }
  .biz-theme .top-inner { gap: 12px; flex-wrap: wrap; padding-block: 12px; }
  .biz-theme nav { gap: 14px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .biz-theme .app-card img { transition: none; }
}

/* Shared product chrome and the entertainment catalogue. */
.biz-theme .brand { gap: 12px; letter-spacing: .11em; text-decoration: none; }
.biz-theme .brand img { flex: none; border-radius: 12px; }
.biz-theme .brand small { display: block; margin-top: 4px; color: var(--soft); font-size: .66rem; letter-spacing: .2em; }
.biz-theme .top-link { padding: 9px 15px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.biz-theme .top-link:hover, .biz-theme .card-links a:hover { color: var(--ink); border-color: var(--cyan); }
.biz-theme .catalog-hero { padding-block: clamp(32px, 5vw, 70px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 5vw, 72px); }
.biz-theme .catalog-hero h1 { margin-top: 0; font-size: clamp(3rem, 6.1vw, 5.5rem); }
.hero-mascot { display: grid; place-items: center; min-width: 0; position: relative; isolation: isolate; }
.hero-mascot::before { content: ""; position: absolute; z-index: -1; inset: 3% 1%; background: radial-gradient(ellipse, #267e9e44, transparent 70%); }
.hero-mascot img { width: min(100%, 550px); height: auto; filter: drop-shadow(0 15px 35px #3eaff22e); }
.hero-platforms { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--soft); font-size: .89rem; }
.hero-platforms li + li::before { content: "·"; margin-right: 16px; color: var(--cyan); }
.game-catalog { border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 62px); }
.game-catalog .filters { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) auto; }
.biz-theme .catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.biz-theme .app-card { overflow: hidden; display: flex; flex-direction: column; }
.biz-theme .app-card[hidden] { display: none; }
.biz-theme .app-body { display: flex; flex: 1; flex-direction: column; gap: 6px; }
.biz-theme .app-body h3 { margin: 0; }
.biz-theme .app-body h3 a { text-decoration: none; }
.biz-theme .app-body h3 a:hover { color: var(--cyan); }
.platform-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 7px; }
.platform-tags span { padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: .8rem; color: var(--soft); }
.biz-theme .card-links { margin-top: auto; padding-top: 8px; }
.game-cover { display: block; position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #071924; }
.game-cover::before { content: ""; position: absolute; z-index: 1; inset: 27% 0 0; background: linear-gradient(transparent, #020912dc); pointer-events: none; }
.game-cover > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.game-logo { display: flex; align-items: center; gap: 9px; position: absolute; z-index: 2; inset: auto 12px 13px 13px; font-size: clamp(1rem, 2.1vw, 1.5rem); line-height: 1.11; color: #fff; text-transform: uppercase; font-weight: 850; letter-spacing: -.025em; text-shadow: 0 2px 9px #01030a, 0 1px 2px #000; pointer-events: none; }
.biz-theme .game-logo img { width: 38px; height: 38px; aspect-ratio: 1; border-radius: 8px; }
.game-logo b { font-weight: 900; color: var(--logo-accent, #95e9ff); }
.logo-skybreak { font-style: italic; }
.logo-poker, .logo-blackjack, .logo-shells { font-family: Georgia, serif; }
.logo-poker { --logo-accent: #ffc486; }
.logo-blackjack { --logo-accent: #aaffca; }
.logo-shells { --logo-accent: #ffe0a0; }
.logo-gorodki { --logo-accent: #f8d4a7; }
.game-hero .game-logo { font-size: clamp(1.35rem, 3.5vw, 2.5rem); inset: auto 20px 16px; }
.game-hero .game-logo img { width: 48px; height: 48px; }
.detail-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-block: 15px; border-block: 1px solid var(--line); }
.detail-nav a { color: var(--soft); text-underline-offset: 5px; }
.detail-nav a:hover { color: var(--cyan); }
.release-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.release-list li { display: grid; grid-template-columns: minmax(6rem, .65fr) minmax(0, 1.7fr) auto; gap: 15px; align-items: center; padding: 12px 18px; background: #0a2131; }
.release-list li + li { border-top: 1px solid var(--line); }
.release-list span { color: var(--soft); }
.release-list .button { min-height: 40px; padding: 8px 12px; }
.media-block { margin-top: 20px; }
.media-block video { max-width: 100%; max-height: 70vh; height: auto; background: #020913; }
.media-block figcaption a { color: var(--cyan); }
@media (max-width: 920px) {
  .game-catalog .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-theme .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 630px) {
  .biz-theme .catalog-hero, .biz-theme .catalog { grid-template-columns: 1fr; }
  .biz-theme .top-link { display: none; }
  .game-catalog .filters label:first-child { grid-column: 1 / -1; }
  .biz-theme .catalog-hero h1 { font-size: clamp(2.7rem, 12vw, 4.1rem); }
  .hero-mascot img { width: min(100%, 390px); }
  .release-list li { grid-template-columns: auto 1fr; padding: 10px 12px; gap: 9px; }
  .release-list .button { grid-column: 2; justify-self: start; }
}
.game-hero-art { min-width: 0; position: relative; }
.detail-mascot { position: absolute; z-index: 3; inset: -35px -20px auto auto; width: min(28%, 142px); height: auto; filter: drop-shadow(0 7px 15px #020d1f); pointer-events: none; }
.platform-actions { display: flex; flex-wrap: wrap; gap: 7px; }
@media (max-width: 630px) {
  .detail-mascot { right: -7px; top: -20px; }
  .platform-actions { grid-column: 2; }
  .platform-actions:empty { display: none; }
}
.biz-theme .portrait-cover > img { object-position: 50% 46%; }
.portrait-gallery { grid-template-columns: repeat(2, minmax(0, 290px)); }
.portrait-gallery img { aspect-ratio: 9 / 19; object-fit: contain; }
@media (max-width: 420px) { .portrait-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
