/* Thunder Game Studio — Multi-page redesign */
:root {
  --bg: #060915;
  --bg-soft: #0b1020;
  --bg-card: rgba(15, 22, 42, 0.82);
  --bg-card-strong: #111a31;
  --text: #f5f7fb;
  --muted: #98a3bf;
  --line: rgba(255, 255, 255, 0.1);
  --lime: #c8f542;
  --cyan: #35d6ff;
  --blue: #5177ff;
  --purple: #b06dff;
  --pink: #ff74c9;
  --orange: #ff9f43;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --glow: 0 0 40px rgba(53, 214, 255, 0.18);
  --radius: 20px;
  --container: 1240px;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(80, 120, 255, 0.16), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(176, 109, 255, 0.14), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(53, 214, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #050813 0%, #081021 46%, #050813 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 20px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(83, 119, 255, 0.22);
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.55);
  color: #a7b3d4;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 12px rgba(53, 214, 255, 0.55);
}

.section-header {
  margin-bottom: 32px;
  text-align: center;
}

.section-header h2 {
  margin: 14px 0 10px;
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.section-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
}

.split-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.split-header .section-header {
  margin: 0;
  text-align: left;
}

.surface {
  background: linear-gradient(180deg, rgba(17, 26, 49, 0.94), rgba(10, 15, 31, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass {
  background: linear-gradient(180deg, rgba(17, 26, 49, 0.8), rgba(11, 16, 32, 0.65));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #07101f;
  background: linear-gradient(135deg, var(--lime), #7fe67c);
  box-shadow: 0 18px 40px rgba(200, 245, 66, 0.22);
}

.btn-outline {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: rgba(53, 214, 255, 0.4);
  box-shadow: var(--glow);
}

.btn-secondary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(81, 119, 255, 0.3), rgba(176, 109, 255, 0.3));
  border: 1px solid rgba(81, 119, 255, 0.25);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(6, 9, 21, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.4);
  background: rgba(6, 9, 21, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 54px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-desktop a {
  position: relative;
  color: #d3dbf0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #fff;
}

.nav-desktop a.active::after,
.nav-desktop a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  border-radius: 999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 86px 16px auto;
  padding: 18px;
  z-index: 999;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 16, 33, 0.96);
  box-shadow: var(--shadow);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-mobile li + li {
  margin-top: 12px;
}

.nav-mobile a {
  display: block;
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  padding: 46px 0 28px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 16, 35, 0.93), rgba(8, 12, 26, 0.96)),
    radial-gradient(circle at top right, rgba(81, 119, 255, 0.28), transparent 28%),
    radial-gradient(circle at left center, rgba(176, 109, 255, 0.2), transparent 24%);
  box-shadow: var(--shadow);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 9, 21, 0.82) 0%, rgba(6, 9, 21, 0.35) 42%, rgba(6, 9, 21, 0.12) 65%, rgba(6, 9, 21, 0.1) 100%);
  z-index: 1;
}

.chevron-mark {
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.chevron-mark::before,
.chevron-mark::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  background: linear-gradient(135deg, var(--blue), #1746c9);
  clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%);
}

.chevron-mark::before {
  width: 200px;
  height: 200px;
}

.chevron-mark::after {
  width: 130px;
  height: 130px;
  top: -10px;
  right: 70px;
  opacity: 0.65;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero-title {
  margin: 18px 0 18px;
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
}

.hero-title .accent {
  display: block;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy p {
  color: #d0d8ee;
  margin: 0 0 26px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 50px rgba(53, 214, 255, 0.15);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 19, 0.1), rgba(5, 8, 19, 0.5)),
    linear-gradient(90deg, rgba(5, 8, 19, 0.14), rgba(5, 8, 19, 0));
}

.hero-float {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 3;
  display: grid;
  gap: 8px;
}

.hero-badge {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(6, 9, 21, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dfe6fa;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat-item {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(81, 119, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(81, 119, 255, 0.14);
}

.stat-item strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-head);
  font-size: 15px;
}

.stat-item span {
  color: var(--muted);
  font-size: 12px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 24, 46, 0.86), rgba(9, 14, 28, 0.86));
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.26);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(53, 214, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.32), var(--glow);
}

.icon-box {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  font-size: 28px;
}

.icon-blue { background: rgba(53, 214, 255, 0.12); color: var(--cyan); }
.icon-purple { background: rgba(176, 109, 255, 0.14); color: var(--purple); }
.icon-pink { background: rgba(255, 116, 201, 0.12); color: var(--pink); }
.icon-lime { background: rgba(200, 245, 66, 0.14); color: var(--lime); }
.icon-orange { background: rgba(255, 159, 67, 0.14); color: var(--orange); }

.card h3,
.media-card h3,
.detail-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.2;
}

.card p,
.media-card p,
.detail-card p,
.lead-text,
.muted {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.feature-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17, 26, 49, 0.86), rgba(10, 15, 31, 0.92));
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card-body {
  padding: 18px;
}

.carousel-shell {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 6px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track.is-paused {
  scroll-behavior: auto;
}

.carousel-card {
  flex: 0 0 min(360px, 82vw);
  scroll-snap-align: start;
}

.project-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 46, 0.94), rgba(8, 13, 28, 0.96));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.36), var(--glow);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-body {
  padding: 18px;
}

.project-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 22px;
}

.project-meta {
  margin: 0 0 12px;
  color: #cad3ea;
  font-size: 14px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d7ddf0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag.partner {
  background: rgba(200, 245, 66, 0.12);
  color: var(--lime);
}

.tag.direct {
  background: rgba(255, 159, 67, 0.14);
  color: var(--orange);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(6, 9, 21, 0.85);
  box-shadow: var(--shadow);
  z-index: 2;
}

.carousel-btn.prev {
  left: -14px;
}

.carousel-btn.next {
  right: -14px;
}

.carousel-btn:hover {
  border-color: rgba(53, 214, 255, 0.32);
  box-shadow: var(--shadow), var(--glow);
}

.partner-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.partner-panel {
  padding: 28px;
}

.partner-visual {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(53, 214, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(11, 16, 32, 0.82), rgba(17, 26, 49, 0.96));
  border: 1px solid var(--line);
  border-radius: 24px;
}

.partner-visual .big {
  font-size: clamp(72px, 11vw, 140px);
  line-height: 1;
}

.prop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.prop {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.prop strong {
  display: block;
  margin-bottom: 4px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.solution-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 17, 34, 0.88), rgba(9, 13, 26, 0.9));
}

.solution-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  padding: 22px 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 46, 0.9), rgba(9, 13, 26, 0.92));
  text-align: center;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(81, 119, 255, 0.32), rgba(176, 109, 255, 0.34));
  font-family: var(--font-head);
  font-weight: 700;
}

.step h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-family: var(--font-head);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.industry-card {
  padding: 20px 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 46, 0.9), rgba(8, 13, 28, 0.92));
  text-align: center;
}

.industry-card .icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #d6def1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, rgba(200, 245, 66, 0.9), rgba(53, 214, 255, 0.85));
  color: #06101e;
  border-color: transparent;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 46, 0.9), rgba(9, 13, 26, 0.95));
}

.game-card.hidden {
  display: none;
}

.game-card img.cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.game-body {
  padding: 18px;
}

.game-body h3 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 20px;
}

.game-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.store-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(53, 214, 255, 0.3);
  background: rgba(53, 214, 255, 0.08);
  color: #bfe9ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.store-pill:hover {
  background: rgba(53, 214, 255, 0.18);
  border-color: rgba(53, 214, 255, 0.55);
}

.page-hero {
  padding: 56px 0 18px;
}

.page-hero-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 26px;
  align-items: center;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(12, 18, 36, 0.95), rgba(9, 14, 28, 0.96)),
    radial-gradient(circle at top right, rgba(53, 214, 255, 0.14), transparent 28%);
  box-shadow: var(--shadow);
}

.page-hero-shell > :not(.chevron-mark) {
  position: relative;
  z-index: 2;
}

.page-hero-shell h1 {
  margin: 16px 0 12px;
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.page-hero-shell p {
  color: var(--muted);
  max-width: 760px;
}

.page-hero-shell img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
}

.project-index-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-index-card {
  display: block;
}

.project-index-card.hidden {
  display: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-family: var(--font-head);
  font-size: 24px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--cyan);
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-note {
  margin-top: 34px;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(16, 24, 46, 0.9);
  font-size: 14px;
  color: var(--muted);
}

.card-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.card-more:hover {
  text-decoration: underline;
}

.solution-card h4 a:hover {
  color: var(--cyan);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 46, 0.92), rgba(8, 13, 28, 0.94));
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-size: 20px;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.detail-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 46, 0.92), rgba(8, 13, 28, 0.94));
}

.detail-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.detail-card li + li {
  margin-top: 8px;
}

.kpis {
  display: grid;
  gap: 14px;
}

.kpi {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.kpi strong {
  display: block;
  margin-bottom: 4px;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.thumb-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-box {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 46, 0.92), rgba(8, 13, 28, 0.94));
}

.contact-box h3 {
  margin: 0 0 12px;
  font-family: var(--font-head);
}

.contact-box p,
.contact-box li {
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li + li {
  margin-top: 12px;
}

.contact-social {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-social h4 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #dfe7ff;
}

.contact-social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-social-strip a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-social-strip a svg {
  width: 18px;
  height: 18px;
}

.contact-social-strip a:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.contact-list a {
  color: var(--text);
}

.contact-list a:hover {
  color: var(--cyan);
}

.site-footer {
  position: relative;
  margin-top: 80px;
  padding: 60px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 72% 38%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px),
    radial-gradient(circle at 28% 62%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 12, 26, 0.9), rgba(5, 8, 19, 1));
  background-size: 18px 18px, 22px 22px, auto;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(81, 119, 255, 0.08), transparent 70%),
    radial-gradient(circle at 15% 20%, rgba(53, 214, 255, 0.05), transparent 35%);
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-section-title,
.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #dfe7ff;
}

.footer-contact-panel {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-contact-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--cyan);
}

.footer-contact-icon svg {
  width: 22px;
  height: 22px;
}

.footer-contact-block h5 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dfe7ff;
}

.footer-contact-block p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer-contact-block p + p {
  margin-top: 4px;
}

.footer-contact-block a {
  color: var(--text);
}

.footer-contact-block a:hover {
  color: var(--cyan);
}

.footer-social-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-strip a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-strip a svg {
  width: 18px;
  height: 18px;
}

.footer-social-strip a:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.footer-legal {
  color: var(--muted);
  font-size: 13px;
}

.footer-legal a:hover {
  color: var(--cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-brand img {
  height: 54px;
  width: auto;
}

.footer-brand p,
.footer-col li,
.footer-col p {
  color: var(--muted);
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.footer-social a:hover {
  box-shadow: var(--glow);
}

.footer-bottom {
  margin-top: 0;
  padding-top: 18px;
  border-top: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom span:first-child {
  justify-self: start;
}

.footer-bottom span:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.footer-bottom span:last-child {
  justify-self: end;
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .hero-grid,
  .partner-block,
  .page-hero-shell,
  .detail-layout,
  .feature-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .games-grid,
  .industry-grid,
  .project-index-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom span:first-child,
  .footer-bottom span:nth-child(2),
  .footer-bottom span:last-child {
    justify-self: center;
    text-align: center;
  }

  .stats-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-desktop,
  .header-talk {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .solution-grid,
  .games-grid,
  .industry-grid,
  .project-index-grid,
  .detail-grid,
  .footer-main,
  .footer-grid,
  .footer-contact-grid,
  .timeline,
  .stats-bar,
  .prop-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero-shell,
  .page-hero-shell {
    padding: 22px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .carousel-btn {
    display: none;
  }
}
