:root {
  --bg-primary: #121417;
  --bg-secondary: #1A1F24;
  --surface: #232A31;
  --evidence-board: #2C1F18;
  --leather: #6A513A;
  --gold: #C7A05A;
  --red: #8B4343;
  --paper: #D8C5A0;
  --text-primary: #F3EEE5;
  --text-secondary: #B6B0A6;
  --text-muted: #7E7A73;
  --border: rgba(216, 197, 160, 0.12);
  --font-heading: 'Georgia', serif;
  --font-body: system-ui, -apple-system, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: normal;
}

h1 { font-size: 2.5rem; color: var(--gold); }
h2 { font-size: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; display: inline-block; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--paper);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, details:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--bg-primary);
}

.btn-gold:hover {
  background-color: var(--paper);
  color: var(--bg-primary);
}

.btn-red {
  background-color: var(--red);
  color: var(--text-primary);
}

.btn-red:hover {
  background-color: #a35050;
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--bg-primary);
}

/* TOP DISCLAIMER */
.top-disclaimer {
  background-color: #000;
  color: var(--text-secondary);
  text-align: center;
  padding: 0.5rem 5%;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  border-bottom: 1px solid var(--leather);
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  background-color: var(--bg-secondary);
  border-bottom: 2px solid var(--leather);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Updated Logo Styles */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  display: block;
  height: 54px;
  width: auto;
  max-width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-primary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.9rem;
}

nav a:hover {
  color: var(--gold);
}

.header-cta {
  background: var(--gold);
  color: var(--bg-primary);
  padding: 0.5rem 1.5rem;
  font-family: var(--font-mono);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 2px;
}

/* SPLIT SECTIONS */
.split-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.split-section.alt-bg {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.split-container.reverse {
  flex-direction: row-reverse;
}

.split-text {
  flex: 1;
}

.split-image {
  flex: 1;
}

.split-image img {
  width: 100%;
  height: auto;
  border: 4px solid var(--leather);
  border-radius: 2px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* HERO SPECIFIC */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* GAME SECTION */
.game-section {
  padding: 6rem 5%;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 2px dashed var(--leather);
  border-bottom: 2px dashed var(--leather);
}

.game-section h2 {
  margin-bottom: 2rem;
  color: var(--gold);
  text-align: center;
}

.game-wrapper {
  width: 80%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: #000;
  border: 4px solid var(--leather);
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.game-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* EVIDENCE SECTION */
.evidence-section {
  background: var(--evidence-board);
  padding: 6rem 5%;
}

.evidence-section h2 {
  text-align: center;
  color: var(--paper);
  margin-bottom: 3rem;
  display: block;
  border: none;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.evidence-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.evidence-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid var(--leather);
  margin-bottom: 1.5rem;
}

.evidence-card h3 {
  font-family: var(--font-mono);
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  border-left: 4px solid var(--gold);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  color: var(--gold);
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-mono);
  color: var(--paper);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* FAQ */
details {
  background: var(--surface);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
}

summary {
  padding: 1.2rem;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-primary);
  outline: none;
  font-family: var(--font-heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  color: var(--gold);
  font-family: var(--font-mono);
}

details[open] summary::after {
  content: '-';
}

details p {
  padding: 0 1.2rem 1.2rem;
  color: var(--text-secondary);
  margin: 0;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--surface);
  padding: 2rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-mono);
  color: var(--paper);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.contact-form input, .contact-form textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.8rem;
  font-family: var(--font-body);
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: 1px solid var(--gold);
}

.form-message {
  display: none;
  padding: 1rem;
  background: rgba(199, 160, 90, 0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  text-align: center;
  margin-top: 1rem;
}

/* LEGAL PAGES */
.legal-main {
  padding: 6rem 5%;
  min-height: 70vh;
}

.case-file-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.case-file-card section {
  margin-bottom: 2rem;
}

.case-file-card h2 {
  font-size: 1.5rem;
  color: var(--paper);
  margin-top: 2rem;
  border-bottom: 1px dashed var(--leather);
}

/* FOOTER */
.archive-footer {
  background: var(--bg-secondary);
  border-top: 4px solid var(--leather);
  padding: 4rem 5% 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-links h4, .footer-legal h4, .footer-support h4 {
  font-family: var(--font-mono);
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links ul, .footer-legal ul {
  list-style: none;
}

.footer-links li, .footer-legal li {
  margin-bottom: 0.5rem;
}

.footer-links a, .footer-legal a {
  color: var(--text-secondary);
  font-family: var(--font-body);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 2px solid var(--gold);
  padding: 1.5rem 5%;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.cookie-banner p {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .game-wrapper { width: 90%; }
}

@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .split-container, .split-container.reverse {
    flex-direction: column;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .game-wrapper { width: 100%; aspect-ratio: 4/3; }
  .stats-grid { grid-template-columns: 1fr; }
  .brand-logo-img { height: 44px; }
}