:root {
  --bg-primary: #1b130f;
  --bg-secondary: #2a1d16;
  --surface: rgba(255, 244, 230, 0.05);
  --surface-border: rgba(255, 244, 230, 0.1);
  --accent-primary: #c2410c;
  --accent-secondary: #f97316;
  --highlight: #facc15;
  --text-primary: #fff7ed;
  --text-secondary: #fed7aa;
  --text-muted: #fdba74;
  
  --font-heading: 'Rye', serif;
  --font-body: 'Poppins', sans-serif;
  
  --border-radius-lg: 20px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  
  --spacing-desktop: 100px;
  --spacing-mobile: 60px;
  
  --glow-subtle: 0 0 20px rgba(194, 65, 12, 0.2);
  --glow-strong: 0 0 30px rgba(249, 115, 22, 0.4);
}

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

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

#dust-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 1px;
}

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

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(27, 19, 15, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(27, 19, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

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

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--highlight);
  transition: width 0.3s ease;
  box-shadow: var(--glow-subtle);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--highlight));
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--glow-subtle);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
  background-position: 100% 50%;
  color: #fff;
}

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

.btn-secondary:hover {
  background: rgba(255, 244, 230, 0.1);
  transform: translateY(-2px);
}

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

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: radial-gradient(circle at 70% 50%, rgba(194, 65, 12, 0.15) 0%, rgba(27, 19, 15, 1) 60%),
              url('images/photo-1473448912268-2022ce9509d8.png') center/cover fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(27, 19, 15, 0.3), var(--bg-primary));
  z-index: 1;
}

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

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(to right, var(--text-primary), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

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

.hero-visual {
  position: relative;
  border-radius: var(--border-radius-lg);
  padding: 20px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--surface-border);
  box-shadow: inset 0 0 40px rgba(194, 65, 12, 0.1), 0 20px 40px rgba(0,0,0,0.5);
}

.hero-image {
  width: 100%;
  border-radius: var(--border-radius-md);
  display: block;
}

/* GAME SECTION */
.game-section {
  padding: var(--spacing-desktop) 0;
  position: relative;
  background: url('images/photo-1508430644342-65011707073b.png') center/cover fixed;
}

.game-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary);
  opacity: 0.92;
}

.section-header {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--highlight);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.game-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-lg);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255, 244, 230, 0.05);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--border-radius-md);
  background: var(--bg-secondary);
}

/* FEATURES SECTION */
.features-section {
  padding: var(--spacing-desktop) 0;
  background: var(--bg-secondary);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 244, 230, 0.08);
  border-color: rgba(194, 65, 12, 0.3);
  box-shadow: var(--glow-subtle);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-primary), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

/* PAGE HERO (Inner Pages) */
.page-hero {
  padding: 180px 0 80px;
  background: linear-gradient(to bottom, rgba(27, 19, 15, 0.8), var(--bg-primary)),
              url('images/photo-1542385151-efd9000785a0.png') center/cover;
  text-align: center;
  border-bottom: 1px solid var(--surface-border);
}

.page-hero h1 {
  font-size: 3.5rem;
  color: var(--highlight);
  margin-bottom: 16px;
}

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

/* CONTENT PAGES */
.content-section {
  padding: var(--spacing-desktop) 0;
}

.content-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-lg);
  padding: 60px;
}

.content-box h2 {
  color: var(--highlight);
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 2rem;
}

.content-box h2:first-child {
  margin-top: 0;
}

.content-box p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.content-box ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary);
}

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

/* FOOTER */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--surface-border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 20px;
  max-width: 400px;
}

.footer-links h4 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 24px;
}

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

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

.footer-links a {
  color: var(--text-secondary);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 10px;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background: rgba(27, 19, 15, 0.5);
  border: 1px solid var(--surface-border);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(194, 65, 12, 0.2);
}

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