:root {
  --bg-main: #060913;
  --bg-card: rgba(16, 22, 43, 0.6);
  --glass-border: rgba(94, 186, 255, 0.15);
  --glass-bg: rgba(13, 19, 38, 0.4);
  --neon-blue: #00e1ff;
  --neon-purple: #8b5cf6;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --acc-glow: 0 0 20px rgba(0, 225, 255, 0.4);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background Effects */
.bg-fx {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.2;
}

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 10s infinite alternate ease-in-out;
}

.blob.one {
  background: radial-gradient(circle, var(--neon-blue), transparent 60%);
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
}

.blob.two {
  background: radial-gradient(circle, var(--neon-purple), transparent 60%);
  width: 500px;
  height: 500px;
  bottom: -200px;
  right: 10%;
  animation-duration: 12s;
}

@keyframes float {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(40px) scale(1.05);
  }
}

/* Typography elements */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #fff, var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Base Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(6, 9, 19, 0.7);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 1px;
}

.logo-icon {
  color: var(--neon-blue);
  text-shadow: var(--acc-glow);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.btn-primary {
  background: linear-gradient(90deg, #0f172a, #1e3a8a);
  border: 1px solid var(--neon-blue);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 225, 255, 0.3);
  position: relative;
  overflow: hidden;
  flex-direction: column;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(0, 225, 255, 0.6);
  transform: translateY(-2px);
}

.btn-subtext {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--neon-blue);
  margin-top: 4px;
}

.btn-outline {
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  background: transparent;
  padding: 8px 20px;
}

.btn-outline:hover {
  border-color: var(--neon-blue);
  background: rgba(0, 225, 255, 0.1);
}

/* Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

/* HERO */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

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

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -1px;
  margin: 20px 0;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 225, 255, 0.1);
  border: 1px solid rgba(0, 225, 255, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: var(--acc-glow);
  animation: pulsing 2s infinite;
}

@keyframes pulsing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 225, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 225, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 225, 255, 0);
  }
}

/* Image Wrapper with effects */
.image-wrapper {
  position: relative;
  padding: 10px;
}

.image-wrapper::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), transparent);
  z-index: -1;
  border-radius: 14px;
  filter: blur(15px);
  opacity: 0.5;
}

.game-screenshot {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* About Section */
.intro-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.intro-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.quote-box {
  margin-top: 32px;
  padding: 24px;
  border-left: 4px solid var(--neon-blue);
  background: linear-gradient(90deg, rgba(0, 225, 255, 0.05), transparent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 225, 255, 0.1);
  border-color: rgba(0, 225, 255, 0.4);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* Eyebrow */
.eyebrow {
  font-family: var(--font-mono);
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 12px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.gallery-item {
  overflow: hidden;
  padding: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Update section */
.update-card {
  padding: 40px;
}

.update-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 24px;
}

.update-header h3 {
  font-size: 1.8rem;
  margin-top: 12px;
}

.pill {
  background: var(--neon-purple);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
}

.update-date {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.lead {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 32px;
}

.changelog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.full-width {
  grid-column: 1 / -1;
}

.changelog-col h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--neon-blue);
}

.changelog-col ul {
  list-style: none;
}

.changelog-col li {
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.changelog-col li::before {
  content: "»";
  position: absolute;
  left: 0;
  color: var(--neon-purple);
}

.alert-box {
  margin-top: 40px;
  padding: 20px;
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  color: #fca5a5;
  border-radius: 4px;
}

/* Download box */
.download-box {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 20px 40px;
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(16, 22, 43, 0.8), rgba(6, 9, 19, 0.9));
}

.dl-info {
  text-align: left;
}

.dl-filename {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.dl-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.btn.lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  flex-direction: row;
  gap: 12px;
}

.dl-icon {
  width: 24px;
  height: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  margin-top: 100px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

/* Mobile Nav Styles */
.mobile-nav {
  display: none;
}

.mobile-menu-btn {
  display: none;
}

/* Animations Trigger */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {

  .hero-container,
  .intro-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .quote-box {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
  }

  .download-box {
    flex-direction: column;
    text-align: center;
  }

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

  .mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-main);
    z-index: 999;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
  }

  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
  }

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

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