:root {
  /* Brand Color Palette */
  --abyssal-navy: #122A45;
  --core-wave-blue: #265A88;
  --crest-blue: #5C8EBA;
  --studio-slate: #E2E5E7;
  --pure-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Syncopate', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Gradients */
  --gradient-main: linear-gradient(45deg, var(--abyssal-navy), var(--core-wave-blue), var(--crest-blue), var(--core-wave-blue));
  
  /* Shadows */
  --shadow-soft: 0px 10px 30px rgba(18, 42, 69, 0.15);
  --shadow-hover: 0px 20px 40px rgba(18, 42, 69, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--abyssal-navy);
  background-color: var(--pure-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  line-height: 1.2;
}

p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
section {
  padding: 8rem 0;
  position: relative;
}

.section-light {
  background-color: var(--pure-white);
}

.section-mid {
  background-color: var(--studio-slate);
}

.section-dark {
  background-color: var(--abyssal-navy);
  color: var(--pure-white);
}

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

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--core-wave-blue);
  margin-bottom: 1rem;
}

.eyebrow-light {
  color: var(--crest-blue);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.title-light {
  color: var(--pure-white);
}

.section-desc {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(18, 42, 69, 0.7);
}

.desc-light {
  color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--core-wave-blue);
  color: var(--pure-white);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: var(--pure-white);
}

.btn-ghost {
  display: inline-block;
  background-color: transparent;
  color: var(--abyssal-navy);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: 2px solid var(--abyssal-navy);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-ghost:hover {
  background-color: var(--abyssal-navy);
  color: var(--pure-white);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-normal);
}

#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(18, 42, 69, 0.08);
  border-bottom: 1px solid rgba(226, 229, 231, 0.5);
}

#navbar.scrolled .logo-brand, #navbar.scrolled .logo-sub, #navbar.scrolled .nav-link {
  color: var(--abyssal-navy);
}

#navbar.scrolled .logo-icon {
  stroke: var(--core-wave-blue);
}

#navbar.scrolled .hamburger-line {
  background-color: var(--abyssal-navy);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: opacity var(--transition-normal);
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--pure-white);
  line-height: 1;
  transition: color var(--transition-normal);
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--core-wave-blue);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-link {
  background: rgba(92, 142, 186, 0.15);
  color: var(--pure-white) !important;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  border: 1px solid rgba(92, 142, 186, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-cta-link::after {
  display: none;
}

.nav-cta-link:hover {
  background: rgba(92, 142, 186, 0.3);
  border-color: rgba(92, 142, 186, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(92, 142, 186, 0.2);
}

#navbar.scrolled .nav-cta-link {
  background: var(--core-wave-blue);
  color: var(--pure-white) !important;
  border-color: var(--core-wave-blue);
}

#navbar.scrolled .nav-cta-link:hover {
  background: var(--abyssal-navy);
  border-color: var(--abyssal-navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--pure-white);
  transition: all var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--pure-white);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--abyssal-navy);
}

.mobile-cta {
  color: var(--core-wave-blue);
}

/* Hero Section — Dark Tech Theme */
#hero {
  height: 100vh;
  min-height: 650px;
  background: #0B0F19;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 4rem;
  color: var(--pure-white);
  overflow: hidden;
  position: relative;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-family: 'Roboto Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--crest-blue);
  margin-bottom: 1.5rem;
}

.badge-text {
  font-family: 'Roboto Mono', monospace;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--pure-white);
  letter-spacing: 0.05em;
}

.hero-nowrap {
  white-space: nowrap;
}

.hero-title-gradient {
  background: linear-gradient(135deg, var(--crest-blue), #8BBDE8, var(--crest-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #CBD5E1;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Glassmorphism Button */
.btn-glass {
  display: inline-block;
  background: rgba(92, 142, 186, 0.15);
  color: var(--pure-white);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 6px;
  border: 1px solid rgba(92, 142, 186, 0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(92, 142, 186, 0.3);
  border-color: rgba(92, 142, 186, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(92, 142, 186, 0.2);
  color: var(--pure-white);
}

/* Ghost Button — Dark Background */
.btn-ghost-dark {
  display: inline-block;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-ghost-dark:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--pure-white);
}

/* Scroll Indicator — Line Style */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
  z-index: 10;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator span {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--crest-blue), transparent);
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stats Bar */
.stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--pure-white);
  padding: 3rem 4rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  margin-top: -12rem;
  position: relative;
  z-index: 20;
  margin-bottom: 6rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--core-wave-blue);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--crest-blue);
}

.stat-label {
  display: block;
  font-weight: 500;
  color: var(--abyssal-navy);
  margin-top: 0.5rem;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background-color: var(--studio-slate);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  background-color: var(--pure-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 1.5rem;
  transition: transform var(--transition-normal);
  border-left: 4px solid var(--core-wave-blue);
}

.about-card:hover {
  transform: translateX(10px);
}

.about-card-2 {
  margin-left: 2rem;
  border-color: var(--crest-blue);
}

.about-card-3 {
  margin-left: 4rem;
  border-color: var(--abyssal-navy);
}

.about-card-icon {
  color: var(--core-wave-blue);
  flex-shrink: 0;
}

.about-card strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--abyssal-navy);
}

.about-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(18, 42, 69, 0.7);
}

/* Games Section */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(92, 142, 186, 0.5); /* crest-blue tint */
}

.game-card-img-wrap {
  position: relative;
  height: 480px;
  overflow: hidden;
}

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

.game-card:hover .game-card-img {
  transform: scale(1.05);
}

.game-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, var(--abyssal-navy) 100%);
}

.game-card-featured {
  grid-column: span 2;
  flex-direction: row;
}

.game-card-featured .game-card-img-wrap {
  width: 50%;
  height: auto;
}

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

.featured-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: var(--core-wave-blue);
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.game-genre {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--crest-blue);
}

.game-platforms {
  display: flex;
  gap: 0.5rem;
}

.platform-badge {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.game-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.game-desc {
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
}

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
  color: #FFD700;
  margin-right: 0.5rem;
}

.rating-score {
  font-weight: 600;
}

.btn-game-learn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--crest-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.btn-game-learn:hover {
  color: var(--pure-white);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--studio-slate);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all var(--transition-normal);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  background-color: var(--pure-white);
  box-shadow: var(--shadow-soft);
  border-bottom-color: var(--core-wave-blue);
}

.service-icon-wrap {
  width: 80px;
  height: 80px;
  background-color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--core-wave-blue);
  box-shadow: 0 4px 10px rgba(18, 42, 69, 0.05);
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1);
  background: var(--gradient-main);
  color: var(--pure-white);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.9375rem;
  color: rgba(18, 42, 69, 0.7);
  margin: 0;
}

/* Tech Stack */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.tech-pill {
  background-color: var(--pure-white);
  color: var(--abyssal-navy);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(18, 42, 69, 0.05);
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  background-color: var(--core-wave-blue);
  color: var(--pure-white);
  transform: translateY(-2px);
}

.platform-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(18, 42, 69, 0.1);
}

.platform-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(18, 42, 69, 0.5);
  transition: color var(--transition-fast);
}

.platform-icon:hover {
  color: var(--core-wave-blue);
}

.platform-icon span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Careers Section */
.section-careers {
  background-color: var(--abyssal-navy);
  color: var(--pure-white);
  text-align: center;
}

.careers-content {
  max-width: 800px;
  margin: 0 auto;
}

.careers-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 4rem;
}

.open-roles {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
}

.roles-heading {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--crest-blue);
}

.roles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.role-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: background-color var(--transition-fast);
}

.role-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.role-title {
  display: block;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.role-dept {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.role-type {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--crest-blue);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-info-icon {
  color: var(--core-wave-blue);
  background-color: var(--studio-slate);
  padding: 1rem;
  border-radius: 50%;
}

.contact-info-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: rgba(18, 42, 69, 0.7);
  margin: 0;
}

.contact-form {
  background-color: var(--pure-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--abyssal-navy);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: var(--studio-slate);
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--abyssal-navy);
  transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--core-wave-blue);
}

.form-note {
  font-size: 0.875rem;
  color: rgba(18, 42, 69, 0.5);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Footer */
#footer {
  background-color: var(--abyssal-navy);
  color: var(--pure-white);
  position: relative;
}

.footer-wave {
  width: 100%;
  height: 60px;
  background-color: var(--pure-white);
  margin-top: -1px;
}

.footer-body {
  padding: 6rem 0 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

.footer-brand-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--crest-blue);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crest-blue);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--core-wave-blue);
  color: var(--pure-white);
  transform: translateY(-3px);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav h4 {
  font-size: 0.875rem;
  color: var(--pure-white);
  margin-bottom: 1.5rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

.footer-nav a:hover {
  color: var(--crest-blue);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links a:hover {
  color: var(--pure-white);
}

/* Kuwait & Mobile Branding */
.badge-kuwait {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(92, 142, 186, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(92, 142, 186, 0.3);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--crest-blue);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(92, 142, 186, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(92, 142, 186, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 142, 186, 0); }
}

.pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z M15 15l15 15-15 15-15-15z M45 15l15 15-15 15-15-15z M30 15l15 15-15 15-15-15z' fill='currentColor' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.3;
}

.pattern-hero { color: var(--pure-white); }
.pattern-light { color: var(--abyssal-navy); opacity: 0.03; }
.pattern-dark { color: var(--pure-white); opacity: 0.05; }
.relative-z { position: relative; z-index: 2; }

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .stats-bar { padding: 2rem; flex-wrap: wrap; justify-content: center; gap: 2rem; }
  .stat-divider { display: none; }
  .stat-item { width: 40%; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-card-2, .about-card-3 { margin-left: 0; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .game-card-featured { grid-column: span 2; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; padding: 0 1rem; }
  .hero-cta-group { flex-direction: column; }
  .games-grid { grid-template-columns: 1fr; }
  .game-card-featured { grid-column: span 1; flex-direction: column; }
  .game-card-featured .game-card-img-wrap { width: 100%; height: 300px; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .platform-row { flex-wrap: wrap; gap: 2rem; }
}
