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

:root {
  /* Base Colors */
  --bg-primary: #050403;
  --bg-secondary: #0f0c08;
  --glass-gold: rgba(255, 215, 0, 0.05);
  --glass-dark: rgba(5, 4, 3, 0.6);
  
  /* Accents */
  --royal-gold: #FFD700;
  --ancient-amber: #FFB347;
  --neon-turquoise: #00F5D4;
  --pharaoh-purple: #7B2CBF;
  --glow-highlight: #FFF3B0;
  
  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Gradients */
  --grad-gold: linear-gradient(135deg, #FFD700, #FFB347);
  --grad-mystic: linear-gradient(135deg, #00F5D4, #7B2CBF);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: #fff;
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--ancient-amber);
  border-radius: 4px;
}

/* Custom Cursor */
.cursor-glow {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(255,215,0,0.4) 0%, rgba(255,215,0,0) 70%);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 0.3s, height 0.3s;
  mix-blend-mode: screen;
}

/* Typography Utility */
.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-mystic {
  background: var(--grad-mystic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Particles */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: var(--royal-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ancient-amber), 0 0 20px var(--royal-gold);
  opacity: 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: var(--glass-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-100%);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--royal-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-gold);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--royal-gold);
}

nav a:hover::after {
  width: 100%;
}

.btn-primary {
  background: var(--grad-gold);
  color: var(--bg-primary);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:hover::before {
  width: 200px;
  height: 200px;
}

/* Sections Global */
section {
  position: relative;
  z-index: 2;
  padding: 100px 5%;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5,4,3,0.3) 0%, rgba(5,4,3,1) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
}

.legal-glossy-box {
  background: var(--glass-gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 25px 40px;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 215, 0, 0.05);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.legal-glossy-box ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.legal-glossy-box li {
  font-size: 0.85rem;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-glossy-box li::before {
  content: '✦';
  color: var(--ancient-amber);
}

/* Temple Reveal */
.temple-reveal {
  background: var(--bg-primary);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 80vh;
}

.temple-content h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.temple-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 20px;
}

.temple-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.temple-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  box-shadow: inset 0 0 50px var(--bg-primary);
  pointer-events: none;
}

.temple-img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.1);
}

/* Game Showcase */
.game-section {
  background: var(--bg-secondary);
  text-align: center;
  padding: 120px 5%;
}

.game-header {
  margin-bottom: 60px;
}

.game-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 10px;
}

.game-frame-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 24px;
  padding: 5px;
  background: linear-gradient(135deg, var(--royal-gold), var(--neon-turquoise), var(--pharaoh-purple));
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.2), 0 0 100px rgba(0, 245, 212, 0.1);
  animation: glowPulse 4s infinite alternate;
  transform: scale(0.95);
  opacity: 0;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 0 60px rgba(0, 245, 212, 0.1); }
  100% { box-shadow: 0 0 60px rgba(255, 215, 0, 0.4), 0 0 120px rgba(123, 44, 191, 0.3); }
}

.game-frame-wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 20px;
  background: #000;
  display: block;
}

/* Features */
.features {
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--glass-gold);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.5);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--royal-gold);
}

.feature-card p {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Parallax Immersion */
.parallax-section {
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: url('images/photo-1600521605604-007421379116.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.5;
  filter: sepia(0.3) hue-rotate(-10deg) brightness(0.6);
}

.parallax-content {
  text-align: center;
  z-index: 1;
}

.parallax-content h2 {
  font-family: var(--font-heading);
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 0 5px 20px rgba(0,0,0,0.9);
}

/* Trust Section */
.trust-section {
  background: var(--bg-secondary);
  padding: 80px 5%;
  text-align: center;
}

.trust-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--glass-gold);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-box h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--royal-gold);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.trust-item span.icon {
  color: var(--neon-turquoise);
  font-size: 1.5rem;
}

.trust-item p {
  font-size: 0.9rem;
  color: #ddd;
}

/* Footer */
footer {
  background: #020202;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  padding: 60px 5% 30px;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand p {
  color: #888;
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.company-address {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #999;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--royal-gold);
  margin-bottom: 20px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--glow-highlight);
}

.legal-notice {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-notice p {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Subpages General */
.subpage-hero {
  padding: 180px 5% 50px;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
  text-align: center;
}

.subpage-hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--royal-gold);
  margin-bottom: 20px;
}

.subpage-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5% 100px;
  color: #ddd;
  line-height: 1.8;
}

.subpage-content h2 {
  font-family: var(--font-heading);
  color: var(--ancient-amber);
  margin: 40px 0 20px;
}

.subpage-content p {
  margin-bottom: 20px;
}

.subpage-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.subpage-content li {
  margin-bottom: 10px;
  color: #ddd;
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  background: var(--glass-gold);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-info h2 {
  font-family: var(--font-heading);
  color: var(--ancient-amber);
  margin: 0 0 20px 0 !important;
}

.contact-info p {
  color: #ddd;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.contact-form input, .contact-form textarea {
  background: var(--glass-gold);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--royal-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.contact-form button {
  align-self: flex-start;
}

/* Responsive */
@media (max-width: 992px) {
  .temple-reveal {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(2.8rem, 6vw, 4rem);
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
    padding: 15px 5%;
  }
  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo {
    font-size: 1.2rem;
  }
  .hero {
    padding-top: 180px;
  }
  .subpage-hero {
    padding-top: 200px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .legal-glossy-box ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    text-align: center;
  }
  .parallax-content h2 {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .temple-content h2 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav a {
    font-size: 0.8rem;
  }
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .hero {
    padding-top: 200px;
  }
  .subpage-hero {
    padding-top: 220px;
  }
}