/* ═══════════════════════════════════════
   GXMarkets — Homepage Styles
   Exact match to screenshot layout
═══════════════════════════════════════ */

/* ── Award Announcement Bar ──────────── */
.award-bar {
  background: linear-gradient(90deg, #1a1100, #2a1c00, #1a1100);
  border-bottom: 1px solid #3a2800;
  padding: 6px 0; text-align: center; font-size: 12px; font-weight: 600;
}
.award-bar a { color: var(--gold); }
.award-bar i { margin-right: 5px; }

/* ── Hero Section ────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #0d0d0d 0%, #111100 50%, #0d0d0d 100%);
  padding: 42px 0 36px; border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; }
.hero-title { font-size: 2.6rem; font-weight: 800; line-height: 1.18; margin-bottom: 14px; }
.hero-title .gold { color: var(--gold); }
.hero-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; max-width: 500px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hero Right - press release card */
.hero-right { display: flex; flex-direction: column; gap: 0; }
.hero-pr-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-pr-img {
  position: relative; height: 160px; overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #111);
  display: flex; align-items: center; justify-content: center;
}
.hero-pr-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-pr-img .pr-badge {
  position: absolute; bottom: 8px; left: 8px;
  background: var(--gold); color: #000; font-size: 9px; font-weight: 700;
  padding: 2px 8px; border-radius: 3px;
}
.hero-pr-img .promoted-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  padding: 16px 12px 10px;
}
.hero-pr-img .promoted-name { font-size: 13px; font-weight: 700; color: #fff; }
.hero-pr-img .promoted-role { font-size: 10px; color: var(--gold); text-transform: uppercase; letter-spacing: .5px; }
.hero-pr-body { padding: 12px 14px; }
.hero-pr-body .pr-label { font-size: 10px; color: var(--text-dim); margin-bottom: 5px; display: block; }
.hero-pr-body h4 { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; color: var(--white); }
.hero-pr-body p { font-size: 11px; color: var(--text-muted); line-height: 1.6; }

/* ── Promo Banner ────────────────────── */
.promo-banner {
  background: var(--bg-card2); border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.promo-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.promo-banner-inner p { font-size: 12px; color: var(--text-muted); flex: 1; }
.promo-banner-close { color: var(--text-dim); font-size: 16px; cursor: pointer; flex-shrink: 0; }
.promo-banner-close:hover { color: var(--text); }

/* ── Main 3-Col Layout ───────────────── */
.main-content { padding: 18px 0 60px; }
.content-grid {
  display: grid;
  grid-template-columns: 218px 1fr 240px;
  gap: 16px; align-items: start;
}

/* ═══ LEFT COLUMN ════════════════════ */

/* Promo Updates */
.promo-updates .promo-list { display: flex; flex-direction: column; gap: 7px; }
.promo-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; background: var(--bg-card2);
  border: 1px solid var(--border2); border-radius: var(--radius); font-size: 11px;
  transition: border-color .15s;
}
.promo-item:hover { border-color: var(--gold); }
.promo-logo {
  width: 30px; height: 20px; flex-shrink: 0;
  background: #111; border-radius: 3px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.promo-logo img { max-width: 28px; max-height: 18px; object-fit: contain; }
.promo-logo-txt { font-size: 8px; font-weight: 700; color: var(--gold); }
.promo-info { flex: 1; min-width: 0; }
.promo-broker { display: block; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.promo-title  { display: block; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.promo-type-badge { font-size: 8px; font-weight: 700; padding: 2px 5px; border-radius: 3px; flex-shrink: 0; }
.view-all-promos {
  display: block; text-align: center; padding: 7px;
  color: var(--gold); font-size: 11px; font-weight: 600;
  border-top: 1px solid var(--border); margin-top: 8px;
}

/* Quick Links */
.quick-links-list li { margin-bottom: 1px; }
.quick-links-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 8px; border-radius: var(--radius);
  color: var(--text-muted); font-size: 12px; transition: all .15s;
}
.quick-links-list a:hover { background: rgba(245,166,35,.07); color: var(--gold); }
.ql-left { display: flex; align-items: center; gap: 7px; }
.ql-left i { color: var(--gold); font-size: 11px; width: 14px; }
.ql-count { background: var(--bg-card2); color: var(--text-dim); font-size: 9px; padding: 1px 5px; border-radius: 10px; }

/* Left Ad Banners (XM 2-col) */
.left-ads-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.left-ad-card {
  background: linear-gradient(160deg, #1a1a1a, #0f0f0f);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 8px; text-align: center; overflow: hidden;
}
.left-ad-card .ad-brand { font-size: 11px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.left-ad-card .ad-headline { font-size: 11px; font-weight: 700; color: var(--white); margin-bottom: 6px; line-height: 1.3; }
.left-ad-card ul { text-align: left; padding-left: 12px; margin-bottom: 8px; }
.left-ad-card ul li { font-size: 9px; color: var(--text-muted); margin-bottom: 2px; list-style: disc; }
.left-ad-claim { background: var(--gold); color: #000; font-size: 9px; font-weight: 700; padding: 4px 8px; border-radius: 3px; display: inline-block; }

/* FX Side Banner (left/right) */
.fx-banner {
  background: linear-gradient(135deg, #1a1100, #2a1c00);
  border: 1px solid #3a2800; border-radius: var(--radius);
  padding: 14px 10px; text-align: center; margin-bottom: 12px;
}
.fx-banner .fx-label { font-size: 8px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.fx-banner .fx-free  { font-size: 10px; color: var(--text-muted); }
.fx-banner .fx-big   { display: block; font-size: 20px; font-weight: 800; color: var(--gold); }
.fx-banner .fx-btn   { background: var(--gold); color: #000; font-size: 9px; font-weight: 700; padding: 5px 10px; border-radius: 3px; display: inline-block; margin-top: 8px; }

/* ═══ CENTER COLUMN ══════════════════ */

/* Featured Brokers */
.broker-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px;
  margin-bottom: 8px; transition: border-color .15s;
}
.broker-card:hover { border-color: var(--gold); }
.broker-logo-box {
  position: relative; width: 88px; height: 52px; flex-shrink: 0;
  background: var(--bg-card2); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 1px solid var(--border2);
}
.broker-logo-box img { max-width: 78px; max-height: 44px; object-fit: contain; }
.broker-logo-txt { font-size: 11px; font-weight: 800; color: var(--gold); text-align: center; padding: 4px; }
.broker-trusted { position: absolute; top: 2px; right: 2px; background: var(--green); color: #fff; font-size: 8px; font-weight: 700; padding: 1px 5px; border-radius: 2px; }
.broker-info { flex: 1; min-width: 0; }
.broker-info h4 { font-size: 13px; font-weight: 700; margin-bottom: 3px; color: var(--white); }
.broker-info h4 a { color: var(--white); }
.broker-info h4 a:hover { color: var(--gold); }
.broker-specs { display: flex; gap: 10px; font-size: 10px; color: var(--text-muted); margin-bottom: 4px; flex-wrap: wrap; }
.broker-stars { display: flex; align-items: center; gap: 3px; }
.broker-stars i { font-size: 9px; color: var(--border); }
.broker-stars i.on { color: var(--gold); }
.broker-stars span { font-size: 10px; color: var(--text-muted); margin-left: 3px; }
.broker-actions { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; flex-shrink: 0; }

/* Special Offer Banner */
.special-offer {
  background: linear-gradient(90deg, #1a1300, #252200, #1a1300);
  border: 1px solid #3a2800; border-radius: var(--radius);
  padding: 14px 16px; text-align: center; margin-bottom: 16px;
}
.so-label { display: inline-block; background: var(--gold); color: #000; font-size: 9px; font-weight: 800; padding: 2px 10px; border-radius: 3px; letter-spacing: .5px; margin-bottom: 6px; text-transform: uppercase; }
.special-offer p { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }

/* Press Releases */
.press-item { padding-bottom: 12px; border-bottom: 1px solid var(--border2); margin-bottom: 12px; }
.press-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.press-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.press-source { font-size: 10px; font-weight: 700; color: var(--gold); }
.press-date   { font-size: 10px; color: var(--text-dim); }
.press-item h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.press-item h4 a { color: var(--white); }
.press-item h4 a:hover { color: var(--gold); }
.press-item p { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* News Categories Grid */
.news-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 10px; text-align: center;
  transition: all .15s;
}
.nc-card:hover { border-color: var(--gold); background: rgba(245,166,35,.04); }
.nc-icon { font-size: 22px; color: var(--gold); margin-bottom: 6px; }
.nc-name { font-size: 11px; color: var(--text-muted); line-height: 1.3; }

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

/* Latest News Tabs */
.news-tabs { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.news-tab {
  padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600; border: 1px solid var(--border);
  color: var(--text-muted); background: transparent; transition: all .15s; cursor: pointer;
}
.news-tab.active, .news-tab:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* News Grid */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: border-color .15s;
}
.news-card:hover { border-color: var(--gold); }
.news-img { position: relative; height: 140px; overflow: hidden; background: var(--bg-card2); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-cat-badge {
  position: absolute; bottom: 6px; left: 6px;
  background: var(--gold); color: #000; font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: 3px;
}
.news-body { padding: 10px 12px; }
.news-body h4 { font-size: 12.5px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
.news-body h4 a { color: var(--white); }
.news-body h4 a:hover { color: var(--gold); }
.news-body p { font-size: 11px; color: var(--text-muted); margin-bottom: 7px; }
.news-footer { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-dim); }

/* ═══ RIGHT COLUMN ═══════════════════ */

/* Prop Firms */
.prop-firm-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid var(--border2); font-size: 11px;
}
.prop-firm-item:last-child { border-bottom: none; }
.pf-logo { width: 60px; flex-shrink: 0; }
.pf-logo img { max-height: 22px; object-fit: contain; max-width: 60px; }
.pf-name { font-size: 11px; font-weight: 600; color: var(--white); flex: 1; }
.pf-discount { font-size: 10px; color: var(--green); font-weight: 600; }

/* Annual Awards */
.awards-widget-inner { text-align: center; padding: 4px 0; }
.awards-trophy-icon { font-size: 32px; color: var(--gold); margin-bottom: 8px; display: block; }
.awards-widget-inner h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.awards-widget-inner p { font-size: 11px; color: var(--text-muted); margin-bottom: 12px; }

/* Top Brokers */
.top-broker-list { display: flex; flex-direction: column; gap: 4px; }
.top-broker-item {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 0; border-bottom: 1px solid var(--border2);
}
.top-broker-item:last-child { border-bottom: none; }
.tb-rank {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-card2); display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: var(--gold); flex-shrink: 0;
}
.tb-info { flex: 1; display: flex; align-items: center; gap: 5px; min-width: 0; }
.tb-info img { height: 18px; max-width: 46px; object-fit: contain; }
.tb-name { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-meta { font-size: 9px; color: var(--text-dim); display: block; }

/* XM Ad Widget */
.xm-ad-widget {
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 16px; text-align: center; margin-bottom: 14px;
}
.xm-ad-logo { font-size: 15px; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.xm-ad-headline { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.xm-ad-sub { font-size: 9px; color: var(--text-dim); margin-top: 6px; }

/* Browse Brokers */
.browse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.browse-link {
  display: block; padding: 6px 8px; background: var(--bg-card2);
  border: 1px solid var(--border2); border-radius: var(--radius);
  font-size: 11px; color: var(--text-muted); text-align: center;
  transition: all .15s;
}
.browse-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,166,35,.04); }
.browse-link .cnt { font-size: 9px; color: var(--text-dim); display: block; }

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

/* ─────────────────────────────────────
   Responsive
───────────────────────────────────── */
@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: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-title { font-size: 2rem; }
}
@media (max-width: 768px) {
  .left-col, .right-col { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-cat-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .news-cat-grid { grid-template-columns: repeat(2,1fr); }
  .ticker-grid { grid-template-columns: 1fr; }
}
