/* ============================================
   RUNNER — RATED R  |  CINEMATIC CRYPTO THEME
   ============================================ */

:root {
  --black: #000000;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --gray: #333333;
  --gray-light: #666666;
  --gray-muted: #999999;
  --white: #ffffff;
  --off-white: #f0f0f0;
  --red: #c8102e;
  --red-dark: #a00d24;
  --red-glow: rgba(200, 16, 46, 0.3);
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.red { color: var(--red); }

/* FILM GRAIN */
.film-grain {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ==================
   ANIMATIONS
   ================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Word-level animation */
.anim-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) rotateX(40deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.anim-words.revealed .word {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* ==================
   NAVBAR (compact)
   ================== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 8px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  padding: 6px 0;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--off-white);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 8px 20px;
  border: 1.5px solid var(--red);
  transition: all 0.3s;
}
.nav-cta:hover {
  background: transparent;
  color: var(--red);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}
.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0, 0, 0, 0.97);
  z-index: 999;
  justify-content: center;
  align-items: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 4px;
  color: var(--white);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--red); }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
}

/* ==================
   HERO
   ================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, var(--dark-2) 0%, var(--black) 70%);
}

.hero-curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  animation: curtainOpen 2s ease-out forwards;
}
.hero-curtain-left {
  left: 0;
  background: linear-gradient(to right, #1a0000, var(--red-dark));
  transform-origin: left;
}
.hero-curtain-right {
  right: 0;
  background: linear-gradient(to left, #1a0000, var(--red-dark));
  transform-origin: right;
}
@keyframes curtainOpen {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 24px;
}

.hero-logo {
  width: 160px;
  height: auto;
  margin: 0 auto 32px;
  filter: drop-shadow(0 0 40px var(--red-glow));
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 30px var(--red-glow)); }
  50% { filter: drop-shadow(0 0 60px rgba(200, 16, 46, 0.5)); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.95;
  letter-spacing: 6px;
  margin-bottom: 20px;
}
.hero-title-small {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 300;
  letter-spacing: 12px;
  color: var(--gray-muted);
  margin-bottom: 8px;
}
.hero-title .red {
  text-shadow: 0 0 40px var(--red-glow);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--gray-muted);
  margin-bottom: 40px;
  min-height: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--red);
  border-radius: 4px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* X (Twitter) button in hero */
.hero-x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-color: var(--white);
}
.hero-x-btn svg {
  display: block;
}
.hero-x-btn:hover {
  background: var(--white);
  color: var(--black);
}

/* Hero CA box */
.hero-ca {
  margin-top: 28px;
  text-align: center;
}
.hero-ca-label {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-muted);
  margin-bottom: 8px;
}
.hero-ca-box {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gray);
  padding: 4px 4px 4px 16px;
  gap: 12px;
  max-width: 100%;
  transition: border-color 0.3s;
}
.hero-ca-box:hover {
  border-color: var(--red);
}
.hero-ca-text {
  font-family: 'Inter', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--gray-muted);
  word-break: break-all;
  user-select: all;
}
.hero-ca-copy {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 2px;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}
.hero-ca-copy:hover {
  background: var(--white);
  color: var(--black);
}
.hero-ca-copy.copied {
  background: #2ecc40;
}

/* BUTTONS */
.btn {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-lg {
  padding: 18px 48px;
  font-size: 16px;
}
.btn-sm {
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 2px;
}

/* ==================
   SECTIONS (shared)
   ================== */
.section {
  padding: 120px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 3px;
}
.section-sub {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--gray-muted);
  margin-top: 12px;
  text-transform: uppercase;
}

/* ==================
   CHART SECTION
   ================== */
.section-chart {
  background: var(--dark);
}
.chart-wrapper {
  width: 100%;
  border: 1px solid var(--dark-3);
  background: var(--dark-2);
  overflow: hidden;
  position: relative;
}
.chart-placeholder {
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.chart-placeholder-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.chart-pulse {
  width: 120px;
  height: 120px;
  border: 2px solid var(--red);
  border-radius: 50%;
  margin: 0 auto 24px;
  position: relative;
  animation: chartPulseRing 2s ease-out infinite;
}
.chart-pulse::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--red-glow);
}
@keyframes chartPulseRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.chart-placeholder-text {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-muted);
  margin-bottom: 8px;
}
.chart-placeholder-sub {
  font-size: 13px;
  color: var(--gray);
}
.chart-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ==================
   HOW TO BUY SECTION
   ================== */
.section-htb {
  background: var(--black);
  overflow: hidden;
}
.htb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) {
  .htb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .htb-grid { grid-template-columns: 1fr; }
}

.htb-step {
  position: relative;
  padding: 0 24px;
  text-align: center;
}
.htb-step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}
.htb-number {
  width: 64px;
  height: 64px;
  border: 2px solid var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--dark);
  transition: all 0.5s ease;
}
.htb-step:hover .htb-number {
  border-color: var(--red);
  box-shadow: 0 0 30px var(--red-glow);
}
.htb-number span {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--gray);
  transition: color 0.5s;
}
.htb-step:hover .htb-number span {
  color: var(--red);
}
.htb-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--dark-3), transparent);
}

.htb-step-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: var(--white);
}
.htb-step-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-muted);
}
.htb-step-body strong {
  color: var(--white);
  font-weight: 600;
}

/* Connector line between steps */
.htb-step::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -1px;
  width: calc(48px);
  height: 2px;
  background: var(--dark-3);
}
.htb-step:last-child::after { display: none; }
@media (max-width: 900px) {
  .htb-step:nth-child(2)::after { display: none; }
  .htb-step::after { width: 24px; }
}
@media (max-width: 550px) {
  .htb-step::after { display: none; }
  .htb-step {
    padding: 24px;
    border-bottom: 1px solid var(--dark-3);
  }
  .htb-step:last-child { border-bottom: none; }
}


/* ==================
   CTA
   ================== */
.section-cta {
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
}
.cta-logo {
  width: 120px;
  margin: 0 auto 32px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.cta-text {
  font-size: 18px;
  color: var(--gray-muted);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cta-disclaimer {
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
}

/* ==================
   FOOTER
   ================== */
.footer {
  background: var(--dark-2);
  padding: 64px 0 0;
  border-top: 1px solid var(--dark-3);
}
.footer-credits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-logo img { height: 56px; }
.footer-text { text-align: center; }
.footer-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 4px;
}
.footer-sub {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gray-light);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-link {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-muted);
  transition: color 0.3s;
}
.footer-link:hover { color: var(--red); }
.footer-bar {
  border-top: 1px solid var(--dark-3);
  padding: 20px 0;
  text-align: center;
}
.footer-bar p {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer-credits {
    flex-direction: column;
    text-align: center;
  }
}

/* TYPEWRITER CURSOR */
.typewriter::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--red);
}
@keyframes blink {
  50% { opacity: 0; }
}
