@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); /*font-family: 'Inter', sans-serif;*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --main-font: 'Inter', sans-serif;
  --main-color: #c300ff;
  --background-color: #292828;
  --white-color: #FFFFFF;
  --black-color: #000000;
  --description-color: #D2D0D0;
  --gg:#292828;
  --panel-color: #363636;

  --green-color: #4AFF6B;
  --ip-copied-background: rgba(74, 255, 107, 0.17);
  --ip-copied-icon-background: rgba(74, 255, 107, 0.5);

  --copy-ip-button-background:rgba(74, 255, 107, 0.5) ;
  --how-to-join-button-background: rgba(210, 208, 208, 0.2);
  --stats-background: rgba(210, 208, 208, 0.05);
  --stat-icon-background-2: rgba(74, 255, 107, 0.5);

  --scroll-bar: rgba(210, 208, 208, 0.3);
  --scroll-bar-hover: #555555FF;

  --red-color: #FF7C7C;
  --warning-background: rgba(255, 124, 124, 0.17);
  --warning-icon-background: rgba(255, 124, 124, 0.5);
  --warning-color: #F5C1C1;

  /*Admin-Team rank colors*/
  --default-rank-color: rgba(210, 208, 208, 0.3);
}

body {
  background: var(--background-color);
  font-family: var(--main-font);
}

/*Navbar*/
.navbar {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 150px;
  background: var(--background-color);
  transition: 0.3s ease-in-out;
}

.navbar a {
  text-decoration: none;
}

.navbar .menu-mobile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.navbar .menu-mobile .logo {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  gap: 10px;
}

.navbar .menu-mobile .logo img {
  max-width: 40px;
  height: auto;
}

.navbar .menu-mobile .logo h3 {
  color: var(--white-color);
  font-weight: 900;
  font-size: 20px;
}

.navbar .links {
  display: flex;
  flex-direction: row;
  gap: 30px;
  transition: 0.3s ease-in-out;
}

.navbar .links .link {
  color: var(--description-color);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: 0.2s;
}

.navbar .links .link.active {
  color: var(--white-color);
}

.navbar .links .link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 5px;
  background: var(--main-color);
}

.navbar .links .link:not(.active):hover {
  color: var(--white-color);
}

.navbar .menu-mobile .hamburger {
  color: var(--white-color);
  font-size: 20px;
  cursor: pointer;
  transition: 0.5s;
  display: none;
}

.navbar .menu-mobile .hamburger:hover {
  opacity: 0.8;
}

.navbar.active {
  max-height: 1000px;
}

.navbar.active .links {
  opacity: 1;
  z-index: 2;
}

/* Section Styling */
.servers-section {
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Search Bar Styling */
.search-bar {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  background-color: var(--stats-background);
  padding: 25px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  width: 100%;
}

/* Input Fields */
#server-search, #category-filter {
  padding: 16px;
  font-size: 18px;
  border-radius: 10px;
  border: 1px solid #cc00ff;
  width: 100%;
  max-width: 450px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#server-search:focus, #category-filter:focus {
  border-color: #880088;
  box-shadow: 0 0 12px rgba(205, 4, 255, 0.315);
}

/* Servers Grid */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive grid with better alignment */
  gap: 20px; /* Gap between cards */
  width: 100%;
  padding: 0 20px;
}

/* Server Card Styling */
.server-card {
  background-color: var(--gg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(255, 0, 234, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  cursor: pointer;
  padding: 20px;
}

.server-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Banner Image Styling */
.server-banner {
  width: 100%;
  height: 180px; /* Set a fixed height for better alignment */
  object-fit: cover;
  transition: filter 0.3s ease;
}

.server-card:hover .server-banner {
  filter: brightness(0.9);
}

/* Server Info Styling */
.server-info {
  padding: 20px;
  background-color: var(--gg);
  border-top: 1px solid #ff00d4;
  border-radius: 0 0 20px 20px;
}

.server-name {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.server-ip {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 10px;
}

.server-players {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  background-color: #bfffc2;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 15px;
}

.player-count {
  font-weight: bold;
  color: #000000;
}

/* Server Description */
.server-description {
  font-size: 16px;
  color: #ffffff;
  margin: 12px 0;
  line-height: 1.6;
}

/* Connect Button Styling */
.connect-button {
  background-color: #cc00ff;
  color: white;
  padding: 14px 36px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  align-self: flex-start;
}

.connect-button:hover {
  background-color: #cc00cc;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .server-card {
      width: 100%;
  }

  .server-banner {
      height: 160px;
  }

  .server-name {
      font-size: 22px;
  }

  .connect-button {
      padding: 12px 30px;
      font-size: 16px;
  }
}


 /*Footer*/
/* Footer Base Styles */
.footer {
    background-color: var(--stats-background);
    color: #d3d9e1;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    margin: 0 20px;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--main-color); /* Orange color for headings */
}

.footer-column h3::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: var(--main-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #d3d9e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--main-color);
}

/* Social Media List Styles */
.social-media-list li {
    margin-bottom: 10px;
}

.social-media-list li a {
    display: flex;
    align-items: center;
}

.social-media-list li a i {
    margin-right: 10px;
    color: var(--main-color); /* Icon color */
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #d3d9e1;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-column {
        margin: 20px 0;
    }

    .footer-column h3::after {
        display: none; /* Hide the underline on smaller screens */
    }
}


 /*Scrollbar*/
 ::-webkit-scrollbar {
   width: 5px;
 }
 
 ::-webkit-scrollbar-track {
   background: var(--stats-background);
 }
 
 ::-webkit-scrollbar-thumb {
   background: var(--scroll-bar);
 }
 
 ::-webkit-scrollbar-thumb:hover {
   background: var(--scroll-bar-hover);
 }
 
 /*Other*/
 section:not(#header) .content {
   padding: 90px 150px;
   width: 100%;
 }
  
 
/*Animations*/
@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-20px);
    }
    100% {
        transform: translatey(0px);
    }
}

/*Responsive*/
/*Header*/
@media screen and (max-width: 1625px) {
  #header .content {
      padding: 100px 60px; /* Μείωση του padding */
      align-items: start;
      justify-content: center;
  }
}

@media screen and (max-width: 1361px) {
  #header .content {
      flex-direction: column;
      padding: 100px 60px; /* Μείωση του padding */
      height: auto; /* Αυτόματη προσαρμογή του ύψους */
      gap: 60px;
  }

  #header .content .left {
      gap: 30px;
      justify-content: left;
  }

  #header .content .right .logo-img {
      display: none;
  }

  @media screen and (min-height: 745px) {
      #header .content {
          justify-content: center;
      }

      #header .content .left {
          height: fit-content;
          justify-content: center;
          gap: 30px;
      }

      #header .content .right {
          height: fit-content;
          justify-content: center;
          gap: 30px;
          display: flex;
      }
  }
}

@media screen and (max-width: 819px) {
  #header .content {
      padding: 100px 20px; /* Μείωση του padding */
  }

  #header .content .left .server-name p {
      font-size: 13px; /* Μείωση του font-size */
  }

  #header .content .left .server-name h1 {
      font-size: 30px; /* Μείωση του font-size */
  }

  #header .content .left .server-description {
      font-size: 14px; /* Μείωση του font-size */
  }
}

@media screen and (max-width: 447px) {
  #header .content .left .server-name h1 {
      font-size: 25px; /* Μείωση του font-size */
  }
}

@media screen and (max-width: 383px) {
  #header .content .left .buttons {
      flex-direction: column;
  }
}

/*About us*/
@media screen and (max-width: 1551px) {
    #about .content .left .about-us {
        max-width: 90%;
    }
}

@media screen and (max-width: 1183px) {
    #about .content {
        flex-direction: column;
        gap: 40px;
    }

    #about .content .left .about-us {
        max-width: 100%;
    }

    #about .content .right img {
        margin: auto;
        right: 0;
    }

    #about .content .right .img-background {
        width: 100%;
    }
}

/*navbar*/
@media screen and (max-width: 1625px) {
  .navbar {
    padding: 20px 90px;
  }
}

@media screen and (max-width: 819px) {
  .navbar {
    padding: 20px 30px;
  }
}

@media screen and (max-width: 867px) {
  .navbar {
    flex-direction: column;
    gap: 30px;
    max-height: 90px;
  }

  .navbar .menu-mobile {
    width: 100%;
  }

  .navbar .menu-mobile .hamburger {
    display: flex;
  }

  .navbar .links {
    flex-direction: column;
    order: 2;
    width: 100%;
    opacity: 0;
    z-index: -1;
  }
}

/* Ευαισθησία στα κινητά */
@media only screen and (max-width: 1024px) {
  #store {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  #store {
      grid-template-columns: 1fr;
  }

  .product-slot {
      flex-direction: column;
      text-align: center;
  }

  .product-image {
      margin-right: 0;
      margin-bottom: 20px;
  }
}

@media screen and (max-width: 1625px) {
  section:not(#header) .content {
    padding: 90px;
  }

  #footer {
    padding: 20px 90px;
  }
}

@media screen and (max-width: 819px) {
  section:not(#header) .content {
    padding: 50px 30px;
  }

  #footer {
    padding: 20px 30px;
  }
}


@media screen and (max-width: 564px) {
  #footer {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/*FAQ*/
@media screen and (max-width: 6729px) {
    #faq .content .info .section-description {
        max-width: 100%;
    }
}
