/* ==========================================================================
   Accesa Games — gaming layer on top of the ACCESA design system
   Same grid, components and behaviour as accesa.co; darker night palette,
   indigo + lime accents (from the original Game Master Solutions brand)
   and a display face for headlines.
   ========================================================================== */

body.games {
  --navy-900: #070b1a;
  --navy-850: #0a1024;
  --navy-800: #0d142c;
  --line-dark: rgba(255, 255, 255, .09);
  --blue-500: #6366f1;
  --blue-400: #8b93ff;
  --blue-300: #b4b9ff;
  --lime: #bef264;
  --lime-600: #84cc16;
  --indigo: #6366f1;
  --display: "Alegreya Sans SC", var(--font);
  background: var(--navy-900);
}

.games h1, .games h2 {
  font-family: var(--display);
  letter-spacing: -0.01em;
  font-weight: 800;
}
.games h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; }
.games .accent { color: var(--lime); }

/* Header + brand */
.games .site-header { background: rgba(7, 11, 26, .86); }
.games-brand { gap: 10px; }
.games-brand img { height: 30px; width: auto; flex: none; }
.games-wordmark {
  font-family: var(--display); font-weight: 800; font-size: 1.32rem;
  color: #fff; letter-spacing: .01em; white-space: nowrap;
}
.games-wordmark b { color: var(--lime); font-weight: 800; }
.games .nav-links a.is-active { color: var(--lime); background: rgba(190, 242, 100, .1); }

/* Buttons */
.btn-games { background: var(--indigo); color: #fff; border: 1px solid var(--indigo); }
.btn-games:hover { background: #4f46e5; }
.btn-lime { background: var(--lime); color: #10200a; border: 1px solid var(--lime); }
.btn-lime:hover { background: #a3e635; }
.games .btn-primary { background: var(--indigo); }
.games .btn-primary:hover { background: #4f46e5; }

/* Eyebrows */
.games .eyebrow {
  color: var(--lime); background: rgba(190, 242, 100, .1);
  border: 1px solid rgba(190, 242, 100, .28);
}

/* Hero with the Roblox artwork */
.games-hero {
  position: relative; overflow: hidden;
  padding: 120px 0 72px; color: #fff;
  background: var(--navy-900) url("img/hero.webp") center / cover no-repeat;
}
.games-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 26, .96) 0%, rgba(7, 11, 26, .82) 45%, rgba(7, 11, 26, .45) 100%),
    linear-gradient(180deg, rgba(7, 11, 26, 0) 60%, rgba(7, 11, 26, 1) 100%);
}
.games-hero .wrap { position: relative; z-index: 1; }
.games-hero p { color: var(--snow-300); }
.games-hero .hero-sub { font-size: 1.16rem; max-width: 58ch; }

/* Studios strip */
.studio-strip { margin-top: 64px; }
.studio-strip small {
  display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--snow-500); margin-bottom: 14px; font-weight: 700;
}
.studio-strip ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.studio-strip li {
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  color: var(--snow-300); text-align: center; padding: 14px 8px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .03);
}

/* Stats */
.games .stats { margin-top: 0; }
.games .stat b { color: var(--lime); font-family: var(--display); font-size: 2.4rem; }

/* Dark section variants */
.section-night { background: var(--navy-900); color: #fff; }
.section-night p { color: var(--snow-300); }
.section-night-alt { background: var(--navy-850); color: #fff; }
.section-night-alt p { color: var(--snow-300); }
.section-night .card, .section-night-alt .card {
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark); color: #fff;
}
.section-night .card:hover, .section-night-alt .card:hover {
  border-color: rgba(190, 242, 100, .35); transform: translateY(-2px);
}
.games .card { transition: transform .2s ease, border-color .2s ease; }
.games .card-icon { color: var(--lime); background: rgba(190, 242, 100, .1); }

/* Service chips */
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-size: .72rem; font-weight: 600; padding: 4px 9px; border-radius: 100px;
  background: rgba(99, 102, 241, .16); color: var(--blue-300);
}

/* Steps */
.games .steps { grid-template-columns: repeat(3, 1fr); }
.games .step-num { color: var(--lime); }
.games .step h3 { color: #fff; }
.games .step p { color: var(--snow-300); }

/* Case studies */
.case { display: flex; flex-direction: column; }
.case-tag {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-300); margin-bottom: 16px; display: block;
}
.case dl { margin: 0 0 18px; }
.case dt { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--snow-500); }
.case dd { margin: 4px 0 14px; color: var(--snow-300); font-size: .93rem; }
.case-result { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.case-result b { display: block; font-family: var(--display); font-size: 2.6rem; color: var(--lime); line-height: 1; }
.case-result span { font-size: .88rem; color: var(--snow-300); }

/* About split */
.about-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.about-img {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark);
  aspect-ratio: 16 / 10; background: #0d142c url("img/studio.webp") center / cover;
}
.values { display: grid; gap: 14px; margin-top: 26px; }
.values div { padding-left: 16px; border-left: 2px solid var(--lime); }
.values b { display: block; color: #fff; }
.values span { font-size: .92rem; color: var(--snow-300); }

/* Team */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.member {
  text-align: center; padding: 22px 12px; border-radius: var(--radius);
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .035);
}
.avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--indigo), var(--lime-600));
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: #fff;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member b { display: block; color: #fff; font-size: .92rem; }
.member span { font-size: .78rem; color: var(--snow-500); }

/* Careers band */
.careers-band {
  border-radius: 20px; overflow: hidden; position: relative;
  padding: 56px 48px; color: #fff;
  background: #0d142c url("img/team.webp") center / cover;
}
.careers-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 11, 26, .95), rgba(49, 46, 129, .75));
}
.careers-band > * { position: relative; }
.careers-band p { color: var(--snow-300); max-width: 56ch; }

/* Contact */
.games .form-card { background: #0d142c; border-color: var(--line-dark); color: #fff; }
.games .form-card h2 { color: #fff; }
.games .field label { color: var(--snow-300); }
.games .field input, .games .field select, .games .field textarea {
  background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #fff;
}
.games .field select option { color: #0f1524; }
.games .field input::placeholder, .games .field textarea::placeholder { color: rgba(201, 208, 222, .5); }
.games .field input:focus, .games .field select:focus, .games .field textarea:focus {
  background: rgba(255, 255, 255, .07); border-color: var(--indigo); outline-color: rgba(99, 102, 241, .45);
}
.games .contact-block { background: rgba(255, 255, 255, .035); border-color: var(--line-dark); color: #fff; }
.games .contact-block a { color: var(--lime); }
.games .contact-block a.btn-primary { color: #fff; }
.games .muted { color: var(--snow-500); }
.games .muted a, .games .form-card a { color: var(--lime); }
.games .form-status.is-error { color: #fca5a5; }
.games .form-status.is-ok { color: var(--lime); }
.games .job-meta span { background: rgba(190, 242, 100, .12); color: var(--lime); }

/* Footer */
.games .site-footer { background: #05081a; }
.games .footer-bottom a:hover, .games .footer-grid a:hover { color: var(--lime); }

/* Responsive */
@media (max-width: 1000px) {
  .studio-strip ul { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; }
  .games .steps { grid-template-columns: 1fr; }
  .games-hero { padding: 84px 0 56px; }
  .careers-band { padding: 36px 26px; }
}
@media (max-width: 560px) {
  .studio-strip ul { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .games-wordmark { font-size: 1.12rem; }
  .games-brand img { height: 26px; }
}

/* ---------- Build & activate ---------- */
.platform-row { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platform-row li {
  font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 100px; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
}
.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.build-card {
  position: relative; border-radius: 20px; padding: 40px 38px; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, rgba(99, 102, 241, .22), rgba(13, 20, 44, .9) 55%);
  border: 1px solid rgba(139, 147, 255, .28);
}
.build-card--brand {
  background: linear-gradient(160deg, rgba(132, 204, 22, .2), rgba(13, 20, 44, .9) 55%);
  border-color: rgba(190, 242, 100, .3);
}
.build-card h3 { font-family: var(--display); font-size: 1.9rem; font-weight: 800; margin: 12px 0 12px; color: #fff; }
.build-card p { color: var(--snow-300); }
.build-card .checklist { margin-top: 22px; }
.build-card .checklist li { color: var(--snow-100); font-size: .95rem; }
.build-tag {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-300); background: rgba(99, 102, 241, .18); padding: 5px 11px; border-radius: 100px;
}
.build-card--brand .build-tag { color: var(--lime); background: rgba(190, 242, 100, .12); }
.platform { display: flex; flex-direction: column; }
.platform-name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: #fff; margin-bottom: 8px; }
.platform p { font-size: .92rem; }
.platform .chips { margin-top: auto; padding-top: 12px; }
@media (max-width: 860px) {
  .build-grid { grid-template-columns: 1fr; }
  .build-card { padding: 30px 24px; }
}
