:root {
  --bg: #0a1628;
  --bg-card: #111d33;
  --bg-elevated: #162440;
  --cyan: #00d4ff;
  --cyan-dim: #00a8cc;
  --silver: #c8d4e8;
  --muted: #8b9cb8;
  --white: #f0f4fc;
  --accent: #3d7eff;
  --radius: 14px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, sans-serif;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--silver);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Animated background (injected by site.js) */
.bg-motion {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-motion__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
  will-change: transform;
}

.bg-motion__orb--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.55), transparent 70%);
  animation: bg-drift-1 22s ease-in-out infinite alternate;
}

.bg-motion__orb--2 {
  width: min(45vw, 360px);
  height: min(45vw, 360px);
  right: -10%;
  top: 35%;
  background: radial-gradient(circle, rgba(61, 126, 255, 0.5), transparent 70%);
  animation: bg-drift-2 28s ease-in-out infinite alternate;
}

.bg-motion__orb--3 {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  bottom: -15%;
  left: 30%;
  background: radial-gradient(circle, rgba(120, 80, 255, 0.35), transparent 70%);
  animation: bg-drift-3 20s ease-in-out infinite alternate;
}

.bg-motion__grid {
  position: absolute;
  inset: -50%;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(58deg);
  animation: bg-grid-scroll 24s linear infinite;
}

.bg-motion__particles {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(0, 212, 255, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 85% 15%, rgba(0, 212, 255, 0.7), transparent),
    radial-gradient(2px 2px at 45% 55%, rgba(240, 244, 252, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 70% 80%, rgba(61, 126, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 25% 75%, rgba(0, 212, 255, 0.6), transparent),
    radial-gradient(2px 2px at 92% 45%, rgba(0, 212, 255, 0.5), transparent);
  background-size: 100% 100%;
  animation: bg-particles-float 18s ease-in-out infinite alternate;
}

.bg-motion__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 212, 255, 0.03) 48%,
    rgba(0, 212, 255, 0.06) 50%,
    rgba(0, 212, 255, 0.03) 52%,
    transparent 100%
  );
  background-size: 100% 240px;
  animation: bg-scan 8s linear infinite;
  opacity: 0.6;
}

@keyframes bg-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(8vw, 12vh) scale(1.08); }
}

@keyframes bg-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-10vw, -8vh) scale(1.05); }
}

@keyframes bg-drift-3 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6vw, -10vh) scale(1.1); }
}

@keyframes bg-grid-scroll {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

@keyframes bg-particles-float {
  from { transform: translateY(0); opacity: 0.4; }
  to { transform: translateY(-24px); opacity: 0.65; }
}

@keyframes bg-scan {
  from { background-position: 0 -240px; }
  to { background-position: 0 100vh; }
}

.site-header,
main,
.site-footer,
.loading-msg {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .bg-motion__orb,
  .bg-motion__grid,
  .bg-motion__particles,
  .bg-motion__scan {
    animation: none !important;
  }

  .bg-motion__grid {
    opacity: 0.08;
  }
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--white);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand img {
  height: 44px;
  width: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-text {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: block;
}

.footer-brand-name.hidden {
  display: none !important;
}

.brand-highlight {
  background: linear-gradient(120deg, var(--cyan), var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.hero-brand {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.75rem;
  letter-spacing: 0.03em;
}

.email-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 560px) {
  .email-cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.email-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.email-card.primary {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.08);
}

.email-card h3 {
  margin: 0 0 0.35rem;
  color: var(--white);
  font-size: 1rem;
}

.email-card .email-desc {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.email-card a.email-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-all;
  text-decoration: none;
}

.email-card.primary a.email-link {
  color: var(--cyan);
  font-size: 1.05rem;
}

.footer-brand-name {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.15rem;
}

.footer-emails {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.footer-emails p {
  margin: 0.35rem 0;
}

.footer-emails .label {
  color: var(--muted);
  font-size: 0.8rem;
  display: block;
}

.footer-emails a {
  text-decoration: none;
  font-weight: 600;
}

.footer-emails .primary-email a {
  color: var(--cyan);
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: var(--bg-card);
  color: var(--cyan);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 1.2rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--silver);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cyan);
}

.hero {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 212, 255, 0.15), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 1rem;
}

.hero .sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 42ch;
}

.hero-logo-wrap {
  text-align: center;
}

.hero-logo-wrap img {
  margin-inline: auto;
  max-height: 220px;
  filter: drop-shadow(0 24px 48px rgba(0, 212, 255, 0.2));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--accent));
  color: var(--bg);
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 2px solid rgba(0, 212, 255, 0.45);
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.5rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.games-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.game-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-4px);
}

.game-card-thumb {
  aspect-ratio: 1;
  background: var(--bg-elevated);
  overflow: hidden;
}

.game-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-card h3 {
  margin: 0 0 0.35rem;
  color: var(--white);
  font-size: 1.2rem;
}

.game-card .tagline {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--cyan-dim);
}

.game-card .desc {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan);
}

.badge-status,
.badge-coming-soon {
  background: rgba(255, 196, 77, 0.15);
  color: #ffc44d;
}

.badge-live {
  background: rgba(61, 214, 140, 0.15);
  color: #3dd68c;
}

.game-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.game-card-actions .btn {
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}

.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 212, 255, 0.1), transparent);
}

.page-hero h1 {
  color: var(--white);
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.page-hero p {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--muted);
}

.page-content {
  padding: 2rem 0 4rem;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.content-card h2,
.content-card h3 {
  color: var(--white);
  margin-top: 0;
}

.values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--muted);
}

.contact-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.site-footer {
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-grid img {
  height: 40px;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--muted);
}

.loading-msg {
  text-align: center;
  padding: 1rem;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.error-page {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page h1 {
  font-size: 4rem;
  color: var(--cyan);
  margin: 0;
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid rgba(0, 212, 255, 0.12);
    padding: 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Game Details Page Styles --- */

.hero-visual {
  position: relative;
  text-align: center;
}

.hero-logo {
  width: min(100%, 320px);
  margin-inline: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 212, 255, 0.15));
}

.hero-phone {
  width: min(100%, 280px);
  margin: 1rem auto 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 4px solid var(--bg-elevated);
}

.section-alt {
  background: var(--bg-elevated);
}

/* Features */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--white);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Screenshots */
.screenshot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.screenshot-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
  aspect-ratio: 9 / 16;
}

.screenshot-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Trailer */
.trailer-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
  aspect-ratio: 16 / 9;
}

.trailer-wrap iframe,
.trailer-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* Download */
.download-section {
  text-align: center;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin: 2rem 0;
}

.store-badges a {
  display: block;
  opacity: 1;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-badges a.disabled {
  pointer-events: none;
  opacity: 0.35;
  filter: grayscale(1);
}

.btn-download-store {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(10, 22, 40, 0.7);
  border: 2px solid rgba(0, 212, 255, 0.2);
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  color: var(--white);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  min-width: 220px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-download-store:hover {
  background: linear-gradient(135deg, var(--cyan), var(--accent));
  color: var(--bg);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.45);
}

.btn-download-store .store-logo-svg {
  flex-shrink: 0;
  fill: currentColor;
  transition: color 0.25s, fill 0.25s;
}

.store-btn-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.store-btn-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.25s;
}

.btn-download-store:hover .store-btn-subtitle {
  opacity: 0.85;
}

.store-btn-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.newsletter {
  max-width: 420px;
  margin: 2rem auto 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.newsletter h3 {
  margin: 0 0 0.5rem;
  color: var(--white);
}

.newsletter p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1 1 180px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: var(--bg);
  color: var(--white);
  border-radius: 999px;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--cyan);
}

/* Social */
.social-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 50%;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.social-row a:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.social-row img {
  width: 22px;
  height: 22px;
}

/* WhatsApp chat bubble (hidden when Tawk/Crisp live chat is on — see liveChat in studio.json) */
.wa-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.wa-bubble {
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #25d366, #128c7e);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-bubble:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.wa-panel {
  width: min(340px, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.15);
  box-shadow: var(--shadow);
  animation: wa-panel-in 0.25s ease;
}

@keyframes wa-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wa-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.wa-panel__titles {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wa-panel__titles strong {
  color: var(--white);
  font-size: 1rem;
}

.wa-panel__titles span {
  color: var(--muted);
  font-size: 0.85rem;
}

.wa-panel__close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

.wa-panel__close:hover {
  color: var(--white);
}

.wa-panel__label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.wa-panel__input {
  width: 100%;
  resize: vertical;
  min-height: 88px;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: var(--bg-elevated);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.wa-panel__input:focus {
  outline: 2px solid rgba(0, 212, 255, 0.35);
  outline-offset: 1px;
}

.wa-panel__send {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(145deg, #25d366, #128c7e) !important;
  border: none;
  color: #fff !important;
}

.wa-panel__send:hover {
  color: #fff !important;
  filter: brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .wa-panel {
    animation: none;
  }

  .wa-bubble:hover {
    transform: none;
  }
}


/* 2. Studio Stats Banner */
.stats-banner {
  background: var(--bg-elevated);
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--cyan), #3d7eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* 3. Tech & Features Grid */
.tech-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.tech-card {
  background: rgba(17, 29, 51, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.12);
}

.tech-card-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 1.25rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.12);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.tech-card:hover .tech-card-icon {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--white);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.tech-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--white);
}

.tech-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* 4. Newsletter Signup Section */
.newsletter-card {
  max-width: 650px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
}

.newsletter-card-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.newsletter-card-content h2 {
  color: var(--white);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.newsletter-card-content p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  max-width: 48ch;
  margin-inline: auto;
}

.newsletter-card .newsletter-form {
  justify-content: center;
}

/* 5. Social Hub Section */
.social-hub {
  text-align: center;
}

.social-hub-inner {
  max-width: 600px;
}

.social-hub h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.social-hub p.sub {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Large social icons on hover styling */
.large-socials {
  margin-top: 1.5rem;
  gap: 1.25rem;
}

.large-socials a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.large-socials a svg {
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease;
}

.large-socials a:hover {
  transform: translateY(-4px) scale(1.05);
}

.large-socials a:hover svg {
  transform: scale(1.1);
}

/* Brand specific custom coloring */
.large-socials a.instagram:hover {
  color: #ff3b7e !important;
  border-color: #ff3b7e !important;
  box-shadow: 0 0 20px rgba(255, 59, 126, 0.35);
}

.large-socials a.facebook:hover {
  color: #1877f2 !important;
  border-color: #1877f2 !important;
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.35);
}

.large-socials a.youtube:hover {
  color: #ff0000 !important;
  border-color: #ff0000 !important;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.35);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Careers Page Styles --- */
.job-card {
  background: rgba(17, 29, 51, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.job-card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 212, 255, 0.08);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.job-card-title {
  margin: 0;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}

.job-card-type {
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan);
  font-size: 0.82rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.15);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.job-card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Careers application form styling */
.careers-form input,
.careers-form select,
.careers-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

.careers-form input:focus,
.careers-form select:focus,
.careers-form textarea:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
  outline: none;
}

.careers-form select option {
  background-color: var(--bg-card);
  color: var(--white);
}

.careers-form input[type="file"]:focus {
  border-color: rgba(0, 212, 255, 0.5) !important;
  box-shadow: none;
}

/* --- Team Page Styles --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.team-card {
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.2) !important;
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.08);
}

/* --- FAQ Page Styles --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.faq-trigger:hover {
  color: var(--cyan) !important;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

/* --- Press Kit Page Styles --- */
.press-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .press-layout {
    grid-template-columns: 2.5fr 1fr;
  }
}

.factsheet-table {
  width: 100%;
  border-collapse: collapse;
}

.factsheet-table th {
  text-align: left;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem 0.75rem 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.05);
  vertical-align: top;
}

.factsheet-table td {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.75rem 0 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.05);
  vertical-align: top;
}

.factsheet-table tr:last-child th,
.factsheet-table tr:last-child td {
  border-bottom: none;
}

/* --- Print / PDF Export Styles --- */
@media print {
  /* Force white background and black text */
  *, *::before, *::after {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border-color: #ddd !important;
  }

  /* Hide all UI chrome */
  .site-header,
  .site-footer,
  .bg-motion,
  .nav-toggle,
  .privacy-pdf,
  #loading-msg {
    display: none !important;
  }

  /* Remove hero dark background, keep text */
  .page-hero {
    background: none !important;
    padding: 1rem 0 0.5rem !important;
  }

  .page-hero h1 {
    font-size: 1.8rem !important;
    color: #111 !important;
  }

  .page-hero p {
    font-size: 0.9rem !important;
    color: #555 !important;
  }

  /* Clean up content cards */
  .content-card {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    margin-bottom: 1rem !important;
    padding: 1rem !important;
    page-break-inside: avoid;
  }

  .content-card h2 {
    font-size: 1.1rem !important;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .content-card p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.5rem;
  }

  /* Page margins for print */
  @page {
    margin: 15mm 15mm 15mm 15mm;
    size: A4;
  }

  main {
    padding: 0 !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* ── Back To Top Button ───────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--cyan);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

/* ── Cookie Consent Banner ────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-bar.visible {
  transform: translateY(0);
}
.cookie-msg {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
}
.cookie-link {
  color: var(--cyan);
  text-decoration: underline;
  margin-left: 0.3rem;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
}

/* ── Testimonials ─────────────────────────────────────── */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(17, 29, 51, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.07);
}
.testimonial-stars {
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-quote {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  font-style: italic;
  flex: 1;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 212, 255, 0.07);
}
.testimonial-name {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-game {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(0, 212, 255, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

/* ── Screenshot Lightbox ──────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.15);
  transition: transform 0.2s;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.1);
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--cyan);
  font-size: 2.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  line-height: 1;
}
.lightbox-arrow:hover {
  background: rgba(0, 212, 255, 0.18);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ── 404 Page ─────────────────────────────────────────── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-page-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 4rem 1rem;
}
.error-code {
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), #7b2ff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
}
.error-icon {
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.error-title {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 0;
}
.error-message {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}
.error-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ── Coming Soon Page ─────────────────────────────────── */
.coming-soon-page {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.coming-soon-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 212, 255, 0.07) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 70%, rgba(123, 47, 247, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.coming-soon-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 700px;
}
.coming-soon-eyebrow {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}
.coming-soon-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  margin: 0;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.25);
}
.coming-soon-tagline {
  color: var(--cyan);
  font-size: 1.15rem;
  font-style: italic;
  margin: 0;
}
.coming-soon-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}
.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
  justify-content: center;
}
.countdown-box {
  background: rgba(17, 29, 51, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  min-width: 80px;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.06);
}
.countdown-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  font-weight: 600;
}
.countdown-sep {
  font-size: 2.5rem;
  color: rgba(0, 212, 255, 0.3);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.coming-soon-form-wrap {
  width: 100%;
  max-width: 480px;
  margin-top: 0.5rem;
}

