/* ======================================== PAGE STRUCTURE OVERRIDE SYSTEM ======================================== */
/* 
 * COMPREHENSIVE PAGE STRUCTURE FIX - Makes every page look exactly like the games page
 * This file overrides the entire page structure, not just navigation
 * 
 * LOAD ORDER: This file must be loaded AFTER all other CSS files
 * SCOPE: Fixes the entire visual hierarchy, positioning, and appearance
 */

/* ============ COMPLETE PAGE RESET - MUST BE FIRST ============ */
body, body * {
  box-sizing: border-box !important;
}

/* ============ BODY STRUCTURE OVERRIDE ============ */
body {
  background: #0a0a0a !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Inter', 'Arial', sans-serif !important;
  line-height: 1.6 !important;
  overflow-x: hidden !important;
}

/* ============ HERO SECTION COMPLETE OVERRIDE ============ */
.hero-section {
  min-height: auto !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1rem 1rem !important;
  padding-top: 60px !important; /* EXACT same as games page */
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: #0a0a0a !important;
  margin: 0 !important;
}

.hero-section.loaded {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero-content {
  max-width: 1200px !important;
  width: 100% !important;
  text-align: center !important;
}

/* ============ HERO BRAND COMPLETE OVERRIDE ============ */
.hero-brand {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 3px !important; /* EXACT same as games page */
  margin-bottom: calc(2rem - 30px) !important; /* EXACT same as games page */
  width: 100% !important;
  max-width: 100vw !important;
  overflow: visible !important;
}

.hero-brand-letter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 60px !important; /* EXACT same as games page */
  height: 60px !important; /* EXACT same as games page */
  border-radius: 6px !important;
  font-size: 72px !important; /* EXACT same as games page */
  font-weight: bold !important;
  color: #000 !important;
  background: #00ff41 !important; /* EXACT same as games page */
  border: 2px solid #ff4444 !important; /* EXACT same as games page */
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3) !important; /* EXACT same as games page */
  transition: all 0.3s ease !important;
  font-family: 'Minion Pro', 'Minion Pro Bold', 'Times New Roman', serif !important;
}

.hero-brand-letter:nth-child(6) {
  background: #FFFF00 !important; /* EXACT same as games page */
  border: 2px solid #ff4444 !important; /* EXACT same as games page */
  color: #ff4444 !important; /* EXACT same as games page */
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.3) !important; /* EXACT same as games page */
}

.hero-brand-letter:nth-child(10) {
  width: 60px !important; /* EXACT same as games page */
}

/* ============ HERO SUBTITLE COMPLETE OVERRIDE ============ */
.hero-subtitle {
  font-size: clamp(2.4rem, 8vw, 3.6rem) !important;
  color: #0a0a0a !important; /* EXACT same as games page */
  margin-bottom: 60px !important; /* EXACT same as games page */
  text-align: center !important;
  background: transparent !important;
  font-family: 'Minion Pro', 'Minion Pro Bold', 'Times New Roman', serif !important;
  font-weight: 600 !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative !important;
  z-index: 1 !important;
}

.hero-subtitle span {
  font-size: clamp(2.4rem, 8vw, 3.6rem) !important;
  color: #0a0a0a !important; /* EXACT same as games page */
}

/* ============ MAIN CONTENT POSITIONING OVERRIDE ============ */
.main-content {
  background: #0a0a0a !important;
  min-height: 100vh !important;
  padding: 2rem 0 !important;
  margin-top: 0 !important; /* Remove any top margin that could cause positioning issues */
}

.container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
}

/* ============ PROFILE PAGE SPECIFIC FIXES ============ */
.profile-page {
  background: #0a0a0a !important;
  color: #ffffff !important;
  padding-top: 0 !important; /* Remove the 80px padding that was causing positioning issues */
}

.profile-header {
  text-align: center !important;
  margin: 2rem 0 2rem 0 !important; /* Reduce top margin to match games page spacing */
}

/* ============ ACADEMY PAGE SPECIFIC FIXES ============ */
.academy-page .hero-section {
  padding-top: 60px !important; /* EXACT same as games page */
}

/* ============ WHITEPAPER PAGE SPECIFIC FIXES ============ */
.whitepaper-page .hero-section {
  padding-top: 60px !important; /* EXACT same as games page */
}

/* ============ CONTRACTS PAGE SPECIFIC FIXES ============ */
.contracts-page .hero-section {
  padding-top: 60px !important; /* EXACT same as games page */
}

/* ============ BUSINESS MODEL PAGE SPECIFIC FIXES ============ */
.business-model-page .hero-section {
  padding-top: 60px !important; /* EXACT same as games page */
}

/* ============ SUNRISE PROPHECY PAGE SPECIFIC FIXES ============ */
.sunrise-prophecy-page .hero-section {
  padding-top: 60px !important; /* EXACT same as games page */
}

/* ============ MINI LOGO COMPLETE OVERRIDE ============ */
.mini-logo-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 3rem 0 !important;
  background: transparent !important;
}

.mini-logo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.9px !important; /* EXACT same as games page */
}

.mini-logo-letter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important; /* EXACT same as games page */
  height: 18px !important; /* EXACT same as games page */
  border-radius: 0.9px !important; /* EXACT same as games page */
  font-size: 23.4px !important; /* EXACT same as games page */
  font-weight: bold !important;
  color: #000 !important;
  background: #00ff41 !important; /* EXACT same as games page */
  border: 0.6px solid #ff4444 !important; /* EXACT same as games page */
  box-shadow: none !important;
  transition: all 0.3s ease !important;
  font-family: 'Minion Pro', 'Minion Pro Bold', 'Times New Roman', serif !important;
}

.mini-logo-letter:nth-child(6) {
  background: #FFFF00 !important; /* EXACT same as games page */
  border: 0.6px solid #ff4444 !important; /* EXACT same as games page */
  color: #ff4444 !important; /* EXACT same as games page */
  box-shadow: none !important;
  font-size: 25.2px !important; /* EXACT same as games page */
}

.mini-logo-letter:nth-child(10) {
  background: #00ff41 !important; /* EXACT same as games page */
  border: 0.6px solid #ff4444 !important; /* EXACT same as games page */
  box-shadow: none !important;
  width: 18px !important; /* EXACT same as games page */
}

/* ============ RESPONSIVE OVERRIDES ============ */
@media (max-width: 768px) {
  .hero-brand {
    gap: 2px !important; /* EXACT same as games page */
    margin-bottom: 1.5rem !important;
  }
  
  .hero-brand-letter {
    width: 40px !important; /* EXACT same as games page */
    height: 40px !important;
    font-size: 48px !important; /* EXACT same as games page */
    border-radius: 3px !important;
    border-width: 1px !important;
  }
  
  .hero-brand-letter:nth-child(10) {
    width: 40px !important; /* EXACT same as games page */
  }
  
  .hero-section {
    padding-top: 80px !important; /* EXACT same as games page */
  }

  .hero-subtitle {
    font-size: 2rem !important;
    margin-bottom: 3rem !important;
  }
}

@media (max-width: 480px) {
  .hero-brand-letter {
    width: 30px !important;
    height: 30px !important;
    font-size: 36px !important;
  }
  
  .hero-brand-letter:nth-child(10) {
    width: 30px !important;
  }
}

/* ============ CSS VARIABLE OVERRIDE ============ */
:root {
  --primary: #00ff41 !important;
  --bg-primary: #0a0a0a !important;
  --bg-secondary: #0a0a0a !important;
  --text-primary: #ffffff !important;
  --text-secondary: #cccccc !important;
  --neon-cyan: #00d4ff !important;
  --neon-green: #00ff00 !important;
  --neon-red: #ff6b6b !important;
  --neon-gold: #ffd700 !important;
}

/* ============ OVERRIDE ANY CONFLICTING STYLES ============ */
*[style*="background: white"],
*[style*="background: #fff"],
*[style*="background: rgba(255, 255, 255"],
*[style*="background-color: white"],
*[style*="background-color: #fff"],
*[style*="background-color: rgba(255, 255, 255"] {
  background: #0a0a0a !important;
}

*[style*="color: black"],
*[style*="color: #000"],
*[style*="color: #000000"] {
  color: #ffffff !important;
}

/* ============ ENSURE PROPER Z-INDEX LAYERING ============ */
.navbar {
  z-index: 1000 !important;
}

.hero-section {
  z-index: 1 !important;
}

.main-content {
  z-index: 1 !important;
}

.mini-logo-container {
  z-index: 1 !important;
} 