:root {
  --background: #2c2f33;
  --primary: #5865f2;
  --accent: #7289da;
  --text: #ffffff;
  --text-muted: #b9bbbe;
  --card-bg: #23272a;
  --hover: #40444b;
}

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

body {
  font-family: 'Rubik', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--card-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.navbar a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  animation: fadeIn 1.2s ease-in;
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content span {
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn-primary {
  padding: 0.8rem 1.8rem;
  background-color: var(--card-bg);
  color: var(--text);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: var(--hover);
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
}

/* About */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
}

.about-text {
  flex: 1;
  padding-right: 2rem;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
}

/* Stats */
.stats {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--card-bg);
}

.stats h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.stats-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.stat-card {
  background-color: var(--background);
  padding: 2rem;
  border-radius: 12px;
  width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Features */
.features {
  padding: 4rem 2rem;
  text-align: center;
}

.features h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* Commands page */
.commands-section {
  padding: 4rem 2rem;
  text-align: center;
}

.command-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.command-card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.command-card:hover {
  transform: translateY(-5px);
}

.command-card h3 {
  margin-bottom: 0.5rem;
}

/* Team page */
.team-section {
  padding: 4rem 2rem;
  text-align: center;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
  border: 2px solid transparent;
  box-shadow: 0 0 10px transparent;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

/* Effekte nach Rolle */

/* 🔴 Admin */
.team-member.admin {
  border-color: #ff2d55;
  box-shadow: 0 0 15px #ff2d55;
  animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
  0%, 100% {
    box-shadow: 0 0 10px #ff2d55;
  }
  50% {
    box-shadow: 0 0 20px #ff5e7e;
  }
}

/* 🟣 Developer (Lila-Aqua Gradient) */
.team-member.developer {
  border-image: linear-gradient(45deg, #a18cd1, #2afadf) 1;
  border-width: 3px;
  border-style: solid;
  animation: pulseDev 3s infinite;
}

@keyframes pulseDev {
  0% {
    box-shadow: 0 0 10px #a18cd1;
  }
  50% {
    box-shadow: 0 0 20px #2afadf;
  }
  100% {
    box-shadow: 0 0 10px #a18cd1;
  }
}

/* 🟡 Helfer (Gelb-Orange Glow) */
.team-member.helper {
  border-color: #ffcc00;
  box-shadow: 0 0 15px #ffcc00;
  animation: pulseHelper 2.5s infinite;
}

@keyframes pulseHelper {
  0%, 100% {
    box-shadow: 0 0 10px #ffcc00;
  }
  50% {
    box-shadow: 0 0 20px #ffaa00;
  }
}

/* 🌈 Partner (RGB-Animated Gradient Border) */
.team-member.partner {
  position: relative;
  z-index: 0;
}

.team-member.partner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(270deg, red, orange, yellow, green, cyan, blue, violet, red);
  background-size: 1600% 1600%;
  animation: rainbowBorder 8s linear infinite;
  border-radius: 14px;
  filter: blur(4px);
}

@keyframes rainbowBorder {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Footer */
.footer {
  background-color: var(--card-bg);
  color: var(--text-muted);
  padding: 2rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.footer-col {
  min-width: 180px;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsiv */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content, .hero-image {
    max-width: 100%;
  }
  .about {
    flex-direction: column-reverse;
  }
  .about-text {
    padding: 0;
  }
}
