/* =================================================================
   GOYO GAMES — Stylesheet
   Brand colors ONLY: #54145D (purple), #FF8500 (orange),
   #F3E8DD (cream), #000000 (black), #FFFFFF (white)
   ================================================================= */

:root{
  /* ---- brand colors (the only hex values used in this file) ---- */
  --c-purple: #54145D;
  --c-orange: #FF8500;
  --c-cream:  #F3E8DD;
  --c-black:  #000000;
  --c-white:  #FFFFFF;

  /* ---- derived tones: same brand colors blended with black/white ---- */
  --c-purple-deep: linear-gradient(180deg, var(--c-purple), rgba(0,0,0,0.35));
  --shadow-soft: 0 16px 40px rgba(0,0,0,0.12);
  --shadow-strong: 0 24px 60px rgba(0,0,0,0.28);
  --shadow-card: 0 10px 28px rgba(0,0,0,0.10);
  --ring: 0 0 0 3px rgba(255,133,0,0.55);

  /* ---- type ---- */
  --font-display: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* ---- radius scale (20px – 40px per brief) ---- */
  --r-sm: 20px;
  --r-md: 28px;
  --r-lg: 34px;
  --r-xl: 40px;

  /* ---- motion ---- */
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.5s;
}

/* ================= RESET ================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  background: var(--c-cream);
  color: var(--c-black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }

:focus-visible{
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-orange);
  color: var(--c-black);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus{ left: 0; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================= LAYOUT HELPERS ================= */
.container{
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section{
  position: relative;
  padding: clamp(72px, 11vw, 140px) 0;
  overflow: hidden;
}
.section--cream{ background: var(--c-cream); color: var(--c-black); }
.section--dark{
  background: var(--c-purple);
  background-image: linear-gradient(165deg, var(--c-purple) 0%, var(--c-purple) 55%, rgba(0,0,0,0.28) 100%);
  color: var(--c-white);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-purple);
  background: rgba(84,20,93,0.08);
  padding: 8px 18px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.eyebrow--light{
  color: var(--c-orange);
  background: rgba(255,255,255,0.12);
}
.center{ text-align: center; }

.section-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.15;
  color: var(--c-purple);
  margin-bottom: 20px;
  max-width: 16ch;
}
.section-title.center{ max-width: 22ch; margin-left: auto; margin-right: auto; }
.section-title--light{ color: var(--c-white); }

.section-sub{
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
  margin: 0 auto 56px;
}
.section--cream .section-sub{ color: rgba(0,0,0,0.65); }

.body-text{
  font-size: 17px;
  line-height: 1.75;
  color: rgba(0,0,0,0.7);
  margin-bottom: 18px;
  max-width: 52ch;
}

/* ================= BUTTONS ================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-bounce), box-shadow var(--dur-fast) var(--ease-smooth), background var(--dur-fast);
  will-change: transform;
}
.btn:hover{ transform: translateY(-3px) scale(1.03); }
.btn:active{ transform: translateY(0) scale(0.98); }

.btn-primary{
  background: var(--c-orange);
  color: var(--c-black);
  box-shadow: 0 10px 26px rgba(255,133,0,0.35);
}
.btn-primary:hover{ box-shadow: 0 16px 34px rgba(255,133,0,0.45); }

.btn-outline{
  background: transparent;
  color: var(--c-white);
  border: 2px solid var(--c-white);
}
.btn-outline:hover{ background: rgba(255,255,255,0.12); }

.btn-large{ padding: 18px 38px; font-size: 17px; }
.btn-small{ padding: 11px 22px; font-size: 14px; }
.btn-block{ width: 100%; }

/* ================= HEADER / NAV ================= */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  transition: background var(--dur-med) var(--ease-smooth), padding var(--dur-med) var(--ease-smooth), box-shadow var(--dur-med);
}
.site-header.is-scrolled{
  background: rgba(243,232,221,0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 10px 0;
  box-shadow: 0 8px 26px rgba(0,0,0,0.08);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo{ display: inline-flex; }
.logo-mark{
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--c-white);
  letter-spacing: 0.02em;
}
.site-header:not(.is-scrolled) .logo-mark{ color: var(--c-white); }
.site-header.is-scrolled .logo-mark{ color: var(--c-purple); }
.logo-letter{ display: inline-block; }
.logo-blob{
  width: 0.62em;
  height: 0.62em;
  background: var(--c-orange);
  border-radius: 50%;
  display: inline-block;
  margin: 0 1px;
  position: relative;
  top: -0.02em;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.12);
  animation: blobPulse 3.4s ease-in-out infinite;
}
.logo-blob--small{ width: 0.42em; height: 0.42em; animation-delay: 0.6s; }
@keyframes blobPulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.14); }
}

.primary-nav ul{
  display: flex;
  gap: 34px;
}
.primary-nav a{
  font-weight: 600;
  font-size: 15px;
  color: var(--c-white);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur-fast);
}
.site-header.is-scrolled .primary-nav a{ color: var(--c-purple); }
.primary-nav a::after{
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 3px;
  background: var(--c-orange);
  border-radius: 999px;
  transition: width var(--dur-fast) var(--ease-smooth);
}
.primary-nav a:hover::after{ width: 100%; }

.nav-cta{ flex-shrink: 0; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: var(--r-sm);
}
.nav-toggle-bar{
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--c-white);
  transition: all var(--dur-fast) var(--ease-smooth);
}
.site-header.is-scrolled .nav-toggle-bar{ background: var(--c-purple); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.mobile-nav{
  background: var(--c-cream);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  margin: 0 16px;
  padding: 24px;
  box-shadow: var(--shadow-strong);
}
.mobile-nav ul{ display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.mobile-nav a{
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: var(--c-purple);
  padding: 12px 8px;
  border-radius: var(--r-sm);
}
.mobile-nav a:hover{ background: rgba(84,20,93,0.06); }

/* ================= FLOATING BLOBS (signature element) ================= */
.blob{
  position: absolute;
  background: var(--c-orange);
  border-radius: 44% 56% 58% 42% / 52% 46% 54% 48%;
  opacity: 0.9;
  filter: blur(0px);
  animation: floatBlob 9s ease-in-out infinite, morphBlob 12s ease-in-out infinite;
}
.blob--outline{
  background: transparent;
  border: 3px solid var(--c-orange);
  opacity: 0.55;
}
.blob--soft{ opacity: 0.16; background: var(--c-white); }
.section--cream .blob--soft{ background: var(--c-purple); opacity: 0.07; }

@keyframes floatBlob{
  0%, 100%{ transform: translate(0,0) rotate(0deg); }
  33%{ transform: translate(18px,-26px) rotate(8deg); }
  66%{ transform: translate(-14px,16px) rotate(-6deg); }
}
@keyframes morphBlob{
  0%, 100%{ border-radius: 44% 56% 58% 42% / 52% 46% 54% 48%; }
  50%{ border-radius: 58% 42% 46% 54% / 44% 58% 42% 56%; }
}

.hero-blobs{ position: absolute; inset: 0; z-index: 0; }
.blob--1{ width: 110px; height: 110px; top: 8%; left: 2%; animation-duration: 8s, 11s; }
.blob--2{ width: 56px; height: 56px; top: 86%; left: 6%; animation-duration: 10s, 14s; animation-delay: 1s, 0s; }
.blob--3{ width: 44px; height: 44px; top: 20%; left: 46%; animation-duration: 7s, 9s; animation-delay: 0.4s; }
.blob--4{ width: 160px; height: 160px; top: 62%; left: 80%; animation-duration: 12s, 15s; }
.blob--5{ width: 34px; height: 34px; top: 8%; left: 88%; animation-duration: 6s, 8s; }

.section-blobs{ position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob--top-right{ width: 260px; height: 260px; top: -90px; right: -90px; }
.blob--top-left{ width: 220px; height: 220px; top: -60px; left: -80px; }
.blob--mid-left{ width: 200px; height: 200px; top: 40%; left: -100px; }
.blob--mid-right{ width: 220px; height: 220px; top: 30%; right: -110px; }
.blob--bottom-right{ width: 180px; height: 180px; bottom: -60px; right: 10%; }

/* ================= HERO ================= */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-purple);
  background-image: radial-gradient(ellipse at 80% 0%, rgba(255,133,0,0.10), transparent 55%),
                     linear-gradient(170deg, var(--c-purple) 0%, var(--c-purple) 60%, rgba(0,0,0,0.32) 100%);
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-title{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-white);
  font-size: clamp(48px, 8.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 6px 0 20px;
}
.hero-title-line{ display: block; }
.o-blob{
  display: inline-block;
  color: transparent;
  width: 0.78em;
  height: 0.78em;
  background: var(--c-orange);
  border-radius: 38% 62% 60% 40% / 55% 45% 60% 40%;
  vertical-align: -0.05em;
  margin: 0 -0.02em;
}
.hero-tagline{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--c-orange);
  margin-bottom: 18px;
}
.hero-sub{
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin-bottom: 36px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual{ position: relative; display: flex; justify-content: center; }
.phone-mockup{
  position: relative;
  width: min(280px, 80%);
  aspect-ratio: 9/18.5;
  background: var(--c-black);
  border-radius: var(--r-xl);
  padding: 14px;
  box-shadow: var(--shadow-strong), 0 0 0 2px rgba(255,255,255,0.06);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat{
  0%, 100%{ transform: translateY(0) rotate(-2deg); }
  50%{ transform: translateY(-16px) rotate(1deg); }
}
.phone-notch{
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 16px;
  background: var(--c-black);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen{
  width: 100%; height: 100%;
  background: var(--c-cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.phone-scene{
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--c-cream), rgba(84,20,93,0.10));
}
.scene-shape{
  position: absolute;
  border-radius: 50%;
  animation: floatBlob 5s ease-in-out infinite;
}
.scene-shape--1{ width: 64px; height: 64px; background: var(--c-purple); opacity: 0.85; top: 18%; left: 14%; }
.scene-shape--2{ width: 40px; height: 40px; background: var(--c-orange); top: 38%; left: 58%; animation-delay: 0.6s; }
.scene-shape--3{ width: 28px; height: 28px; background: var(--c-white); top: 60%; left: 22%; animation-delay: 1.1s; box-shadow: var(--shadow-card); }
.scene-shape--4{ width: 50px; height: 50px; border-radius: 16px; background: var(--c-purple); opacity: 0.5; top: 66%; left: 60%; animation-delay: 0.3s; }
.scene-score{
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-orange);
  background: rgba(0,0,0,0.06);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
}
.scene-play{
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-orange);
  color: var(--c-black);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(255,133,0,0.45);
}
.orbit-pill{
  position: absolute;
  background: var(--c-orange);
  border-radius: 999px;
  animation: floatBlob 7s ease-in-out infinite;
}
.orbit-pill--1{ width: 90px; height: 34px; top: 6%; left: -6%; transform: rotate(-18deg); }
.orbit-pill--2{ width: 60px; height: 24px; bottom: 8%; right: -4%; transform: rotate(14deg); background: transparent; border: 3px solid var(--c-orange); animation-delay: 1s; }

.scroll-cue{
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  z-index: 1;
}
.scroll-cue span{
  position: absolute;
  top: 6px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  background: var(--c-orange);
  border-radius: 50%;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue{
  0%{ top: 6px; opacity: 1; }
  70%{ opacity: 1; }
  100%{ top: 24px; opacity: 0; }
}

/* ================= ABOUT ================= */
.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.mission-pill{
  background: var(--c-purple);
  color: var(--c-white);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-top: 8px;
  box-shadow: var(--shadow-card);
}
.mission-pill-label{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 8px;
}
.mission-pill p{ font-size: 18px; line-height: 1.55; font-weight: 500; }

.about-cards{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.value-card{
  background: var(--c-purple);
  color: var(--c-white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease-bounce), box-shadow var(--dur-fast);
}
.value-card:hover{ transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-strong); }
.value-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--c-orange);
  color: var(--c-black);
  border-radius: 14px;
  margin-bottom: 14px;
}
.value-card h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 8px;
}
.value-card p{ font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.82); }

/* ================= GAMES ================= */
.games-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.game-card{
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transition: transform var(--dur-med) var(--ease-bounce), box-shadow var(--dur-med);
}
.game-card:hover{ transform: translateY(-10px) scale(1.015); }
.game-art{
  background: linear-gradient(150deg, var(--c-purple), rgba(0,0,0,0.25));
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  fill: var(--c-cream);
  opacity: 0.85;
}
.game-body{ padding: 26px 26px 30px; }
.game-body h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--c-purple);
  margin-bottom: 10px;
}
.game-body p{
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0,0,0,0.65);
  margin-bottom: 22px;
  min-height: 76px;
}
.play-btn svg{ flex-shrink: 0; }

/* ================= FEATURES (Why Choose) ================= */
.features-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card{
  background: var(--c-purple);
  color: var(--c-white);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease-bounce), box-shadow var(--dur-fast);
}
.feature-card:hover{ transform: translateY(-8px) rotate(0.6deg); box-shadow: var(--shadow-strong); }
.feature-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--c-orange);
  color: var(--c-black);
  border-radius: 16px;
  margin-bottom: 18px;
}
.feature-card h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 10px;
}
.feature-card p{ font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.82); }

/* ================= STATS ================= */
.stats-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 10px;
}
.stat-number{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 56px);
  color: var(--c-orange);
}
.stat-label{
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

/* ================= CAREERS ================= */
.careers-card{
  position: relative;
  z-index: 1;
  background: var(--c-purple);
  background-image: linear-gradient(155deg, var(--c-purple) 0%, var(--c-purple) 60%, rgba(0,0,0,0.3) 100%);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.careers-card .eyebrow{ margin: 0 auto 18px; }
.careers-card .section-title{ max-width: 20ch; margin: 0 auto 18px; }
.careers-text{
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  margin: 0 auto 32px;
}
.careers-blobs{ position: absolute; inset: 0; z-index: 0; }
.blob--careers-1{ width: 200px; height: 200px; top: -70px; left: -60px; }
.blob--careers-2{ width: 150px; height: 150px; bottom: -60px; right: -40px; }

/* ================= CONTACT ================= */
.contact-inner{ position: relative; z-index: 1; text-align: center; }
.contact-email{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--c-cream);
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,133,0,0.5);
  padding: 16px 32px;
  border-radius: 999px;
  margin-bottom: 40px;
  transition: transform var(--dur-fast) var(--ease-bounce), background var(--dur-fast), border-color var(--dur-fast);
}
.contact-email:hover{ transform: translateY(-3px) scale(1.02); background: rgba(255,133,0,0.14); border-color: var(--c-orange); }

.social-row{
  display: flex;
  justify-content: center;
  gap: 16px;
}
.social-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.1);
  color: var(--c-white);
  border-radius: 50%;
  transition: transform var(--dur-fast) var(--ease-bounce), background var(--dur-fast), color var(--dur-fast);
}
.social-icon:hover{ background: var(--c-orange); color: var(--c-black); transform: translateY(-4px) scale(1.08); }

/* ================= FOOTER ================= */
.site-footer{
  background: var(--c-purple);
  background-image: linear-gradient(180deg, var(--c-purple), rgba(0,0,0,0.3));
  color: var(--c-white);
  padding: 56px 0 36px;
}
.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.footer-tagline{ color: rgba(255,255,255,0.7); font-size: 15px; }
.footer-nav ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 10px 0;
}
.footer-nav a{ font-weight: 600; font-size: 14.5px; color: rgba(255,255,255,0.85); transition: color var(--dur-fast); }
.footer-nav a:hover{ color: var(--c-orange); }
.footer-copyright{
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  width: 100%;
}

/* ================= BACK TO TOP ================= */
.back-to-top{
  position: fixed;
  bottom: 28px; right: 28px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--c-orange);
  color: var(--c-black);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-strong);
  z-index: 400;
  transition: transform var(--dur-fast) var(--ease-bounce), opacity var(--dur-fast);
  opacity: 0;
}
.back-to-top.is-visible{ opacity: 1; }
.back-to-top:hover{ transform: translateY(-4px) scale(1.06); }
.back-to-top[hidden]{ display: none; }

/* ================= SCROLL REVEAL ================= */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; text-align: center; }
  .hero-actions{ justify-content: center; }
  .hero-sub{ margin-left: auto; margin-right: auto; }
  .hero-visual{ order: -1; margin-bottom: 12px; }
  .about-grid{ grid-template-columns: 1fr; }
  .games-grid{ grid-template-columns: 1fr 1fr; }
  .features-grid{ grid-template-columns: 1fr 1fr; }
  .stats-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px){
  .primary-nav, .nav-cta{ display: none; }
  .nav-toggle{ display: flex; }
  .games-grid{ grid-template-columns: 1fr; }
  .features-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-title{ font-size: clamp(42px, 13vw, 64px); }
  .careers-card{ padding: 40px 26px; }

  .blob--1{ width: 70px; height: 70px; top: 4%; left: -6%; }
  .blob--2{ display: none; }
  .blob--3{ display: none; }
  .blob--4{ width: 90px; height: 90px; top: 78%; left: 80%; }
  .blob--5{ top: 4%; left: 82%; }
  .orbit-pill--1{ width: 56px; height: 22px; top: -2%; left: -10%; }
  .orbit-pill--2{ display: none; }
}

@media (max-width: 480px){
  .container{ padding: 0 18px; }
  .btn-large{ padding: 16px 28px; font-size: 16px; }
  .stats-grid{ grid-template-columns: 1fr 1fr; }
  .hero-actions{ flex-direction: column; width: 100%; }
  .hero-actions .btn{ width: 100%; }
}
