:root {
  --bg-primary: #0a0a0d;
  --bg-secondary: #141417;
  --bg-card: rgba(255, 255, 255, 0.03);
  --accent-primary: #ffd966;
  --accent-secondary: #f1e5b3;
  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;
  --glass-bg: rgba(10, 10, 13, 0.75);
  --glass-border: rgba(255, 217, 102, 0.15);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
}

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

.text-center { text-align: center; }
.text-accent { color: var(--accent-primary); }

/* Layout & Containers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(255, 217, 102, 0.4);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  transition: var(--transition-smooth);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent-primary);
  font-size: 2rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #d4af37 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(255, 217, 102, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 217, 102, 0.4);
  color: var(--bg-primary);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 13, 0.8), var(--bg-primary));
  z-index: -1;
}

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

.hero-legal-badge {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--accent-primary);
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.hero-disclaimer {
  margin-top: 2rem;
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Game Section */
.game-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.game-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 217, 102, 0.05) 0%, rgba(10, 10, 13, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.game-wrapper {
  width: 90%;
  max-width: 1300px;
  height: 750px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 2px var(--glass-border), 0 0 30px rgba(255, 217, 102, 0.15);
  background-color: var(--bg-secondary);
  position: relative;
  transition: var(--transition-smooth);
}

.game-wrapper:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 0 2px rgba(255, 217, 102, 0.4), 0 0 40px rgba(255, 217, 102, 0.25);
}

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

/* Cards & Content Blocks */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--glass-border);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 217, 102, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.5rem;
}

/* Legal / Structured Content Pages */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
  border-bottom: 1px solid var(--glass-border);
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block h2 {
  margin-top: 2rem;
  font-size: 2rem;
}

.content-block ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

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

/* Footer */
.site-footer {
  background-color: var(--bg-secondary);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}

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

.footer-nav-col ul li {
  margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.legal-warning-footer {
  margin-bottom: 1rem;
  color: var(--accent-secondary);
  font-weight: 500;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(255, 217, 102, 0.1);
}

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

/* Media Queries */
@media (max-width: 1200px) {
  .game-wrapper {
    width: 95%;
  }
}

@media (max-width: 992px) {
  .section {
    padding: 70px 0;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .game-wrapper {
    height: 600px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  
  .container {
    padding: 0 20px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--glass-border);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-section {
    padding-top: 100px;
  }
  
  .game-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 12px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

/* Content Images */
.content-image-wrapper {
  margin: 3rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
}

.content-image {
  width: 100%;
  display: block;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.content-image:hover {
  opacity: 1;
}