﻿/* =========================================
   MANSA MUSA: EMPIRE OF GOLD - CUSTOM DESIGN
   ========================================= */

:root {
  --gold-sun: #FFD700;
  --gold-pure: #D4AF37;
  --gold-sand: #C08A3E;
  --gold-bronze: #8B5A2B;
  
  --bg-deep-night: #090B10;
  --bg-onyx: #0A0806;
  --bg-panel: rgba(18, 14, 10, 0.85);

  --text-main: #E5E0D8;
  --text-muted: #A8A29E;

  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
}

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

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-pure);
  letter-spacing: 2px;
}
.logo-m {
  font-size: 2.2rem;
  color: var(--gold-sun);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gold-pure);
  color: #0B0806;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-outline:hover {
  background: var(--gold-sun);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/mansa_musa_banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, var(--bg-onyx) 0%, rgba(5, 4, 3, 0.65) 40%, rgba(5, 4, 3, 0.75) 100%);
  backdrop-filter: blur(5px);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  margin-top: 50px;
}
.subtitle {
  font-family: var(--font-heading);
  color: #FFF3B0;
  font-size: 1.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.title {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FFF3B0 0%, #FFD700 30%, #D4AF37 70%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 30px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.9));
}
.description {
  font-size: 1.2rem;
  color: #ddd;
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
  background-size: 200% auto;
  color: #0B0806;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem; /* Larger font */
  padding: 20px 45px; /* Bigger button */
  border-radius: 6px;
  letter-spacing: 1px;
  /* Stronger glow to make it stand out */
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 35px rgba(255, 215, 0, 0.45);
  transition: 0.5s;
  animation: pulse-glow 2s infinite;
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.9), 0 0 50px rgba(255, 215, 0, 0.7);
}

@keyframes pulse-glow {
  0% { box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 35px rgba(255, 215, 0, 0.45); }
  50% { box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 55px rgba(255, 215, 0, 0.65); }
  100% { box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 35px rgba(255, 215, 0, 0.45); }
}

/* Stats Strip */
.stats-strip {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: -60px auto 0;
  background: linear-gradient(180deg, rgba(30, 20, 10, 0.95) 0%, rgba(15, 10, 5, 0.98) 100%);
  border: 2px solid var(--gold-pure);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.9), 0 0 40px rgba(212, 175, 55, 0.3);
}
.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}
.stat-item h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold-sun);
  margin-bottom: 5px;
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Market Section */
.market-section {
  padding: 100px 20px;
  background-color: var(--bg-onyx);
}
.market-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold-pure);
  margin-top: 15px;
}
.section-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}
.features-list {
  list-style: none;
}
.features-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}
.features-list li::before {
  content: 'вњ¦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-pure);
}
.features-list strong {
  color: var(--gold-sun);
}
.market-chart {
  height: 400px;
  background: var(--bg-deep-night);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Footer */
.footer {
  text-align: center;
  padding: 60px 20px;
  background: #050403;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-pure);
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.disclaimer {
  font-size: 0.75rem !important;
  color: #666 !important;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .title { font-size: 3rem; }
  .market-container { grid-template-columns: 1fr; }
  .stats-strip { flex-direction: column; gap: 30px; }
}
/ *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
/* ==============================
   4. INTERACTIVE FEATURES
   ============================== */

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast-notification {
  background: linear-gradient(135deg, rgba(20, 15, 10, 0.95), rgba(10, 8, 5, 0.98));
  border: 1px solid var(--gold-pure);
  border-left: 4px solid var(--gold-sun);
  border-radius: 6px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 0 15px rgba(212, 175, 55, 0.2);
  transform: translateX(-150%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}
.toast-icon {
  font-size: 1.5rem;
}
.toast-text {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Calculator Section */
.calculator-section {
  padding: 80px 20px;
  background-color: #080604;
}
.calc-container {
  max-width: 800px;
  margin: 0 auto;
}
.calc-box {
  background: linear-gradient(180deg, rgba(30, 20, 10, 0.95) 0%, rgba(15, 10, 5, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.8);
}
.calc-header, .calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.calc-result {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  font-size: 1.4rem;
}
.gold-text { color: var(--gold-pure); font-size: 1.5rem;}
.profit-text { color: #4ade80; font-size: 1.8rem; font-weight: 800;}
.calc-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 10px;
}
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--gold-sun) 10%, var(--bg-deep-night) 10%);
  border-radius: 4px;
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-sun);
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  background-color: var(--bg-onyx);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: rgba(15, 10, 5, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  overflow: hidden;
}
.faq-question {
  padding: 20px;
  font-weight: 600;
  color: var(--gold-pure);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}
.faq-question:hover {
  background: rgba(212, 175, 55, 0.1);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: var(--bg-deep-night);
}
.faq-answer p {
  padding: 20px;
  color: #ddd;
  font-size: 0.95rem;
}
.faq-item.active .faq-question {
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.faq-item.active .icon {
  transform: rotate(45deg);
}

/* ==============================
   5. MOBILE FIXES 
   ============================== */
@media (max-width: 768px) {
  .hero {
    background-position: 20% center; /* Focus on the Golden Bull! */
    min-height: 100vh;
  }
  .hero-overlay {
    background: linear-gradient(0deg, var(--bg-onyx) 0%, rgba(5, 4, 3, 0.3) 40%, rgba(5, 4, 3, 0.6) 100%);
    backdrop-filter: blur(2px);
  }
  .title {
    font-size: 3.5rem;
    margin-bottom: 15px;
  }
  .description {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  .btn-gold {
    padding: 16px 25px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
  }
  .stats-strip {
    margin-top: -30px;
    padding: 20px;
  }
  .calc-header, .calc-result {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .toast-notification {
    padding: 10px 15px;
  }
}
