:root {
  /* Base Colors - Neutral Tactical Palette */
  --bg-primary: #1c1f24;
  --bg-secondary: #252a30;
  --bg-panel: #2c3238;
  
  /* Glass Surfaces */
  --glass-surface: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.08);

  /* Accents */
  --accent-primary: #4f7a67;
  --accent-secondary: #5f7c8a;
  --accent-highlight: #c2b280;
  --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  --accent-glow: rgba(79, 122, 103, 0.15);

  /* Typography */
  --text-primary: #e6e9ed;
  --text-secondary: #aab2bb;
  --text-muted: #7c8791;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-sm: 24px;
  --space-md: 32px;
  --space-lg: 48px;
  --section-space-desk: 100px;
  --section-space-tab: 70px;
  --section-space-mob: 50px;

  /* Structure */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container-max: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section {
  padding: var(--section-space-desk) 0;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-sm);
}

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

.page-header {
  padding: calc(var(--section-space-desk) * 1.5) 0 var(--section-space-desk);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--glass-border);
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.page-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h2 { font-size: 2.5rem; margin-bottom: var(--space-sm); }
h3 { font-size: 1.5rem; margin-bottom: 16px; }

p { margin-bottom: 16px; }

.muted-text { color: var(--text-muted); font-size: 0.875rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--glass-hover);
  transform: translateY(-2px);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(28, 31, 36, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.brand-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-highlight);
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  background-image: linear-gradient(to bottom, rgba(28, 31, 36, 0.6), var(--bg-primary)), url('images/fps-tactical-urban-combat-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 2;
}

.hero-disclaimer {
  display: inline-block;
  background: var(--glass-surface);
  border: 1px solid var(--accent-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-highlight);
  margin-bottom: var(--space-sm);
  box-shadow: 0 0 10px var(--accent-glow);
}

.hero h1 {
  font-size: 4rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* Game Section (Core Product) */
.game-section {
  padding: var(--section-space-desk) 0;
  background: var(--bg-primary);
  position: relative;
}

.game-container {
  max-width: 1300px;
  margin: 0 auto;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.game-container::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-primary) 0%, transparent 50%, var(--accent-secondary) 100%);
  z-index: -1;
  opacity: 0.3;
}

.game-container:hover {
  transform: scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 20px var(--accent-glow);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.game-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

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

.game-frame-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #111;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.game-frame-placeholder {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/fps-engine-initialization-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: #0d0f12;
}

.game-frame-placeholder::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13, 15, 18, 0.7);
}

.placeholder-text {
  position: relative;
  z-index: 2;
  font-family: monospace;
  color: var(--accent-primary);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-align: center;
  border: 1px solid var(--accent-primary);
  padding: 16px 32px;
  background: rgba(79, 122, 103, 0.1);
}

/* Features / Cards */
.features-section {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.feature-card {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--glass-hover);
  transform: translateY(-5px);
  border-color: rgba(95, 124, 138, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
}

.feature-icon img {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* Internal Layouts (About, Legal, Contact) */
.content-card {
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.content-card h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
  margin-bottom: var(--space-sm);
}

.legal-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.legal-list li {
  margin-bottom: 10px;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 3px rgba(95, 124, 138, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Disclaimer / Warning Blocks */
.warning-block {
  background: rgba(194, 178, 128, 0.05);
  border-left: 4px solid var(--accent-highlight);
  padding: var(--space-sm);
  margin-bottom: var(--space-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.warning-block strong {
  color: var(--accent-highlight);
  display: block;
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: var(--section-space-tab) 0 var(--space-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 400px;
}

.footer-title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-legal-notice {
  text-align: center;
  border-top: 1px solid var(--glass-border);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

.age-badge {
  display: inline-block;
  width: 40px; height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  line-height: 36px;
  text-align: center;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-legal-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 16px;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .game-container { margin: 0 var(--space-sm); }
  .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  :root {
    --section-space-desk: var(--section-space-tab);
  }
  
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-toggle { display: block; }
  
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1rem; }
  
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
}

@media (max-width: 480px) {
  :root {
    --section-space-desk: var(--section-space-mob);
  }
  .page-title { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
}