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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --purple-primary: #7c3aed;
  --purple-light: #a855f7;
  --purple-accent: #c084fc;
  --purple-dark: #5b21b6;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #2a2a2a;
  --border-purple: rgba(124, 58, 237, 0.3);
  --gradient-purple: linear-gradient(135deg, #7c3aed, #a855f7);
  --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  --shadow-purple: 0 0 30px rgba(124, 58, 237, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--purple-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--purple-accent);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-purple);
  color: #fff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-purple);
}

.btn-secondary:hover {
  border-color: var(--purple-primary);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-discord {
  background: #5865F2;
  color: #fff;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  color: #fff;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand:hover {
  color: var(--purple-light);
}

.nav-brand .brand-accent {
  color: var(--purple-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--purple-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 20s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-100px) translateX(50px); opacity: 0.6; }
  50% { transform: translateY(-200px) translateX(-30px); opacity: 0.2; }
  75% { transform: translateY(-50px) translateX(80px); opacity: 0.5; }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(91, 33, 182, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border-purple);
  color: var(--purple-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.1;
  color: #fff;
}

.hero-content h1 span {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .slogan {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.hero-content .server-ip {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  font-family: monospace;
  letter-spacing: 1px;
}

.server-ip .ip-value {
  color: var(--purple-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple-light);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* Features / Server Info Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 35px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-purple);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Shop Section */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.shop-card.featured {
  border-color: var(--purple-primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-purple);
}

.shop-card.featured::before {
  content: 'POPULÄR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-purple);
  color: #fff;
  padding: 4px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.shop-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-10px);
  box-shadow: var(--shadow-card);
}

.shop-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.rank-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.rank-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: #fff;
}

.rank-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--purple-light);
  margin-bottom: 25px;
}

.rank-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.rank-features {
  text-align: left;
  margin-bottom: 30px;
}

.rank-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-features li::before {
  content: '✓';
  color: var(--purple-light);
  font-weight: 700;
}

.shop-card .btn {
  width: 100%;
  justify-content: center;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.team-skin {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--border-purple);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.team-rank {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-rank.admin {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.team-rank.mod {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.team-rank.dev {
  background: rgba(124, 58, 237, 0.15);
  color: var(--purple-light);
  border: 1px solid var(--border-purple);
}

.team-rank.builder {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.team-rank.support {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.team-rank.owner {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.team-rank.teamleitung {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.team-rank.srmod {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Vote Section */
.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.vote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.vote-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.vote-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
}

.vote-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Rules Section */
.rules-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rule-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 25px 30px;
  transition: var(--transition);
  cursor: pointer;
}

.rule-item:hover {
  border-color: var(--border-purple);
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rule-number {
  width: 40px;
  height: 40px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--purple-light);
  flex-shrink: 0;
}

.rule-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.rule-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 55px;
}

.rule-item.open .rule-content {
  max-height: 200px;
  padding-top: 15px;
}

.rule-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Support Section */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 35px 30px;
  text-align: center;
  transition: var(--transition);
}

.support-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.support-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.support-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.support-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-purple);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
}

.faq-question:hover {
  color: var(--purple-light);
}

.faq-question .faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--purple-light);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.footer-brand h3 span {
  color: var(--purple-light);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.footer-social a:hover {
  background: var(--purple-primary);
  color: #fff;
  border-color: var(--purple-primary);
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  padding: 6px 0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--purple-light);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--purple-light);
}

/* Minecraft Skin Render Placeholder */
.skin-placeholder {
  width: 80px;
  height: 80px;
  background: var(--bg-secondary);
  border: 3px solid var(--border-purple);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Particles Background */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Page Header */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  z-index: 0;
}

.page-header * {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 10px;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 20px;
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .slogan {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    gap: 25px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .shop-card.featured {
    transform: none;
  }

  .shop-card.featured:hover {
    transform: translateY(-10px);
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 50px 0;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }
}

.rule-content p:last-child {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 10px;
}

.rule-separator {
  border: none;
  height: 1px;
  background: var(--border-purple);
  margin: 12px 0 8px;
  opacity: 0.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--purple-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--purple-primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Selection */
::selection {
  background: rgba(124, 58, 237, 0.3);
  color: #fff;
}
