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

:root {
  /* Base Colors */
  --bg-dark: #1c1a16;
  --bg-sec: #2a251d;
  --bg-card: #f5e6c8;
  
  /* Accent Colors */
  --gold: #d4af37;
  --sand-yellow: #e6c068;
  --deep-sand: #c2a052;
  --brown: #6b4f2a;
  
  /* Text Colors */
  --text-primary: #2b2b2b;
  --text-secondary: #6e6e6e;
  --text-light: #ffffff;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  /* Shadows */
  --shadow-warm: 0 8px 24px rgba(212, 175, 55, 0.1);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-btn: 0 4px 12px rgba(212, 175, 55, 0.3);
  
  /* Transitions */
  --transition: all 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* Header */
.site-header {
  background-color: var(--bg-sec);
  border-bottom: 1px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-warm);
}

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

.logo-link {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--gold);
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

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

.header-cta {
  display: flex;
  align-items: center;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--gold);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  text-align: center;
  font-family: 'Cinzel', serif;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--sand-yellow) 0%, var(--gold) 50%, var(--deep-sand) 100%);
  color: var(--bg-dark);
  box-shadow: var(--shadow-btn);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold) 0%, var(--deep-sand) 50%, var(--brown) 100%);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  background-color: var(--bg-dark);
  background-image: linear-gradient(to bottom, rgba(28, 26, 22, 0.8), rgba(28, 26, 22, 1)), url('assets/egypt-desert-pyramids-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  color: #e0d5c1;
  margin-bottom: 30px;
}

.disclaimer-badge {
  display: inline-block;
  background-color: rgba(107, 79, 42, 0.3);
  border: 1px solid var(--deep-sand);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--sand-yellow);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.game-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, rgba(28, 26, 22, 0) 70%);
  pointer-events: none;
}

.game-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  background-color: var(--bg-sec);
  border-radius: var(--radius-xl);
  padding: 10px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-warm);
  animation: fadeIn 1.2s ease-out;
}

.game-iframe-container {
  position: relative;
  width: 100%;
  height: 750px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #000;
}

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

/* Information / Legal Cards Section */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.info-card {
  background-color: var(--bg-card);
  color: var(--text-primary);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  border-bottom: 4px solid var(--gold);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background-color: var(--bg-sec);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}

.info-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--gold);
}

.info-card h3 {
  color: var(--brown);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

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

/* Page Headers (Subpages) */
.page-header {
  background-color: var(--bg-sec);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

/* Content Pages */
.content-section {
  padding: 80px 0;
}

.content-card {
  background-color: var(--bg-card);
  color: var(--text-primary);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.content-card h2 {
  color: var(--brown);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

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

.content-card p {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.content-card ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  color: var(--brown);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 10px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--brown);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--sand-yellow);
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brown);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

/* Footer */
.site-footer {
  background-color: var(--bg-sec);
  border-top: 2px solid var(--gold);
  padding: 60px 0 20px;
  margin-top: 40px;
}

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

.footer-brand p {
  color: #a0a0a0;
  margin-top: 15px;
  max-width: 400px;
}

.footer-title {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: #a0a0a0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777;
  font-size: 0.9rem;
}

.age-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--sand-yellow);
}

.age-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--sand-yellow);
  border-radius: 50%;
  font-size: 0.8rem;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .section { padding: 70px 0; }
  .game-iframe-container { height: 600px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  
  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-sec);
    flex-direction: column;
    padding: 40px 20px;
    transition: var(--transition);
    border-top: 1px solid var(--gold);
  }
  
  .main-nav.active { left: 0; }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  
  .header-cta { display: none; }
  
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 2.5rem; }
  
  .game-iframe-container { height: 450px; }
  .info-grid { grid-template-columns: 1fr; gap: 20px; }
  
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
  .game-wrapper { border-radius: var(--radius-md); padding: 5px; }
  .game-iframe-container { height: 350px; border-radius: var(--radius-sm); }
  .hero h1 { font-size: 2rem; }
  .content-card { padding: 30px 20px; }
}