/* General Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0f0f0f;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

/* Navigation */
nav {
  background: rgba(0, 0, 0, 0.8);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

#darkModeToggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ffcc00;
  cursor: pointer;
}

/* Hero */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #0c0c0c);
  overflow: hidden;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffcc00;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons a {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: transform 0.2s ease;
}

.btn-primary {
  background: #ffcc00;
  color: #000;
}

.btn-secondary {
  border: 2px solid #ffcc00;
  color: #ffcc00;
}

.cta-buttons a:hover {
  transform: scale(1.05);
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,204,0,0.1) 0%, transparent 70%);
  animation: pulse 6s infinite alternate;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.4;
  }
}

/* === TOKENOMICS NUMBER ANIMATION === */
.token-card .animated-number {
  font-size: 2rem;
  font-weight: bold;
  color: #ffcc00;
  transition: transform 0.4s ease;
}

.token-card:hover .animated-number {
  transform: scale(1.1);
}

/* === SECTION TITLES === */
.section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  color: #ffcc00;
  animation: fadeUp 0.8s ease forwards;
  animation-play-state: paused;
}

/* === CARD REVEAL ANIMATION === */
.token-card, .team-member, .timeline-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
  animation-play-state: paused;
}

.token-card:nth-child(2) {
  animation-delay: 0.4s;
  animation-play-state: paused;
}
.token-card:nth-child(3) {
  animation-delay: 0.6s;
 animation-play-state: paused;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === GLOW-EFFEKT SOCIAL BUTTONS === */
.social-btn {
  position: relative;
  overflow: hidden;
}

.social-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  animation: shimmer 2s infinite;
  animation-play-state: paused;
}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}


/* Roadmap */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.timeline-item {
  background: #1f1f1f;
  padding: 1.5rem;
  border-left: 4px solid #ffcc00;
  border-radius: 10px;
}

/* ✅ FINAL STYLING FÜR TEAM-KARTEN (LIGHT + DARK, KLICKBAR, HOVER-EFFEKT AUF h4) */

.team-member {
  background: #f5f5f5;
  color: #111;
  border-radius: 15px;
  padding: 1.5rem;
  width: 250px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1; /* wichtig */
}

body.dark .team-member {
  background: #1a1a1a;
  color: #f5f5f5;
}

/* Bild fixen */
.team-member img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  z-index: 0;
  pointer-events: none; /* blockiert keinen Klick */
}

/* Link-Stil und Klickbarkeit */
.team-member h4 a {
  color: inherit;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.team-member h4 a:hover {
  color: #ffcc00;
  transform: scale(1.05);
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.team-member img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  z-index: 0;
  pointer-events: none;
}

/* Community */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.social-btn {
  background: #ffcc00;
  color: #000;
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-btn:hover {
  background: #e6b800;
}

/* Footer */
footer {
  background: #000;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-content h2 {
    font-size: 2rem;
  }
  .tokenomics-grid, .team-grid {
    flex-direction: column;
    align-items: center;
  }
}
/* DARK MODE SUPPORT */
body.dark {
  background: #fff;
  color: #111;
}

body.dark nav {
  background: rgba(255, 255, 255, 0.85);
}

body.dark .nav-links a {
  color: #111;
}

body.dark .btn-primary {
  background: #111;
  color: #ffcc00;
}

body.dark .btn-secondary {
  border-color: #111;
  color: #111;
}

body.dark .token-card,
body.dark .team-member,
body.dark .timeline-item {
  background: #eee;
  color: #000;
  box-shadow: none;
}

body.dark .social-btn {
  background: #111;
  color: #ffcc00;
}

body.dark footer {
  background: #f1f1f1;
  color: #333;
}
/* === DARK MODE PATCH 2 === */
body.dark #hero {
  background: linear-gradient(135deg, #fff, #e0e0e0);
}

body.dark .hero-content h2 {
  color: #111;
}

body.dark .hero-content p {
  color: #333;
}

body.dark .btn-secondary {
  border: 2px solid #111;
  color: #111;
  background: transparent;
}

body.dark .btn-secondary:hover {
  background: #111;
  color: #fff;
}

body.dark .cta-buttons a {
  display: inline-block;
  visibility: visible;
  opacity: 1;
}

body.dark .logo h1 {
  color: #111;
}

body.dark nav .nav-container {
  background: transparent;
}

body.dark .nav-links a:hover {
  color: #000;
}
/* ✅ SOLANA-LIKE BACKGROUND that overlays entire header */
#hero {
  position: relative;
  overflow: hidden;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* places behind content */
  background: linear-gradient(270deg, #00FFA3, #DC1FFF, #3700FF);
  background-size: 600% 600%;
  animation: solanaShift 12s ease infinite;
  opacity: 0.25;
  filter: blur(60px);
  pointer-events: none;
}

@keyframes solanaShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body.dark .animated-bg {
  opacity: 0.4;
  filter: blur(80px);
}

/* ensure hero content stays above */
#hero > *:not(.animated-bg) {
  position: relative;
  z-index: 1;
}
body.dark .animated-bg,
body:not(.dark) .animated-bg {
  background: linear-gradient(270deg, #00FFA3, #DC1FFF, #3700FF);
  background-size: 600% 600%;
  animation: solanaShift 12s ease infinite;
  filter: blur(60px);
  opacity: 0.3;
}