/* ===== NoLimitCoins CA — Brand Design System ===== */
/* Brand: Dark Navy/Black + Electric Orange #FF6B00 + Gold #FFD700 */

:root {
  --nlc-black: #07080f;
  --nlc-dark: #0e1020;
  --nlc-mid: #161929;
  --nlc-border: #252940;
  --nlc-orange: #FF6B00;
  --nlc-orange-deep: #e05a00;
  --nlc-gold: #FFD700;
  --nlc-gold-light: #ffe066;
  --nlc-white: #f4f5fa;
  --nlc-muted: #8891b4;
  --nlc-font-head: 'Rajdhani', 'Inter', sans-serif;
  --nlc-font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(255,107,0,0.12);
}

/* Critical: prevent CSS from overriding HTML hidden attribute */
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--nlc-black);
  color: var(--nlc-white);
  font-family: var(--nlc-font-body);
  font-size: 16px;
  line-height: 1.7;
}

.skip-link {
  position: absolute; top: -50px; left: 16px; z-index: 9999;
  background: var(--nlc-orange); color: #000; padding: 8px 16px;
  border-radius: 6px; font-weight: 700; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,8,15,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nlc-border);
}
.nav-flex {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 20px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { max-height: 44px; width: auto; object-fit: contain; }

/* Logo fallback: if image fails, show styled text */
.logo-text {
  font-family: var(--nlc-font-head); font-size: 1.4rem; font-weight: 700;
  color: var(--nlc-white); letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 6px;
}
.logo-text span { color: var(--nlc-orange); }

.desktop-nav {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto; flex-wrap: wrap;
}
.desktop-nav a {
  color: var(--nlc-muted); text-decoration: none;
  font-size: .92rem; font-weight: 500; padding: 6px 12px;
  border-radius: 8px; transition: color .2s, background .2s;
}
.desktop-nav a:hover { color: var(--nlc-white); background: var(--nlc-mid); }
.btn-outline {
  border: 1px solid var(--nlc-orange) !important; color: var(--nlc-orange) !important;
}
.btn-cta {
  background: var(--nlc-orange) !important; color: #000 !important;
  font-weight: 700 !important; border-radius: 10px !important;
  padding: 8px 20px !important;
}
.btn-cta:hover { background: var(--nlc-orange-deep) !important; }

/* Mobile toggle — hidden on desktop */
.mob-toggle {
  display: none; background: none; border: none; color: var(--nlc-white);
  font-size: 1.5rem; cursor: pointer; margin-left: auto; padding: 4px;
}

/* Mobile menu — always none by default, js shows it */
.mob-menu {
  display: none;
  flex-direction: column; gap: 4px;
  background: var(--nlc-dark); border-top: 1px solid var(--nlc-border);
  padding: 16px 20px;
}
.mob-menu.is-open { display: flex; }
.mob-menu a {
  color: var(--nlc-muted); text-decoration: none; padding: 10px 0;
  font-size: 1rem; border-bottom: 1px solid var(--nlc-border);
  transition: color .2s;
}
.mob-menu a:hover { color: var(--nlc-orange); }
.mob-cta {
  background: var(--nlc-orange); color: #000 !important; font-weight: 700;
  border-radius: 10px; text-align: center; padding: 12px !important;
  margin-top: 8px; border-bottom: none !important;
}

/* ===== HERO BANNER ===== */
.hero-banner {
  min-height: 420px; display: flex; align-items: center;
  background-size: cover; background-position: center;
  position: relative; padding: 60px 0;
}
.hero-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,8,15,0.88) 0%, rgba(7,8,15,0.55) 60%, rgba(7,8,15,0.2) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-content h1 {
  font-family: var(--nlc-font-head); font-size: clamp(2rem,5vw,3.2rem);
  font-weight: 700; line-height: 1.15; color: var(--nlc-white);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1.1rem; color: var(--nlc-muted); margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta {
  display: inline-block; background: var(--nlc-orange); color: #000;
  font-weight: 800; font-size: 1.05rem; text-decoration: none;
  padding: 14px 32px; border-radius: 12px;
  box-shadow: 0 0 32px rgba(255,107,0,0.5);
  transition: transform .2s, box-shadow .2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(255,107,0,0.7); }

/* ===== SECTIONS ===== */
.nlc-section { padding: 64px 0; }
.nlc-section h2 {
  font-family: var(--nlc-font-head); font-size: clamp(1.5rem,3vw,2.2rem);
  font-weight: 700; color: var(--nlc-gold); margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 2px solid var(--nlc-border);
}
.nlc-section p { color: var(--nlc-muted); margin-bottom: 20px; }
.nlc-section p a { color: var(--nlc-orange); text-decoration: none; font-weight: 600; }
.nlc-section p a:hover { text-decoration: underline; }
.nlc-section strong { color: var(--nlc-white); }

/* ===== HORIZONTAL BAR CHARTS ===== */
.nlc-chart-wrap {
  background: var(--nlc-mid); border-radius: var(--radius);
  border: 1px solid var(--nlc-border); padding: 28px 28px 20px;
  margin: 28px 0;
}
.chart-title {
  font-family: var(--nlc-font-head); color: var(--nlc-gold);
  font-size: 1.05rem; font-weight: 700; margin-bottom: 20px;
}
.hz-bars { display: flex; flex-direction: column; gap: 14px; }
.hz-row { display: grid; grid-template-columns: 180px 1fr 60px; align-items: center; gap: 14px; }
.lbl { color: var(--nlc-muted); font-size: .9rem; }
.track { background: var(--nlc-border); border-radius: 20px; height: 12px; overflow: hidden; }
.fill {
  height: 100%; border-radius: 20px;
  background: linear-gradient(90deg, var(--nlc-orange), var(--nlc-gold));
  transition: width 1s ease;
}
.val { color: var(--nlc-orange); font-weight: 700; font-size: .9rem; text-align: right; }

/* ===== TABLES ===== */
.tbl-wrap { overflow-x: auto; margin: 32px 0; border-radius: var(--radius); }
.nlc-table {
  width: 100%; border-collapse: collapse;
  background: var(--nlc-mid); border-radius: var(--radius);
  overflow: hidden;
}
.nlc-table caption {
  font-family: var(--nlc-font-head); font-weight: 700; font-size: 1rem;
  color: var(--nlc-gold); padding: 14px 20px; text-align: left;
  background: var(--nlc-dark); border-bottom: 1px solid var(--nlc-border);
}
.nlc-table th {
  background: var(--nlc-border); color: var(--nlc-white);
  padding: 12px 16px; font-size: .88rem; font-weight: 600; text-align: left;
  white-space: nowrap;
}
.nlc-table td {
  padding: 12px 16px; font-size: .9rem; color: var(--nlc-muted);
  border-bottom: 1px solid var(--nlc-border);
}
.nlc-table tbody tr:hover td { background: rgba(255,107,0,0.04); }
.nlc-table tbody tr:last-child td { border-bottom: none; }
.nlc-table strong { color: var(--nlc-orange); }

/* ===== AUTHOR CARD ===== */
.author-card {
  display: flex; align-items: flex-start; gap: 20px;
  background: var(--nlc-mid); border: 1px solid var(--nlc-border);
  border-left: 4px solid var(--nlc-orange); border-radius: var(--radius);
  padding: 24px; margin: 40px auto 0;
}
.author-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--nlc-orange);
}
.author-info strong { display: block; color: var(--nlc-white); font-size: 1.05rem; }
.author-info span { color: var(--nlc-orange); font-size: .88rem; display: block; margin-bottom: 8px; }
.author-info p { color: var(--nlc-muted); font-size: .9rem; margin: 0; line-height: 1.6; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--nlc-dark); border-top: 1px solid var(--nlc-border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--nlc-font-head); color: var(--nlc-gold);
  font-size: 1rem; font-weight: 700; margin-bottom: 16px;
}
.footer-col nav { display: flex; flex-direction: column; gap: 8px; }
.footer-col nav a { color: var(--nlc-muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-col nav a:hover { color: var(--nlc-orange); }
.footer-tagline { color: var(--nlc-muted); font-size: .88rem; line-height: 1.6; margin-top: 12px; }
.footer-disclaimer {
  border-top: 1px solid var(--nlc-border); padding-top: 24px;
  color: #555c7a; font-size: .8rem; line-height: 1.6;
}

/* ===== STICKY MOB BAR ===== */
.sticky-mob-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 200; background: var(--nlc-dark);
  border-top: 1px solid var(--nlc-border); padding: 10px 16px;
}
.sticky-mob-btn {
  display: block; width: 100%; background: var(--nlc-orange); color: #000;
  font-weight: 800; font-size: 1rem; text-align: center; text-decoration: none;
  padding: 14px; border-radius: 10px;
  box-shadow: 0 0 24px rgba(255,107,0,0.5);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .mob-toggle { display: block; }
  .hero-banner { min-height: 320px; padding: 44px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sticky-mob-bar { display: block; }
  body { padding-bottom: 76px; }
  .hz-row { grid-template-columns: 120px 1fr 54px; gap: 10px; }
}
@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.85rem; }
  .author-card { flex-direction: column; }
  .nlc-table th, .nlc-table td { padding: 10px 12px; font-size: .82rem; }
  .hz-row { grid-template-columns: 105px 1fr 48px; }
}
