/* ── global.css — shared tokens, reset, nav, footer ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark:    #1f1b1d;
  --bg-black:   #0e0e0e;
  --bg-white:   #ffffff;
  --accent:     #05ff00;
  --text-white: #ffffff;
  --text-black: #070204;
  --text-muted: #888a8b;
  --text-tag:   rgba(7,2,4,0.15);
  --radius-lg:  16px;
  --pad-global: 64px;
  --pad-section: 112px;
  --max-w: 1280px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-white);
  color: var(--text-black);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad-global);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  font-family: 'Rubik', sans-serif; font-weight: 800;
  font-size: 18px; color: var(--text-white); text-decoration: none;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.6); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* ── FOOTER ── */
footer {
  background: var(--bg-black);
  padding: var(--pad-section) var(--pad-global);
  display: flex; flex-direction: column; gap: 80px;
}
.footer-top {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: flex-end; gap: 32px;
}
.footer-tagline {
  font-family: 'Rubik', sans-serif; font-weight: 500;
  font-size: 16px; color: var(--text-white);
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: rgba(255,255,255,0.7); transition: color 0.2s; display: flex; }
.footer-socials a:hover { color: var(--accent); }
.footer-socials svg { width: 24px; height: 24px; }
.footer-words {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; gap: 8px;
  padding-left: max(555px, 40%);
}
.footer-word {
  font-family: 'Rubik', sans-serif; font-weight: 800;
  font-size: clamp(48px, 8vw, 120px);
  color: var(--text-white); text-transform: uppercase; line-height: 1;
  transition: opacity 0.3s;
}
.footer-word.dim { opacity: 0.3; }
.footer-word:hover { opacity: 1 !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--text-white); border: 1px solid var(--accent);
  color: var(--text-black); font-weight: 500; font-size: 16px;
  padding: 6px 12px; cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent); }
.btn-outline {
  border: 1px solid var(--accent); background: transparent;
  color: var(--text-white); font-weight: 500; font-size: 16px;
  padding: 6px 12px; cursor: pointer; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--accent); color: var(--text-black); }
.btn-border {
  border: 1px solid var(--text-tag); border-radius: 6px;
  padding: 6px 24px; font-weight: 500; font-size: 16px;
  color: var(--text-black); cursor: pointer; background: none;
  text-decoration: none; transition: border-color 0.2s;
}
.btn-border:hover { border-color: var(--text-black); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Rubik', sans-serif; font-weight: 500; font-size: 16px;
  color: var(--text-black); text-decoration: underline;
  cursor: pointer; background: none; border: none; padding: 0;
}
.btn-link-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 16px; color: var(--text-white);
  text-decoration: underline; cursor: pointer; background: none; border: none;
}

/* ── TAGS ── */
.tag {
  border: 1px solid var(--text-tag);
  padding: 4px 10px; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 14px; color: var(--text-black); white-space: nowrap;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── MARQUEE ── */
.marquee-section {
  background: var(--bg-dark); padding: 48px 0;
  overflow: hidden; border-top: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex; gap: 24px; align-items: center;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-star { font-size: 14px; color: var(--text-white); flex-shrink: 0; }
.marquee-text {
  font-family: 'Rubik', sans-serif; font-size: 16px;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.08em; white-space: nowrap; flex-shrink: 0;
}

/* ── NAV HAMBURGER ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --pad-global: 20px; --pad-section: 64px; }
  nav { padding: 16px 20px; }
  .nav-links {
    display: none;
    position: absolute; top: 56px; left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column; gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block; padding: 14px 20px;
    font-size: 15px; color: rgba(255,255,255,0.6);
  }
  .nav-hamburger { display: flex; }
  .footer-words { padding-left: 0; }
  .footer-top { flex-direction: column; align-items: center; gap: 16px; }
  .footer-word { font-size: 32px; }
  .footer-tagline { font-size: 12px; text-align: center; }
}
