* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background-color: #171717;
    padding-top: 80px; 
  }

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #171717;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8c00ff, #5a00a8);
  border-radius: 5px;
  border: 2px solid #171717;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a833ff, #6f00cc);
}


  .navbar {
    background-color: #171717;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 25rem; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.068);
  }
  
  .navbar-left,
  .navbar-right {
    display: flex;
    align-items: center;
  }

  .logo {
    font-size: 1.5rem;
    font-weight: bold;  
  }

    .stat-box {
  background-color: #1f1f1f00;
  padding: 1.8rem 2rem;
  border-radius: 14px;
  width: 200px;
  text-align: center;
  /* border: 1px solid rgba(255, 255, 255, 0.12); */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

/* .stat-box:hover {
  transform: translateY(-6px); 
  border-color: #8c00ff; 
  box-shadow: 0 0 20px rgba(140, 0, 255, 0.25); 
} */

.stat-box::before {
  content: "";
  position: absolute; 
  inset: 0;
  background: radial-gradient(circle at top, rgba(140, 0, 255, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;  
}

.stat-box:hover::before {
  opacity: 1;
}

#online-count {
  font-size: 2.6rem;
  font-weight: 700;
  color: #8c00ff;
  margin-bottom: 0.4rem;
}

.stat-box p {
  font-size: 0.95rem;
  color: #bdbdbd;
  letter-spacing: 0.5px;
}


#online-count.loading {
  animation: pulse 1.5s infinite;
}
  
  .market-btn,
  .download-btn {
    position: relative;
    overflow: hidden;
    background-color: #1f1f1f;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.123);
    margin-left: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 transparent;
  }
  
  .download-btn:hover {
    background-color: #007e15;
    border: 1px solid rgba(255, 255, 255, 0);
    /* box-shadow: 0 0 15px rgba(174, 0, 255, 0.4); */
  }

  .menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .nav-links {
      position: absolute;
      top: 80px;
      left: 0;
      background-color: #171717;
      width: 100%;
      flex-direction: column;
      gap: 1rem;
      padding: 1rem 0;
      display: none;
      opacity: 0;
      transform: translateY(-10px);
      transition: all 0.3s ease;
    }
  
    .nav-links.active {
      display: flex;
      opacity: 1;
      transform: translateY(0);
    }
  
    .menu-toggle {
      display: block;
    }
  
    .download-btn {
      display: none;
    }
  }
  
  .hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 2rem;
  }
  
  .hero h1 {
    font-size: 2.7rem;
    margin-bottom: -15px;
  }
  
  .hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #8c00ff;
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ddd;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .hero-btn {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    color: white;
    background-color: #1f1f1f;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.123);
    z-index: 1;
  }
  
  .hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #8c00ff;
    /* box-shadow: 0 0 15px rgba(255, 115, 0, 0.4); */
    z-index: -1;
    transition: width 0.4s ease;
  }
  
  .hero-btn:hover::before {
    width: 100%;
  }
  
  .hero-btn:hover {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0);
  }  

  .hero-btn2 {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    color: white;
    background-color: #1f1f1f;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.123);
    z-index: 1;
  }

  .hero-btn2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #5662f6;
    /* box-shadow: 0 0 15px rgba(255, 115, 0, 0.4); */
    z-index: -1;
    transition: width 0.4s ease;
  }
  
  .hero-btn2:hover::before {
    width: 100%;
  }
  
  .hero-btn2:hover {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0);
  }  

  .scroll-icon {
    margin-top: -3rem;
    text-align: center;
  }
  
  .scroll-icon img {
    width: 70px;
    height: auto;
    animation: bounce 2s infinite;
    filter: brightness(1.2);
  }

  .info-section {
    background-color: #171717;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 5rem;
  }
  
  .info-section h2 {
    font-size: 2.5rem;
    color: #8c00ff;
    margin-bottom: 1.5rem;
  }
  
  .info-section p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: #ccc;
  }
  
  .info-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .info-box {
    background-color: #1f1f1f;
    padding: 1.5rem;
    border-radius: 12px;
    width: 300px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.123);
  }
  
  .info-box:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(153, 0, 255, 0.356);
  }
  
  .info-box h3 {
    color: #ffffff;
  }
  
  .info-box p {
    color: #b8b8b8;
    font-size: 15px;
  }
  
  .service-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: left;
    color: #d6d6d6;
    font-size: 15px;
  }
  
  .service-list li {
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 30px;
  }
  
  .service-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: #8c00ff;
    color: #1f1f1f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
  }
  
  .stats-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .stat-box {
    padding: 1.5rem 2rem;
    border-radius: 12px;
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .stat-box:hover {
    transform: translateY(-5px);
  }
  
  .stat-box h2 {
    font-size: 2.2rem;
    color: #8c00ff;
    margin-bottom: 0.5rem;
  }

  .team-section {
    background-color: #171717;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
  }
  
  .team-section h2 {
    font-size: 2.5rem;
    color: #8c00ff;
    margin-bottom: 1rem;
  }
  
  .team-section p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 3rem;
  }
  
  .team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .team-card {
    background-color: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
  }
  
  .team-card:hover {
    transform: translateY(-5px);
    border: 1px solid #8c00ff;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #8c00ff;
  }
  
  .team-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }
  
  .team-card p {
    color: #aaa;
    margin-bottom: 0rem;
  }

  .footer {
    border-top: 1px solid #44444473;
    background-color: #171717;
    color: #fff;
    padding: 40px 20px 20px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  
  .footer-logo img {
    width: 50px;
    margin-bottom: 10px;
  }
  
  .footer-logo h3 {
    margin: 0;
    font-size: 1.2rem;
  }
  
  .footer-social a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 8px;
  }
  
  .footer-social a:hover {
    color: #8c00ff;
  }
  
  .footer-bottom-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.85rem;
    padding-top: 1rem;
    margin-top: 1rem;
    margin-left: 20.5rem;
    margin-right: 21rem;
    color: #999;
  }
  
  .footer-bottom-row .hosted a {
    color: #8c00ff;
    text-decoration: none;
  }
  
  .footer-bottom-row .hosted a:hover {
    text-decoration: underline;
  }

  .ping-status {
  color: #bdbdbd;
  font-size: 0.85rem;
}

#server-ping {
  font-weight: 600;
  color: #8c00ff;
}

#server-ping.good {
  color: #4caf50; /* yeşil */
}

#server-ping.medium {
  color: #ffc107; /* sarı */
}

#server-ping.bad {
  color: #f44336; /* kırmızı */
}


@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}


@media (max-width: 768px) {
  .navbar {
    padding: 1rem 2rem;
    flex-wrap: wrap;
  }

  .hero h1,
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .info-section h2,
  .team-section h2 {
    font-size: 2rem;
  }

  .info-section p,
  .team-section p {
    font-size: 1rem;
  }

  .info-box,
  .stat-box {
    width: 90%;
  }

  .footer-bottom-row {
    margin-left: 1rem;
    margin-right: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
