@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Color Palette - Desert Lux */
  --bg-primary: #1a0f0a;
  --bg-secondary: #2a1a12;
  --bg-darker: #0d0705;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --surface-border: rgba(250, 204, 21, 0.15);
  
  --accent-primary: #b91c1c;
  --accent-sec: #facc15;
  --accent-glow: #fde68a;
  
  --text-primary: #fff7ed;
  --text-sec: #fed7aa;
  
  /* Layout */
  --max-width: 1320px;
  --spacing-desktop: 110px;
  --spacing-tablet: 80px;
  --spacing-mobile: 60px;
  
  --font-heading: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--accent-sec);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(250, 204, 21, 0.2);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

p {
  color: var(--text-sec);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 15, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--surface-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-sec);
}

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

.nav-links a {
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--accent-sec);
  margin: 5px 0;
  transition: 0.3s;
}

/* Mobile Menu */
#menu-toggle {
  display: none;
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 90px);
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 40px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--surface-border);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  #menu-toggle:checked ~ .nav-links {
    right: 0;
  }
  
  .nav-cta {
    display: none; /* Hide desktop button on mobile nav bar, show inside menu instead if desired */
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-sec));
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--accent-sec);
  color: var(--accent-sec);
}

.btn-ghost:hover {
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.1);
}

/* Sections */
.section {
  padding: var(--spacing-desktop) 0;
  position: relative;
}

@media (max-width: 1024px) {
  .section { padding: var(--spacing-tablet) 0; }
}

@media (max-width: 768px) {
  .section { padding: var(--spacing-mobile) 0; }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to bottom, rgba(26,15,10,0.2), var(--bg-primary)),
    url('images/photo-1542401886-65d6c61dece1-hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: sepia(0.6) hue-rotate(-20deg) saturate(1.5) brightness(0.4);
  z-index: 0;
}

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

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-text {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-disclaimer {
  font-size: 0.85rem;
  color: rgba(254, 215, 170, 0.6);
  margin-top: 2rem;
  border-top: 1px solid rgba(250, 204, 21, 0.2);
  padding-top: 1rem;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .hero-actions {
    justify-content: center;
  }
}

.hero-visual {
  position: relative;
  height: 500px;
  animation: fadeIn 1.5s ease forwards;
}

.hero-image-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 40px rgba(250,204,21,0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  mix-blend-mode: luminosity;
  filter: sepia(1) hue-rotate(-10deg) saturate(3);
}

/* Glass Card */
.glass-panel {
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.glass-panel:hover {
  background: var(--surface-hover);
  transform: translateY(-5px);
}

/* Game Section */
.game-section {
  background: var(--bg-secondary);
  position: relative;
}

.game-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--bg-darker);
  padding: 10px;
  border: 2px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 0 50px rgba(250, 204, 21, 0.15), 0 20px 40px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.game-wrapper:hover {
  transform: scale(1.01);
  box-shadow: 0 0 60px rgba(250, 204, 21, 0.25), 0 20px 40px rgba(0,0,0,0.6);
}

.game-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 15px;
  box-shadow: inset 0 0 30px rgba(185, 28, 28, 0.2);
  pointer-events: none;
}

.game-frame {
  width: 100%;
  height: 700px;
  border: none;
  border-radius: 12px;
  display: block;
}

@media (max-width: 1024px) {
  .game-frame { height: 600px; }
}

@media (max-width: 768px) {
  .game-frame { height: 500px; }
  .game-wrapper { padding: 5px; }
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(185, 28, 28, 0.1);
  border: 1px solid var(--accent-sec);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--accent-glow);
}

/* Internal Page Header */
.page-header {
  padding: 180px 0 80px;
  background: radial-gradient(circle at top, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
  border-bottom: 1px solid var(--surface-border);
}

/* Content Blocks */
.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block h2 {
  margin-top: 2rem;
  color: var(--accent-sec);
}

.content-block ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-sec);
}

.content-block li {
  margin-bottom: 0.5rem;
}

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

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

.form-group label {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  background: var(--bg-darker);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-sec);
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}

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

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links a:hover {
  color: var(--accent-sec);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(254, 215, 170, 0.5);
  font-size: 0.9rem;
}

/* Atmosphere Effects */
.dust-particles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: var(--accent-glow);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp 8s infinite linear;
}

/* Animations */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
  20% { opacity: 0.3; }
  80% { opacity: 0.1; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* Generate 10 static particles for pure CSS atmosphere */
.particle:nth-child(1) { left: 10%; width: 3px; height: 3px; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: 2s; }
.particle:nth-child(3) { left: 50%; width: 2px; height: 2px; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: 1s; }
.particle:nth-child(5) { left: 90%; width: 3px; height: 3px; animation-duration: 14s; animation-delay: 3s; }
.particle:nth-child(6) { left: 20%; width: 4px; height: 4px; animation-duration: 16s; animation-delay: 5s; }
.particle:nth-child(7) { left: 40%; width: 2px; height: 2px; animation-duration: 11s; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 60%; width: 5px; height: 5px; animation-duration: 19s; animation-delay: 0.5s; }
.particle:nth-child(9) { left: 80%; width: 3px; height: 3px; animation-duration: 13s; animation-delay: 4.5s; }
.particle:nth-child(10) { left: 15%; width: 4px; height: 4px; animation-duration: 17s; animation-delay: 1.5s; }