.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.glass {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(12, 18, 45, .62);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
  backdrop-filter: blur(20px);
}

.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 100;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 0 18px;
  border-radius: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--cyan), var(--purple) 50%, var(--pink));
  box-shadow: 0 12px 30px rgba(141, 104, 255, .34);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 900;
}

.brand-copy small {
  color: var(--muted);
  direction: ltr;
  font-size: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-inline-start: auto;
}

.main-nav a {
  color: #e3e8ff;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.main-nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
}

.language-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  opacity: .72;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.language-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.language-flag {
  font-size: 20px;
  line-height: 1;
}

.language-code {
  min-width: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.language-options {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 120;
  display: grid;
  min-width: 150px;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 13, 35, .97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.language-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 9px;
  border-radius: 12px;
  color: #dfe5ff;
  font-size: 13px;
  font-weight: 850;
}

.language-options a:hover,
.language-options a.active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 3px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.hero {
  min-height: 850px;
  display: flex;
  align-items: center;
  padding-top: 154px;
}

.hero-streak {
  position: absolute;
  inset: 120px 0 auto;
  height: 520px;
  background:
    linear-gradient(100deg, transparent 8%, rgba(98, 219, 255, .08) 36%, rgba(255, 103, 187, .1) 58%, transparent 84%);
  transform: skewY(-5deg);
  z-index: -1;
}

.hero-grid,
.feature-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  max-width: 680px;
  margin: 18px 0 24px;
  font-size: clamp(43px, 5.3vw, 76px);
  line-height: 1.2;
  font-weight: 950;
}

.hero h1 em,
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #fff, #9feaff 42%, #ff8dcc 82%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p,
.page-hero p {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-actions.centered {
  justify-content: flex-start;
  margin-top: 32px;
}

.hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-pills span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: #d7ddf7;
  font-size: 12px;
  font-weight: 700;
}

.hero-art,
.page-hero-art {
  position: relative;
}

.image-card,
.page-hero-art,
.timeline-image,
.service-media,
.game-media,
.detailed-game-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(145deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .03));
  box-shadow: var(--shadow);
}

.image-card {
  padding: 8px;
  border-radius: 34px;
}

.image-card img {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.hero-image-card {
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.hero-image-card img {
  min-height: 460px;
  aspect-ratio: 16 / 9;
  object-position: 55% 54%;
}

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 17px;
  background: rgba(8, 13, 35, .76);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
}

.float-card b {
  font-size: 13px;
}

.float-card small {
  color: var(--muted);
  font-size: 10px;
}

.float-online {
  right: -22px;
  bottom: 34px;
}

.float-call {
  left: -22px;
  top: 30px;
}

.section-head {
  max-width: 730px;
  margin: 0 0 44px;
  text-align: start;
}

.section-head h2,
.split-heading h2,
.feature-copy h2,
.future-card h2,
.cta-card h2,
.info-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.35;
  font-weight: 930;
}

.section-head p,
.split-heading p,
.feature-copy p,
.future-card p,
.cta-card p,
.info-panel p,
.guide-card p {
  color: var(--muted);
  font-size: 16px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.page-hero {
  padding: 168px 0 72px;
}

.page-hero-art {
  border-radius: 34px;
  padding: 8px;
}

.page-hero-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  object-fit: cover;
}

.footer {
  margin-top: 70px;
  padding: 68px 0 26px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(7, 11, 31, .35), #050817),
    radial-gradient(circle at 30% 0, rgba(98, 219, 255, .09), transparent 36%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr .8fr;
  gap: 38px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.footer p,
.footer a,
.footer span {
  color: #a5aecb;
  font-size: 13px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
