:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f7ff;
  background: #0b131e;
  font-synthesis: none;
  --muted: #bfc9d9;
  --line: #ffffff24;
  --accent: #d3aeff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(100% - 4rem, 78rem); margin-inline: auto; }
.hero { position: relative; isolation: isolate; min-height: min(50rem, 88svh); display: grid; }
.hero-art, .hero-art img, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: center; }
.hero::before {
  content: ""; z-index: -1;
  background: linear-gradient(90deg, #080e18f2 0%, #080e18bd 32%, transparent 70%),
    linear-gradient(0deg, #0b131e 0%, #0b131e00 30%);
}
.hero-inner { display: grid; grid-template-rows: auto 1fr; padding-block: 2.35rem 4rem; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.master-logo { width: 3.05rem; }
.domain { font-size: .88rem; letter-spacing: .11em; color: #edf3ff; }
.hero-copy { align-self: center; margin-top: 1.4rem; max-width: 39rem; }
.eyebrow {
  color: var(--accent); display: flex; align-items: center; gap: .65rem;
  font-size: .79rem; font-weight: 700; letter-spacing: .23em; margin: 0 0 1.15rem;
}
.eyebrow::before { content: ""; width: 1.55rem; height: 1px; background: currentColor; }
h1 {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Arial", sans-serif;
  font-size: clamp(3.35rem, 7vw, 7rem); font-weight: 850;
  line-height: .88; letter-spacing: -.085em; margin: 0;
}
h1 span { display: block; }
.description { color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.22rem); line-height: 1.52; margin: 1.5rem 0 0; }
.section-label { font-size: .74rem; font-weight: 700; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; margin: 0; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 1.55rem 1.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.partner { display: flex; align-items: center; gap: 1.6rem; }
.partner img { width: 7rem; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.3rem; }
.platform { display: inline-flex; align-items: center; gap: .48rem; font-size: .91rem; white-space: nowrap; }
.platform img { width: 1.12rem; height: 1.12rem; object-fit: contain; }
.platform-status { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.academy { --accent: #ff9ba8; }
.academy .hero { min-height: clamp(31rem, 68svh, 43rem); }
.academy .hero::before {
  background: radial-gradient(ellipse at 76% 45%, #5b2439 0%, #201b2b 35%, #0b131e 70%);
}
.academy .hero-inner { position: relative; padding-bottom: 2.8rem; }
.academy .top { position: relative; z-index: 1; }
.academy .hero-copy { position: relative; z-index: 1; max-width: 47%; }
.academy-logo { width: clamp(4.3rem, 9vw, 6.4rem); margin-bottom: 1.25rem; }
.academy h1 { font-size: clamp(2.85rem, 5.75vw, 6.1rem); }
.jack-stage {
  position: absolute; right: 4%; inset-block: 4.8rem 0; width: 53%;
  display: flex; align-items: end; justify-content: center;
}
.jack-stage::before {
  content: ""; position: absolute; width: min(88%, 28rem); aspect-ratio: 1;
  border: 1px solid #ff899934; border-radius: 50%; bottom: 6%;
  box-shadow: 0 0 0 1.1rem #ff89990b, 0 0 0 2.05rem #ff899907;
}
.jack-stage img { position: relative; height: 100%; max-height: 33rem; width: auto; object-fit: contain; object-position: bottom; }
.academy .footer-inner { display: grid; grid-template-columns: 1fr auto; }
.app-block { display: flex; gap: .8rem; align-items: center; }
.app-icon { width: 2.55rem; height: 2.55rem; border-radius: .64rem; }
.app-block strong { display: block; margin-bottom: .18rem; }
.family { padding-block: 1.1rem 1.45rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; }
.family-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; }
.family-list li { display: grid; place-items: center; min-height: 4rem; border-left: 1px solid var(--line); padding: .2rem .6rem; }
.family-list img { max-height: 3.75rem; max-width: 4.3rem; object-fit: contain; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.5rem); }
  .top { gap: .65rem; }
  .hero-inner { padding-block: 1.4rem 2rem; }
  .master-logo { width: 2.4rem; }
  .domain { font-size: .76rem; letter-spacing: .05em; }
  .poker .hero { min-height: min(46rem, 84svh); }
  .poker .hero::before {
    background: linear-gradient(180deg, #080e18e8 0%, #080e1890 30%, transparent 62%, #0b131e 100%);
  }
  .poker .hero-art img { object-position: center 59%; }
  .poker .hero-copy { align-self: start; margin-top: 2.4rem; }
  .poker h1 { font-size: clamp(2.9rem, 12.5vw, 4.6rem); }
  .description { margin-top: .9rem; }
  .footer-inner { flex-wrap: wrap; gap: .9rem; padding-block: 1.2rem; }
  .partner { gap: .8rem; }
  .partner img { width: 6.25rem; }
  .academy .hero { min-height: 0; }
  .academy .hero-inner { grid-template-rows: auto auto auto; padding-bottom: 0; }
  .academy .hero::before { background: radial-gradient(ellipse at 69% 72%, #542537, #1a1928 43%, #0b131e 72%); }
  .academy .hero-copy { align-self: start; margin-top: 2rem; max-width: 100%; }
  .academy-logo { width: 3.5rem; margin-bottom: .85rem; }
  .academy .eyebrow { margin-bottom: .7rem; }
  .academy h1 { font-size: clamp(2.8rem, 11vw, 4.4rem); }
  .jack-stage {
    position: relative;
    inset: auto;
    justify-self: end;
    width: min(58%, 15rem);
    height: clamp(13rem, 62vw, 18.5rem);
    margin: 1.25rem 4% 0 0;
  }
  .jack-stage::before { width: 100%; }
  .jack-stage img { max-height: 100%; }
  .academy .footer-inner { grid-template-columns: 1fr; }
  .family { grid-template-columns: 1fr; gap: .65rem; }
  .family-list li:first-child { border-left: 0; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 1.5rem); }
  .poker .hero { min-height: 32rem; }
  .platforms { column-gap: .7rem; }
}
