:root {
  /* Core Palette */
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --surface: #242424;
  --silver: #e5e5e5;
  --white: #ffffff;
  --brown-metal: #5a4633;
  --text-primary: #f5f5f5;
  --text-secondary: #bdbdbd;

  /* Sizing & Layout */
  --container-max: 1320px;
  --spacing-desktop: 100px;
  --spacing-tablet: 70px;
  --spacing-mobile: 50px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  
  /* Fonts */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { color: var(--text-secondary); }

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

/* 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;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(229, 229, 229, 0.15);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--white);
  border: 1px solid var(--brown-metal);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 229, 229, 0.1);
  z-index: 1000;
  padding: 20px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--silver);
  border-radius: 50%;
  position: relative;
}
.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border: 1px solid var(--brown-metal);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 1rem;
  color: var(--text-secondary);
  position: relative;
  font-weight: 500;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--silver);
  transition: var(--transition);
}

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

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

.header-cta {
  display: block;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile Menu */
@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.5rem;
  }
  
  .hamburger {
    display: block;
  }
  
  .header-cta {
    display: none;
  }
}

/* Main Spacing */
main {
  padding-top: 120px;
}

.section-spacing {
  margin-top: var(--spacing-mobile);
  margin-bottom: var(--spacing-mobile);
}

@media (min-width: 768px) {
  .section-spacing {
    margin-top: var(--spacing-tablet);
    margin-bottom: var(--spacing-tablet);
  }
}

@media (min-width: 1024px) {
  .section-spacing {
    margin-top: var(--spacing-desktop);
    margin-bottom: var(--spacing-desktop);
  }
}

/* Game Hero Section - CORE FOCUS */
.game-hero {
  text-align: center;
  position: relative;
}

.game-title-wrapper {
  margin-bottom: 40px;
}

.game-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--white);
}

.game-subtitle {
  color: var(--brown-metal);
  font-size: 1.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.game-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 10px;
  border: 1px solid rgba(229, 229, 229, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition);
}

.game-container:hover {
  transform: scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 229, 229, 0.03);
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-primary);
}

@media (min-width: 768px) {
  .iframe-wrapper { height: 700px; }
  .game-container { width: 95%; padding: 15px; }
}

@media (min-width: 1200px) {
  .iframe-wrapper { height: 800px; }
  .game-container { width: 100%; padding: 20px; }
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* About / Intro Section */
.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-section {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--surface);
}

/* Features Section */
.features-section {
  text-align: center;
}

.features-header {
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--surface);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  background-color: var(--surface);
  transform: translateY(-5px);
  border-color: rgba(229, 229, 229, 0.2);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--brown-metal);
  color: var(--silver);
}

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

.feature-card p {
  font-size: 0.95rem;
}

/* Content Pages (Terms, Privacy, etc.) */
.content-page {
  max-width: 900px;
  margin: 0 auto;
}

.content-page h1 {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--surface);
}

.content-page h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.content-page p, .content-page ul {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.content-page ul {
  padding-left: 20px;
  list-style: disc;
}

.content-page li {
  margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--silver);
  font-size: 0.9rem;
}

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

.form-control:focus {
  outline: none;
  border-color: var(--brown-metal);
}

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

/* Footer & Legal */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--surface);
  padding: 60px 0 20px;
  margin-top: var(--spacing-desktop);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

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

.footer-nav a:hover {
  color: var(--white);
}

.legal-disclaimer {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 30px;
  background-color: var(--bg-primary);
  border: 1px solid var(--surface);
  border-radius: var(--radius-md);
}

.legal-disclaimer h4 {
  color: var(--brown-metal);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-disclaimer p {
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--surface);
  color: #666;
  font-size: 0.85rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease-in forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }