/* 
====================================================================
  lumijovex.world - Global Stylesheet
  Theme: Deep Underground Sanctuary / Crystal Mining
  Design System: Premium SaaS / Luxury Resort Vibe
==================================================================== 
*/

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

/* --- 1. Variables --- */
:root {
  /* Color Palette - Minerals & Earth */
  --bg-dark: #07090b; /* Deepest stone */
  --bg-cavern: #0d1115; /* Main cavern background */
  --bg-surface: rgba(22, 28, 36, 0.65); /* Glassmorphism base */
  --bg-surface-hover: rgba(30, 38, 48, 0.8);
  --bg-surface-solid: #161c24;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #334155;
  
  --accent-emerald: #10b981; /* Crystal green */
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-gold: #fbbf24; /* Amber/gold ore */
  --accent-gold-glow: rgba(251, 191, 36, 0.15);
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
  
  /* Metrics */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--accent-emerald-glow);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  --container-max: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Ambient Background Effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 0%, var(--accent-emerald-glow) 0%, transparent 50%),
              radial-gradient(circle at 100% 100%, var(--accent-gold-glow) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img, iframe {
  max-width: 100%;
  border: none;
}

/* --- 3. Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section {
  padding: var(--space-xl) 0;
}

@media (max-width: 992px) {
  .section { padding: 5rem 0; }
}
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
}

/* --- 4. Components --- */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(13, 17, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.nav-brand span {
  color: var(--accent-emerald);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-emerald);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 5rem;
  /* background-image descriptive name: emerald-crystal-cave-background.jpg */
  background: linear-gradient(to bottom, rgba(7, 9, 11, 0.8) 0%, rgba(7, 9, 11, 1) 100%), 
              url('images/photo-1518709268805-4e9042af9f23.png') center/cover no-parallax;
  background-attachment: fixed;
}

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

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Secondary Pages Hero */
.hero-sub {
  min-height: 50vh;
  /* background-image descriptive name: abstract-golden-stone-texture.jpg */
  background: linear-gradient(to bottom, rgba(7, 9, 11, 0.7), rgba(7, 9, 11, 1)), 
              url('images/photo-1560205001-a7011fc0093c.png') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-sub h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* Core Game Section */
.game-section {
  position: relative;
  z-index: 10;
  margin-top: -5rem;
  padding-bottom: var(--space-xl);
}

.game-container {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  max-width: 1200px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.game-container:hover {
  transform: scale(1.005);
}

.game-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.game-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
}

.game-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.game-title {
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-title::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-surface-hover);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Content Pages (Legal, About, etc) */
.content-wrapper {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 4rem;
  max-width: 900px;
  margin: -4rem auto 4rem auto;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.content-wrapper h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: var(--accent-emerald);
}

.content-wrapper p, .content-wrapper ul {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.content-wrapper ul {
  padding-left: 1.5rem;
  list-style: disc;
}

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

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-main);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald-glow);
}

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

/* Footer */
.footer {
  background: var(--bg-surface-solid);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 400px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

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

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

.disclaimer-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- 5. Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.floating {
  animation: float 6s ease-in-out infinite;
}

/* --- 6. Media Queries --- */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .content-wrapper { padding: 3rem 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-surface-solid);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero h1 { font-size: 2.5rem; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; flex-direction: column; }
  .btn { width: 100%; }
  
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 1rem auto; }
}