/* ==========================================================================
   ARISE TECHVERSE - NEXT-GEN STUDIO DESIGN SYSTEM 2026
   Palette: Deep Midnight Obsidian (#07090e), Hyper Violet (#7928ca), 
            Radiant Crimson Coral (#ff2a5f), Electric Mint (#00f5a0), 
            and Icy Titanium Glass
   ========================================================================== */

/* --- Design Tokens & Color System --- */
:root {
  /* Surface Canvas */
  --bg-deep: #05070a;
  --bg-surface: #0a0d14;
  --bg-surface-2: #101420;
  --bg-card: rgba(16, 20, 32, 0.72);
  --bg-card-hover: rgba(24, 30, 48, 0.88);
  --bg-glass: rgba(12, 16, 26, 0.65);
  --bg-glass-heavy: rgba(7, 9, 15, 0.95);

  /* Primary Brand: Neon Crimson Coral */
  --primary: #ff2a5f;
  --primary-hover: #ff4d79;
  --primary-dark: #c91842;
  --primary-light: #ff4d79;
  --primary-glow: rgba(255, 42, 95, 0.4);
  --primary-subtle: rgba(255, 42, 95, 0.12);

  /* Secondary: Electric Hyper Violet */
  --secondary: #7928ca;
  --secondary-hover: #9333ea;
  --secondary-glow: rgba(121, 40, 202, 0.35);
  --secondary-subtle: rgba(121, 40, 202, 0.14);

  /* Accents */
  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.35);
  --accent-mint: #00f5a0;
  --accent-mint-glow: rgba(0, 245, 160, 0.35);
  --gold: #ffb800;
  --gold-glow: rgba(255, 184, 0, 0.3);

  /* Text & Typography */
  --text-pure: #ffffff;
  --text-main: #f1f5f9;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(255, 42, 95, 0.4);
  --border-glow-primary: rgba(255, 42, 95, 0.4);
  --border-glow-secondary: rgba(121, 40, 202, 0.4);
  --border-glow-mint: rgba(0, 245, 160, 0.4);

  /* Fonts */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Spacing & Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 20px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  --shadow-glow-primary: 0 0 30px var(--primary-glow);
  --shadow-glow-secondary: 0 0 30px var(--secondary-glow);
  --shadow-glow-mint: 0 0 30px var(--accent-mint-glow);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --container-width: 1220px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Animated Ambient Aurora Glow */
body::before {
  content: '';
  position: fixed;
  top: -20vh;
  left: 15vw;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.14) 0%, rgba(255, 42, 95, 0.08) 40%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  animation: auroraFloat 16s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20vh;
  right: 10vw;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.09) 0%, rgba(0, 245, 160, 0.06) 40%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  animation: auroraFloat 20s ease-in-out infinite alternate-reverse;
}

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5vw, 5vh) scale(1.1); }
  100% { transform: translate(-4vw, 8vh) scale(0.95); }
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

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

p {
  color: var(--text-body);
  line-height: 1.75;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, var(--primary) 70%, #ff6b8b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-violet {
  background: linear-gradient(135deg, #ffffff 20%, #a855f7 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-mint {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glow-primary);
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(255, 42, 95, 0.15);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulseDot 2s infinite ease-in-out;
}

.section-tag.tag-mint {
  color: var(--accent-mint);
  background: rgba(0, 245, 160, 0.1);
  border-color: var(--border-glow-mint);
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.15);
}
.section-tag.tag-mint::before {
  background: var(--accent-mint);
  box-shadow: 0 0 8px var(--accent-mint);
}

.section-tag.tag-violet {
  color: #c084fc;
  background: var(--secondary-subtle);
  border-color: var(--border-glow-secondary);
  box-shadow: 0 0 16px rgba(121, 40, 202, 0.15);
}
.section-tag.tag-violet::before {
  background: #c084fc;
  box-shadow: 0 0 8px #c084fc;
}

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

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 680px;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 44px;
}

.section-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.section-py {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* --- Interactive Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #d81b4c 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  box-shadow: 0 8px 32px rgba(255, 42, 95, 0.65);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #581c87 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px var(--secondary-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-hover) 0%, var(--secondary) 100%);
  box-shadow: 0 8px 32px rgba(121, 40, 202, 0.65);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: var(--text-pure);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* --- Floating Pill Header & Navigation --- */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
  transition: all var(--transition-normal);
}

.site-header.scrolled .header-container {
  background: rgba(7, 9, 15, 0.92);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-emblem-img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 42, 95, 0.5));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  transition: all var(--transition-normal);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 1001;
  border-left: 1px solid var(--border-glass);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.mobile-nav-item {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.mobile-nav-item.active {
  color: var(--primary);
  border-color: var(--border-glow-primary);
  background: var(--primary-subtle);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 94vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 140px;
  padding-bottom: 70px;
  overflow: hidden;
}

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

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

.hero-brand-pill img {
  height: 24px;
  width: auto;
}

.hero-brand-pill span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1.12;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

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

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

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass);
  transform: translateY(-2px);
}

.stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Right: 3D Floating Game Featurette Card */
.hero-featurette {
  background: linear-gradient(145deg, rgba(24, 30, 48, 0.75) 0%, rgba(12, 15, 24, 0.95) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(121, 40, 202, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.hero-featurette::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.featurette-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.featurette-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 24px rgba(255, 42, 95, 0.3);
  border: 1px solid var(--border-glow-primary);
}

.featurette-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.featurette-genre {
  font-size: 0.85rem;
  color: var(--accent-mint);
  font-weight: 600;
  font-family: var(--font-mono);
}

.featurette-img-box {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}

.featurette-img-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.hero-featurette:hover .featurette-img-box img {
  transform: scale(1.04);
}

/* --- Live Game Showcase Cards --- */
.live-games-stack {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.game-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 38px 44px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.game-showcase-card:hover {
  border-color: var(--border-glow-primary);
  box-shadow: var(--shadow-card), 0 0 40px rgba(255, 42, 95, 0.15);
  transform: translateY(-4px);
}

.game-showcase-header {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.game-showcase-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-live {
  background: rgba(0, 245, 160, 0.12);
  color: var(--accent-mint);
  border: 1px solid var(--border-glow-mint);
}

.badge-genre {
  background: rgba(121, 40, 202, 0.14);
  color: #c084fc;
  border: 1px solid var(--border-glow-secondary);
}

.badge-rating {
  background: rgba(255, 184, 0, 0.14);
  color: #ffb800;
  border: 1px solid var(--gold-glow);
}

.badge-upcoming {
  background: rgba(255, 42, 95, 0.12);
  color: var(--primary);
  border: 1px solid var(--border-glow-primary);
}

.game-showcase-title {
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--text-pure);
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.game-showcase-subtitle {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.game-showcase-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 32px;
}

.game-showcase-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.game-showcase-icon {
  width: 170px;
  height: 170px;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2), 0 12px 24px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--border-glass);
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.game-showcase-card:hover .game-showcase-icon {
  transform: scale(1.04);
}

.game-specs-mini {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.game-specs-mini span {
  color: var(--text-pure);
  font-weight: 600;
}

.game-showcase-desc {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 22px;
}

.game-highlights-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.game-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.025);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.highlight-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass);
}

.highlight-item .check-icon {
  color: var(--accent-mint);
  font-weight: bold;
  font-size: 1.05rem;
  line-height: 1;
}

.game-showcase-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Screenshots Preview Strip */
.game-screenshots-strip {
  background: rgba(0, 0, 0, 0.4);
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.screenshots-strip-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.screenshots-scroll-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
}

.screenshots-scroll-row::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll-row::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.screenshot-thumb {
  height: 175px;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.screenshot-thumb:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
}

/* --- Bento Studio Pillars --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-glow-secondary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(121, 40, 202, 0.2);
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--secondary-subtle);
  border: 1px solid var(--border-glow-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.bento-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.bento-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Arise Labs Early Access Section --- */
.labs-card {
  background: radial-gradient(circle at 80% 20%, rgba(121, 40, 202, 0.18) 0%, rgba(15, 18, 28, 0.95) 70%);
  border: 1px solid var(--border-glow-secondary);
  border-radius: var(--radius-xl);
  padding: 50px 44px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(121, 40, 202, 0.2);
}

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

/* --- Catalog Grid on Games Page --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow-primary);
  box-shadow: var(--shadow-card), 0 0 30px rgba(255, 42, 95, 0.2);
}

.game-card-thumb {
  position: relative;
}

.game-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

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

.game-card-title {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.game-card-genre {
  font-size: 0.85rem;
  color: var(--accent-mint);
  font-weight: 600;
  margin-bottom: 12px;
}

.game-card-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* Filter Toolbar */
.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  background: var(--bg-card);
  padding: 16px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.filter-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: var(--primary-light);
  box-shadow: 0 0 16px rgba(255, 42, 95, 0.35);
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-box input {
  width: 100%;
  padding: 10px 18px 10px 44px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 14px var(--primary-glow);
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* --- Forms & Legal Pages --- */
.legal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 50px 48px;
  box-shadow: var(--shadow-card);
}

.legal-highlight-box {
  background: var(--primary-subtle);
  border: 1px solid var(--border-glow-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 30px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-pure);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.specs-table th, .specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.specs-table th {
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Reusable Next-Gen Glass Card --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(255, 42, 95, 0.35);
  box-shadow: var(--shadow-card), 0 0 35px rgba(255, 42, 95, 0.12);
}

/* --- Contact Page Layout & Components --- */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: flex-start;
}

.contact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Form Controls & Feedback */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group.row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .required-star {
  color: var(--primary);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: rgba(7, 10, 18, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-dim);
}

.form-control:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(10, 14, 24, 0.85);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 42, 95, 0.15), 0 0 24px var(--primary-glow);
  background: rgba(14, 18, 30, 0.95);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

select.form-control option {
  background-color: #0c101a;
  color: #f1f5f9;
  padding: 10px;
}

textarea.form-control {
  resize: vertical;
  min-height: 125px;
  line-height: 1.65;
}

.form-group.has-error .form-control {
  border-color: #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
}

.form-helper-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Direct Contact Channels */
.contact-channel-card {
  background: rgba(10, 14, 24, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.contact-channel-card:hover {
  border-color: var(--border-glass);
  background: rgba(18, 24, 38, 0.75);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.contact-channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-icon.primary {
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--border-glow-primary);
}

.contact-channel-icon.secondary {
  background: var(--secondary-subtle);
  color: #c084fc;
  border: 1px solid var(--border-glow-secondary);
}

.contact-channel-icon.mint {
  background: rgba(0, 245, 160, 0.1);
  color: var(--accent-mint);
  border: 1px solid var(--border-glow-mint);
}

.contact-channel-content {
  flex-grow: 1;
}

.contact-channel-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 3px;
}

.contact-channel-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  word-break: break-all;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.contact-channel-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.contact-channel-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.copy-btn-mini {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-left: 8px;
  transition: all var(--transition-fast);
}

.copy-btn-mini:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

/* Pulse Badge Indicator */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-mint);
  background: rgba(0, 245, 160, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glow-mint);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
  animation: pulseDotMini 2s infinite ease-in-out;
}

@keyframes pulseDotMini {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* --- FAQ Accordion System --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(10, 14, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-glass);
  background: rgba(16, 22, 36, 0.75);
}

.faq-item.active {
  border-color: var(--border-glow-primary);
  background: rgba(255, 42, 95, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question, .faq-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-pure);
  transition: color var(--transition-fast);
  gap: 14px;
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.faq-answer, .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 0 20px;
}

.faq-item.active .faq-answer, .faq-item.active .faq-body {
  padding: 0 20px 18px 20px;
}

.faq-answer a, .faq-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* Global Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

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

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 32px;
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.toast, .toast-notification {
  pointer-events: auto;
  transform: translateY(30px) scale(0.95);
  background: rgba(14, 18, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow-mint);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 245, 160, 0.25);
  color: #ffffff;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  max-width: 90vw;
}

.toast.toast-error, .toast-notification.toast-error {
  border-color: rgba(255, 42, 95, 0.6);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 42, 95, 0.25);
  color: #ff99b0;
}

.toast.show, .toast-notification.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 990;
}

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

.back-to-top:hover {
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-3px);
}

/* --- Modern Footer --- */
.site-footer {
  background: #030407;
  border-top: 1px solid var(--border-subtle);
  padding-top: 70px;
  padding-bottom: 40px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 14px;
  margin-bottom: 20px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 0 16px var(--primary-glow);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-pure);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.footer-nav a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

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

.footer-legal-links a {
  color: var(--text-dim);
}

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

/* --- Responsive Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-actions .btn {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .site-header {
    top: 10px;
  }
  .header-container {
    padding: 8px 18px;
  }
  .hero-section {
    padding-top: 110px;
  }
  .glass-card {
    padding: 24px 20px;
  }
  .form-group.row-group {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-channel-card {
    padding: 16px;
    gap: 12px;
  }
  .game-showcase-card {
    padding: 24px 20px;
  }
  .game-showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .game-showcase-icon-col {
    align-items: flex-start;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
  }
  .filter-toolbar {
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    width: 100%;
  }
  .legal-container {
    padding: 28px 20px;
  }
  .labs-card {
    padding: 32px 20px;
  }
  .labs-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Accessibility: Support Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #particle-canvas {
    display: none !important;
  }
  body::before, body::after {
    animation: none !important;
  }
}
