/*
Theme Name: Trade with NV
Theme URI: https://tradewithnv.com
Author: Trade with NV
Author URI: https://tradewithnv.com
Description: Compact black-and-yellow personal trading community theme for Trade with NV, inspired by modern forex community landing pages.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: trade-with-nv
*/

:root {
  --nv-black: #070707;
  --nv-black-2: #0d0d0d;
  --nv-panel: #111111;
  --nv-yellow: #f5c400;
  --nv-yellow-light: #ffe05b;
  --nv-white: #f5f5f5;
  --nv-muted: #9e9e9e;
  --nv-line: #242424;
  --nv-max: 1080px;
  --nv-radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nv-black);
  color: var(--nv-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
::selection { background: var(--nv-yellow); color: #000; }

.nv-container { width: min(calc(100% - 36px), var(--nv-max)); margin-inline: auto; }
.nv-section { padding: 82px 0; }
.nv-section-alt { background: #0a0a0a; border-block: 1px solid var(--nv-line); }
.nv-kicker { color: var(--nv-yellow); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nv-section-title { margin: 10px 0 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -.04em; }

/* Header */
.nv-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(7,7,7,.94);
  border-bottom: 1px solid #1c1c1c;
  backdrop-filter: blur(14px);
}
.nv-nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nv-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.nv-brand-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--nv-yellow); color: #000; font-size: .78rem; font-weight: 1000; }
.nv-brand-text { font-size: .98rem; letter-spacing: -.02em; }
.nv-menu { display: flex; gap: 26px; align-items: center; font-size: .88rem; color: #c6c6c6; }
.nv-menu a:hover { color: var(--nv-yellow); }
.nv-menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid #2d2d2d; border-radius: 8px; padding: 8px 11px; }

.nv-button { min-height: 46px; padding: 0 20px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; font-size: .82rem; font-weight: 900; letter-spacing: .035em; transition: .18s ease; }
.nv-button:hover { transform: translateY(-1px); }
.nv-button-primary, .nv-button-header { background: var(--nv-yellow); color: #060606; }
.nv-button-primary:hover, .nv-button-header:hover { background: var(--nv-yellow-light); }
.nv-button-header { min-height: 39px; padding: 0 15px; border-radius: 6px; font-size: .76rem; }
.nv-button-dark { background: #141414; border-color: #2b2b2b; color: #fff; }
.nv-button-outline { border-color: #383838; color: #fff; background: transparent; }
.nv-button-outline:hover, .nv-button-dark:hover { border-color: var(--nv-yellow); color: var(--nv-yellow); }

/* Hero - deliberately compact to match the reference proportions */
.nv-hero { padding: 82px 0 76px; background: radial-gradient(circle at 80% 35%, rgba(245,196,0,.08), transparent 28%), #070707; }
.nv-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 70px; align-items: center; }
.nv-hero-copy { max-width: 650px; }
.nv-eyebrow { color: #b6b6b6; font-size: .72rem; font-weight: 800; letter-spacing: .17em; margin-bottom: 16px; }
.nv-hero h1 { margin: 0; font-size: clamp(3.1rem, 6vw, 5.6rem); line-height: .92; letter-spacing: -.06em; text-transform: uppercase; }
.nv-hero h1 span { color: var(--nv-yellow); }
.nv-hero h2 { margin: 18px 0 10px; font-size: clamp(1.12rem, 2vw, 1.48rem); line-height: 1.25; letter-spacing: -.02em; }
.nv-hero p { margin: 0; max-width: 580px; color: #a9a9a9; font-size: .98rem; }
.nv-actions { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.nv-social-inline { display: flex; gap: 18px; margin-top: 22px; font-size: .82rem; color: #8e8e8e; }
.nv-social-inline a:hover { color: var(--nv-yellow); }
.nv-social-inline span { color: var(--nv-yellow); }

.nv-profile-wrap { text-align: center; justify-self: center; width: 100%; max-width: 360px; }
.nv-profile-frame { width: 340px; height: 340px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; padding: 7px; border: 1px solid rgba(245,196,0,.4); border-radius: 18px; background: #111; box-shadow: 0 18px 55px rgba(0,0,0,.38); }
.nv-profile-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; border-radius: 12px; }
.nv-profile-name { margin-top: 15px; font-weight: 900; font-size: 1rem; }
.nv-profile-role { margin-top: 2px; color: #888; font-size: .78rem; }

/* Stats */
.nv-stats { border-block: 1px solid var(--nv-line); background: #0b0b0b; }
.nv-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.nv-stats-grid > div { min-height: 78px; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--nv-line); }
.nv-stats-grid > div:last-child { border-right: 0; }
.nv-stats strong { color: var(--nv-yellow); font-size: .74rem; letter-spacing: .14em; }
.nv-stats span { margin-top: 3px; color: #c8c8c8; font-size: .82rem; }

/* About */
.nv-two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.nv-body-copy { color: #a7a7a7; font-size: .96rem; }
.nv-body-copy p:first-child { margin-top: 0; }

/* BasketTrap */
.nv-section-center { max-width: 650px; margin: 0 auto 34px; text-align: center; }
.nv-section-center p { color: #999; margin: 12px auto 0; }
.nv-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nv-card { min-height: 210px; padding: 26px; border: 1px solid #222; border-radius: var(--nv-radius); background: #101010; }
.nv-card-icon { color: var(--nv-yellow); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.nv-card h3 { margin: 38px 0 8px; font-size: 1.08rem; }
.nv-card p { margin: 0; color: #929292; font-size: .88rem; }
.nv-center-action { margin-top: 28px; text-align: center; }

/* Community */
.nv-community-box { padding: 44px 48px; border: 1px solid rgba(245,196,0,.32); border-radius: 18px; background: linear-gradient(135deg, rgba(245,196,0,.055), rgba(255,255,255,.015)); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.nv-community-box h2 { margin: 9px 0 8px; font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -.04em; }
.nv-community-box p { margin: 0; max-width: 630px; color: #979797; }
.nv-community-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }

/* Footer */
.nv-footer { padding: 42px 0 30px; border-top: 1px solid #1f1f1f; background: #050505; }
.nv-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nv-footer-links { display: flex; gap: 20px; color: #9b9b9b; font-size: .82rem; }
.nv-footer-links a:hover { color: var(--nv-yellow); }
.nv-risk { margin-top: 28px; padding-top: 18px; border-top: 1px solid #1d1d1d; color: #747474; font-size: .75rem; }
.nv-risk strong { color: #a5a5a5; }
.nv-copyright { margin: 11px 0 0; color: #555; font-size: .73rem; }

/* WordPress */
.custom-logo { max-height: 42px; width: auto; }
.alignwide { width: min(calc(100% - 36px), 1200px); margin-inline: auto; }
.alignfull { width: 100%; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width: 900px) {
  .nv-menu { position: absolute; left: 18px; right: 18px; top: 60px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #0c0c0c; border: 1px solid #292929; border-radius: 12px; }
  .nv-menu.is-open { display: flex; }
  .nv-menu a { padding: 10px; }
  .nv-menu-toggle { display: block; margin-left: auto; }
  .nv-button-header { display: none; }
  .nv-hero-grid { grid-template-columns: 1fr; gap: 42px; text-align: center; }
  .nv-hero-copy { margin: 0 auto; }
  .nv-actions, .nv-social-inline { justify-content: center; }
  .nv-profile-wrap { max-width: 300px; }
  .nv-profile-frame { width: 280px; height: 280px; }
  .nv-two-col { grid-template-columns: 1fr; gap: 26px; }
  .nv-card-grid { grid-template-columns: 1fr; }
  .nv-community-box { display: block; text-align: center; padding: 38px 28px; }
  .nv-community-actions { margin-top: 24px; justify-content: center; }
}

@media (max-width: 640px) {
  .nv-container { width: min(calc(100% - 28px), var(--nv-max)); }
  .nv-nav { height: 62px; }
  .nv-brand-mark { width: 31px; height: 31px; }
  .nv-hero { padding: 56px 0 58px; }
  .nv-hero h1 { font-size: clamp(2.9rem, 16vw, 4.4rem); }
  .nv-profile-wrap { max-width: 240px; }
  .nv-profile-frame { width: 230px; height: 230px; padding: 5px; border-radius: 15px; }
  .nv-profile-frame img { border-radius: 10px; }
  .nv-stats-grid { grid-template-columns: 1fr 1fr; }
  .nv-stats-grid > div:nth-child(2) { border-right: 0; }
  .nv-stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--nv-line); }
  .nv-section { padding: 64px 0; }
  .nv-card { min-height: auto; }
  .nv-card h3 { margin-top: 26px; }
  .nv-footer-top { display: block; }
  .nv-footer-links { margin-top: 20px; flex-wrap: wrap; }
}
