/* ==========================================================================
   MCW AFFILIATES INDIA - 100% EXACT SCREENSHOT MATCH STYLESHEET
   ========================================================================== */

:root {
  --primary-gold: #ffc800;
  --secondary-gold: #c69214;
  --dark-navy: #0a0f1d;
  --header-bg: #0c1222;
  --card-bg: #12192c;
  --card-border: #1c2742;
  --text-main: #ffffff;
  --text-muted: #a0aec0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-navy);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  padding-bottom: 50px; /* Space for fixed bottom bar on mobile */
}

a {
  color: var(--primary-gold);
  text-decoration: none;
}

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

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   HEADER & NAVIGATION BAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 200, 0, 0.15);
  z-index: 1100;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--primary-gold);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 38px;
  width: auto;
}

/* Affiliate Support Badge Right */
.support-badge-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-gold);
  text-decoration: none;
  font-family: var(--font-heading);
}

.support-icon {
  font-size: 1.4rem;
}

.support-text {
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--primary-gold);
}

.support-text span {
  font-size: 0.75rem;
}

/* ==========================================================================
   MOBILE DRAWER MENU (EXACT SCREENSHOT 1 MATCH)
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #0b1021;
  z-index: 1300;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 5px 0 25px rgba(0,0,0,0.8);
}

.mobile-drawer.active {
  left: 0;
}

.drawer-header {
  height: 65px;
  background: #080c19;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--primary-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-logo {
  height: 32px;
}

.drawer-support-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-gold);
}

.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
}

.drawer-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-link {
  display: block;
  padding: 16px 22px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.drawer-link:hover {
  background: rgba(255, 200, 0, 0.1);
  color: var(--primary-gold);
}

/* Gold Highlight Box for Selected Menu Item (Promotions in Screenshot 1) */
.drawer-item.active-highlight {
  background: linear-gradient(90deg, #b88313 0%, #d4a528 100%);
}

.drawer-item.active-highlight .drawer-link {
  color: #ffffff !important;
  font-weight: 800;
}

/* ==========================================================================
   HERO BANNER (EXACT SCREENSHOT 2 MATCH)
   ========================================================================== */
.hero {
  padding-top: 85px;
  padding-bottom: 60px;
  background: radial-gradient(circle at 50% 30%, #1e1e50 0%, #0a0f1d 70%),
              url('../assets/images/2024/03/bg_signup-today-scaled-2.jpg') no-repeat center top / cover;
  text-align: center;
  position: relative;
}

.hero-image-wrapper {
  max-width: 380px;
  margin: 0 auto 20px auto;
}

.hero-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.5));
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: #e5ba22;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-sub-text {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 6px;
  font-weight: 600;
}

.hero-sub-text-2 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 600;
}

.btn-learn-more {
  background: linear-gradient(135deg, #c69214 0%, #e0aa28 100%);
  color: #ffffff;
  padding: 12px 35px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  text-transform: uppercase;
}

.hero-stats-desktop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.stat-card {
  background: rgba(18, 25, 44, 0.8);
  border: 1px solid var(--card-border);
  padding: 15px;
  border-radius: 8px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTIONS & FEATURES
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-darker {
  background-color: #070b16;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-title span {
  color: var(--primary-gold);
}

.title-bar {
  width: 70px;
  height: 4px;
  background: var(--primary-gold);
  margin: 10px auto 20px auto;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 35px auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--primary-gold);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Commission Table & Calculator */
.commission-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  overflow-x: auto;
}

.commission-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}

.commission-table th, .commission-table td {
  padding: 12px 15px;
  text-align: left;
}

.commission-table th {
  background: rgba(255, 200, 0, 0.1);
  color: var(--primary-gold);
}

.commission-table tr {
  border-bottom: 1px solid var(--card-border);
}

.highlight-rate {
  color: var(--primary-gold);
  font-weight: 800;
}

.calc-container {
  background: #101627;
  border: 2px solid var(--primary-gold);
  border-radius: 12px;
  padding: 25px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.calc-inputs .input-group {
  margin-bottom: 20px;
}

.calc-inputs label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
}

.slider-input {
  width: 100%;
  accent-color: var(--primary-gold);
}

.calc-result {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.calc-earning-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-gold);
  margin: 10px 0;
}

.calc-tier-badge {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.contact-icon img {
  height: 45px;
  margin-bottom: 10px;
}

/* ==========================================================================
   FLOATING BADGES (SCREENSHOT 2 MATCH)
   ========================================================================== */
/* Bottom Left Promo Badge */
.floating-promo-badge {
  position: fixed;
  bottom: 60px;
  left: 10px;
  z-index: 1000;
  background: linear-gradient(135deg, #10162b 0%, #0d1222 100%);
  border: 2px solid #3b82f6;
  border-radius: 50px;
  padding: 6px 14px 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.promo-badge-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.promo-badge-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-icon {
  width: 38px;
  height: 38px;
  background: #1a2542;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid var(--primary-gold);
}

.promo-text {
  font-size: 0.65rem;
  color: #fff;
  line-height: 1.2;
}

.promo-text strong {
  color: var(--primary-gold);
  font-size: 0.72rem;
}

/* Bottom Right Circular Badge */
.floating-round-badge {
  position: fixed;
  bottom: 60px;
  right: 12px;
  z-index: 1000;
  width: 65px;
  height: 65px;
  background: radial-gradient(circle, #1a2444 0%, #090e1c 100%);
  border: 2px solid #d4a528;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  cursor: pointer;
}

.round-badge-inner {
  text-align: center;
}

.round-logo {
  color: #d4a528;
  font-size: 0.8rem;
  line-height: 1;
}

.round-text {
  font-size: 0.55rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.round-text span {
  color: #d4a528;
}

/* ==========================================================================
   STICKY BOTTOM NAV BAR (EXACT SCREENSHOT 2 MATCH)
   ========================================================================== */
.fixed-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48px;
  background: #080c18;
  z-index: 1400;
  border-top: 1px solid rgba(255,200,0,0.2);
}

.bottom-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 100%;
}

.bottom-bar-btn {
  border: none;
  font-weight: 800;
  font-size: 0.92rem;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-lang {
  background: #c69214;
  color: #000000;
}

.flag-icon {
  width: 22px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.btn-signup {
  background: #111a2f;
  color: #ffffff;
}

.btn-login {
  background: #c69214;
  color: #000000;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #0d1324;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  padding: 25px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-title {
  color: var(--primary-gold);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  background: #141c33;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffc800 0%, #e59b00 100%);
  color: #000;
  font-weight: 800;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
  .hero-main-title {
    font-size: 1.45rem;
  }
  
  .hero-sub-text, .hero-sub-text-2 {
    font-size: 0.88rem;
  }

  .hero-stats-desktop {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
