:root {
  --bg: #f4f7fb;
  --bg-soft: #edf3ff;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --text: #1a2333;
  --muted: #5f6f89;
  --primary: #5a67ff;
  --primary-strong: #3a4de6;
  --accent: #8ef0d0;
  --shadow: 0 30px 60px rgba(58, 77, 230, 0.12);
  --border: rgba(25, 35, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(118, 140, 255, 0.18), transparent 25%),
    radial-gradient(circle at bottom right, rgba(142, 240, 208, 0.25), transparent 28%),
    var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  max-width: 1280px;
  margin: 20px auto;
  padding: 0 20px 40px;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.03);
  position: sticky;
  top: 20px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.brand-button:hover {
  opacity: 0.8;
}

.brand-logo {
  display: block;
  width: 60px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #8d6dff 100%);
  color: white;
  box-shadow: 0 12px 22px rgba(90, 103, 255, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0.92rem 1.45rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: white;
  box-shadow: 0 16px 28px rgba(90, 103, 255, 0.28);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  padding: 72px 0 40px;
}

.eyebrow {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(90, 103, 255, 0.08);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-meta {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta li {
  position: relative;
  padding-left: 18px;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-main {
  width: min(88%, 500px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff6b6b; }
.dot-yellow { background: #ffd166; }
.dot-green { background: #7bdcb5; }

.chart-box {
  background: linear-gradient(180deg, rgba(90, 103, 255, 0.08), rgba(90, 103, 255, 0.02));
  border-radius: 22px;
  padding: 26px 18px 16px;
  border: 1px solid rgba(90, 103, 255, 0.07);
}

.chart-bars {
  min-height: 200px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.chart-bars span {
  display: block;
  width: 100%;
  height: var(--h);
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #9fb0ff 0%, #5a67ff 100%);
  box-shadow: inset 0 -10px 18px rgba(255,255,255,0.22);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.metrics-row div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(244, 247, 251, 0.8);
  border: 1px solid rgba(31, 41, 55, 0.04);
  border-radius: 16px;
  padding: 14px 16px;
}

.metrics-row strong {
  font-size: 1.45rem;
}

.metrics-row span,
.small-card,
.badge-card small,
.project-tag,
.footer-links,
.author-row small {
  color: var(--muted);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 35px rgba(24, 34, 51, 0.08);
}

.small-card {
  bottom: 18px;
  left: 15px;
  flex-direction: column;
  align-items: flex-start;
  min-width: 150px;
}

.mini-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.small-card strong {
  font-size: 1.8rem;
}

.badge-card {
  top: 38px;
  right: 18px;
  padding: 12px 14px;
}

.badge-card strong {
  display: block;
}

.badge-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(90, 103, 255, 0.18), rgba(142, 240, 208, 0.3));
  color: var(--primary-strong);
  font-size: 1.2rem;
}

.brands {
  padding: 20px 0 20px;
}

.brands > span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  text-align: center;
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: 18px;
  align-items: center;
  text-align: center;
  color: rgba(26, 35, 51, 0.5);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.stats article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(31, 41, 55, 0.03);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.stats strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.stats span {
  color: var(--muted);
}

.services,
.showcase,
.testimonial,
.footer {
  padding-top: 100px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  max-width: 700px;
}

.left h2 {
  max-width: 760px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.game-card {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 50px rgba(18, 27, 50, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #0d1320;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.game-card:hover img {
  transform: scale(1.05);
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 20, 0.1), rgba(7, 13, 20, 0.8));
}

.game-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 26px 22px 24px;
  color: white;
}

.game-tag {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.game-info h3 {
  margin: 14px 0 8px;
  font-size: clamp(2rem, 2vw, 2.4rem);
  letter-spacing: -0.05em;
}

.game-info p {
  margin: 0;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.info-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 32px rgba(60, 72, 117, 0.04);
}

.icon-wrap {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(90, 103, 255, 0.18), rgba(142, 240, 208, 0.24));
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px;
}

.project-card {
  min-height: 350px;
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 22px 40px rgba(33, 41, 53, 0.08);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 17, 27, 0.06), rgba(12, 17, 27, 0.66));
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-one {
  background: linear-gradient(135deg, #dfe8ff 0%, #b5c0ff 40%, #7d8ef4 100%);
}

.project-two {
  background: linear-gradient(135deg, #dffdf3 0%, #b9f5da 35%, #75d0be 100%);
}

.project-three {
  background: linear-gradient(135deg, #fff1d9 0%, #fdd9a8 35%, #f3b865 100%);
}

.project-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  color: #1b2332;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card h3 {
  margin: 18px 0 8px;
  color: white;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.project-card p {
  margin: 0;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.testimonial-box {
  background: linear-gradient(135deg, rgba(90, 103, 255, 0.08), rgba(142, 240, 208, 0.15));
  border: 1px solid rgba(90, 103, 255, 0.08);
  border-radius: 30px;
  padding: 34px 28px;
  box-shadow: 0 18px 36px rgba(58, 77, 230, 0.05);
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-strong);
  font-weight: 700;
}

.testimonial-box p {
  margin: 12px 0 28px;
  max-width: 760px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.6;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #836cff);
  color: white;
  font-weight: 700;
}

.author-row strong {
  display: block;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(26, 35, 51, 0.96);
  color: white;
  border-radius: 30px;
  padding: 32px 30px;
}

.footer-content h2 {
  margin: 12px 0 0;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  letter-spacing: -0.05em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 980px) {
  .hero,
  .showcase-grid,
  .card-grid,
  .game-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .card-main {
    width: min(100%, 460px);
  }

  .showcase-grid {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 0 12px 36px;
  }

  .topbar,
  .footer-content,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .brand-list {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .floating-card {
    position: static;
    margin-top: 14px;
  }

  .hero-visual {
    display: block;
    min-height: auto;
  }
}
