/* ═══════════════════════════════════════════════════
   GXMarkets — Homepage Styles
═══════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #0d0d0d 0%, #141400 50%, #0d0d0d 100%);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-title { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-title .gold-text { display: block; }
.hero-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-right { position: relative; }
.hero-image-wrap {
  position: relative; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--bg-card2), #1a1400);
  border-radius: var(--radius-lg); overflow: hidden;
  min-height: 180px; display: flex; align-items: center; justify-content: center;
}
.hero-img-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 30px;
}
.hero-img-placeholder i { font-size: 3rem; color: var(--gold); }
.hero-img-placeholder span {
  background: var(--gold); color: #000;
  font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 4px;
}
.latest-bonus-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.latest-label {
  display: inline-block; background: var(--gold); color: #000;
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 3px; margin-bottom: 8px;
}
.latest-bonus-card h4 { font-size: 14px; margin-bottom: 6px; }
.latest-bonus-card p { font-size: 12px; color: var(--text-muted); }

/* ── Main Content Layout ──────────────────────────── */
.main-content { padding: 24px 0 60px; }
.content-grid {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: 20px;
  align-items: start;
}

/* ── Promo Updates Widget ─────────────────────────── */
.promo-list { display: flex; flex-direction: column; gap: 10px; }
.promo-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px; background: var(--bg-section);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.promo-broker-logo {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--bg-card2); border-radius: 4px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.promo-broker-logo img { width: 100%; height: 100%; object-fit: contain; }
.logo-placeholder { font-size: 11px; font-weight: 700; color: var(--gold); }
.promo-info { flex: 1; min-width: 0; }
.promo-broker { display: block; font-size: 11px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-title  { display: block; font-size: 10px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-badge { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 3px; flex-shrink: 0; }
.view-all-btn {
  display: block; text-align: center; padding: 8px;
  color: var(--gold); font-size: 12px; font-weight: 600;
  border-top: 1px solid var(--border); margin-top: 10px;
}

/* ── Quick Links ──────────────────────────────────── */
.quick-links-list li { margin-bottom: 2px; }
.quick-links-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: var(--radius);
  color: var(--text-light); font-size: 12px; font-weight: 500;
  transition: all var(--transition);
}
.quick-links-list a:hover { background: rgba(245,166,35,0.08); color: var(--gold); }
.quick-links-list i { color: var(--gold); margin-right: 8px; width: 14px; }
.count {
  background: var(--bg-section); color: var(--text-muted);
  font-size: 10px; padding: 1px 6px; border-radius: 10px;
}

/* ── Ad Banners ───────────────────────────────────── */
.ad-banners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.ad-banner {
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; overflow: hidden;
}
.ad-content { display: flex; flex-direction: column; gap: 8px; }
.ad-content h4 { font-size: 12px; color: var(--white); }
.ad-content ul { padding-left: 12px; }
.ad-content ul li { font-size: 10px; color: var(--text-muted); margin-bottom: 3px; list-style: disc; }

/* ── FX Side Banner ───────────────────────────────── */
.fx-side-banner {
  background: linear-gradient(135deg, #1a1200, #2a1c00);
  border: 1px solid #3a2800; border-radius: var(--radius);
  padding: 16px; margin-bottom: 16px;
}
.fx-banner-inner { text-align: center; }
.fx-label { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 1px; margin-bottom: 6px; }
.fx-amount { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.fx-big { display: block; font-size: 22px; font-weight: 800; color: var(--gold); }

/* ── Featured Brokers ─────────────────────────────── */
.broker-cards { display: flex; flex-direction: column; gap: 10px; }
.broker-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  transition: border-color var(--transition);
}
.broker-card:hover { border-color: var(--gold); }
.broker-logo-wrap {
  position: relative; width: 80px; height: 50px; flex-shrink: 0;
  background: var(--bg-card2); border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.broker-logo-wrap img { max-width: 70px; max-height: 40px; object-fit: contain; }
.broker-logo-text { font-size: 11px; font-weight: 700; color: var(--gold); text-align: center; padding: 6px; }
.broker-info { flex: 1; }
.broker-info h4 { font-size: 14px; margin-bottom: 4px; }
.broker-details { display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); margin-bottom: 5px; }
.broker-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }

/* ── Special Offer Banner ─────────────────────────── */
.special-offer-banner {
  background: linear-gradient(90deg, #1a1400, #252200, #1a1400);
  border: 1px solid #3a2800; border-radius: var(--radius);
  padding: 16px; text-align: center; margin-bottom: 24px;
}
.special-label {
  display: inline-block; background: var(--gold); color: #000;
  font-size: 10px; font-weight: 800; padding: 2px 10px;
  border-radius: 3px; letter-spacing: 0.5px; margin-bottom: 8px;
}
.special-offer-banner p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }

/* ── Press Releases ───────────────────────────────── */
.press-list { display: flex; flex-direction: column; gap: 16px; }
.press-item { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.press-item:last-child { border-bottom: none; padding-bottom: 0; }
.press-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.press-source { font-size: 11px; font-weight: 700; color: var(--gold); }
.press-date { font-size: 11px; color: var(--text-muted); }
.press-title a { font-size: 14px; font-weight: 600; color: var(--white); }
.press-title a:hover { color: var(--gold); }
.press-excerpt { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

/* ── News Categories ──────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  color: var(--text-light); font-size: 12px; font-weight: 500;
  text-align: center; transition: all var(--transition);
}
.cat-card:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,166,35,0.05); }
.cat-card i { font-size: 24px; color: var(--gold); }

/* ── News Grid ────────────────────────────────────── */
.news-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab-btn {
  padding: 5px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600; border: 1px solid var(--border);
  color: var(--text-muted); background: transparent; transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--gold); color: #000; border-color: var(--gold);
}
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--transition);
}
.news-card:hover { border-color: var(--gold); }
.news-img-wrap { position: relative; height: 140px; overflow: hidden; background: var(--bg-card2); }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.news-cat-badge {
  position: absolute; bottom: 8px; left: 8px;
  background: var(--gold); color: #000;
  font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 3px;
}
.news-content { padding: 12px; }
.news-content h4 { font-size: 13px; margin-bottom: 6px; }
.news-content h4 a { color: var(--white); }
.news-content h4 a:hover { color: var(--gold); }
.news-content p { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }
.news-footer { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); }

/* ── Prop Firms ───────────────────────────────────── */
.prop-firm-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.prop-firm-item:last-child { border-bottom: none; }
.prop-firm-item img { height: 28px; object-fit: contain; max-width: 90px; }
.firm-name { font-size: 12px; font-weight: 600; color: var(--white); }
.firm-details { display: flex; align-items: center; gap: 8px; }
.firm-discount { font-size: 10px; color: var(--green); font-weight: 600; }

/* ── Awards Widget ────────────────────────────────── */
.awards-content { text-align: center; }
.awards-content h4 { font-size: 15px; margin-bottom: 6px; }
.awards-content p { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }

/* ── Top Brokers Widget ───────────────────────────── */
.top-broker-list { display: flex; flex-direction: column; gap: 6px; }
.top-broker-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid var(--border);
}
.top-broker-item:last-child { border-bottom: none; }
.rank {
  width: 20px; height: 20px; background: var(--bg-section);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--gold); flex-shrink: 0;
}
.broker-name-info { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.broker-name-info img { height: 20px; object-fit: contain; }
.broker-name-info span { font-size: 11px; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Browse Brokers ───────────────────────────────── */
.browse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.browse-grid a {
  display: block; padding: 7px 10px; background: var(--bg-section);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 11px; color: var(--text-light); text-align: center;
  transition: all var(--transition);
}
.browse-grid a:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,166,35,0.05); }

/* ── Deposit Method Tabs ──────────────────────────── */
.deposit-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.dep-tab {
  padding: 4px 10px; border-radius: 4px; font-size: 10px; font-weight: 600;
  border: 1px solid var(--border); color: var(--text-muted); background: transparent;
  transition: all var(--transition);
}
.dep-tab.active, .dep-tab:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* ── News Ticker Bar ──────────────────────────────── */
.news-ticker-bar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px;
}
.ticker-label {
  display: block; font-size: 11px; font-weight: 700; color: var(--gold);
  margin-bottom: 12px; text-align: center;
}
.ticker-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ticker-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; background: var(--bg-section);
  border-radius: 4px; color: var(--text-light); font-size: 11px;
  transition: all var(--transition);
}
.ticker-links a:hover { color: var(--gold); background: rgba(245,166,35,0.05); }
.ticker-date { font-size: 10px; color: var(--text-muted); flex-shrink: 0; margin-left: 8px; }

/* ── Footer Broker Banner ─────────────────────────── */
.footer-broker-banner {
  background: #0f0f0f; border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-banner-inner { display: flex; align-items: center; gap: 20px; }
.footer-banner-text { display: flex; align-items: center; gap: 12px; }
.footer-banner-text h3 { font-size: 18px; }
.footer-bonus-amount { font-size: 36px; font-weight: 800; color: var(--gold); }

.mt-20 { margin-top: 20px; }

/* ── Responsive Layout ────────────────────────────── */
@media (max-width: 1200px) {
  .content-grid { grid-template-columns: 200px 1fr 220px; }
}
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .left-col, .right-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-title { font-size: 2rem; }
}
@media (max-width: 768px) {
  .left-col, .right-col { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .ad-banners-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 40px 0; }
  .footer-banner-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
}
