/* ====== Design Tokens (adult palette) ====== */
:root {
  --bg: #181A1F;          /* deep charcoal */
  --text: #F5F5F5;        /* soft white */
  --accent: #00ffe7;      /* cyan accent */
  --accent-secondary: #a259f7; /* muted purple accent */
  --border: #232336;      /* subtle border */
}

/* ====== Global styles ====== */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Fira Sans', 'Fira Mono', 'Consolas', monospace;
  margin: 0;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.55;
}
nav.topnav {
  width: 100%;
  background: #000;
  padding: 0.7rem 0 0.7rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav.topnav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
nav.topnav ul li a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding: 0.25em 0.6em;
  border-radius: 3px;
}
nav.topnav ul li a:hover {
  color: var(--accent);
}
.logo {
  display: none;
}
main {
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 1000px;
}
section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #232336;
}
section:last-child {
  border-bottom: none;
}
h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  color: var(--accent);
  margin-top: 0;
  font-weight: 700;
}
.glitch {
  color: var(--accent);
  animation: glitch 1.2s infinite linear alternate-reverse;
}
@keyframes glitch {
  0% { text-shadow: 1px 0 var(--accent-secondary), -1px 0 var(--accent); }
  50% { text-shadow: -1px 0 var(--accent-secondary), 1px 0 var(--accent); }
  100% { text-shadow: 1px 0 var(--accent-secondary), -1px 0 var(--accent); }
}
.subtitle {
  color: #a259f7;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.terminal-cursor {
  color: #00ffe7;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.2s, text-decoration-color 0.3s;
  position: relative;
}
a:hover {
  color: var(--accent-secondary);
  text-decoration-color: var(--accent-secondary);
}

/* Underline slide-in animation for links (subtle) */
a::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  transform-origin: left;
  border-radius: 1px;
}
a:hover::after {
  transform: scaleX(1);
}

/* Fade-in animation for main sections */
main > section, .about-section, .contact-terminal {
  opacity: 0;
  transform: translateY(24px);
  animation: fadein-section 0.8s cubic-bezier(.4,0,.2,1) forwards;
}
main > section:nth-child(1), .about-section, .contact-terminal {
  animation-delay: 0.1s;
}
main > section:nth-child(2) { animation-delay: 0.2s; }
main > section:nth-child(3) { animation-delay: 0.3s; }
main > section:nth-child(4) { animation-delay: 0.4s; }
main > section:nth-child(5) { animation-delay: 0.5s; }
main > section:nth-child(6) { animation-delay: 0.6s; }
main > section:nth-child(7) { animation-delay: 0.7s; }
@keyframes fadein-section {
  to {
    opacity: 1;
    transform: none;
  }
}
img.profile {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  border: 2px solid var(--accent);
  box-shadow: none;
}
@media (max-width: 800px) {
  nav.topnav {
    padding: 0.5rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav.topnav ul { 
    gap: 0.8rem;
    white-space: nowrap;
    min-width: max-content;
    padding: 0 0.5rem;
  }
  nav.topnav ul li a {
    font-size: 0.9rem;
    padding: 0.3em 0.5em;
    white-space: nowrap;
  }
  main { 
    padding: 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  /* Mobile-specific adjustments for Stop the Billionaires page */
  .current-action, .fellowship-info, .contact-section, .coming-soon {
    margin: 1rem 0;
    padding: 1rem;
  }
  .campaign-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .contact-links a {
    width: 100%;
    text-align: center;
    max-width: 250px;
  }
  .action-button {
    width: 100%;
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  nav.topnav ul li a {
    font-size: 0.85rem;
    padding: 0.25em 0.4em;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .emoji-header {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  nav.topnav {
    padding: 0.5rem;
  }
  nav.topnav ul {
    gap: 0.5rem;
    padding: 0 0.25rem;
  }
  nav.topnav ul li a {
    font-size: 0.8rem;
    padding: 0.2em 0.3em;
  }
  main {
    padding: 0.5rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
}
/* ====== Scrollbar ====== */
::-webkit-scrollbar { width: 8px; background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-secondary); border-radius: 4px; } 