:root {
  color-scheme: light;
  --ink: #12141a;
  --muted: #5f6673;
  --line: #dfe4ea;
  --paper: #f7fafc;
  --white: #ffffff;
  --aqua: #22d2d2;
  --blue: #185adb;
  --green: #3ca370;
  --gold: #c9972f;
  --shadow: 0 22px 70px rgba(18, 20, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 252, 0.88);
  border-bottom: 1px solid rgba(223, 228, 234, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(34, 210, 210, 0.22);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 78px);
  padding: clamp(44px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(34, 210, 210, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff, #f4f8fb);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: #3b424d;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.button.primary {
  color: #041515;
  background: var(--aqua);
  border-color: var(--aqua);
}

.button.secondary {
  background: var(--white);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: clamp(22px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(18, 20, 26, 0.08);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 210, 210, 0.22), transparent 34%),
    linear-gradient(145deg, #ffffff, #eef5f8 70%);
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(24, 90, 219, 0.18);
  border-radius: 999px;
}

.hero-visual::before {
  top: 18%;
  right: 9%;
}

.hero-visual::after {
  left: -18%;
  bottom: -20%;
  border-color: rgba(60, 163, 112, 0.2);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  height: auto;
  border-radius: 8px;
  background: #fff;
}

.statement {
  padding: clamp(34px, 6vw, 68px) clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: #11151d;
}

.statement p {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.35;
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-index {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--gold);
  font-weight: 850;
}

.service-grid h3,
.company-note h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-grid p,
.company-note p {
  color: var(--muted);
  line-height: 1.65;
}

.company-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 18px;
}

.company-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 20px;
  background: var(--white);
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.company-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-grid > * {
  display: grid;
  gap: 12px;
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-grid strong {
  overflow-wrap: anywhere;
  font-size: clamp(18px, 2vw, 24px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #dce6ec;
  background: #11151d;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 260px;
  }

  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  h1 {
    font-size: 52px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---- language switcher ---- */
.lang-switch {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.lang-switch:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* ---- section sub copy ---- */
.section-heading .sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* ---- about ---- */
.about-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-text {
  max-width: 820px;
  color: #3b424d;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

/* ---- games showcase ---- */
.games-section {
  background:
    linear-gradient(120deg, rgba(24, 90, 219, 0.06), transparent 40%),
    #ffffff;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(18, 20, 26, 0.06);
}

.game-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.game-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.game-tagline {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.game-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.game-desc {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  color: #ffffff;
  background: #11151d;
  font-weight: 750;
}

a.play-badge:hover {
  background: #22262f;
}

.play-badge .play-icon {
  display: inline-flex;
  color: #0f9d58;
}

.play-badge.coming-soon {
  background: #eef2f6;
  color: var(--muted);
}

/* game icon + title header */
.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.game-icon {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(18, 20, 26, 0.12);
}

.game-head .game-tagline {
  margin-bottom: 3px;
}

.game-head h3 {
  margin: 0;
  font-size: 22px;
}

/* legal entity block inside the contact section */
.legal-entity {
  margin-bottom: 30px;
}

.legal-heading {
  margin-bottom: 16px;
}

.legal-heading h3 {
  margin: 0;
  font-size: 24px;
}

/* Localized company identity and small-screen safeguards. */
html { scroll-padding-top: 100px; }
h1 { font-size: clamp(42px, 5.7vw, 82px); line-height: 1.12; }
.brand small { max-width: 240px; font-size: 11px; line-height: 1.45; }
.company-list dd, .contact-grid strong { overflow-wrap: anywhere; }
.site-footer > div { display:flex; gap:18px; flex-wrap:wrap; }
a:focus-visible, button:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
@media(max-width:600px){.site-header{gap:12px;padding:14px 18px}.brand small{max-width:150px}.brand strong{font-size:14px}nav{gap:12px;font-size:12px}nav a[href="#contact"]{display:none}.lang-switch{padding:6px 9px}.games-grid{grid-template-columns:minmax(0,1fr)}h1{font-size:44px}.hero-visual{min-height:280px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
