:root {
  --bg: #060816;
  --bg-deep: #0a1022;
  --panel: rgba(14, 19, 39, 0.78);
  --panel-strong: rgba(10, 14, 30, 0.94);
  --text: #f4f8ff;
  --muted: #93a0bd;
  --line: rgba(130, 165, 255, 0.16);
  --cyan: #39d0ff;
  --cyan-soft: rgba(57, 208, 255, 0.16);
  --violet: #7a5cff;
  --violet-soft: rgba(122, 92, 255, 0.18);
  --pink: #c57cff;
  --white-soft: rgba(255, 255, 255, 0.06);
  --shadow: 0 28px 80px rgba(1, 6, 20, 0.52);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(57, 208, 255, 0.18), transparent 28%),
    radial-gradient(circle at 90% 5%, rgba(122, 92, 255, 0.2), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(67, 109, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #07101f 0%, #060816 38%, #070b17 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-content {
  padding-bottom: 56px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(7, 11, 24, 0.62);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
}

.brand {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.brand-mark-image {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  /*margin-bottom: 8px;*/
}

.brand-mark-image img {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(87, 196, 255, 0.18));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-copy small,
.site-footer p,
.demo-actions p {
  color: var(--muted);
}

.site-nav,
.header-actions,
.language-switcher,
.hero-actions,
.card-actions,
.demo-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 0;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.back-link:hover {
  color: var(--text);
  text-shadow: 0 0 18px rgba(57, 208, 255, 0.22);
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: rgba(112, 212, 255, 0.8);
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.language-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: 180ms ease;
}

.language-pill {
  gap: 8px;
  min-width: 60px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.language-pill.is-active,
.language-pill:hover {
  color: var(--text);
  border-color: rgba(57, 208, 255, 0.34);
  background: var(--cyan-soft);
}

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

.language-code {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.button {
  padding: 12px 18px;
  position: relative;
  overflow: hidden;
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), #6de2ff 42%, #a787ff 100%);
  color: #04111f;
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(57, 208, 255, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(130, 165, 255, 0.18);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(197, 124, 255, 0.22);
  color: var(--text);
}

.button:hover {
  transform: translateY(-1px);
}

.hero,
.section {
  padding: 40px 0;
}

.section-tight {
  padding-top: 28px;
}

.hero-grid,
.featured-grid,
.game-hero,
.partner-grid {
  display: grid;
  gap: 24px;
}

.hero-grid,
.game-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.hero-panel,
.featured-card,
.game-card,
.meta-card,
.about-block,
.demo-frame-shell,
.value-card {
  background: linear-gradient(180deg, rgba(18, 22, 27, 0.92), rgba(11, 14, 18, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.about-block,
.demo-frame-shell {
  padding: 32px;
  border-radius: 28px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-eyebrow {
  color: #d6e0ff;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: "Exo 2", "Rajdhani", "Inter", sans-serif;
  line-height: 0.98;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h3 {
  font-size: 1.8rem;
}

p,
li {
  line-height: 1.7;
}

.lead {
  max-width: 54ch;
  font-size: 1rem;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 62ch;
  color: var(--muted);
}

.hero {
  padding-top: 56px;
}

.hero-copy {
  padding: 20px 20px 32px;
  background:
    linear-gradient(180deg, rgba(16, 24, 48, 0.9), rgba(8, 13, 26, 0.96)),
    linear-gradient(135deg, var(--cyan-soft), transparent 45%);
  border: 1px solid rgba(112, 162, 255, 0.18);
}

.hero-copy h1 {
  max-width: 9ch;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 100%;
  border-radius: 32px;
}

.hero-glow {
  position: absolute;
  inset: auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.65;
  pointer-events: none;
}

.hero-glow-cyan {
  top: 4%;
  left: 4%;
  background: rgba(57, 208, 255, 0.28);
}

.hero-glow-violet {
  right: 0;
  bottom: 4%;
  background: rgba(122, 92, 255, 0.32);
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 18px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 24, 45, 0.88), rgba(8, 12, 24, 0.96)),
    linear-gradient(135deg, rgba(57, 208, 255, 0.12), rgba(122, 92, 255, 0.14));
  border: 1px solid rgba(120, 157, 255, 0.22);
  box-shadow: var(--shadow);
}

.hero-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-panel-copy {
  padding: 20px 8px 8px;
}

.hero-panel-copy p {
  color: var(--muted);
}

.hero-logo-lockup {
  margin: 0 0 22px;
}

.hero-logo-lockup img {
  display: block;
  width: 100%;
  max-height: 335px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(120, 157, 255, 0.14);
  box-shadow: var(--shadow);
}

.hero-mini-meta,
.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-mini-meta {
  margin: 18px 0 22px;
}

.hero-mini-meta span,
.signal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  color: #d8e3ff;
  font-size: 0.92rem;
}

.hero-mini-meta span {
  gap: 10px;
  min-height: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(216, 227, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero-signals {
  margin-top: 22px;
  gap: 10px;
}

.signal-pill {
  position: relative;
  min-height: 0;
  padding: 0 0 0 18px;
  border: 0;
  background: transparent;
  color: rgba(216, 227, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
}

.signal-pill::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(87, 196, 255, 0.35);
  transform: translateY(-50%);
}

.meta-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--cyan);
  font-size: 0.85rem;
  text-shadow: 0 0 12px rgba(87, 196, 255, 0.28);
}

.featured-card,
.game-card {
  overflow: hidden;
  border-radius: 26px;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  background:
    linear-gradient(180deg, rgba(16, 22, 42, 0.9), rgba(9, 13, 25, 0.96)),
    linear-gradient(135deg, rgba(57, 208, 255, 0.06), rgba(122, 92, 255, 0.08));
}

.featured-card img,
.game-card-media img,
.game-visual img,
.gallery-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-copy,
.game-card-body {
  padding: 24px;
}

.featured-copy p,
.game-card-body p,
.about-block p,
.value-card {
  color: var(--muted);
}

.catalog-shell,
.gallery-shell,
.demo-shell {
  position: relative;
}

.catalog-shell::before,
.gallery-shell::before,
.demo-shell::before {
  content: "";
  position: absolute;
  inset: -18px -10px auto;
  height: 180px;
  background: radial-gradient(circle at center, rgba(57, 208, 255, 0.12), transparent 58%);
  filter: blur(24px);
  pointer-events: none;
}

.games-grid,
.value-grid,
.gallery-grid,
.meta-grid {
  display: grid;
  gap: 20px;
}

.games-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.value-grid,
.meta-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-shot {
  border-radius: 22px;
  border: 1px solid rgba(130, 165, 255, 0.18);
  box-shadow: var(--shadow);
}

.value-card,
.meta-card {
  padding: 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 20, 38, 0.94), rgba(10, 14, 26, 0.98)),
    linear-gradient(135deg, rgba(57, 208, 255, 0.06), rgba(122, 92, 255, 0.08));
}

.meta-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
}

.meta-card strong {
  display: block;
}

.meta-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--cyan);
  font-size: 0.8rem;
}

.game-copy-panel,
.partner-panel {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15, 20, 38, 0.94), rgba(10, 14, 26, 0.98)),
    linear-gradient(135deg, rgba(57, 208, 255, 0.06), rgba(122, 92, 255, 0.08));
  border: 1px solid rgba(130, 165, 255, 0.16);
  box-shadow: var(--shadow);
}

.game-copy-panel .lead,
.partner-panel .rich-copy,
.feature-list {
  color: var(--muted);
}

.rich-copy {
  max-width: 76ch;
  color: var(--muted);
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
}

.game-visual {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.demo-frame-shell {
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(13, 18, 34, 0.94), rgba(9, 12, 24, 0.98)),
    linear-gradient(135deg, rgba(57, 208, 255, 0.08), rgba(122, 92, 255, 0.1));
}

.demo-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 20px;
  background: #000;
}

.demo-actions {
  margin-top: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 10, 20, 0.54);
}

@media (max-width: 900px) {
  .hero-grid,
  .game-hero,
  .featured-card,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px 18px;
  }

  .brand {
    width: auto;
  }

  .site-nav {
    width: auto;
    justify-content: flex-end;
    gap: 18px;
  }

  .header-actions {
    width: 100%;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .featured-card {
    display: flex;
    flex-direction: column;
  }

  .featured-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .hero-copy,
  .hero-visual,
  .hero-panel,
  .game-copy-panel,
  .partner-panel,
  .about-block,
  .demo-frame-shell,
  .featured-copy,
  .game-card-body,
  .value-card,
  .meta-card {
    padding: 20px;
  }

  .site-nav,
  .header-actions,
  .hero-actions,
  .card-actions,
  .demo-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .language-switcher {
    justify-content: flex-start;
  }

  .site-nav {
    flex-direction: row;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
  }

  .site-nav a {
    padding: 6px 0;
    gap: 8px;
    font-size: 0.98rem;
  }

  .header-actions {
    align-items: stretch;
  }

  .language-switcher {
    flex-wrap: wrap;
    gap: 10px;
  }

  .language-pill {
    flex: 0 0 auto;
  }

  .featured-card > img {
    border-bottom: 1px solid rgba(130, 165, 255, 0.12);
  }

  .game-card {
    display: flex;
    flex-direction: column;
  }

  .game-card-media {
    flex: 0 0 auto;
  }

  .game-card-media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .game-card-body {
    position: relative;
    z-index: 1;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .brand-mark-image img {
    width: 112px;
  }

  .demo-frame {
    aspect-ratio: 9 / 16;
  }
  
}
