
/* for the new nagivation header */


/* Add a black background color to the top navigation */
.topnav {
  background-color: #FFFFFF;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #000000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/* .header-logo a:hover {
  background-color: blue;
} */

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav .header-logo:hover {
  background-color: white;
  color: #ecf0f1b3;
}

.title-text {
  font-weight: 700;
  font-family: Roboto, Avenir, Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #ecf0f1b3;
}

.pike-logo span{
  color: #ecf0f1b3;
  font-size: 13px;
  font-weight: 600;
}

span {
  color: #ecf0f1b3;
}

.pike-header {
  background-color: #2c3e50;
}

/* pike.io Header Styles */
  .pike-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    backdrop-filter: blur(10px);
    /* padding: 10px 20px; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-family: 'Inter', Arial, sans-serif;
    height: 38px;
    padding-top: 3px;
  }

  .pike-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .pike-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .pike-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #26a69a;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
  }

  .pike-logo:hover {
    opacity: 0.8;
  }

  .pike-logo-icon {
    font-size: 24px;
  }

  .pike-logo-text {
    color: #fff;
  }

  .pike-nav {
    display: flex;
    gap: 10px;
  }

  .pike-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', Arial, sans-serif;
  }

  .pike-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .pike-dropdown {
    position: relative;
  }

  .pike-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s;
  }

  .pike-dropdown:hover .pike-dropdown-arrow {
    transform: rotate(180deg);
  }

  .pike-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: rgba(55, 71, 79, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px;
    min-width: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
  }

  .pike-dropdown:hover .pike-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .pike-dropdown-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .pike-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.2s;
  }

  .pike-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
  }

  .pike-game-title {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .pike-game-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
  }

  .pike-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 600;
    color: #ecf0f1b3;
    font-family: 'Inter', Arial, sans-serif
  }

  .pike-online-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(38, 166, 154, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
  }

  .pike-online-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pike-pulse 2s infinite;
  }

  @keyframes pike-pulse {

    0%,
    100% {
      opacity: 1;
    }

    50% {
      opacity: 0.5;
    }
  }

  .pike-online-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  /* Add padding to body to account for fixed header */
  body {
    padding-top: 52px;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .pike-header {
      padding: 8px 12px;
    }

    .pike-logo-text {
      display: none;
    }

    .pike-nav-btn span:nth-child(2) {
      display: none;
    }

    .pike-online-text {
      font-size: 11px;
    }
  }

  #leaderboard-list span {
  color: #000 !important;
}