@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

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

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1420;
  --bg-card: #151b2b;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --accent-cyan: #22d3ee;
  --accent-purple: #a855f7;
  --border-color: #1f2937;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Construction Banner */
.construction-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  padding: 0.75rem 0;
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
  color: white;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(15, 20, 32, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.logo-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-discord {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.6);
}

.mobile-menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(34, 211, 238, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #14b8a6 100%);
  color: white;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
}

.server-ip-box {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.server-ip-box:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

.ip-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

#server-ip {
  color: var(--accent-cyan);
  font-family: "Courier New", monospace;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

/* News Cards */
.news-section {
  background: var(--bg-primary);
}

.news-grid,
.homepage-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.news-card {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
}

.news-header,
.news-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.news-icon,
.news-card-icon {
  font-size: 1.75rem;
}

.news-badge,
.news-card-badge {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--accent-cyan);
  color: white;
}

.news-title,
.news-card-title {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.news-date,
.news-card-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.news-content,
.news-card-content {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Spielmodi */
.spielmodi-list {
  display: grid;
  gap: 3rem;
}

.spielmodi-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.spielmodi-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
}

.spielmodi-card.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.spielmodi-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.spielmodi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spielmodi-card:hover .spielmodi-image img {
  transform: scale(1.1);
}

.spielmodi-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-cyan);
  color: white;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.spielmodi-content {
  padding: 2.5rem;
}

.spielmodi-content h3 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spielmodi-content p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.features-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.features-list li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  color: var(--text-primary);
}

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

.team-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
}

.team-avatar {
  width: 130px;
  height: 130px;
  border-radius: 16px;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.team-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Discord CTA */
.discord-cta {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.discord-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.discord-icon {
  font-size: 6rem;
  color: white;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.discord-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: white;
}

.discord-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

.discord-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.discord-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
}

.btn-discord-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: white;
  color: #5865f2;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-discord-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.footer-content {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 1.65rem;
  font-weight: 800;
}

.footer-logo img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
}

.footer-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

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

/* Notifications */
.custom-notification {
  position: fixed;
  top: 100px;
  right: -400px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 1.25rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  transition: right 0.4s ease;
  min-width: 320px;
}

.custom-notification.show {
  right: 2rem;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notification-icon {
  font-size: 1.75rem;
}

/* Confirm Modal */
.custom-confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-confirm-modal.show {
  opacity: 1;
  visibility: visible;
}

.confirm-content {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  max-width: 450px;
  width: 90%;
}

.confirm-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.confirm-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.confirm-buttons {
  display: flex;
  gap: 1rem;
}

.confirm-buttons button {
  flex: 1;
  padding: 0.875rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 88px);
    background: rgba(15, 20, 32, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2.5rem;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .spielmodi-card.featured {
    grid-template-columns: 1fr;
  }

  .discord-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}

/* Füge Regel-Seiten Styles hinzu */
/* Regeln Hero */
.regeln-hero {
  padding: 180px 0 60px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
}

/* Regeln Section */
.regeln {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.regeln-wichtig {
  margin-bottom: 3rem;
}

.wichtig-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 16px;
}

.wichtig-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.wichtig-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ef4444;
}

.wichtig-box p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Regeln Grid */
.regeln-grid {
  display: grid;
  gap: 2rem;
}

.regel-kategorie {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.regel-kategorie.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.regel-kategorie.highlight {
  border-color: #ef4444;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
}

.regel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border-bottom: 1px solid var(--border-color);
}

.regel-kategorie.highlight .regel-header {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
}

.regel-icon {
  font-size: 1.75rem;
}

.regel-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.regel-kategorie.highlight .regel-header h3 {
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.regel-content {
  padding: 2rem;
}

.regel-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
}

.regel-item:last-child {
  border-bottom: none;
}
