/* =====================================================
   THE APP SPARK — Light Casual Gaming Design System
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Quicksand:wght@400;500;600;700&family=Baloo+2:wght@400;500;600;700;800&display=swap');

:root {
  /* Light, playful palette */
  --clr-bg: #F8F6FF;
  --clr-bg-alt: #FFFFFF;
  --clr-bg-warm: #FFF9F0;
  --clr-bg-cool: #F0F7FF;
  --clr-bg-green: #F0FFF4;
  --clr-surface: #FFFFFF;
  --clr-surface-hover: #F3F0FF;

  /* Text */
  --clr-text: #2D2B55;
  --clr-text-light: #6B6B8D;
  --clr-text-muted: #9B9BB4;

  /* Accent colors - friendly & vibrant */
  --clr-primary: #6C5CE7;
  --clr-primary-light: #A29BFE;
  --clr-secondary: #FF6B81;
  --clr-yellow: #FECA57;
  --clr-green: #00D2A0;
  --clr-blue: #54A0FF;
  --clr-orange: #FF9F43;
  --clr-pink: #FF6B81;
  --clr-cyan: #48DBFB;

  /* Borders */
  --clr-border: #E8E5F5;
  --clr-border-hover: #D0CCE8;

  /* Typography */
  --ff-display: 'Baloo 2', cursive;
  --ff-body: 'Nunito', sans-serif;
  --ff-ui: 'Quicksand', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.06);
  --shadow-md: 0 4px 20px rgba(108, 92, 231, 0.08);
  --shadow-lg: 0 8px 40px rgba(108, 92, 231, 0.1);
  --shadow-card: 0 4px 24px rgba(108, 92, 231, 0.07);
  --shadow-card-hover: 0 12px 40px rgba(108, 92, 231, 0.14);

  /* Transitions */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 200ms;
  --dur-normal: 350ms;
  --dur-slow: 600ms;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
}
a:hover { color: var(--clr-secondary); }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.25;
  color: var(--clr-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(248, 246, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--clr-text);
  text-decoration: none;
  position: relative;
  z-index: 1002;
}

.nav-logo:hover { color: var(--clr-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links li { list-style: none; }

.nav-links a {
  font-family: var(--ff-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text-light);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  border-radius: 2px;
  transition: width var(--dur-normal) var(--ease-smooth);
}

.nav-links a:hover, .nav-links a.active { color: var(--clr-text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  position: relative;
}

.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: auto;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #F8F6FF 0%, #FFF9F0 35%, #F0F7FF 65%, #F0FFF4 100%);
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobFloat 15s ease-in-out infinite;
  pointer-events: none;
}

.hero-blob:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--clr-yellow);
  top: -10%; right: -5%;
}

.hero-blob:nth-child(2) {
  width: 400px; height: 400px;
  background: var(--clr-primary-light);
  bottom: -5%; left: -5%;
  animation-delay: -5s;
}

.hero-blob:nth-child(3) {
  width: 350px; height: 350px;
  background: var(--clr-green);
  top: 30%; left: 50%;
  animation-delay: -10s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 25px) scale(0.96); }
}

/* Floating emoji decorations */
.hero-deco {
  position: absolute;
  font-size: 2.5rem;
  animation: floatSpin 20s linear infinite;
  pointer-events: none;
  opacity: 0.25;
}

.hero-deco:nth-child(4) { top: 15%; right: 12%; animation-duration: 18s; font-size: 3rem; }
.hero-deco:nth-child(5) { top: 60%; right: 8%; animation-duration: 22s; animation-delay: -3s; }
.hero-deco:nth-child(6) { bottom: 20%; left: 8%; animation-duration: 25s; animation-delay: -7s; }
.hero-deco:nth-child(7) { top: 25%; left: 15%; animation-duration: 20s; animation-delay: -12s; font-size: 2rem; }
.hero-deco:nth-child(8) { bottom: 35%; right: 25%; animation-duration: 28s; animation-delay: -5s; font-size: 2rem; }

@keyframes floatSpin {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(108, 92, 231, 0.08);
  border: 1.5px solid rgba(108, 92, 231, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
  line-height: 1.15;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--clr-text-light);
  width: 100%;
  max-width: 580px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  animation: fadeInUp 0.6s ease-out 0.3s backwards;
  width: 100%;
  max-width: 580px;
  justify-content: space-between;
}

.hero-stat .number {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.1;
}

.hero-stat .label {
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-top: 2px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .tag {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(108, 92, 231, 0.07);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-header h2 { margin-bottom: 12px; }
.section-header h2 .accent {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--clr-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--dur-normal) var(--ease-smooth);
  box-shadow: var(--shadow-sm);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary-light);
}

.stat-card .stat-icon { font-size: 2rem; margin-bottom: 10px; }

.stat-card .stat-number {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: 2px;
}

.stat-card .stat-label {
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-muted);
}

/* ==========================================================================
   SPA ROUTING
   ========================================================================== */
.page-section {
  display: none;
  animation: fadeIn 0.4s ease-out;
}
.page-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
/* =====================================================
   FILTER TABS
   ===================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-tab {
  padding: 8px 22px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-full);
  background: var(--clr-surface);
  color: var(--clr-text-light);
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.filter-tab:hover {
  border-color: var(--clr-primary-light);
  color: var(--clr-primary);
  background: rgba(108, 92, 231, 0.04);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

/* =====================================================
   GAME CARDS
   ===================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.game-card {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--dur-normal) var(--ease-smooth);
  box-shadow: var(--shadow-card);
}

.game-card:hover {
  border-color: var(--clr-primary-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.game-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

/* Game icon — placeholder style */
.game-icon-ph {
  width: 68px; height: 68px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Real image icon */
.game-icon-ph img {
  width: 100%; height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.game-card-top .meta h3 {
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 2px;
}

.game-card-top .meta .developer {
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-text-muted);
}

.game-card .desc {
  font-size: 0.88rem;
  color: var(--clr-text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card .rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.game-card .stars { color: var(--clr-yellow); font-size: 0.85rem; }
.game-card .rating-num {
  font-family: var(--ff-ui);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--clr-text);
}

.game-card-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.btn-gplay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--clr-text);
  border-radius: var(--radius-full);
  color: #fff;
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.btn-gplay:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.3);
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #000;
  border-radius: var(--radius-full);
  color: #fff;
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.btn-appstore:hover {
  background: #333;
  color: #fff;
  transform: scale(1.04);
}

/* =====================================================
   PARTNER CARDS
   ===================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-lg);
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--space-lg);
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  min-height: 140px;
  transition: all var(--dur-normal) var(--ease-smooth);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--clr-primary-light);
}

.partner-card .p-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.partner-card .p-icon img {
  width: 48px; height: 48px;
  object-fit: contain;
}

.partner-card .p-name {
  font-family: var(--ff-ui);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--clr-text);
}

.partner-card .p-type {
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =====================================================
   VALUES GRID
   ===================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  padding: var(--space-xl);
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--dur-normal) var(--ease-smooth);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary-light);
}

.value-card .v-icon { font-size: 2.5rem; margin-bottom: 12px; }
.value-card h3 { margin-bottom: 8px; font-family: var(--ff-body); font-weight: 800; }
.value-card p { font-size: 0.9rem; color: var(--clr-text-light); line-height: 1.7; }

/* =====================================================
   OFFICES
   ===================================================== */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.office-card {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.office-card .flag { font-size: 2.5rem; margin-bottom: 12px; }
.office-card h3 { margin-bottom: 4px; }
.office-card .role {
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.office-card .addr {
  font-size: 0.92rem;
  color: var(--clr-text-light);
  line-height: 1.7;
}

.office-card .map-wrap {
  margin-top: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.office-card .map-wrap iframe { width: 100%; height: 200px; border: 0; }

/* =====================================================
   CULTURE / PHOTO GRID
   ===================================================== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.culture-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.culture-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.culture-card:hover img { transform: scale(1.04); }

.culture-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-lg);
  background: linear-gradient(transparent, rgba(45, 43, 85, 0.7));
  color: #fff;
  font-family: var(--ff-ui);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Photo placeholder */
.photo-ph {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #F3F0FF, #FFF9F0);
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--clr-text-muted);
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 600;
}

.photo-ph .ph-icon { font-size: 2.5rem; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding: var(--space-xl);
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-item .c-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.08);
  border-radius: 50%;
  font-size: 1.2rem;
}

.contact-item .c-label {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item .c-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr-text);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  border: none;
  border-radius: var(--radius-full);
  color: #fff;
  font-family: var(--ff-ui);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108, 92, 231, 0.4);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-full);
  color: var(--clr-text);
  font-family: var(--ff-ui);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  transform: translateY(-2px);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: linear-gradient(170deg, #F0F7FF, #F8F6FF, #FFF9F0);
  position: relative;
  overflow: hidden;
}

.cta-section h2 { margin-bottom: 12px; }
.cta-section p {
  font-size: 1.05rem;
  color: var(--clr-text-light);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =====================================================
   MARQUEE
   ===================================================== */
.marquee-wrap {
  overflow: hidden;
  padding: var(--space-lg) 0;
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.marquee-track {
  display: flex;
  gap: var(--space-xl);
  animation: marqueeScroll 50s linear infinite;
  width: max-content;
}

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

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  opacity: 0.3;
  white-space: nowrap;
}

.marquee-item .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--clr-primary);
  border-radius: 50%;
  margin: 0 var(--space-lg);
  vertical-align: middle;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  padding: var(--space-xl) 0 var(--space-lg);
}

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

.footer-copy {
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-light);
}

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

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   AD FORMAT CARDS
   ===================================================== */
.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.format-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.format-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.format-card .f-icon { font-size: 2.5rem; margin-bottom: 12px; }
.format-card h3 { font-family: var(--ff-body); font-weight: 800; margin-bottom: 8px; }
.format-card p { font-size: 0.85rem; color: var(--clr-text-light); line-height: 1.6; }

/* =====================================================
   STEPS
   ===================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.step-card {
  padding: var(--space-xl);
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-card .step-num {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-primary-light);
  margin-bottom: 8px;
}

.step-card h3 { font-family: var(--ff-body); font-weight: 800; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--clr-text-light); line-height: 1.7; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1001;
    background: #F8F6FF;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 0;
    margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--clr-text);
    padding: 10px 0;
  }
  .nav-links a:hover { color: var(--clr-primary); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }

  .games-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-strip { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: center; }
  .hero-stat { text-align: center; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
