/* Main CSS - Global Styles */
:root {
  /* Color Variables */
  --bg-primary: #121212;
  --bg-secondary: #1A1A1A;
  --bg-card: #1E1E1E;
  --neon-blue: #00BFFF;
  --neon-purple: #8A2BE2;
  --neon-blue-glow: 0 0 5px rgba(0, 191, 255, 0.5), 0 0 20px rgba(0, 191, 255, 0.3);
  --neon-purple-glow: 0 0 5px rgba(138, 43, 226, 0.5), 0 0 20px rgba(138, 43, 226, 0.3);
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.5);
  
  /* Spacing (8px system) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 40px;
  --space-2xl: 48px;
  
  /* Animation Variables */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  font-weight: 600;
}

h1 {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: var(--space-md);
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  margin: var(--space-sm) auto 0;
  box-shadow: var(--neon-blue-glow);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  transition: var(--transition-normal);
  background-color: transparent;
}

.btn-primary {
  background-color: var(--neon-blue);
  color: var(--bg-primary);
  box-shadow: var(--neon-blue-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.8), 0 0 30px rgba(0, 191, 255, 0.4);
}

.btn-game {
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
  color: white;
  box-shadow: var(--neon-blue-glow);
  width: 100%;
}

.btn-game:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.7), 0 0 30px rgba(0, 191, 255, 0.5);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  transition: var(--transition-normal);
}

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

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--neon-blue);
  text-shadow: var(--neon-blue-glow);
  transition: var(--transition-fast);
}

.logo:hover {
  color: var(--neon-purple);
  text-shadow: var(--neon-purple-glow);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
}

.nav-list li {
  margin-left: var(--space-lg);
}

.nav-list a {
  font-weight: 500;
  position: relative;
  padding-bottom: var(--space-xs);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  transition: var(--transition-fast);
  box-shadow: var(--neon-blue-glow);
}

.nav-list a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-blue);
  text-shadow: var(--neon-blue-glow);
}

.footer-logo p {
  color: var(--text-secondary);
  margin-top: var(--space-xs);
  font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  position: relative;
}

.footer-links h4::after,
.footer-social h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--neon-purple);
  box-shadow: var(--neon-purple-glow);
}

.footer-links ul li {
  margin-bottom: var(--space-sm);
}

.footer-links ul li a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--neon-blue);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.social-icons a:hover {
  background-color: var(--neon-purple);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--neon-purple-glow);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin: 0;
}

/* Disclaimer Section */
.disclaimer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: var(--space-sm) 0;
  text-align: center;
}

.disclaimer p {
  color: var(--text-tertiary);
  font-style: italic;
  font-size: 0.875rem;
  margin: 0;
}

/* Neon Text Effect */
.neon-text {
  color: var(--neon-blue);
  text-shadow: var(--neon-blue-glow);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    height: 70px;
  }
  
  .mobile-menu-toggle {
    display: block;
    z-index: 101;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
    z-index: 100;
    padding: var(--space-2xl) 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-list li {
    margin: var(--space-md) 0;
  }
  
  /* Mobile menu animation */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Overlay when mobile menu is active */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99;
    display: none;
  }
  
  .menu-overlay.active {
    display: block;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section-title {
    margin-bottom: var(--space-lg);
  }
  
  .nav-list {
    width: 80%;
  }
}