/* ==========================================================================
   CSS Variables (Design System)
   ========================================================================== */
:root {
  /* Colors */
  --bg-primary: #0a0a0d;
  --bg-secondary: #141417;
  --bg-card: rgba(255, 255, 255, 0.03);
  
  --accent-primary: #f5e56b;
  --accent-secondary: #faf2b4;
  
  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;
  
  /* Layout & Spacing */
  --container-max-width: 1400px;
  --section-padding-desktop: 100px;
  --section-padding-tablet: 70px;
  --section-padding-mobile: 50px;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding-desktop) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.5rem; }

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

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ==========================================================================
   Components
   ========================================================================== */

/* Header (Glass Navigation) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 13, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 229, 107, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.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: -0.5px;
}

.logo span {
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(245, 229, 107, 0.3);
}

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

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #000;
  box-shadow: 0 4px 15px rgba(245, 229, 107, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 229, 107, 0.4);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-primary);
  background-image: url('images/hero-luxury-dark-yellow-abstract-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 13, 0.6) 0%, rgba(10, 10, 13, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-disclaimer {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 24px;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--accent-secondary);
}

.hero-disclaimer span {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Page Banner */
.page-banner {
  padding: 80px 0 60px;
  text-align: center;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Game Section */
.game-section {
  width: 100%;
}

.game-wrapper {
  position: relative;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  background-color: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 229, 107, 0.15);
  border: 1px solid rgba(245, 229, 107, 0.2);
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Cards (Glass UI) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  margin-top: 3rem;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 229, 107, 0.3);
}

.glass-card img {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

/* Content Blocks for Legal/About Pages */
.content-block {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-block h2, .content-block h3 {
  text-align: left;
  color: var(--accent-primary);
  margin-top: 2rem;
}

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

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

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

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

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

.footer-col p {
  font-size: 0.9rem;
}

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .section {
    padding: var(--section-padding-tablet) 0;
  }
  
  .game-wrapper {
    width: 95%;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile) 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 20px 0;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  h1 { font-size: 2.5rem; }
  
  .game-wrapper {
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    aspect-ratio: 4 / 3;
  }
  
  .content-block {
    padding: 30px 20px;
  }
}