:root {
  --ink: #f6f8fc;
  --muted: #a5afc0;
  --dim: #707b8f;
  --bg: #060912;
  --surface: #0c111d;
  --surface-2: #111827;
  --line: rgba(181, 192, 214, 0.14);
  --line-strong: rgba(181, 192, 214, 0.28);
  --blue: #4f8cff;
  --violet: #9b72ff;
  --cyan: #43d5d1;
  --green: #55d69e;
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(79, 140, 255, 0.75);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: #fff;
  color: #050914;
  font-size: 0.8rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #bdc7d9;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  background: var(--cyan);
  content: "";
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: 4.35rem;
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: 2.7rem;
  font-weight: 750;
}

h3 {
  font-size: 1.1rem;
}

em {
  color: var(--cyan);
  font-style: normal;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(6, 9, 18, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(6, 9, 18, 0.96);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand span span {
  color: var(--blue);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.main-nav a {
  padding: 9px 10px;
  border-radius: 4px;
  color: #aeb8ca;
  font-size: 0.7rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  background: #6b9fff;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #f6f8fc;
}

.button-small {
  min-height: 38px;
  padding-inline: 14px;
}

.hero {
  display: flex;
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 108px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(6, 9, 18, 0.98) 0%, rgba(6, 9, 18, 0.88) 55%, rgba(6, 9, 18, 0.6) 100%),
    linear-gradient(rgba(145, 160, 190, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 160, 190, 0.055) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.hero::after {
  position: absolute;
  right: 8%;
  width: min(34vw, 470px);
  aspect-ratio: 1;
  background: url("assets/logo-gamaservice.webp") center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 0 70px rgba(79, 140, 255, 0.28));
  opacity: 0.48;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.hero-lead,
.page-lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: #adb7c8;
  font-size: 1rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  color: #c8d0de;
  font-size: 0.72rem;
  list-style: none;
}

.trust-row li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 50px;
  margin-bottom: 46px;
  grid-template-columns: 1.2fr 0.8fr;
}

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.services-grid,
.feature-grid,
.process-grid,
.review-grid,
.example-grid {
  display: grid;
  gap: 16px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-card,
.process-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card {
  display: flex;
  min-height: 330px;
  padding: 25px;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.service-index {
  margin-bottom: 48px;
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
  font-size: 0.78rem;
}

.service-card a {
  margin-top: auto;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 750;
}

.service-card a::after {
  margin-left: 7px;
  color: var(--blue);
  content: "→";
}

.band {
  border-block: 1px solid var(--line);
  background: #090e18;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-card,
.feature-card {
  padding: 25px;
}

.process-card span {
  color: var(--violet);
  font-size: 0.65rem;
  font-weight: 800;
}

.process-card h3,
.feature-card h3 {
  margin: 34px 0 10px;
}

.process-card p,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.page-hero {
  min-height: 620px;
  padding: 172px 0 100px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(6, 9, 18, 0.97), rgba(6, 9, 18, 0.72)),
    linear-gradient(rgba(145, 160, 190, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 160, 190, 0.05) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
}

.minecraft-hero {
  background:
    linear-gradient(90deg, rgba(6, 9, 18, 0.98) 0%, rgba(6, 9, 18, 0.79) 54%, rgba(6, 9, 18, 0.42) 100%),
    url("assets/examples/spawn-medieval.webp") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 820px;
}

.breadcrumbs {
  margin: 0 0 34px;
  padding: 0;
  color: #9ca8bb;
  font-size: 0.69rem;
  list-style: none;
}

.breadcrumbs li {
  display: inline;
}

.breadcrumbs li + li::before {
  margin: 0 9px;
  color: #606b80;
  content: "/";
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.deliverables {
  display: grid;
  gap: 70px;
  grid-template-columns: 0.85fr 1.15fr;
}

.deliverables-copy p {
  color: var(--muted);
  font-size: 0.86rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  color: #c9d1df;
  font-size: 0.8rem;
}

.check-list li::before {
  margin-right: 12px;
  color: var(--green);
  content: "✓";
}

.example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.example-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.example-card img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.example-body {
  padding: 22px;
}

.example-kicker {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.example-body h3 {
  margin-bottom: 10px;
}

.example-body > p:not(.example-kicker) {
  color: var(--muted);
  font-size: 0.76rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #b8c2d3;
  font-size: 0.61rem;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  padding: 26px;
}

.review-stars {
  margin-bottom: 18px;
  color: #f4c95d;
  letter-spacing: 0.18em;
}

.review-quote {
  min-height: 105px;
  color: #d6dce7;
  font-size: 0.84rem;
}

.review-author {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.empty-state {
  padding: 38px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.contact-section {
  background: #090e18;
}

.contact-layout {
  display: grid;
  align-items: start;
  gap: 70px;
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-email {
  display: inline-block;
  margin: 8px 0 28px;
  color: var(--cyan);
  font-size: 1.1rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.brief-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  color: #d0d7e4;
  font-size: 0.68rem;
  font-weight: 700;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  outline: none;
  background: #070b13;
  color: #fff;
  font-size: 0.78rem;
}

.field-group input,
.field-group select {
  height: 46px;
  padding: 0 12px;
}

.field-group textarea {
  min-height: 128px;
  padding: 12px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.12);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 0.65rem;
  text-align: center;
}

.form-note.success {
  color: var(--green);
}

.clipboard-fallback {
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cta-band {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  background: #0b111d;
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.cta-layout h2 {
  max-width: 680px;
  margin: 0;
  font-size: 2rem;
}

.site-footer {
  padding: 58px 0 24px;
  border-top: 1px solid var(--line);
  background: #04060c;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 42px;
}

.footer-brand p {
  max-width: 350px;
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 0.72rem;
}

.footer-links {
  display: grid;
  gap: 8px 42px;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.footer-links a {
  color: #929db0;
  font-size: 0.7rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #636e82;
  font-size: 0.64rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 2px;
  }

  .main-nav a {
    padding-inline: 7px;
    font-size: 0.64rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .section {
    padding: 82px 0;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    display: flex;
    max-height: calc(100vh - 98px);
    overflow-y: auto;
    padding: 16px;
    transform: translateY(-14px);
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #090e18;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .main-nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    right: -8%;
    width: 330px;
    opacity: 0.18;
  }

  .section-heading,
  .deliverables,
  .contact-layout {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .process-grid,
  .feature-grid,
  .example-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 30px), var(--max));
  }

  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero,
  .page-hero {
    min-height: 0;
    padding: 132px 0 78px;
  }

  .hero-lead,
  .page-lead {
    font-size: 0.88rem;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .trust-row {
    display: grid;
    gap: 10px;
  }

  .services-grid,
  .process-grid,
  .feature-grid,
  .example-grid,
  .review-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 270px;
  }

  .service-index {
    margin-bottom: 32px;
  }

  .cta-layout,
  .footer-main,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-layout .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
