/* CLEANED CSS BELOW */
:root {
  --bg: #06111d;
  --bg-2: #0a1930;
  --bg-3: #11284a;
  --card: rgba(11, 25, 46, 0.92);
  --card-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef5ff;
  --muted: #adc3de;
  --primary: #0065b6;
  --secondary: #38a8ff;
  --accent: #72d5ff;
  --success: #34d399;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #05101c;
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 101, 182, 0.18), transparent 22%),
    radial-gradient(circle at 92% 8%, rgba(56, 168, 255, 0.14), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, #05101c 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #05101c;
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 101, 182, 0.18), transparent 22%),
    radial-gradient(circle at 92% 8%, rgba(56, 168, 255, 0.14), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, #05101c 100%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 101, 182, 0.18), transparent 22%),
    radial-gradient(circle at 92% 8%, rgba(56, 168, 255, 0.14), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, #05101c 100%);
}

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

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

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

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

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 70px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 6px rgba(0, 101, 182, 0.12);
}

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

.section h2,
.page-hero h1 {
  margin-bottom: 16px;
  font-size: 3.3rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead,
.page-hero p,
.hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.pill,
.tag,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 17, 29, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-logo {
  display: block;
  width: clamp(140px, 16vw, 210px);
  height: auto;
}

.menu-toggle,
.carousel-btn,
.games-dot {
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links,
.nav-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

.lang-switch button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.carousel-btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 34px rgba(0, 101, 182, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
}

.btn-sm {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.hero {
  overflow: hidden;
  padding: 92px 0 58px;
}

.hero-grid,
.page-grid,
.contact-wrap,
.spotlight {
  display: grid;
  gap: 60px;
}

.hero-grid,
.page-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero h1,
.hero-main-title {
  margin: 18px 0;
  font-size: 4.2rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #fff, #9fd9ff 40%, #38a8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions,
.card-actions,
.meta-list,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.card-actions {
  margin-top: auto;
}

.hero-metrics,
.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

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

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

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

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

.metric,
.card,
.project-card,
.service-card,
.academy-card,
.client-card,
.testimonial-card,
.timeline-card,
.contact-panel,
.detail-card {
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.metric,
.card,
.service-card,
.testimonial-card,
.timeline-card,
.contact-panel,
.detail-card {
  padding: 28px;
}

.metric strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.metric span,
.service-card p,
.testimonial-card p,
.timeline-card p,
.item p,
.project-content p,
.academy-content p,
.detail-card p,
.detail-card li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  margin-top: -70px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.hero-orb-1 {
  width: 180px;
  height: 180px;
  background: rgba(0, 101, 182, 0.34);
  top: 10%;
  right: 4%;
}

.hero-orb-2 {
  width: 220px;
  height: 220px;
  background: rgba(56, 168, 255, 0.18);
  bottom: 2%;
  left: -2%;
}

.visual-shell,
.page-media {
  position: relative;
  z-index: 1;
  border-radius: 34px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(14, 25, 49, 0.95), rgba(8, 16, 31, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.screen,
.page-media .media-frame {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen {
  aspect-ratio: 4 / 3.2;
  position: relative;
  background:
    radial-gradient(circle at 18% 24%, rgba(56, 168, 255, 0.16), transparent 22%),
    radial-gradient(circle at 82% 10%, rgba(0, 101, 182, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.screen::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.mock-ui {
  position: absolute;
  z-index: 2;
  inset: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.mock-panel,
.mock-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.12);
}

.mock-panel,
.mock-card,
.mock-chip {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-panel {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mock-small-grid {
  display: grid;
  gap: 10px;
}

.mock-card {
  padding: 14px;
}

.mock-chip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.mock-chip {
  height: 58px;
}

.bar {
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.float-card {
  --float-offset: 0px;
  position: absolute;
  z-index: 6;
  background: linear-gradient(180deg, rgba(8, 16, 31, 0.92), rgba(6, 14, 28, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  transform: translateY(var(--float-offset));
  will-change: transform;
}

.float-1 {
  top: -25px;
  left: -58px;
}

.float-2 {
  top: -8px;
  right: -56px;
  width: 252px;
}

.focus-panel {
  --float-offset: -26px;
}

.float-3 {
  bottom: -36px;
  left: 22px;
  width: 256px;
}

.mini-title {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mini-value {
  margin-top: 6px;
  font-weight: 800;
  font-size: 1.15rem;
}

.spotlight {
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
}

.item-list,
.contact-list,
.feature-list,
.detail-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.item-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(70, 140, 255, 0.18), rgba(40, 90, 200, 0.12));
  border: 1px solid rgba(120, 170, 255, 0.25);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 12px rgba(90, 169, 255, 0.25);
  transition: all 0.25s ease;
}

.material-symbols-rounded {
  font-size: 28px;
  color: #6fb4ff;
  filter: drop-shadow(0 0 6px rgba(90, 169, 255, 0.35));
}

.item:hover .item-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(90, 169, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.item h3,
.project-content h3,
.service-card h3,
.academy-content h3,
.timeline-card h3,
.testimonial-card h3,
.detail-card h3 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
}

.project-card,
.academy-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-thumb,
.academy-thumb,
.wide-banner,
.detail-gallery img,
.detail-gallery video {
  min-height: 220px;
  width: 100%;
  object-fit: cover;
}

.project-thumb,
.academy-thumb,
.wide-banner {
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 101, 182, 0.25), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(56, 168, 255, 0.3), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.project-content,
.academy-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.client-card {
  min-height: 140px;
  place-items: center;
  text-align: center;
  font-weight: 800;
  display: block;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.client-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.quote-mark {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
}

.quote-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.carousel-wrap,
.games-showcase-wrap {
  position: relative;
  margin-top: 34px;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 380px);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.carousel-track::-webkit-scrollbar {
  height: 10px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.carousel-card {
  min-width: 0;
  scroll-snap-align: start;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #eef4ff;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.games-showcase-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 30px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.games-showcase-track::-webkit-scrollbar {
  display: none;
}

.game-slide {
  position: relative;
  min-height: min(78vh, 760px);
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 26, 52, 0.96), rgba(9, 18, 34, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.game-slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.game-slide-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transform: scale(1.02);
  filter: saturate(1.12) contrast(1.04) brightness(1.03);
}

.game-slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.06);
  z-index: 1;
}

.game-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 75%, rgba(0, 101, 182, 0.12), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(56, 168, 255, 0.08), transparent 22%);
}

.game-slide-content {
  position: relative;
  z-index: 2;
  min-height: min(78vh, 760px);
  padding: 36px 32px 86px 32px;
}

.game-slide-inner {
  max-width: 430px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(10, 18, 35, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  margin-top: 150px;
  margin-left: 18px;
}

.game-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #1f8fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0065b6, #38a8ff);
  box-shadow: 0 0 0 6px rgba(0, 101, 182, 0.14);
}

.game-slide .tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7e7ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-slide-inner h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #eef4ff;
}

.game-slide-inner p {
  margin: 0;
  color: #d0def4;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 100%;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.game-meta .tag-label {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eef4ff;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[lang="es"] .game-meta .lang-es {
  display: inline-flex;
}

html[lang="en"] .game-meta .lang-en {
  display: inline-flex;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.project-content>p,
.academy-content>p {
  margin-bottom: 0;
}

#appsCarousel .project-content {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-content: start;
}

#appsCarousel .project-content > p {
  min-height: 210px;
}

.card-actions .btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
  border-radius: 14px;
}

.game-side-panel {
  position: absolute;
  right: 28px;
  top: 34%;
  transform: translateY(-50%);
  z-index: 2;
  width: 230px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(10, 18, 35, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.game-side-panel h4 {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: #eef4ff;
}

.game-side-panel p {
  margin: 0;
  color: #d0def4;
  line-height: 1.55;
  font-size: 0.78rem;
}

.game-stats {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.game-stat {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.game-stat strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #79bfff;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.game-stat span {
  color: #eef4ff;
  font-weight: 700;
  font-size: 0.86rem;
}

.games-showcase-controls {
  position: absolute;
  inset-inline: 0;
  bottom: 24px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  pointer-events: none;
}

.games-showcase-nav,
.games-showcase-indicators {
  pointer-events: auto;
}

.games-showcase-nav {
  display: flex;
  gap: 12px;
}

.games-showcase-indicators {
  display: flex;
  gap: 10px;
  align-items: center;
}

.games-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.games-dot.active {
  background: linear-gradient(135deg, #0065b6, #38a8ff);
  box-shadow: 0 0 0 4px rgba(0, 101, 182, 0.18);
}

.cta-band {
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(0, 101, 182, 0.16), rgba(56, 168, 255, 0.18)), rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-band h3 {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.8;
}

.contact-wrap {
  grid-template-columns: 1fr 0.92fr;
  margin-top: 34px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.page-hero {
  padding: 72px 0 24px;
}

.page-media .media-frame {
  aspect-ratio: 16 / 10;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-top: 34px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.detail-gallery img,
.detail-gallery video {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.04);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0 42px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

[data-lang] {
  display: none;
}

[data-lang].show {
  display: block;
}

[data-lang-inline] {
  display: none;
}

[data-lang-inline].show {
  display: inline-flex;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 26, 52, 0.96), rgba(9, 18, 34, 0.96));
  box-shadow: var(--shadow);
  padding: 20px 0;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(9, 18, 34, 1), rgba(9, 18, 34, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(9, 18, 34, 1), rgba(9, 18, 34, 0));
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: tech-marquee 28s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@keyframes tech-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(var(--float-offset));
  }

  50% {
    transform: translateY(calc(var(--float-offset) - 8px));
  }
}

.focus-panel {
  animation-delay: 1s;
}

.float-3 {
  animation-delay: 2s;
}

.studio-dashboard {
  width: 100%;
  max-width: 340px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.studio-dashboard-screen {
  width: 100%;
  padding: 16px;
  border-radius: 26px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.studio-dashboard-screen::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.studio-window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #9fb6d9;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.studio-window-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  flex: 0 0 auto;
}

.studio-window-top small {
  margin-left: 4px;
  font-size: 0.78rem;
  color: #9fb6d9;
}

.studio-video-wrap {
  position: relative;
  width: 100%;
  height: 185px;
  min-height: 185px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.studio-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.03);
}

.studio-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 20% 20%, rgba(0, 101, 182, 0.1), transparent 35%);
  pointer-events: none;
}

.studio-dashboard-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.studio-dashboard-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e6f0ff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.studio-dashboard-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 101, 182, 0.18);
  border: 1px solid rgba(56, 168, 255, 0.24);
  color: #bfe2ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.studio-dashboard-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.studio-app-card {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-app-card:hover {
  transform: translateY(-2px) scale(1.04);
}

.studio-app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.toggle-description-btn {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 4;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 15, 30, 0.72);
  color: #eef4ff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: all 0.25s ease;
}

.toggle-description-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  background: rgba(8, 15, 30, 0.86);
  border-color: rgba(90, 169, 255, 0.28);
}

.game-slide.description-hidden .game-slide-inner,
.game-slide.description-hidden .game-side-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}

.game-slide-inner,
.game-side-panel {
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.store-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  align-items: center;
}

.project-content .store-actions {
  margin-top: 14px;
}

.project-content .card-actions+.store-actions {
  margin-top: 14px;
}

.store-btn img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-btn:hover img {
  transform: translateY(-2px);
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .float-1 {
    left: -24px;
  }

  .float-2 {
    right: -18px;
  }

  .hero-grid,
  .page-grid,
  .spotlight,
  .grid-3,
  .grid-4,
  .grid-5,
  .detail-grid,
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .page-media {
    order: 0;
  }

  .game-slide {
    min-height: 700px;
  }

  .game-slide-content {
    padding: 28px 24px 82px 24px;
  }

  .game-slide-inner {
    max-width: 400px;
    margin-top: 120px;
    margin-left: 8px;
  }

  .game-side-panel {
    width: 210px;
    right: 20px;
    top: 31%;
  }
}

@media (max-width: 860px) {
  .hero-main-title {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .hero-orb {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: rgba(6, 17, 29, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

  .nav-panel.open,
  .nav-links,
  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-metrics,
  .spotlight,
  .grid-3,
  .grid-4,
  .grid-5,
  .detail-grid,
  .detail-gallery,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    grid-auto-columns: minmax(280px, 88vw);
  }

  .mock-ui {
    grid-template-columns: 1fr;
  }

  .screen {
    aspect-ratio: 4 / 4.4;
  }

  .float-card {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .game-slide {
    min-height: auto;
  }

  .game-slide-content {
    min-height: auto;
    padding: 18px 18px 78px 18px;
  }

  .game-slide-inner {
    max-width: 100%;
    margin-top: 70px;
    margin-left: 0;
  }

  .game-slide-inner h3 {
    font-size: clamp(1.45rem, 7vw, 2.3rem);
  }

  .game-side-panel {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 14px;
  }

  .games-showcase-controls {
    padding: 0 14px;
    bottom: 14px;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }

  .brand {
    align-items: center;
  }

  .studio-dashboard {
    max-width: 100%;
  }

  .studio-video-wrap {
    height: 185px;
    min-height: 185px;
  }
}

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

  .nav {
    min-height: 72px;
  }

  .brand-logo {
    width: 138px;
  }

  .section,
  .section-sm {
    overflow-x: clip;
  }

  .carousel-wrap,
  .games-showcase-wrap,
  .logo-marquee {
    overflow: hidden;
  }

  .carousel-track {
    grid-auto-columns: minmax(0, calc(100vw - 88px));
    gap: 14px;
    padding-right: 18px;
  }

  #appsCarousel {
    grid-auto-columns: minmax(0, calc(100vw - 88px));
    padding-right: 22px;
  }

  .carousel-card,
  .project-card,
  .academy-card {
    min-width: 0;
  }

  #appsCarousel .project-card {
    border-radius: 22px;
  }

  .project-thumb,
  .academy-thumb {
    min-height: 180px;
  }

  #appsCarousel .project-thumb {
    min-height: 190px;
  }
}

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

  .hero,
  .page-hero {
    padding-top: 58px;
  }

  .hero h1,
  .hero-main-title {
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }

  .metric,
  .card,
  .service-card,
  .testimonial-card,
  .timeline-card,
  .contact-panel,
  .detail-card {
    padding: 22px;
  }

  .games-showcase-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  #appsCarousel {
    grid-auto-columns: minmax(0, calc(100vw - 74px));
    gap: 12px;
    padding-right: 18px;
  }

  #appsCarousel .project-thumb {
    min-height: 174px;
  }
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 120;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  width: min(100%, 1100px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(8, 15, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner__content {
  min-width: 0;
}

.cookie-banner__content strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--text);
}

.cookie-banner__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.cookie-banner__link {
  text-decoration: none;
}

@media (max-width: 860px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 auto;
  }
}