@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #060a12;
  --bg-surface: #0c1424;
  --bg-surface-elevated: #111d33;
  --bg-surface-card: #0e172a;
  --bg-surface-card-hover: #14213d;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.45);
  --primary: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.35);
  --secondary: #8b5cf6;
  --secondary-glow: rgba(139, 92, 246, 0.35);
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.35);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 12px 35px -10px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 35px -5px var(--primary-glow);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Glow */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

body::before {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00f2fe 0%, #8b5cf6 60%, transparent 80%);
}

body::after {
  bottom: 10%;
  left: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #8b5cf6 0%, #3b82f6 50%, transparent 80%);
}

.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Typography & Base */
h1, h2, h3, h4, .brand-title {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.15;
}

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

button {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 2px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.brand-icon {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: #09101f;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--primary);
  font-size: 1.3rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 8px;
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
}

.btn-icon:hover {
  color: var(--primary);
  border-color: var(--primary-glow);
  background: rgba(0, 242, 254, 0.08);
}

.hamburger-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: 76px 0 0 0;
  background: rgba(6, 10, 18, 0.98);
  backdrop-filter: blur(25px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 20px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-radius: 12px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer a:hover {
  color: var(--primary);
  background: rgba(0, 242, 254, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4facfe 50%, var(--secondary));
  color: #040810;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(120deg, var(--primary) 0%, #60a5fa 40%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Studio Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(12, 20, 36, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-number span {
  color: var(--primary);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Phone Mockup */
.phone-showcase-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.phone-glow-effect {
  position: absolute;
  width: 320px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25), rgba(139, 92, 246, 0.2), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.phone-device {
  width: 300px;
  height: 590px;
  background: #080f1d;
  border: 10px solid #1e293b;
  border-radius: 46px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 20px;
  background: #1e293b;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 15%, #152744, #08101d 75%);
  padding: 34px 16px 20px;
  position: relative;
  overflow: hidden;
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.phone-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: rgba(0, 242, 254, 0.12);
  padding: 4px 10px;
  border-radius: 100px;
}

.phone-status {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.phone-game-display {
  flex: 1;
  border-radius: 20px;
  background: #0d172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-banner-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.phone-game-info {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.phone-game-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.phone-game-tagline {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.phone-game-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-play-btn {
  background: var(--primary);
  color: #040810;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* Phone Switcher Controls */
.phone-controls {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  z-index: 1;
}

.switch-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
}

.switch-btn:hover,
.switch-btn.active {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
}

/* Sections Global */
.section {
  padding: 90px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Games Section & Filter */
.games-filter-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 100px;
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--primary);
  color: #040810;
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.game-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-focus);
  background: var(--bg-surface-card-hover);
  box-shadow: 0 20px 45px -10px rgba(0, 242, 254, 0.18);
}

.game-banner-box {
  width: 100%;
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #08101d;
}

.game-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.game-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
}

.tag-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.tag-badge.cyan {
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--primary);
}

.tag-badge.purple {
  border-color: rgba(139, 92, 246, 0.4);
  color: #c084fc;
}

.tag-badge.emerald {
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.rating-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.game-card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
  min-height: 48px;
}

.game-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.game-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-play-store {
  flex: 1;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-play-store:hover {
  background: var(--primary);
  color: #040810;
  box-shadow: 0 4px 20px var(--primary-glow);
}

/* Studio Pillars / Why Gamnexis */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  padding: 30px 24px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-6px);
  background: var(--bg-surface-card-hover);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.pillar-card:nth-child(2) .pillar-icon-box {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
  color: #c084fc;
}

.pillar-card:nth-child(3) .pillar-icon-box {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.pillar-card:nth-child(4) .pillar-icon-box {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* About Studio Section */
.about-box {
  background: linear-gradient(135deg, rgba(12, 20, 36, 0.95), rgba(17, 29, 51, 0.9));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 900;
}

.about-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.about-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Testimonials / Player Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 28px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #040810;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.review-meta h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.review-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-surface-card);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 22px;
}

/* Contact Card */
.contact-section {
  padding-bottom: 100px;
}

.contact-card-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 32px;
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.contact-card-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.3), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.contact-info h2 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
}

.contact-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.email-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #091122;
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #fff;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.email-pill-btn:hover {
  background: #0f1c38;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-focus);
  border-radius: 24px;
  max-width: 650px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-header-img-box {
  width: 100%;
  height: 240px;
  position: relative;
  background: #000;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}

.modal-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-title {
  font-size: 1.8rem;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.modal-stat h6 {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-stat p {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: #040810;
  padding: 48px 0 32px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* Floating Back To Top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(12, 20, 36, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-focus);
  color: var(--primary);
  display: grid;
  place-items: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: #040810;
  transform: translateY(-3px);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0e172a;
  border: 1px solid var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Legal Pages Styling (Privacy / Terms) */
.legal-container {
  max-width: 860px;
  margin: 60px auto;
  padding: 48px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.legal-container h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.legal-content h3 {
  font-size: 1.35rem;
  margin: 28px 0 10px;
  color: #f1f5f9;
}

.legal-content p, .legal-content ul {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-desc {
    margin-inline: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .stats-bar {
    max-width: 580px;
    margin-inline: auto;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .about-box {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .contact-card-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    align-items: center;
  }
  .contact-actions-wrap {
    align-items: center;
  }
  .legal-container {
    padding: 24px;
    margin: 30px 16px;
  }
}