/* ============================================
   ForgeHost - style.css
   Gaming Hosting Premium Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #111111;
  --bg-secondary: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-card-hover: #252525;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent: #e87b35;
  --accent-hover: #f08c4a;
  --accent-glow: rgba(232, 123, 53, 0.3);
  --accent-red: #c0392b;
  --accent-red-subtle: rgba(192, 57, 43, 0.15);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.15s ease;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --max-width: 1280px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Animations Keyframes --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(232, 123, 53, 0.1); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 var(--border-color), var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--text-primary);
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--accent);
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-cta::after { display: none !important; }
.nav-dropdown-item::after { display: none !important; }

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* --- Client Panel Dropdown --- */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-toggle {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-dropdown-chevron {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.nav-dropdown-wrapper.open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 210px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 100;
}

.nav-dropdown-wrapper.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.nav-dropdown-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* --- Mobile Nav Panel Group --- */
.mobile-nav-panel-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
  max-width: 240px;
}

.mobile-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.mobile-nav-panel-group a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.mobile-nav-panel-group a:hover {
  color: var(--accent);
}

.mobile-nav-panel-group a svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232, 123, 53, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(192, 57, 43, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, #0d0d0d 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  animation: fadeInLeft 0.8s ease forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(232, 123, 53, 0.1);
  border: 1px solid rgba(232, 123, 53, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--accent) 0%, #f5a623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hover);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(232, 123, 53, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
  border-radius: 50%;
}

.hero-image-container {
  position: relative;
  z-index: 1;
}

.hero-image-container img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-primary) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-decorative-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  border: 1px solid rgba(232, 123, 53, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.hero-decorative-ring:nth-child(2) {
  width: 130%;
  height: 130%;
  border-color: rgba(232, 123, 53, 0.04);
}

/* --- Section Common --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Platform Section --- */
.platform {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.platform-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.platform-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.platform-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 123, 53, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.platform-icon svg {
  width: 24px;
  height: 24px;
}

.platform-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.platform-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Games Section --- */
.games {
  background: var(--bg-primary);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.game-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  overflow: hidden;
  cursor: pointer;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.game-card:hover::before {
  transform: scaleX(1);
}

.game-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.game-card.active {
  border-color: rgba(232, 123, 53, 0.3);
}

.game-card.active::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--accent), #f5a623);
}

.game-card.disabled {
  cursor: default;
  pointer-events: none;
}

.game-card.disabled .game-icon {
  filter: grayscale(100%);
  opacity: 0.4;
}

.game-card.disabled h3 {
  color: var(--text-muted);
}

.game-card.disabled::before {
  display: none;
}

.game-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.game-icon svg {
  width: 48px;
  height: 48px;
}

.game-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.game-status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.game-status.available {
  color: var(--accent);
}

.game-status.coming-soon {
  color: var(--text-muted);
}

/* --- Features Section --- */
.features {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 123, 53, 0.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Locations Section --- */
.locations {
  background: var(--bg-primary);
}

.locations-map-wrapper {
  margin-bottom: 3rem;
}

.locations-map {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(180deg, #161616 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.locations-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 35% 40% at 54% 30%, rgba(232, 123, 53, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(17, 17, 17, 0.6) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.world-map-svg {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}

.map-regions-inactive path {
  fill: #222222;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 0.8;
  stroke-linejoin: round;
  transition: fill 0.4s ease;
}

.map-regions-active path {
  fill: rgba(232, 123, 53, 0.18);
  stroke: rgba(232, 123, 53, 0.35);
  stroke-width: 1;
  stroke-linejoin: round;
  transition: fill 0.4s ease;
}

.marker-ambient {
  opacity: 0.8;
}

.map-text-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

@keyframes markerPulse {
  0%, 100% { transform: scale(1); opacity: 0.12; }
  50% { transform: scale(1.5); opacity: 0.04; }
}

@keyframes markerPulseOuter {
  0%, 100% { transform: scale(1); opacity: 0.06; }
  50% { transform: scale(1.6); opacity: 0.01; }
}

.marker-pulse {
  transform-origin: center;
  animation: markerPulse 3s ease-in-out infinite;
}

.marker-pulse-outer {
  transform-origin: center;
  animation: markerPulseOuter 3s ease-in-out infinite;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.location-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.location-card--active {
  border-color: rgba(232, 123, 53, 0.25);
  grid-column: 1 / -1;
}

.location-card--active:hover {
  border-color: rgba(232, 123, 53, 0.4);
  box-shadow: 0 8px 32px rgba(232, 123, 53, 0.08);
}

.location-card--active .location-card-header {
  background: linear-gradient(135deg, rgba(232, 123, 53, 0.06) 0%, transparent 60%);
}

.location-card--soon {
  opacity: 0.65;
}

.location-card--soon:hover {
  opacity: 0.8;
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.location-flag {
  flex-shrink: 0;
  width: 36px;
  height: 27px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.location-flag svg {
  width: 100%;
  height: 100%;
}

.location-flag--muted {
  opacity: 0.5;
}

.location-info {
  flex: 1;
  min-width: 0;
}

.location-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.location-city {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.location-badge {
  flex-shrink: 0;
  padding: 0.3rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

.location-badge--active {
  background: rgba(232, 123, 53, 0.12);
  color: var(--accent);
  border: 1px solid rgba(232, 123, 53, 0.25);
}

.location-badge--soon {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.location-card-body {
  padding: 1.25rem 1.5rem;
}

.location-card--active .location-card-body {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.location-latency {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.location-latency-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.location-latency--muted .location-latency-value {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.location-latency-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.location-specs {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.location-spec {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.location-spec svg {
  color: var(--accent);
  flex-shrink: 0;
}

.locations-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.7;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .location-card--active {
    grid-column: auto;
  }

  .location-card--active .location-card-body {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .locations-map {
    padding: 1rem 0.75rem;
  }
}

/* --- CTA Section --- */
.cta {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(232, 123, 53, 0.06) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta .btn-primary {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* --- Mobile Navigation --- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-close svg {
  width: 28px;
  height: 28px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
    margin-bottom: 1rem;
  }

  .hero-image-wrapper {
    max-width: 350px;
    margin: 0 auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   Games Catalog Page
   ============================================ */

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  padding-top: 160px;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232, 123, 53, 0.07) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-primary) 0%, #0d0d0d 100%);
  pointer-events: none;
}

.page-hero .section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

/* --- Games Catalog Grid --- */
.games-catalog {
  background: var(--bg-primary);
  padding-top: 2rem;
}

.games-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* --- Game Catalog Card --- */
.game-catalog-card {
  position: relative;
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.game-catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  z-index: 3;
}

/* Active card */
.game-catalog-card.active {
  border-color: rgba(232, 123, 53, 0.3);
  cursor: pointer;
}

.game-catalog-card.active::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--accent), #f5a623);
}

.game-catalog-card.active:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 123, 53, 0.5);
  box-shadow: 0 12px 40px rgba(232, 123, 53, 0.12);
}

.game-catalog-card.active:hover .game-catalog-image img {
  transform: scale(1.05);
}

/* Disabled card */
.game-catalog-card.disabled {
  cursor: default;
  pointer-events: none;
}

.game-catalog-card.disabled .game-catalog-image img {
  filter: grayscale(100%);
  opacity: 0.45;
}

.game-catalog-card.disabled .game-catalog-info h3 {
  color: var(--text-muted);
}

/* --- Card Image --- */
.game-catalog-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-secondary);
}

.game-catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.game-catalog-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* --- Card Badge --- */
.game-catalog-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

.game-catalog-badge.badge-available {
  background: rgba(232, 123, 53, 0.9);
  color: #fff;
}

.game-catalog-badge.badge-soon {
  background: rgba(0, 0, 0, 0.65);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* --- Card Info --- */
.game-catalog-info {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 1.5rem;
  margin-top: -1.5rem;
}

.game-catalog-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

/* --- Catalog Note --- */
.games-catalog-note {
  text-align: center;
  padding-top: 3rem;
  margin-top: 1rem;
}

.games-catalog-note p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Catalog Responsive --- */
@media (max-width: 1024px) {
  .games-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero {
    padding-top: 130px;
  }
}

@media (max-width: 480px) {
  .games-catalog-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .page-hero {
    padding-top: 120px;
    padding-bottom: 1rem;
  }
}

/* ============================================
   Games Catalog — Background & Hover Effects
   ============================================ */

/* --- Geometric Triangle Background --- */
@keyframes catalogGeoFloat {
  from { transform: translate(0, 0); }
  to   { transform: translate(900px, 700px); }
}

@keyframes catalogGeoFloatAlt {
  from { transform: translate(0, 0); }
  to   { transform: translate(-700px, 550px); }
}

.games-catalog {
  overflow: hidden;
}

.games-catalog::before,
.games-catalog::after {
  content: '';
  position: absolute;
  inset: -100%;
  pointer-events: none;
  z-index: 0;
  background-repeat: repeat;
  will-change: transform;
}

.games-catalog::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='700' fill='none'%3E%3Cpolygon points='120,40 260,280 0,280' stroke='%232a2a2a' stroke-width='1'/%3E%3Cpolygon points='580,80 760,340 400,340' stroke='%23272727' stroke-width='0.8'/%3E%3Cpolygon points='320,380 500,640 140,640' stroke='%232a2a2a' stroke-width='1'/%3E%3Cpolygon points='740,420 900,680 580,680' stroke='%23272727' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 900px 700px;
  opacity: 0.7;
  animation: catalogGeoFloat 80s linear infinite;
}

.games-catalog::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='550' fill='none'%3E%3Cpolygon points='60,60 180,250 0,250' stroke='%23e87b35' stroke-width='0.5' opacity='0.1'/%3E%3Cpolygon points='420,30 560,220 280,220' stroke='%232a2a2a' stroke-width='0.7'/%3E%3Cpolygon points='180,300 330,500 30,500' stroke='%232a2a2a' stroke-width='0.7'/%3E%3Cpolygon points='540,280 680,460 400,460' stroke='%23e87b35' stroke-width='0.5' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 700px 550px;
  opacity: 0.5;
  animation: catalogGeoFloatAlt 100s linear infinite;
}

.games-catalog > .container {
  position: relative;
  z-index: 1;
}

/* --- Disabled Card — Signal Interference on Hover --- */
@keyframes signalSweep {
  0%   { clip-path: inset(0% 0% 100% 0%); opacity: 0;    transform: translateX(0); }
  10%  { clip-path: inset(2% 0% 84% 0%);  opacity: 0.8;  transform: translateX(-1px); }
  20%  { clip-path: inset(2% 0% 84% 0%);  opacity: 0;    transform: translateX(0); }
  35%  { clip-path: inset(28% 0% 58% 0%); opacity: 0.7;  transform: translateX(2px); }
  45%  { clip-path: inset(28% 0% 58% 0%); opacity: 0;    transform: translateX(0); }
  60%  { clip-path: inset(54% 0% 32% 0%); opacity: 0.85; transform: translateX(-1px); }
  70%  { clip-path: inset(54% 0% 32% 0%); opacity: 0;    transform: translateX(0); }
  85%  { clip-path: inset(78% 0% 8% 0%);  opacity: 0.6;  transform: translateX(1px); }
  95%  { clip-path: inset(78% 0% 8% 0%);  opacity: 0;    transform: translateX(0); }
  100% { clip-path: inset(100% 0% 0% 0%); opacity: 0;    transform: translateX(0); }
}

@keyframes imgFlicker {
  0%, 100% { filter: grayscale(100%); opacity: 0.45; }
  20%      { filter: grayscale(80%);  opacity: 0.52; }
  40%      { filter: grayscale(100%); opacity: 0.38; }
  60%      { filter: grayscale(88%);  opacity: 0.48; }
  80%      { filter: grayscale(100%); opacity: 0.42; }
}

/* Re-enable pointer events for hover detection (cards are divs, not links) */
.game-catalog-card.disabled {
  pointer-events: auto;
}

/* Scanline interference overlay (hidden by default) */
.game-catalog-card.disabled::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(255, 255, 255, 0.07) 2px,
    rgba(255, 255, 255, 0.07) 4px
  );
}

/* Trigger effects only on devices that support hover */
@media (hover: hover) {
  .game-catalog-card.disabled:hover::after {
    animation: signalSweep 0.5s linear forwards;
  }

  .game-catalog-card.disabled:hover .game-catalog-image img {
    animation: imgFlicker 0.5s ease;
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .games-catalog::before,
  .games-catalog::after {
    animation: none;
  }

  .game-catalog-card.disabled::after {
    display: none;
  }
}

/* ============================================
   Game Page — Plans & Sections (Reusable)
   ============================================ */

/* --- Features Grid (6 items, 3x2) --- */
.gp-features-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* --- Plans Section --- */
.gp-plans {
  background: var(--bg-primary);
}

.gp-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* --- Plan Card --- */
.gp-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.25rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}

.gp-plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.gp-plan-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gp-plan-card:hover::before {
  transform: scaleX(1);
}

/* --- Recommended Plan --- */
.gp-plan-recommended {
  border-color: rgba(232, 123, 53, 0.35);
  background: linear-gradient(180deg, rgba(232, 123, 53, 0.04) 0%, var(--bg-card) 40%);
}

.gp-plan-recommended::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--accent), #f5a623);
}

.gp-plan-recommended:hover {
  border-color: rgba(232, 123, 53, 0.55);
  box-shadow: 0 12px 48px rgba(232, 123, 53, 0.12);
}

.gp-plan-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--accent);
  border-radius: 100px;
}

/* --- Plan Icon --- */
.gp-plan-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gp-plan-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Plan Name --- */
.gp-plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

/* --- Plan Price --- */
.gp-plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.gp-plan-amount {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.gp-plan-period {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- Plan Specs --- */
.gp-plan-specs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  padding: 0.85rem 0;
  margin-bottom: 0.85rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.gp-plan-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.gp-plan-spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.gp-plan-spec-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Plan Ideal For --- */
.gp-plan-ideal {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* --- Plan Button --- */
.gp-plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hover);
  background: transparent;
  color: var(--text-primary);
  transition: all var(--transition);
  font-family: inherit;
  cursor: pointer;
}

.gp-plan-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.gp-plan-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.gp-plan-btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* --- Tech Section Tweaks --- */
.gp-tech .features-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* --- Game Page Responsive --- */
@media (max-width: 1200px) {
  .gp-plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .gp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gp-tech .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .gp-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gp-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gp-plans-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ============================================
   Features Page
   ============================================ */

/* --- Features Hero (Split Layout) --- */
.fp-hero {
  position: relative;
  padding: 160px 0 4rem;
  overflow: hidden;
}

.fp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fp-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232, 123, 53, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(192, 57, 43, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, #0d0d0d 100%);
}

.fp-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
}

.fp-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.fp-hero-content {
  animation: fadeInLeft 0.8s ease forwards;
}

.fp-hero-content .section-label {
  margin-bottom: 1.25rem;
}

.fp-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.fp-hero-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.fp-hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.fp-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 0.8s ease 0.2s forwards;
  opacity: 0;
}

.fp-hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.fp-hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(232, 123, 53, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
}

.fp-hero-image-wrapper img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.4));
}

/* --- Features Groups Section --- */
.fp-features {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.fp-group {
  margin-bottom: 3.5rem;
}

.fp-group:last-child {
  margin-bottom: 0;
}

.fp-group-header {
  margin-bottom: 1.5rem;
}

.fp-group-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  background: rgba(232, 123, 53, 0.08);
  border: 1px solid rgba(232, 123, 53, 0.15);
  border-radius: 100px;
}

.fp-group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fp-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.fp-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.fp-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 123, 53, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.fp-card-icon svg {
  width: 22px;
  height: 22px;
}

.fp-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.fp-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Features Page Responsive --- */
@media (max-width: 1024px) {
  .fp-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fp-hero-content {
    order: 1;
  }

  .fp-hero-visual {
    order: 0;
    margin-bottom: 1rem;
  }

  .fp-hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .fp-hero-image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

  .fp-group-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fp-hero {
    padding-top: 130px;
    padding-bottom: 2rem;
  }

  .fp-hero-title {
    font-size: 2.2rem;
  }

  .fp-group-grid {
    grid-template-columns: 1fr;
  }

  .fp-group {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .fp-hero {
    padding-top: 120px;
  }
}

/* ============================================
   About Page
   ============================================ */

/* --- Alternating Section Backgrounds --- */
.ap-what {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.ap-philosophy {
  background: var(--bg-primary);
}

.ap-infrastructure {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.ap-future {
  background: var(--bg-primary);
}

/* --- Text Block (Centered Paragraphs) --- */
.ap-text-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.ap-text-block p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.ap-text-block p:last-child {
  margin-bottom: 0;
}

/* --- Philosophy Grid (2x2) --- */
.ap-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* --- About Page Responsive --- */
@media (max-width: 768px) {
  .ap-philosophy-grid {
    grid-template-columns: 1fr;
  }

  .ap-text-block {
    max-width: 100%;
  }
}

/* ============================================
   Support Page
   ============================================ */

/* --- Discord Section (Primary — Visually Dominant) --- */
.sp-discord {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 6rem 0;
}

.sp-discord-card {
  position: relative;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.06) 0%, var(--bg-card) 40%);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  overflow: hidden;
}

.sp-discord-visible {
  animation: fadeInUp 0.8s ease 0.3s both;
}

.sp-discord-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5865F2, #7289da);
}

.sp-discord-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sp-discord-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.sp-discord-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 101, 242, 0.12);
  border-radius: var(--radius);
  color: #5865F2;
}

.sp-discord-icon svg {
  width: 34px;
  height: 34px;
}

.sp-discord-header .section-title {
  text-align: left;
  margin-bottom: 0.75rem;
}

.sp-discord-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}

.sp-discord-body {
  position: relative;
  z-index: 1;
}

.sp-discord-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.sp-discord-perks li {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.sp-discord-perks li:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.sp-perk-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 101, 242, 0.1);
  border-radius: var(--radius-sm);
  color: #5865F2;
}

.sp-perk-icon svg {
  width: 22px;
  height: 22px;
}

.sp-perk-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.sp-perk-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sp-discord-action {
  display: flex;
  justify-content: center;
}

.sp-discord-btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  background: #5865F2;
  gap: 0.65rem;
}

.sp-discord-btn:hover {
  background: #6d7cf2;
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.3);
}

/* --- Email Section (Secondary) --- */
.sp-email {
  background: var(--bg-primary);
}

.sp-email-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.sp-email-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.sp-email-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 123, 53, 0.1);
  border-radius: var(--radius);
  margin: 0 auto 1.5rem;
  color: var(--accent);
}

.sp-email-icon svg {
  width: 28px;
  height: 28px;
}

.sp-email-address {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  word-break: break-all;
}

.sp-email-btn {
  display: inline-flex;
  gap: 0.5rem;
}

/* --- Expectations Section --- */
.sp-expectations {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.sp-expectations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ============================================
   Terms of Service Page
   ============================================ */

.terms-content {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.terms-body {
  max-width: 760px;
  margin: 0 auto;
}

.terms-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
}

.terms-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.terms-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.terms-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.terms-section p:last-child {
  margin-bottom: 0;
}

.terms-section ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.terms-section ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.terms-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.terms-section a {
  color: var(--accent);
  transition: color var(--transition-fast);
}

.terms-section a:hover {
  color: var(--accent-hover);
}

.terms-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .terms-body {
    max-width: 100%;
  }

  .terms-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .terms-section h2 {
    font-size: 1.15rem;
  }
}

/* --- Support Page Responsive --- */
@media (max-width: 1024px) {
  .sp-discord-perks {
    grid-template-columns: 1fr;
  }

  .sp-discord-card {
    padding: 2.5rem;
  }

  .sp-expectations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sp-discord-header {
    flex-direction: column;
    gap: 1.25rem;
  }

  .sp-discord-card {
    padding: 2rem 1.5rem;
  }

  .sp-discord-card::after {
    display: none;
  }

  .sp-email-card {
    padding: 2rem 1.5rem;
  }

  .sp-email-address {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .sp-discord-perks li {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
  }
}

/* ============================================
   Language Selector
   ============================================ */

.lang-selector {
  position: relative;
  margin-left: 0.5rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  overflow: hidden;
}

.lang-btn:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.lang-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  min-width: 48px;
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}

.lang-option:hover {
  background: rgba(255,255,255,0.08);
}

.lang-option.active {
  background: rgba(232,123,53,0.12);
  outline: 1.5px solid rgba(232,123,53,0.35);
}

.lang-option img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

/* Mobile language selector */
.mobile-lang-selector {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 0 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.mobile-lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
}

.mobile-lang-option:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}

.mobile-lang-option.active {
  border-color: var(--accent);
  background: rgba(232,123,53,0.1);
}

.mobile-lang-option img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .lang-selector {
    display: none;
  }
}

@media (min-width: 1025px) {
  .mobile-lang-selector {
    display: none;
  }
}
