/* Grundresets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  color: #eee;
  background-color: #121212;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ==== Header ==== */
/* Header allgemein */
.header {
  background: #0D0D0D;
  padding: 0.8rem 2rem;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center; /* zentriert Logo + Nav zusammen */
  gap: 2rem; /* Abstand zwischen Logo und Nav */
}


.logo-img {
  height: 40px;
  width: auto;
}

/* Navigation */
.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #00bcd4;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #eee;
  font-size: 1.5rem;
  margin-left: 40px;
  cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
}
.mobile-nav-content {
  padding: 40px;
}
.mobile-nav-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #eee;
  float: right;
  cursor: pointer;
}
.mobile-nav ul {
  list-style: none;
  margin-top: 40px;
}
.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-size: 1.3rem;
  color: #eee;
}

/* ==== Hero ==== */
.hero {
  position: relative;
  text-align: center;
  color: white;
  padding: 120px 20px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots .dot.active {
  background: #d32f2f;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  margin: 5px;
  transition: background 0.3s;
}
.btn i {
  margin-right: 8px;
  font-size: 1.1em;
}

.btn-primary {
  background: #d32f2f;
  color: white;
}
.btn-primary:hover {
  background: #b71c1c;
}
.btn-secondary {
  background: #444;
  color: #eee;
}
.btn-secondary:hover {
  background: #666;
}

/* ==== Features ==== */
.features {
  padding: 80px 20px;
  text-align: center;
}
.features h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.feature-card {
  background: #1f1f1f;
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s, background 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  background: #2a2a2a;
}
.feature-card h4 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #d32f2f;
}
.feature-card p {
  font-size: 1rem;
  color: #ccc;
}

/* ==== CTA ==== */
.cta {
  padding: 60px 20px;
  background: #1a1a1a;
  text-align: center;
}
.cta h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
}
.cta p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #ccc;
}

/* ==== Footer ==== */
.footer {
  background: #0d0d0d;
  color: #ddd;
  padding: 3rem 1.5rem 2rem;
  margin-top: 3rem;
  border-top: 2px solid #222;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
}

.footer-section h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #d32f2f;
  margin-top: 0.5rem;
  border-radius: 2px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin: 0.6rem 0;
  display: flex;
  align-items: center;
}

.footer-section a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-section i {
  width: 20px;          /* fester Platzhalter für Icon */
  text-align: center;   /* Icon zentrieren */
  margin-right: 10px;   /* Abstand zwischen Icon und Text */
  color: #d32f2f;
  font-size: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #222;
  padding-top: 1.5rem;
}


/* ==== Announce ==== */
.announce {
  background: linear-gradient(90deg, #B71C1C, #d32f2f); /* auffälliger Rot/Pink-Verlauf */
  color: white;
  text-align: center;
  padding: 2rem;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.announce-content {
  max-width: 1200px;
  margin: 0 auto;
}

.announce h2 {
  font-size: 1rem;
  margin: 0;
  letter-spacing: 1px;
  font-weight: bold;
  text-transform: uppercase;
}

.announce p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

/* ==== Gamemodes Section ==== */
.gamemodes {
  padding: 80px 20px;
  background: #0d0d0d;
  text-align: center;
}

.gamemodes h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
}

.gamemodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gamemode-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #2a2a2a;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gamemode-card:hover {
  transform: translateY(-5px);
  border-color: #d32f2f;
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

.gamemode-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.gamemode-header h4 {
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.gamemode-header i {
  color: #d32f2f;
  font-size: 1.2rem;
}

.version {
  font-size: 0.85rem;
  color: #888;
  background: #252525;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  cursor: pointer;
  user-select: none;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-live {
  background:
    repeating-linear-gradient(
      315deg, /* Richtung: von rechts oben nach links unten */
      rgba(255, 255, 255, 0.15) 0,
      rgba(255, 255, 255, 0.15) 10px,
      transparent 10px,
      transparent 20px
    ),
    linear-gradient(315deg, #43A047, #81c784);
  color: white;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
  background-size: 200% 200%;
  animation: moveStripes 15s linear infinite;

	
}


.status-planned {
  background: 
    repeating-linear-gradient(
      315deg,
      rgba(255, 255, 255, 0.15) 0,
      rgba(255, 255, 255, 0.15) 10px,
      transparent 10px,
      transparent 20px
    ),
    linear-gradient(90deg, #ff9800, #ffb74d);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
  animation: moveStripes 15s linear infinite;

}

.status-development {
 background:
    repeating-linear-gradient(
      315deg,
      rgba(255, 255, 255, 0.15) 0,
      rgba(255, 255, 255, 0.15) 10px,
      transparent 10px,
      transparent 20px
    ),
    linear-gradient(90deg, #5ab4f0, #2196f3);
  background-size: 200% 200%;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
  animation: moveStripes 15s linear infinite;
}

.status-maintenance {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    repeating-linear-gradient(
      315deg,
      rgba(255, 255, 255, 0.12) 0px,
      rgba(255, 255, 255, 0.12) 12px,
      transparent 12px,
      transparent 24px
    ),
    linear-gradient(315deg, #c62828, #ef5350);
  box-shadow: 0 0 12px rgba(239, 83, 80, 0.5);
  border-radius: 20px;
  animation: pulseMaintenance 2.5s ease-in-out infinite;
}

@keyframes pulseMaintenance {
  0%, 100% {
    box-shadow: 0 0 8px rgba(239, 83, 80, 0.4);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 16px rgba(239, 83, 80, 0.8);
    filter: brightness(1.15);
  }
}



@keyframes moveStripes {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 200px 200px, 0 0;
  }
}



/* ==== Projects Section ==== */
.projects {
  padding: 80px 20px;
  background: #121212;
  text-align: center;
}

.projects h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #2a2a2a;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #d32f2f;
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

.project-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #2a2a2a;
}

.project-info {
  padding: 20px;
  text-align: left;
}

.project-info h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 600;
}

.project-date {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==== Information Section ==== */
.information {
  padding: 80px 20px;
  background: #0d0d0d;
}

.information h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}

.info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-bar {
  background: linear-gradient(90deg, #1a1a1a 0%, #252525 100%);
  border-left: 4px solid #d32f2f;
  border-radius: 8px;
  padding: 25px 30px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.info-bar:hover {
  transform: translateX(5px);
  border-left-width: 6px;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
}

.info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.info-content {
  flex: 1;
}

.info-content h4 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.info-content p {
  color: #ccc;
  line-height: 1.7;
  font-size: 1rem;
}

/* ==== Special Server Data Section ==== */
.info-data-special {
  background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 50%, #1a1a1a 100%);
  border-left: 4px solid #d32f2f;
  padding: 25px 30px;
  position: relative;
  overflow: hidden;
}

.info-data-special::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d32f2f, transparent);
}

.info-data-special:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 18px rgba(211, 47, 47, 0.35);
}

.server-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Primary Stats - IP and Port */
.primary-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.stat-card {
  background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card.highlight:hover {
  border-color: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 47, 47, 0.25);
}

.stat-card.highlight:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d32f2f, #c62828);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 3px 10px rgba(211, 47, 47, 0.5);
  position: relative;
  z-index: 1;
}

.stat-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.stat-value {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Divider */
.stat-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.3), transparent);
  margin: 4px 0;
}

/* Secondary Stats */
.secondary-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.stat-mini {
  background: rgba(42, 42, 42, 0.5);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.stat-mini:hover {
  background: rgba(42, 42, 42, 0.8);
  border-color: #d32f2f;
  transform: translateX(4px);
}

.stat-mini i {
  font-size: 1.1rem;
  color: #d32f2f;
  width: 26px;
  text-align: center;
}

.stat-mini-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-mini-label {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.stat-mini-value {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
}

/* Ping Stats */
.ping-stats {
  background: rgba(211, 47, 47, 0.05);
  border-radius: 8px;
  padding: 15px;
  border: 1px solid rgba(211, 47, 47, 0.2);
}

.ping-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.ping-header i {
  color: #d32f2f;
  font-size: 1.1rem;
}

.ping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ping-card {
  background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.ping-card:hover {
  transform: scale(1.04);
  border-color: #43A047;
}

.ping-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  right: 12px;
  box-shadow: 0 0 8px currentColor;
  animation: pulse 2s ease-in-out infinite;
}

.ping-card.excellent .ping-indicator {
  background: #43A047;
  color: #43A047;
}

.ping-card.good .ping-indicator {
  background: #81c784;
  color: #81c784;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.ping-region {
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.ping-value {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ping-value small {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}


/* ==== Responsive ==== */
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .announce h2 { font-size: 0.9rem;  }
  .announce p {  font-size: 0.85rem; }
  .gamemodes-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }
  
  .gamemode-card {
    padding: 15px;
  }
  
  .gamemode-header h4 {
    font-size: 1rem;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .info-container {
    gap: 15px;
  }

  .info-bar {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .info-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .info-content h4 {
    font-size: 1.2rem;
  }

  .info-data-special {
    padding: 25px 20px;
  }

  .primary-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 18px;
  }

  .stat-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .ping-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ping-value {
    font-size: 1.6rem;
  }
}


/* Popup Overlay */
.ping-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ping-popup.active {
  display: flex;
}

.ping-popup-inner {
  background: #111;
  color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.ping-popup-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.ping-popup .btn {
  cursor: pointer;
}


/* ==== Responsive ==== */
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .announce h2 { font-size: 0.9rem;  }
  .announce p {  font-size: 0.85rem; }
  .gamemodes-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }
  
  .gamemode-card {
    padding: 15px;
  }
  
  .gamemode-header h4 {
    font-size: 1rem;
  }
}


