/* ============================================================
   TRADING-DUDE.COM — SHARED STYLES
   Black & Yellow Brand | All Pages
   ============================================================ */

:root {
  --gold: #F5C518;
  --gold-bright: #FFD84D;
  --gold-dim: #9A7C0A;
  --black: #060606;
  --dark: #0D0D0D;
  --card: #111111;
  --card2: #181818;
  --border: #1E1E1E;
  --border2: #2A2A2A;
  --text: #EBEBEB;
  --muted: #666;
  --muted2: #999;
  --green: #16A34A;
  --green-light: #22C55E;
  --red: #DC2626;
}

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

body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0;
}

/* ── TYPOGRAPHY ── */
.bebas { font-family: 'Bebas Neue', sans-serif; }
.mono  { font-family: 'Space Mono', monospace; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(6,6,6,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--gold);
  text-decoration: none;
}
.nav-logo em { color: var(--text); font-style: normal; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: #000 !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-bright) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(6,6,6,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 199;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu a {
  font-size: 16px;
  color: var(--muted2);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu.open { display: flex; }

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark);
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 60px; z-index: 2;
}
.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--dark), transparent); }
.ticker {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tick-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-right: 1px solid var(--border2);
  white-space: nowrap;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--muted2);
}
.tick-item .pair { color: var(--gold); font-weight: 700; }
.tick-item .up   { color: var(--green-light); }
.tick-item .dn   { color: var(--red); }

/* ── SECTION HELPERS ── */
.section { padding: 64px 24px; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.section-wide { padding: 64px 24px; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
h2.section-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 9vw, 52px);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.section-desc { font-size: 14px; color: var(--muted2); margin-bottom: 32px; max-width: 460px; }

/* ── LINE DIVIDER ── */
.line { height: 1px; background: linear-gradient(90deg, transparent, var(--border2) 30%, var(--border2) 70%, transparent); margin: 0 24px; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: #000;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-gold:hover::before { transform: translateX(100%); }
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,197,24,0.22);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(245,197,24,0.3);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  background: rgba(245,197,24,0.07);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #5865F2;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-discord:hover { background: #4752C4; transform: translateY(-2px); }

/* ── SOCIAL ICONS ── */
.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.soc {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border2);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted2);
  transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s;
}
.soc:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,197,24,0.07);
  transform: translateY(-3px);
}
.soc svg { width: 17px; height: 17px; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 40px 24px 24px;
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-brand .logo-text em { color: var(--text); font-style: normal; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.footer-links h4 {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-links ul { list-style: none; display: grid; gap: 8px; }
.footer-links ul a { font-size: 13px; color: var(--muted2); text-decoration: none; transition: color 0.2s; }
.footer-links ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 700px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 11px; color: #333; font-family: 'Space Mono', monospace; }
.footer-bottom a { color: var(--gold); font-size: 11px; text-decoration: none; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp 0.5s 0.05s ease both; }
.anim-2 { animation: fadeUp 0.5s 0.12s ease both; }
.anim-3 { animation: fadeUp 0.5s 0.20s ease both; }
.anim-4 { animation: fadeUp 0.5s 0.28s ease both; }
.anim-5 { animation: fadeUp 0.5s 0.36s ease both; }

/* ── MOBILE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
}
