/* =====================================================
   MY MONEY FOR LIFE — style.css
   Color: Verdoso (#00C853) + Amarillo (#FFD700)
   Dinero Hero 💶 CON américain 💵 NATURAL
===================================================== */

/* ===== VARIABLES ===== */
:root {
  --green:      #00C853;
  --green-dark: #007B33;
  --green-light:#69F0AE;
  --yellow:     #FFD700;
  --yellow-dark:#c9a800;
  --dark:       #0a0a0a;
  --dark2:      #111111;
  --dark3:      #1a1a1a;
  --white:      #ffffff;
  --gray:       #cccccc;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== MONEY RAIN ===== */
.money-rain {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.money-bill {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.18;
  animation: moneyFall linear infinite;
  user-select: none;
}
/* Euro bills glide DOWN, USD bills glide UP */
.money-bill.euro  { animation-name: moneyFall; }
.money-bill.usd   { animation-name: moneyRise; }

@keyframes moneyFall {
  0%   { transform: translateY(-60px) rotate(0deg); opacity: 0.18; }
  100% { transform: translateY(110vh) rotate(25deg); opacity: 0.05; }
}
@keyframes moneyRise {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0.18; }
  100% { transform: translateY(-60px) rotate(-20deg); opacity: 0.05; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(0,0,0,0.96);
  border-bottom: 2px solid var(--green);
  padding: 10px 20px;
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.nav-left  { display: flex; align-items: center; gap: 12px; }
.nav-center{ flex: 1; display: flex; justify-content: center; }
.nav-right { display: flex; align-items: center; }

.brand {
  font-size: 1.3rem; font-weight: 900;
  color: var(--yellow);
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255,215,0,0.4);
}

/* Hamburger */
.hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 3px;
  background: var(--green); border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* Search */
.search-wrap { display: flex; max-width: 360px; width: 100%; }
.search-wrap input {
  flex: 1; padding: 7px 14px;
  border: 2px solid var(--green); border-right: none;
  border-radius: 22px 0 0 22px;
  background: #1a1a1a; color: #fff; outline: none; font-size: 0.88rem;
}
.search-wrap button {
  padding: 7px 14px;
  background: var(--green); color: #000;
  border: 2px solid var(--green);
  border-radius: 0 22px 22px 0;
  font-size: 1rem; cursor: pointer; font-weight: 700;
  transition: background 0.2s;
}
.search-wrap button:hover { background: var(--green-light); }

/* Contact button */
.btn-contact {
  background: linear-gradient(135deg, var(--green), var(--yellow));
  color: #000; font-weight: 700; font-size: 0.82rem;
  padding: 8px 16px; border-radius: 22px;
  white-space: nowrap; transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,200,83,0.3);
}
.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,200,83,0.5); }

/* ===== SIDEBAR ===== */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.65); z-index: 1500;
}
.sidebar-overlay.show { display: block; }

.sidebar {
  position: fixed; top: 0; left: -300px;
  width: 280px; height: 100vh;
  background: #000;
  border-right: 2px solid var(--green);
  z-index: 2000;
  overflow-y: auto;
  transition: left 0.35s ease;
  padding: 20px 0 40px;
}
.sidebar.open { left: 0; }

.sidebar-close {
  background: none; border: none; color: var(--yellow);
  font-size: 1.4rem; cursor: pointer;
  float: right; margin: 0 16px 10px; padding: 4px 8px;
}
.sidebar-brand {
  color: var(--yellow); font-weight: 900; font-size: 1.05rem;
  padding: 10px 20px 20px; border-bottom: 1px solid #222;
  clear: both;
}
.sidebar-nav { display: flex; flex-direction: column; }
.sidebar-nav a {
  color: var(--white); padding: 12px 22px;
  border-bottom: 1px solid #1a1a1a;
  font-size: 0.92rem; transition: all 0.2s;
}
.sidebar-nav a:hover {
  background: var(--green); color: #000;
  padding-left: 30px;
}

/* ===== HERO ===== */
.hero { position: relative; }
.hero-bg {
  min-height: 92vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,100,30,0.45) 50%,
    rgba(0,0,0,0.72) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 40px 20px;
  max-width: 800px;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 0 40px rgba(255,215,0,0.4);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gray);
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; font-weight: 700; padding: 13px 28px;
  border-radius: 30px; border: none; cursor: pointer;
  font-size: 0.95rem; transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(0,200,83,0.35);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,200,83,0.5); }

.btn-secondary {
  background: transparent;
  color: var(--yellow); font-weight: 700; padding: 13px 28px;
  border-radius: 30px; border: 2px solid var(--yellow);
  cursor: pointer; font-size: 0.95rem; transition: all 0.3s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--yellow); color: #000; transform: translateY(-3px); }

/* ===== BANNER 2 ===== */
.banner2 { position: relative; }
.banner2-bg {
  min-height: 380px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.banner2-overlay {
  position: absolute; inset: 0;
  background: rgba(0,50,10,0.6);
}
.banner2-content {
  position: relative; z-index: 2;
  text-align: center; padding: 40px 20px;
}
.banner2-content h2 { font-size: clamp(1.5rem,4vw,2.5rem); color: var(--yellow); margin-bottom: 12px; }
.banner2-content p  { font-size: 1.1rem; color: var(--green-light); }

/* ===== SECTION BASE ===== */
.section { padding: 70px 20px; position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: clamp(1.4rem,4vw,2.2rem);
  font-weight: 900; color: var(--yellow);
  text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center; color: #aaa;
  font-size: 0.95rem; margin-bottom: 36px;
}

/* ===== BRANDS SLIDER ===== */
.brands-section { background: var(--dark2); overflow: hidden; padding: 40px 0; }
.brands-track {
  display: flex; gap: 20px;
  animation: brandScroll 30s linear infinite;
  width: max-content;
}
.brands-track:hover { animation-play-state: paused; }
.brand-item {
  background: var(--dark3); border: 1px solid var(--green);
  color: var(--white); padding: 12px 24px; border-radius: 10px;
  white-space: nowrap; font-weight: 600; font-size: 0.9rem;
  transition: all 0.3s;
}
.brand-item:hover { background: var(--green); color: #000; border-color: var(--green); }
@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== CATEGORIES GRID ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--dark3);
  border: 1px solid #2a2a2a;
  border-radius: 16px; overflow: hidden;
  transition: all 0.3s; cursor: pointer;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.cat-card:hover {
  border-color: var(--green);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,200,83,0.2);
}
.cat-emoji {
  font-size: 2.5rem; text-align: center;
  padding: 20px 0 10px;
}
.cat-img-ph {
  width: 100%; height: 140px;
  background: linear-gradient(135deg, #1a2a1a, #0a1a0a);
  display: flex; align-items: center; justify-content: center;
  color: #555; font-size: 0.78rem; font-style: italic;
  border-top: 1px solid #222; border-bottom: 1px solid #222;
}
.cat-img-ph img {
  width: 100%; height: 100%; object-fit: cover;
}
.cat-info { padding: 14px 16px 18px; }
.cat-info h3 { color: var(--yellow); font-size: 1rem; margin-bottom: 4px; }
.cat-info p  { color: #888; font-size: 0.78rem; }

/* ===== BANNER 3 ===== */
.banner3 { position: relative; }
.banner3-bg {
  min-height: 350px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.banner3-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,80,20,0.6));
}
.banner3-content {
  position: relative; z-index: 2;
  text-align: center; padding: 40px 20px;
}
.banner3-content h2 { font-size: clamp(1.4rem,3.5vw,2.2rem); color: var(--yellow); margin-bottom: 14px; }
.banner3-content p  { color: var(--green-light); margin-bottom: 22px; font-size: 1rem; }

/* ===== PARRAINAGE ===== */
.parrainage-section {
  background: linear-gradient(135deg, #001a08, #002d10, #001a08);
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
}
.parrainage-highlight {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  background: rgba(0,200,83,0.08);
  border: 2px solid var(--green);
  border-radius: 20px; padding: 30px;
  margin-bottom: 40px;
}
.p-highlight-item { text-align: center; }
.p-num { display: block; font-size: clamp(2rem,6vw,3.5rem); font-weight: 900; color: var(--yellow); }
.p-label { color: var(--green-light); font-size: 0.9rem; }
.p-arrow { font-size: 2.5rem; color: var(--green); }

.parrainage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.p-card {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--green);
  border-radius: 14px; padding: 20px;
  transition: all 0.3s;
}
.p-card:hover { background: rgba(0,200,83,0.1); transform: translateY(-4px); }
.p-card h3 { color: var(--yellow); font-size: 1rem; margin-bottom: 8px; }
.p-card p  { color: #aaa; font-size: 0.85rem; line-height: 1.6; }

/* ===== PAYMENT ===== */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}
.pay-card {
  background: var(--dark3);
  border: 2px solid #2a2a2a;
  border-radius: 14px; padding: 20px 12px;
  text-align: center; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.pay-card:hover {
  border-color: var(--green);
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,200,83,0.25);
}
.pay-icon { font-size: 2rem; margin-bottom: 8px; }
.pay-card h4 { color: var(--white); font-size: 0.82rem; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.75); z-index: 3000;
}
.modal-overlay.show { display: block; }

.modal {
  display: none; position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #111; border: 2px solid var(--green);
  border-radius: 20px; padding: 32px;
  max-width: 460px; width: 90%;
  z-index: 4000; max-height: 90vh; overflow-y: auto;
}
.modal.show { display: block; }
.modal-close {
  float: right; background: none; border: none;
  color: #aaa; font-size: 1.4rem; cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--yellow); }

.modal-warn {
  background: rgba(255,100,0,0.12);
  border: 1px solid #ff6400;
  border-radius: 10px; padding: 14px 16px;
  color: #ffaa60; font-size: 0.85rem;
  line-height: 1.6; margin-bottom: 20px; clear: both;
}
.modal-info-note {
  background: rgba(0,200,83,0.1);
  border: 1px solid var(--green);
  border-radius: 8px; padding: 10px 14px;
  color: var(--green-light); font-size: 0.82rem;
  margin-bottom: 18px;
}
.modal h3 { color: var(--yellow); font-size: 1.2rem; margin-bottom: 16px; }

.modal input {
  width: 100%; background: #1a1a1a;
  border: 1px solid var(--green); color: #fff;
  padding: 11px 14px; border-radius: 8px;
  margin-bottom: 12px; font-size: 0.9rem; outline: none;
}
.modal input::placeholder { color: #555; }

.btn-pay {
  width: 100%; background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; font-weight: 700; border: none;
  padding: 13px; border-radius: 10px;
  font-size: 1rem; cursor: pointer; margin-top: 8px;
  transition: all 0.3s;
}
.btn-pay:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,200,83,0.4); }

/* ===== CONTACT ===== */
.contact-section { background: var(--dark2); }
.btn-facebook {
  display: inline-block;
  background: linear-gradient(135deg, var(--green), var(--yellow));
  color: #000; font-weight: 900; font-size: 1.05rem;
  padding: 16px 36px; border-radius: 40px;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0,200,83,0.35);
}
.btn-facebook:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,200,83,0.5);
}

/* ===== FOOTER ===== */
.footer { position: relative; }
.footer-bg {
  background-size: cover; background-position: center;
  position: relative;
}
.footer-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
}
.footer-content { position: relative; z-index: 2; padding: 60px 20px 30px; max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-bottom: 40px;
}
.footer-col h4 { color: var(--yellow); font-size: 1rem; margin-bottom: 14px; border-bottom: 1px solid var(--green); padding-bottom: 8px; }
.footer-col p  { color: #888; font-size: 0.85rem; line-height: 1.8; }
.footer-col a  { display: block; color: #999; font-size: 0.85rem; margin-bottom: 6px; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px; text-align: center;
  color: #666; font-size: 0.82rem;
}
.footer-bottom strong { color: var(--yellow); }

/* ===== RESPONSIVE ===== */

/* TV 1400px+ */
@media (min-width: 1400px) {
  .container { max-width: 1380px; }
  .hero-title { font-size: 4.5rem; }
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .payment-grid { grid-template-columns: repeat(8, 1fr); }
}

/* Laptop 1024-1399 */
@media (min-width: 1024px) and (max-width: 1399px) {
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .payment-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Tablet landscape 768-1023 */
@media (min-width: 768px) and (max-width: 1023px) {
  .brand { font-size: 1.1rem; }
  .hero-bg { min-height: 70vh; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .payment-grid { grid-template-columns: repeat(4, 1fr); }
  .parrainage-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait 600-767 */
@media (min-width: 600px) and (max-width: 767px) {
  .navbar { padding: 8px 12px; }
  .brand { font-size: 1rem; }
  .nav-center { display: none; }
  .hero-bg { min-height: 60vh; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-grid { grid-template-columns: repeat(3, 1fr); }
  .parrainage-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* Phone max 599px */
@media (max-width: 599px) {
  .navbar { padding: 8px 10px; gap: 8px; }
  .brand { font-size: 0.88rem; }
  .nav-center { display: none; }
  .nav-right .btn-contact span { display: none; }
  .hero-bg { min-height: 55vh; }
  .hero-title { font-size: 1.7rem; }
  .hero-sub { font-size: 0.9rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 80%; text-align: center; }
  .section { padding: 44px 12px; }
  .section-title { font-size: 1.2rem; letter-spacing: 1px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-emoji { font-size: 1.8rem; padding: 14px 0 6px; }
  .cat-img-ph { height: 100px; }
  .cat-info h3 { font-size: 0.88rem; }
  .payment-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pay-icon { font-size: 1.6rem; }
  .pay-card { padding: 14px 8px; }
  .pay-card h4 { font-size: 0.75rem; }
  .parrainage-grid { grid-template-columns: 1fr; }
  .p-arrow { display: none; }
  .parrainage-highlight { flex-direction: column; gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .banner2-bg, .banner3-bg { min-height: 220px; }
  .modal { padding: 20px 16px; }
  .sidebar { width: 250px; }
}

/* Small phones max 380px */
@media (max-width: 380px) {
  .brand { font-size: 0.78rem; }
  .hero-title { font-size: 1.4rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { width: 230px; }
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  max-width: 560px; margin: 40px auto 0;
  background: var(--dark3);
  border: 2px solid var(--green);
  border-radius: 20px; padding: 36px;
  box-shadow: 0 8px 32px rgba(0,200,83,0.15);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; background: #0a0a0a;
  border: 1px solid var(--green);
  color: #fff; padding: 11px 14px;
  border-radius: 8px; margin-bottom: 14px;
  font-size: 0.9rem; outline: none;
  font-family: Arial, sans-serif;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #555; }
.contact-form select { color: #aaa; }
.contact-form select option { color: #fff; background: #111; }
.btn-send-email {
  width: 100%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; font-weight: 700; border: none;
  padding: 13px; border-radius: 10px;
  font-size: 1rem; cursor: pointer;
  transition: all 0.3s; font-family: Arial, sans-serif;
  box-shadow: 0 6px 20px rgba(0,200,83,0.3);
}
.btn-send-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,200,83,0.5);
}

@media (max-width: 599px) {
  .contact-form-wrap { padding: 20px 16px; }
}
