:root {
  --blue: #0757d3;
  --blue-bright: #149cff;
  --blue-deep: #071a3c;
  --orange: #f47700;
  --orange-bright: #ffad14;
  --ink: #101828;
  --muted: #5e6878;
  --line: #dfe5ec;
  --soft: #f4f7fb;
  --white: #ffffff;
  --max: 1240px;
  --pad: clamp(22px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
.site-lang-en .lang-uk, .site-lang-uk .lang-en { display: none !important; }
.site-lang-en .lang-en, .site-lang-uk .lang-uk { display: revert; }
.site-nav .lang-en, .site-nav .lang-uk, .button .lang-en, .button .lang-uk, .text-link .lang-en, .text-link .lang-uk, .portfolio-link .lang-en, .portfolio-link .lang-uk, .footer-bottom .lang-en, .footer-bottom .lang-uk { display: inline; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--blue-deep); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.section-pad { padding: clamp(78px, 10vw, 144px) var(--pad); }
.section-pad > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(223,229,236,.85); backdrop-filter: blur(16px); }
.header-inner { max-width: calc(var(--max) + 2 * var(--pad)); min-height: 86px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 34px; }
.brand { display: flex; margin-right: auto; }
.brand img { width: 210px; height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); font-size: .86rem; font-weight: 700; color: #354052; }
.site-nav a { position: relative; padding: 30px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 20px; width: 0; height: 2px; background: var(--orange); transition: width .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { width: 100%; }
.language-switch { display: flex; align-items: center; gap: 7px; margin-left: 8px; }
.language-switch span { width: 1px; height: 14px; background: var(--line); }
.lang { border: 0; background: none; color: #8c96a4; font-size: .74rem; font-weight: 800; padding: 6px 2px; cursor: pointer; }
.lang.active { color: var(--blue); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 6px; cursor: pointer; }
.menu-button span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease; }

.hero { overflow: hidden; padding-top: clamp(72px, 9vw, 130px); position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: linear-gradient(#dfe5ec 1px, transparent 1px), linear-gradient(90deg, #dfe5ec 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent 3%, #000 55%, #000); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: clamp(52px, 8vw, 100px); align-items: center; position: relative; }
.eyebrow { margin: 0 0 24px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.orange { color: var(--orange); }
.eyebrow.blue { color: #59b6ff; }
h1 { margin: 0; max-width: 790px; font-size: clamp(3.6rem, 6.8vw, 7.2rem); line-height: .92; letter-spacing: -.065em; font-weight: 790; }
.hero-lead { max-width: 700px; margin: 36px 0 0; color: var(--muted); font-size: clamp(1.12rem, 1.6vw, 1.38rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 4px; padding: 0 25px; font-weight: 800; font-size: .9rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #003b9d); box-shadow: 0 16px 34px rgba(7,87,211,.22); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-deep); font-weight: 800; }
.text-link span:last-child { color: var(--orange); font-size: 1.2rem; }

.ecosystem { position: relative; min-height: 530px; aspect-ratio: 1/1; }
.ecosystem::before { content: ""; position: absolute; inset: 13%; border-radius: 50%; background: radial-gradient(circle, rgba(20,156,255,.16), rgba(255,255,255,0) 66%); }
.orbit { position: absolute; border: 1px solid rgba(7,87,211,.22); border-radius: 50%; }
.orbit-one { inset: 10%; animation: rotate 28s linear infinite; }
.orbit-one::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); top: 16%; left: 8%; box-shadow: 0 0 0 8px rgba(244,119,0,.10); }
.orbit-two { inset: 26%; border-style: dashed; animation: rotate 20s linear infinite reverse; }
.ecosystem-core { position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; border-radius: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: radial-gradient(circle at 35% 25%, #128dff, var(--blue) 54%, #06286e); box-shadow: 0 28px 70px rgba(7,87,211,.28); }
.core-mark { font-size: 2.4rem; line-height: 1; font-style: italic; font-weight: 900; color: var(--orange-bright); }
.ecosystem-core strong { font-size: 1.05rem; letter-spacing: .1em; }
.ecosystem-core small { margin-top: 4px; opacity: .74; }
.ecosystem-node { position: absolute; min-width: 138px; padding: 15px 18px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 35px rgba(16,24,40,.08); border-radius: 8px; font-weight: 750; }
.ecosystem-node b { color: var(--orange); font-size: .72rem; }
.node-operator { left: 0; top: 19%; }
.node-retail { right: 0; top: 13%; }
.node-player { right: 2%; bottom: 17%; }
.node-content { left: 2%; bottom: 12%; }
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-strip { margin-top: clamp(70px, 9vw, 120px); position: relative; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-strip div { min-height: 116px; padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.hero-strip div:last-child { border-right: 0; }
.hero-strip strong { font-size: 1.08rem; color: var(--blue-deep); }
.hero-strip span { color: var(--muted); font-size: .85rem; margin-top: 4px; }

.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; color: var(--muted); }
.section-label span { color: var(--orange); font-weight: 850; font-size: .72rem; }
.section-label p { margin: 0; font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.section-label::after { content: ""; height: 1px; flex: 1; background: var(--line); margin-left: 12px; }
.section-label.light { color: #aebed4; }
.section-label.light::after { background: rgba(255,255,255,.14); }
.intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.section-title { margin: 0; font-size: clamp(2.6rem, 4.7vw, 5.2rem); line-height: 1.01; letter-spacing: -.052em; }
.intro-copy { font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--muted); }
.intro-copy p { margin: 0 0 24px; }
.capability-row { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 85px; border-top: 1px solid var(--line); }
.capability-row article { padding: 34px 34px 12px 0; border-right: 1px solid var(--line); }
.capability-row article + article { padding-left: 34px; }
.capability-row article:last-child { border-right: 0; }
.capability-row span, .module > span, .game-card > span { font-size: .72rem; font-weight: 850; color: var(--orange); }
.capability-row h3 { margin: 18px 0 10px; font-size: 1.15rem; }
.capability-row p { margin: 0; color: var(--muted); font-size: .92rem; }

.platform, .models { color: #fff; background: var(--blue-deep); }
.platform-heading { display: grid; grid-template-columns: 1.05fr .65fr; gap: 80px; align-items: end; }
.platform-heading h2, .models h2 { max-width: 830px; margin: 0; font-size: clamp(2.8rem, 5vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
.platform-summary { margin: 0 0 8px; color: #aebed4; font-size: 1.06rem; }
.architecture { margin-top: 78px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.architecture-header, .architecture-footer { min-height: 72px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; color: #aebed4; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.live-pill { display: flex; align-items: center; gap: 9px; letter-spacing: 0; }
.live-pill i { width: 8px; height: 8px; background: #4dd593; border-radius: 50%; box-shadow: 0 0 0 5px rgba(77,213,147,.12); }
.architecture-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.module { min-height: 230px; padding: 30px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.module:nth-child(3n) { border-right: 0; }
.module:nth-child(n+4) { border-bottom: 0; }
.module h3 { margin: 48px 0 10px; font-size: 1.28rem; }
.module p { margin: 0; color: #9fb0c8; font-size: .9rem; }
.module.accent-blue { background: linear-gradient(135deg, rgba(20,156,255,.21), rgba(7,87,211,.05)); }
.module.accent-orange { background: linear-gradient(135deg, rgba(244,119,0,.22), rgba(244,119,0,.04)); }
.architecture-footer div { display: flex; flex-wrap: wrap; gap: 10px; }
.architecture-footer b { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 3px; color: #fff; font-size: .7rem; letter-spacing: 0; }

.distribution-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(70px, 10vw, 140px); }
.section-copy { max-width: 690px; color: var(--muted); font-size: 1.06rem; }
.distribution .section-copy { margin-top: 30px; }
.channel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.channel-tags span { padding: 8px 12px; background: var(--soft); border-radius: 4px; color: #3e4a5c; font-size: .76rem; font-weight: 800; }
.journey { position: relative; padding-left: 8px; }
.journey-line { position: absolute; top: 32px; bottom: 32px; left: 27px; width: 1px; background: linear-gradient(var(--blue), var(--orange)); }
.journey article { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 26px; padding: 0 0 30px; }
.journey article:last-child { padding-bottom: 0; }
.journey b { z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #fff; border: 1px solid #a9c9f8; font-size: .68rem; }
.journey article:last-child b { color: var(--orange); border-color: #ffc98f; }
.journey h3 { margin: 4px 0 4px; font-size: 1.02rem; }
.journey p { margin: 0; color: var(--muted); font-size: .9rem; }
.distribution-note { margin-top: 75px; display: grid; grid-template-columns: .45fr 1fr; gap: 50px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.distribution-note strong { color: var(--blue); }
.distribution-note p { margin: 0; color: var(--muted); }

.games { background: var(--soft); }
.games-heading, .group-heading { display: grid; grid-template-columns: 1fr .55fr; gap: 80px; align-items: end; }
.games-heading .section-copy, .group-heading .section-copy { margin: 0 0 5px; }
.game-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(4,1fr); }
.game-card { min-height: 360px; padding: 32px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.2); }
.game-card h3 { margin: auto 0 14px; font-size: 1.55rem; }
.game-card p { margin: 0 0 32px; font-size: .92rem; }
.game-card small { font-size: .72rem; font-weight: 850; letter-spacing: .04em; }
.game-card.blue { color: #fff; background: linear-gradient(150deg, var(--blue-bright), var(--blue)); }
.game-card.orange { color: #fff; background: linear-gradient(150deg, var(--orange-bright), var(--orange)); }
.game-card.light { color: var(--blue-deep); background: #fff; border: 1px solid var(--line); }
.game-card.dark { color: #fff; background: var(--blue-deep); }
.game-card.blue > span, .game-card.orange > span { color: rgba(255,255,255,.72); }
.game-card p { opacity: .78; }
.portfolio-link { width: fit-content; margin-top: 34px; margin-right: 0; display: flex; gap: 10px; align-items: center; color: var(--blue); font-weight: 850; }

.models-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.model-list { border-top: 1px solid rgba(255,255,255,.16); }
.model-list article { display: grid; grid-template-columns: 45px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.model-list article > span { color: var(--orange-bright); font-size: .72rem; font-weight: 850; }
.model-list h3 { margin: 0 0 7px; font-size: 1.12rem; }
.model-list p { margin: 0; color: #9fb0c8; font-size: .9rem; }

.company-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3,1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.company-card { min-height: 260px; padding: 30px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
a.company-card:hover { background: var(--soft); transform: translateY(-3px); }
.company-card > span { display: inline-flex; min-width: 34px; height: 25px; align-items: center; justify-content: center; padding: 0 7px; border: 1px solid var(--line); color: var(--blue); font-size: .66rem; font-weight: 850; }
.company-card h3 { margin: 55px 0 10px; font-size: 1.35rem; }
.company-card p { max-width: 310px; margin: 0; color: var(--muted); font-size: .9rem; }
.company-card i { position: absolute; right: 24px; bottom: 24px; color: #9aa5b4; font-size: .7rem; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

.contact { padding-top: 50px; }
.contact-panel { max-width: var(--max); padding: clamp(42px, 7vw, 86px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; color: #fff; background: linear-gradient(125deg, #062a71, var(--blue) 56%, #0a8ae5); position: relative; overflow: hidden; }
.contact-panel::after { content: "S"; position: absolute; right: -5%; top: -46%; font-size: 33rem; font-weight: 900; font-style: italic; line-height: 1; opacity: .06; }
.contact-panel .eyebrow { color: #ffbd5e; }
.contact-panel h2 { position: relative; margin: 0; max-width: 780px; font-size: clamp(2.6rem, 4.8vw, 5.3rem); line-height: 1; letter-spacing: -.05em; }
.contact-actions { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.button-light { color: var(--blue-deep); background: #fff; }
.phone-link { margin-top: 12px; font-size: 1.2rem; font-weight: 800; }
.contact-actions > span { color: #c3d8f6; font-size: .82rem; }

.site-footer { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 40px var(--pad) 30px; }
.footer-top { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-bottom: 1px solid var(--line); }
.footer-top img { width: 220px; }
.footer-top p { max-width: 420px; color: var(--muted); text-align: right; }
.footer-links { display: flex; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); color: #4c586a; font-size: .82rem; font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; color: #7e8998; font-size: .76rem; }
.content-page { min-height: 60vh; max-width: 920px; margin: 0 auto; }
.content-page h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.content-page .entry-content, .content-page article { font-size: 1.05rem; }
.content-page a { color: var(--blue); text-decoration: underline; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 1060px) {
  .site-nav { position: fixed; inset: 86px 0 auto 0; padding: 28px var(--pad); flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .25s ease; }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { width: 100%; padding: 13px 0; }
  .menu-button { display: flex; order: 2; }
  .language-switch { order: 1; }
  .hero-grid { grid-template-columns: 1fr; }
  .ecosystem { width: min(600px,100%); margin: 0 auto; }
  .platform-heading, .games-heading, .group-heading, .models-grid { grid-template-columns: 1fr; gap: 36px; }
  .architecture-grid { grid-template-columns: repeat(2,1fr); }
  .module:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.14); }
  .module:nth-child(2n) { border-right: 0; }
  .module:nth-child(n+3) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .module:nth-child(n+5) { border-bottom: 0; }
  .game-grid { grid-template-columns: repeat(2,1fr); }
  .company-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 72px; gap: 15px; }
  .brand img { width: 155px; }
  .site-nav { inset: 72px 0 auto 0; }
  .language-switch { margin-left: 0; }
  .hero { padding-top: 74px; }
  h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .ecosystem { min-height: 440px; }
  .ecosystem-core { width: 150px; height: 150px; }
  .ecosystem-node { min-width: 112px; padding: 11px 12px; font-size: .76rem; }
  .hero-strip { grid-template-columns: repeat(2,1fr); }
  .hero-strip div:nth-child(2) { border-right: 0; }
  .hero-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .distribution-grid, .contact-panel { grid-template-columns: 1fr; gap: 45px; }
  .capability-row { grid-template-columns: 1fr; margin-top: 55px; }
  .capability-row article, .capability-row article + article { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .architecture-grid { grid-template-columns: 1fr; }
  .module, .module:nth-child(3n), .module:nth-child(2n), .module:nth-child(n+3), .module:nth-child(n+5) { min-height: 200px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .module:last-child { border-bottom: 0; }
  .module h3 { margin-top: 32px; }
  .architecture-footer { align-items: flex-start; flex-direction: column; }
  .distribution-note { grid-template-columns: 1fr; gap: 14px; }
  .game-grid, .company-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 300px; }
  .footer-top { align-items: flex-start; flex-direction: column; padding: 32px 0; }
  .footer-top p { text-align: left; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 430px) {
  .brand img { width: 138px; }
  .menu-button { width: 38px; height: 38px; }
  .lang { font-size: .68rem; }
  .hero-strip div { min-height: 100px; padding: 20px 14px; }
  .ecosystem { min-height: 380px; }
  .ecosystem-node { min-width: 96px; gap: 6px; padding: 9px; }
  .ecosystem-core { width: 132px; height: 132px; }
  .node-operator { left: -7px; }
  .node-retail { right: -7px; }
  .node-player { right: -4px; }
  .node-content { left: -4px; }
}
