/* ==========================================================================
   GoLazy - Premium Gaming Studio Stylesheet
   Bold, Modern, Professional Roblox Studio Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Enhanced Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors - Dreamy Twilight Theme */
  --color-primary: #6C5CFF;
  /* Electric Purple/Blue */
  --color-primary-dark: #4D42CC;
  --color-primary-light: #8E7CFF;
  --color-primary-glow: rgba(108, 92, 255, 0.5);

  --color-secondary: #FF9F6C;
  /* Soft Coral/Peach - Warmth */
  --color-secondary-dark: #CC7A52;
  --color-secondary-light: #FFB891;
  --color-secondary-glow: rgba(255, 159, 108, 0.5);

  --color-accent: #6FEDD6;
  /* Mint Green - Refreshing pop */
  --color-accent-dark: #50BFA8;
  --color-accent-light: #94FFEA;
  --color-accent-glow: rgba(111, 237, 214, 0.5);

  /* Semantic Colors */
  --color-success: #6FEDD6;
  /* Mint */
  --color-warning: #FFD93D;
  --color-danger: #FF6B6B;
  --color-info: #6C5CFF;

  /* Backgrounds */
  --bg-dark: #0B0D1A;
  /* Deep Space Blue */
  --bg-card: rgba(20, 22, 38, 0.7);
  --bg-card-hover: rgba(30, 32, 50, 0.8);
  --bg-overlay: rgba(11, 13, 26, 0.85);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  --gradient-text: linear-gradient(to right, #6C5CFF, #FF9F6C, #6FEDD6);
  /* Dreamy Sunset Vibes */
  --gradient-glow: radial-gradient(circle, rgba(108, 92, 255, 0.15) 0%, rgba(11, 13, 26, 0) 70%);
  --gradient-hero: linear-gradient(135deg, rgba(108, 92, 255, 0.15) 0%, rgba(62, 41, 255, 0.15) 50%, rgba(0, 229, 255, 0.15) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

  /* Background Colors - Darker, richer */
  --color-background: var(--bg-dark);
  --color-background-alt: #0f0f18;
  --color-surface: #141420;
  --color-surface-hover: #1a1a2e;
  --color-surface-elevated: #1e1e32;
  --color-surface-border: rgba(255, 255, 255, 0.08);

  /* Text Colors - Enhanced for readability */
  --color-text-primary: #ffffff;
  --color-text-secondary: #d0d0e8;
  /* Brighter for better contrast */
  --color-text-muted: #a0a0b8;
  /* Significantly brighter for readability */
  --color-text-on-primary: #ffffff;

  /* Typography */
  --font-primary: 'Quicksand', 'Nunito', sans-serif;
  /* Soft, rounded, friendly */
  --font-secondary: 'Nunito', sans-serif;

  /* Spacing Scale - More generous */
  --space-2xs: 0.125rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography Scale - Bigger, bolder */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-7xl: 5.5rem;

  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 900px;
  --header-height: 80px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;
  --border-radius-full: 9999px;

  /* Shadows - More dramatic */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.7);
  --shadow-glow-primary: 0 0 40px var(--color-primary-glow), 0 0 80px rgba(108, 92, 255, 0.2);
  --shadow-glow-secondary: 0 0 40px var(--color-secondary-glow), 0 0 80px rgba(0, 229, 255, 0.2);
  --shadow-glow-accent: 0 0 40px var(--color-accent-glow), 0 0 80px rgba(0, 229, 255, 0.2);

  /* Transitions - "Lazy" Timing for Dreamy Feel */
  --transition-fast: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-base: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-bounce: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-drift: 800ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-scroll: 100ms linear;

  /* Animation Durations */
  --anim-float-duration: 6s;
  --anim-drift-duration: 12s;
  --anim-glow-duration: 4s;
  --anim-gradient-duration: 8s;

  /* Focus Ring */
  --focus-ring: 0 0 0 3px var(--color-secondary-glow);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Offset for fixed header when navigating to anchors */
  scroll-padding-top: calc(var(--header-height) - 30px);
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 500;
  /* Increased base weight for better readability */
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: -1;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--color-text-on-primary);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-md);
  font-weight: 600;
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  outline: none;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

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

/* Focus States */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {

  0%,
  100% {
    border-color: transparent;
  }

  50% {
    border-color: var(--color-text-primary);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes loadingPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* --------------------------------------------------------------------------
   SIGNATURE KEYFRAMES - "Sleepy but Active" Theme
   -------------------------------------------------------------------------- */

/* Gradient Shift - Flowing colors for text/backgrounds */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 50% 75%;
  }

  50% {
    background-position: 100% 50%;
  }

  75% {
    background-position: 50% 25%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Gradient Shimmer - Sweep effect for CTAs */
@keyframes gradientShimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Sleepy Float - Slow vertical drift */
@keyframes sleepyFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  25% {
    transform: translateY(-12px) translateX(3px);
  }

  50% {
    transform: translateY(-8px) translateX(-3px);
  }

  75% {
    transform: translateY(-15px) translateX(2px);
  }
}

/* Cloud Drift - Horizontal lazy movement */
@keyframes cloudDrift {

  0%,
  100% {
    transform: translateX(0) scale(1);
  }

  25% {
    transform: translateX(10px) scale(1.02);
  }

  50% {
    transform: translateX(-5px) scale(0.98);
  }

  75% {
    transform: translateX(15px) scale(1.01);
  }
}

/* Twinkle - Star sparkle effect */
@keyframes twinkle {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Pulse Glow - Organic breathing effect (enhanced) */
@keyframes pulseGlow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }

  25% {
    opacity: 0.92;
    transform: scale(1.015);
    filter: brightness(1.05);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.035);
    filter: brightness(1.18);
  }

  75% {
    opacity: 0.9;
    transform: scale(1.02);
    filter: brightness(1.08);
  }
}

/* Glow Pulse - Expanding glow ring */
@keyframes glowPulse {
  0% {
    box-shadow:
      0 0 10px var(--color-primary-glow),
      0 0 20px var(--color-primary-glow);
  }

  50% {
    box-shadow:
      0 0 20px var(--color-primary-glow),
      0 0 40px var(--color-primary-glow),
      0 0 60px rgba(108, 92, 255, 0.3);
  }

  100% {
    box-shadow:
      0 0 10px var(--color-primary-glow),
      0 0 20px var(--color-primary-glow);
  }
}

/* Lazy Lift - Soft upward movement */
@keyframes lazyLift {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

/* Dreamy Scale - Gentle breathing scale */
@keyframes dreamyScale {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Color Flow - Hue rotation */
@keyframes colorFlow {
  0% {
    filter: hue-rotate(0deg) brightness(1);
  }

  50% {
    filter: hue-rotate(15deg) brightness(1.1);
  }

  100% {
    filter: hue-rotate(0deg) brightness(1);
  }
}

/* Reveal Animation Classes - Enhanced Float In */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity var(--transition-bounce),
    transform var(--transition-bounce);
}

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

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg,
      var(--color-surface) 0%,
      var(--color-surface-hover) 50%,
      var(--color-surface) 100%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--border-radius-sm);
  display: inline-block;
  min-width: 60px;
  min-height: 1.2em;
}

/* --------------------------------------------------------------------------
   Ambient Background - Dreamy Stats & Clouds
   -------------------------------------------------------------------------- */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 40px 70px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 50px 160px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 130px 80px, #ffffff, rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.3;
  animation: starsMove 100s linear infinite;
}

.clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 10vw 10vh, var(--color-primary-glow) 0%, transparent 40%),
    radial-gradient(ellipse at 80vw 5vh, var(--color-secondary-glow) 0%, transparent 40%),
    radial-gradient(ellipse at 30vw 90vh, var(--color-accent-glow) 0%, transparent 40%),
    radial-gradient(ellipse at 90vw 80vh, var(--color-primary-glow) 0%, transparent 40%);
  opacity: 0.3;
  will-change: transform;
  animation: cloudsFloat 30s ease-in-out infinite alternate;
}

@keyframes starsMove {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-200px);
  }
}

@keyframes cloudsFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(10px, 5px, 0);
  }
}

/* Stagger delays */
.reveal:nth-child(1) {
  animation-delay: 0ms;
}

.reveal:nth-child(2) {
  animation-delay: 80ms;
}

.reveal:nth-child(3) {
  animation-delay: 160ms;
}

.reveal:nth-child(4) {
  animation-delay: 240ms;
}

.reveal:nth-child(5) {
  animation-delay: 320ms;
}

.reveal:nth-child(6) {
  animation-delay: 400ms;
}

/* --------------------------------------------------------------------------
   Header & Navigation - Premium Floating Style
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-surface-border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: var(--shadow-lg);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  min-height: var(--header-height);
}

/* Logo - Enhanced */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  padding: var(--space-sm) var(--space-md);
  margin: calc(var(--space-sm) * -1) calc(var(--space-md) * -1);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
}

.logo:hover {
  background: rgba(255, 255, 255, 0.05);
}

.logo:hover .logo__image {
  transform: scale(1.08) rotate(-3deg);
}

.logo__image {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  object-fit: cover;
  transition: transform var(--transition-bounce);
  box-shadow: var(--shadow-sm);
  will-change: transform;
}

.logo span {
  background: linear-gradient(90deg,
      #6C5CFF 0%,
      #FF9F6C 25%,
      #6FEDD6 50%,
      #FF9F6C 75%,
      #6C5CFF 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift var(--anim-gradient-duration) ease-in-out infinite;
  will-change: background-position;
}

/* Navigation */
.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-xs);
}

.nav__link {
  position: relative;
  color: var(--color-text-secondary);
  font-weight: 600;
  /* Bolder for better visibility */
  font-size: var(--text-base);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  /* Premium smooth hover */
  backface-visibility: hidden;
  transform: translateZ(0);
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-md);
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text-primary);
  transform: translateY(-1px) scale(1.02) translateZ(0);
}

.nav__link:hover::before {
  opacity: 0.15;
}

.nav__link.active {
  color: var(--color-primary);
}

/* Hamburger Menu Button - Enhanced */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--border-radius-md);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --------------------------------------------------------------------------
   Buttons - Premium Style
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 700;
  /* Bold for emphasis */
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
  /* Hardware acceleration */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
  /* Separate layer for overlay */
  will-change: opacity;
  transform: translateZ(0);
}

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

.btn--primary {
  position: relative;
  background: linear-gradient(135deg,
      #6C5CFF 0%,
      #8E7CFF 50%,
      #6C5CFF 100%);
  background-size: 200% 200%;
  color: var(--color-text-on-primary);
  box-shadow: var(--shadow-md), 0 0 30px var(--color-primary-glow);
}

/* Shimmer overlay for primary button */
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 100%);
  background-size: 200% 100%;
  animation: gradientShimmer 3s linear infinite;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

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

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-6px) scale(1.02) translateZ(0);
  box-shadow: var(--shadow-lg),
    0 0 40px var(--color-primary-glow),
    0 0 80px rgba(108, 92, 255, 0.4);
}

.btn--primary:active {
  transform: translateY(-2px) scale(0.98) translateZ(0);
  transition-duration: 100ms;
}

.btn--secondary {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  /* Slight glass effect */
  color: var(--color-text-primary);
  border: 1px solid var(--color-surface-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: #5865F2;
  /* Discord Blurple */
  background: rgba(88, 101, 242, 0.15);
  transform: translateY(-3px) translateZ(0);
  box-shadow: var(--shadow-md), 0 0 20px rgba(88, 101, 242, 0.4);
  color: #fff;
}

.btn--sm {
  font-size: var(--text-sm);
  padding: var(--space-sm) var(--space-lg);
}

.btn--lg {
  font-size: var(--text-lg);
  padding: var(--space-lg) var(--space-2xl);
  border-radius: var(--border-radius-lg);
}

.btn--icon {
  padding: var(--space-md);
  border-radius: var(--border-radius-full);
}

/* --------------------------------------------------------------------------
   Hero Section - High Impact
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  overflow: hidden;
}

/* Hero Background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, var(--color-primary-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, var(--color-accent-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, var(--color-secondary-glow) 0%, transparent 60%),
    url('assets/branding/GoLazyGameCard.png') center/cover no-repeat;
  filter: brightness(0.4);
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 10, 15, 0.3) 0%,
      rgba(10, 10, 15, 0.5) 50%,
      var(--color-background) 100%);
  z-index: -1;
}

/* Floating orbs decoration - Optimized for performance */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  /* Optimized from 40px for better GPU performance */
  opacity: 0.35;
  /* Slightly reduced for subtlety */
  z-index: -1;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  /* Force GPU acceleration */
  backface-visibility: hidden;
  /* Prevent flickering */
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: 10%;
  left: -10%;
  animation: float 10s ease-in-out infinite;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 60%;
  right: -5%;
  animation: float 12s ease-in-out infinite;
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 250px;
  height: 250px;
  background: var(--color-secondary);
  bottom: 10%;
  left: 20%;
  animation: float 14s ease-in-out infinite;
  animation-delay: -5s;
}

.hero__content {
  max-width: 1100px;
  z-index: 1;
}

/* Badge - Static, no continuous animation */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-surface-border);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
  transition: all var(--transition-base);
}

.hero__badge:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05) translateZ(0);
  box-shadow: 0 4px 20px rgba(108, 92, 255, 0.2);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulseGlow var(--anim-glow-duration) ease-in-out infinite;
  box-shadow:
    0 0 10px var(--color-accent-glow),
    0 0 20px var(--color-accent-glow);
  /* Contain animation to own layer */
  will-change: opacity, transform;
}

.hero__title {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
  font-weight: 800;
  /* Extra bold for impact */
  line-height: var(--leading-tight);
  margin-bottom: var(--space-lg);
  display: block;
  letter-spacing: -0.02em;
  /* Tighter for bold fonts */
}


.hero__subtitle {
  font-size: clamp(var(--text-lg), 3vw, var(--text-xl));
  font-weight: 500;
  /* Medium weight for readability */
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

/* Hero Stats - Enhanced Glass Card */
.hero-stats {
  display: inline-flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  background: rgba(20, 20, 32, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
}

.hero-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-2xl);
  position: relative;
}

.hero-stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-surface-border);
}

.hero-stats__value {
  font-size: var(--text-3xl);
  font-weight: 800;
  /* Extra bold for impact */
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  /* Prevent CLS when stats load */
  min-width: 3ch;
  display: inline-block;
  text-align: center;
}

.hero-stats__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Sections - Common Styles with Visual Separation
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: var(--space-5xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  scroll-margin-top: calc(var(--header-height) - 30px);
}

/* Alternating section backgrounds */
.section--alt {
  background: var(--color-background-alt);
}

.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.3;
  z-index: -1;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section__title {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 800;
  /* Extra bold for sections */
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
  /* Tighter for bold fonts */
}

.section__title--gradient {
  background: linear-gradient(110deg,
      #6C5CFF 0%,
      #8E7CFF 20%,
      #FF9F6C 40%,
      #6FEDD6 60%,
      #8E7CFF 80%,
      #6C5CFF 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift calc(var(--anim-gradient-duration) * 1.2) ease-in-out infinite;
  will-change: background-position;
}

.section__subtitle {
  font-size: var(--text-lg);
  font-weight: 500;
  /* Medium weight for readability */
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   Games Grid - Premium Cards
   -------------------------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

/* Game Card - Premium Design with Enhanced Glass */
.game-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-surface-border);
  transition: all var(--transition-base);
  /* 3D Perspective Support */
  transform-style: preserve-3d;
  perspective: 1000px;
  /* Force GPU acceleration */
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;
  /* Enhanced glassmorphism */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 100%);
  box-shadow: var(--shadow-md),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-xl);
  padding: 1px;
  background: linear-gradient(135deg,
      rgba(108, 92, 255, 0.3) 0%,
      transparent 50%,
      rgba(0, 229, 255, 0.3) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  /* Separate layer for pseudo-element to prevent flicker */
  will-change: opacity;
  transform: translateZ(0);
}

@media (hover: hover) {
  .game-card:hover {
    transform: translateY(-3px) scale(1.002) translateZ(0);
    /* Ultra-subtle: minimal lift and scale */
    box-shadow: var(--shadow-md),
      0 0 20px rgba(108, 92, 255, 0.1);
    /* Gentle shadow and glow */
    border-color: rgba(108, 92, 255, 0.3);
  }

  .game-card:hover::before {
    opacity: 0.5;
    /* Very subtle border glow */
  }
}

.game-card__image-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  /* Reduced containment to prevent paint issues */
  contain: content;
  /* Fix Safari border-radius overflow issue */
  transform: translateZ(0);
}

.game-card__image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--color-surface) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.game-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  /* Hardware acceleration for smooth scaling */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (hover: hover) {
  .game-card:hover .game-card__image {
    transform: scale(1.1) translateZ(0);
  }
}

/* Live Badge - Hidden per user request */
.game-card__live-badge {
  display: none;
  /* Removed from thumbnails - can be re-enabled by changing display to flex */
}

.game-card__live-dot {
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulseGlow var(--anim-glow-duration) ease-in-out infinite;
  box-shadow:
    0 0 10px var(--color-accent-glow),
    0 0 20px var(--color-accent-glow);
  /* Contain animation to prevent interference */
  will-change: opacity, transform;
}

.game-card__content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.game-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  /* Bold and clear */
  color: var(--color-text-primary);
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
  /* Tighter for readability */
  /* Fix flicker on hover transform */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.game-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-surface-border);
}

.game-card__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  text-align: center;
}

.game-card__stat-value {
  font-size: var(--text-base);
  font-weight: 700;
  /* Bold for emphasis */
  color: var(--color-text-primary);
  /* Fix flicker on hover transform */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  will-change: contents;
  /* Prevent CLS when stats load */
  min-width: 2.5ch;
  display: inline-block;
  text-align: center;
}

.game-card__stat-label {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  /* Semibold for readability */
  /* Fix flicker on hover transform */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Playing (CCU) numbers in vibrant green */
.live-ccu {
  color: #6FEDD6;
  /* Mint green for active player count */
  font-weight: 800;
  /* Extra bold for emphasis */
  text-shadow: 0 0 10px rgba(111, 237, 214, 0.3);
  /* Subtle glow effect */
}

.game-card__actions {
  margin-top: auto;
  padding-top: var(--space-sm);
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.game-card__actions .btn {
  flex: 1;
}

.game-card__actions .btn--icon {
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Share button specific styling */
.share-btn {
  position: relative;
  background: rgba(108, 92, 255, 0.1);
  border: 1px solid rgba(108, 92, 255, 0.3);
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
}

.share-btn:hover {
  background: rgba(108, 92, 255, 0.2);
  border-color: rgba(108, 92, 255, 0.5);
  color: var(--color-primary);
  transform: scale(1.05) translateZ(0);
}

.share-btn:active {
  transform: scale(0.95) translateZ(0);
}

.share-btn svg {
  transition: transform var(--transition-base);
}

.share-btn:hover svg {
  transform: rotate(15deg);
}

/* Toast notification for copy success */
.toast-notification {
  position: fixed;
  top: calc(var(--header-height) + var(--space-lg));
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: linear-gradient(135deg, #6C5CFF 0%, #8E7CFF 100%);
  color: var(--color-text-on-primary);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(108, 92, 255, 0.4);
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: var(--text-base);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.toast-notification svg {
  flex-shrink: 0;
  animation: checkmark-pop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkmark-pop {
  0% {
    transform: scale(0) rotate(-45deg);
  }
  50% {
    transform: scale(1.2) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Mobile toast positioning */
@media (max-width: 768px) {
  .toast-notification {
    top: var(--space-xl);
    left: var(--space-md);
    right: var(--space-md);
    transform: translateX(0) translateY(-100px);
    max-width: calc(100% - var(--space-md) * 2);
  }

  .toast-notification.show {
    transform: translateX(0) translateY(0);
  }
}

/* --------------------------------------------------------------------------
   About Section - Enhanced
   -------------------------------------------------------------------------- */
.about__content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  text-align: center;
}

.about__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

.about__text:last-child {
  margin-bottom: 0;
}

.about__highlight {
  color: var(--color-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Groups Section - Enhanced Cards
   -------------------------------------------------------------------------- */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 600px;
  margin: 0 auto;
}

.group-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--border-radius-xl);
  transition: all var(--transition-base);
  /* 3D Perspective Support */
  transform-style: preserve-3d;
  perspective: 1000px;
  /* Hardware acceleration */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  /* Enhanced glassmorphism */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 100%);
  box-shadow: var(--shadow-md),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.group-card:hover {
  transform: translateY(-3px) translateZ(0);
  /* Reduced from -6px for subtler effect */
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md), 0 0 20px rgba(255, 159, 108, 0.2);
  /* Reduced glow intensity */
}

.group-card__image-wrapper {
  position: relative;
}

.group-card__image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  border: 3px solid var(--color-surface-border);
  transition: all var(--transition-base);
}

.group-card:hover .group-card__image {
  border-color: var(--color-secondary);
  transform: scale(1.02);
  /* Reduced from 1.05 for subtler effect */
}

.group-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  transition: color var(--transition-base);
}

/* Make group title links look good */
.group-card a {
  text-decoration: none;
}

.group-card a:hover .group-card__title {
  color: var(--color-primary);
}

.group-card__members {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Team Section - Premium Cards
   -------------------------------------------------------------------------- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--border-radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  overflow: hidden;
  width: 250px;
  flex-shrink: 0;
  /* 3D Perspective Support */
  transform-style: preserve-3d;
  perspective: 1000px;
  /* Hardware acceleration */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  /* Enhanced glassmorphism */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 100%);
  box-shadow: var(--shadow-md),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  /* Separate layer for pseudo-element */
  will-change: transform;
  transform-origin: left center;
}

.team-card:hover {
  transform: translateY(-3px) translateZ(0);
  /* Reduced from -6px for subtler effect */
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  /* Reduced from shadow-lg */
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-card__link {
  display: block;
  color: inherit;
}

.team-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--border-radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  border: 4px solid var(--color-surface-border);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.team-card:hover .team-card__avatar {
  border-color: var(--color-primary);
  transform: scale(1.02);
  /* Reduced from 1.05 for subtler effect */
  box-shadow: var(--shadow-md);
  /* Removed glow for cleaner look */
}

.team-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* Team Category Styles */
.team-category {
  margin-bottom: var(--space-3xl);
}

.team-category:last-child {
  margin-bottom: 0;
}

.team-category__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-text);
  position: relative;
  display: inline-block;
  width: 100%;
}

.team-category__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: var(--space-sm) auto 0;
  border-radius: var(--border-radius-full);
}

.team-grid--founders {
  max-width: 620px;
}

/* --------------------------------------------------------------------------
   Contact Section - Call to Action
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  text-align: center;
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-surface);
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.5;
}

.contact__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   Footer - Clean & Modern
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-background);
  border-top: 1px solid var(--color-surface-border);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__link {
  position: relative;
  color: var(--color-text-muted);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
  border-radius: 1px;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--color-primary);
  background: rgba(108, 92, 255, 0.1);
}

.footer__link:hover::after,
.footer__link:focus-visible::after {
  width: calc(100% - var(--space-md));
}

.footer__divider {
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
  margin: 0 auto var(--space-xl);
  border-radius: 1px;
}

.footer__copyright {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Footer Social Links */
.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--border-radius-full);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-text-on-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 20px var(--color-primary-glow);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

/* Loading State for Stats */
.stat-loading {
  animation: loadingPulse 1.5s ease-in-out infinite;
  color: var(--color-text-muted);
}

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(90deg,
      var(--color-surface) 0%,
      var(--color-surface-hover) 50%,
      var(--color-surface) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--border-radius-sm);
}

.skeleton-text {
  height: 1em;
  margin-bottom: var(--space-xs);
}

.skeleton-text:last-child {
  margin-bottom: 0;
  width: 60%;
}

/* Image Loading State */
.image-loading {
  background: linear-gradient(90deg,
      var(--color-surface) 0%,
      var(--color-surface-hover) 50%,
      var(--color-surface) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

img[data-loading="true"] {
  opacity: 0.3;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: var(--text-lg);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  font-size: var(--text-xl);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   Discord Widget
   -------------------------------------------------------------------------- */
.discord-widget {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.3);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius-full);
  transition: background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
  /* Hardware acceleration */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.discord-widget:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.5);
  transform: translateY(-2px) translateZ(0);
}

.discord-widget__dot {
  width: 10px;
  height: 10px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent-glow);
  animation: pulse 2s ease-in-out infinite;
  /* Contain animation to prevent interference */
  will-change: opacity, transform;
}

.discord-widget__text {
  font-weight: 600;
  color: var(--color-text-primary);
}

.discord-widget__count {
  color: #5865f2;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Social Proof / Milestones Section
   -------------------------------------------------------------------------- */
.milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.milestone-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--border-radius-xl);
  transition: transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
  /* Hardware acceleration */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.milestone-card:hover {
  transform: translateY(-6px) translateZ(0);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg), 0 0 30px var(--color-primary-glow);
}

.milestone-icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-md);
}

.milestone-value {
  font-size: var(--text-4xl);
  font-weight: 700;
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.milestone-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Scroll Progress Indicator - Optimized for 60fps
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1000;
  /* Use scaleX transform for GPU-accelerated animation */
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 10px var(--color-primary-glow);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout style paint;
}

/* --------------------------------------------------------------------------
   Back to Top Button - Enhanced
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-text-on-primary);
  border: none;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  font-size: var(--text-xl);
  font-weight: 700;
  box-shadow: var(--shadow-lg), 0 0 30px var(--color-primary-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9) translateZ(0);
  transition: opacity var(--transition-base),
    visibility var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
  z-index: 50;
  /* Hardware acceleration */
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1) translateZ(0);
  box-shadow: var(--shadow-xl), var(--shadow-glow-primary);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) translateZ(0);
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */

/* Large Desktop */
@media (min-width: 1200px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet and below */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  /* Header */
  .header__container {
    padding: 0 var(--space-md);
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: 90;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    position: relative;
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
    background: linear-gradient(145deg, rgba(20, 20, 32, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid transparent;
    box-shadow: var(--shadow-xl), 0 0 50px rgba(108, 92, 255, 0.3);
    backdrop-filter: blur(20px);
    max-width: 90%;
    width: auto;
  }

  .nav__list::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
  }

  .nav__link {
    position: relative;
    font-size: var(--text-lg);
    font-weight: 600;
    padding: var(--space-md) var(--space-2xl);
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    transition: all var(--transition-fast);
    overflow: hidden;
  }

  .nav__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
  }

  .nav__link:hover,
  .nav__link.active {
    color: var(--color-text-on-primary);
    border-color: transparent;
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(108, 92, 255, 0.5);
  }

  .nav__link:hover::before,
  .nav__link.active::before {
    opacity: 1;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
  }

  .hero::before {
    background-attachment: scroll;
  }

  .hero__badge {
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-md);
  }

  .hero__title {
    white-space: normal;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .hero-stats__item {
    padding: var(--space-md) var(--space-lg);
  }

  .hero-stats__item:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 20%;
    right: 20%;
    width: auto;
    height: 1px;
  }

  /* Sections */
  .section {
    padding: var(--space-3xl) var(--space-md);
  }

  /* Games Grid - Native App-Like Scroll Snap */
  .games-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    /* Enable smooth scroll snap for native feel */
    scroll-snap-type: y proximity;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .game-card {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  /* Groups Grid */
  .groups-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 100%;
  }

  .group-card {
    padding: var(--space-lg);
  }

  .group-card__image {
    width: 80px;
    height: 80px;
  }

  /* Team Grid */
  .team-card {
    width: 100%;
    max-width: 320px;
  }

  /* Contact */
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Footer */
  .footer__nav {
    flex-direction: column;
    gap: var(--space-sm);
  }

  /* Back to Top */
  .back-to-top {
    bottom: var(--space-md);
    right: var(--space-md);
    width: 50px;
    height: 50px;
  }

  /* Hide floating orbs on mobile - GPU memory savings */
  .hero__orb {
    display: none;
  }

  /* GPU Memory Diet - Critical for iOS Safari stability */
  /* Remove will-change from non-animating elements on mobile */
  .btn,
  .game-card,
  .team-card,
  .group-card,
  .milestone-card,
  .nav__link,
  .logo,
  .back-to-top,
  .discord-widget {
    will-change: auto !important;
  }

  /* Reduce backdrop-filter blur for memory savings */
  .header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .nav {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }

  .game-card,
  .team-card,
  .group-card {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .hero__badge,
  .discord-widget {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  /* Simplify box-shadows on mobile */
  .game-card,
  .team-card,
  .group-card {
    box-shadow: var(--shadow-sm);
  }

  .btn--primary {
    box-shadow: var(--shadow-md);
  }

  .game-card:hover,
  .team-card:hover,
  .group-card:hover {
    box-shadow: var(--shadow-md);
  }

  /* Touch-Optimized Interactions - Active States */
  /* Replace hover with :active for immediate touch feedback */
  .btn:active {
    transform: scale(0.97) translateZ(0);
    transition-duration: 100ms;
  }

  .nav__link:active {
    background: rgba(108, 92, 255, 0.2);
    transform: scale(0.98) translateZ(0);
  }

  .game-card:active {
    transform: scale(0.98) translateZ(0);
  }

  .team-card:active,
  .group-card:active {
    transform: scale(0.98) translateZ(0);
  }

  /* Ensure buttons are always visible (no hover-only states) */
  .game-card__actions .btn {
    opacity: 1;
    visibility: visible;
  }

  /* Touch Target Optimization - Minimum 44x44px */
  .hamburger {
    width: 48px;
    height: 48px;
    /* Already meets minimum */
  }

  .nav__link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .back-to-top {
    width: 56px;
    height: 56px;
    /* Already exceeds minimum */
  }

  .footer__social-link {
    width: 48px;
    height: 48px;
    /* Increased from 44px for better tappability */
  }

  /* Mobile Font Size Optimization - Readable without zooming */
  body {
    font-size: 16px;
    /* Prevent iOS auto-zoom on focus */
  }

  .hero__subtitle {
    font-size: 1.125rem;
    /* Increased for better readability */
    line-height: 1.6;
  }

  .section__subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .game-card__stat-label {
    font-size: 0.75rem;
    /* Slightly larger for readability */
  }

  /* Tighten spacing for mobile - use --space-md instead of --space-xl */
  .hero {
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
    /* Reduced from 3xl */
  }

  .hero__cta {
    gap: var(--space-md);
    /* Tighter button spacing */
  }

  /* FAQ */
  .faq-question {
    font-size: var(--text-base);
    padding: var(--space-md) var(--space-lg);
  }

  .faq-answer-content {
    padding: 0 var(--space-lg) var(--space-md);
  }

  /* Milestones */
  .milestones {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .milestone-card {
    padding: var(--space-lg);
  }

  .milestone-value {
    font-size: var(--text-3xl);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .logo {
    font-size: var(--text-lg);
  }

  .logo__image {
    width: 40px;
    height: 40px;
  }

  .hero-stats__value {
    font-size: var(--text-2xl);
  }

  .groups-grid {
    grid-template-columns: 1fr;
  }

  .group-card__image {
    width: 70px;
    height: 70px;
  }
}

/* Tablet Portrait */
@media (min-width: 600px) and (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.text-gradient {
  background: linear-gradient(90deg,
      #6C5CFF 0%,
      #FF9F6C 25%,
      #6FEDD6 50%,
      #FF9F6C 75%,
      #6C5CFF 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift var(--anim-gradient-duration) ease-in-out infinite;
  will-change: background-position;
}

.mt-auto {
  margin-top: auto;
}

/* Container utility */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}

/* --------------------------------------------------------------------------
   Community Managers Grid - Compact Style
   -------------------------------------------------------------------------- */
.team-grid--community {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  max-width: 600px;
  margin: 0 auto;
}

.team-grid--community .team-card {
  padding: var(--space-md);
  min-height: auto;
}

.team-grid--community .team-card__avatar {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-sm);
}

.team-grid--community .team-card__name {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.team-grid--community .team-card__role {
  font-size: var(--text-sm);
}