/* ========== HEADER ========== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Orbitron", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #61efff;
  background-color: #1e1e1e;
    background-image: 
    linear-gradient(#000000 1px, transparent 1px),
    linear-gradient(90deg, #000000 1px, transparent 1px);
  background-size: 6px 6px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 950;
  padding: 0 0 0 10px;
  box-shadow: 0 15px 20px rgba(112, 247, 245, 0.8);
  background-position: 0 0;
  animation: move-grid 15s linear infinite, pulse-header-shadow 5s infinite;
}

.dropdown-content {
  background-color: #282828;
  border: 1px solid #3a3a3a;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out,
    transform 0.3s ease;
  padding: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dropdown-content a {
  color: #eaeaea;
  text-decoration: none;
  padding: 8px 12px;
  display: block !important;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dropdown-content a:hover {
  color: #f05454;
}

.logo-wrapper {
  font-family: "Orbitron", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 5px;
  display: flex;
  justify-content: center;
  gap: 10px;
  text-shadow: -2px 2px 25px rgba(201, 65, 62, 0.8);
}

.logo-wrapper h1 {
  margin:5px;
}
.logo-wrapper a {
  color: #f05454;
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(to right, #61efff 0%, #61efff 50%, #f05454 50%, #f05454 100%);
  background-size: 200%;
  background-position: 100%; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.3s ease, text-shadow 0.3s ease 0.3s;
}

.logo-wrapper a:hover {
  background-position: 0%;
  text-shadow: -2px 2px 25px rgba(112, 247, 245, 0.8);
}


@media (min-width: 901px) {

  .dropdown {
    position: relative;
    display: inline-block;
    text-align: left;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    min-width: 148px;
    max-height: 0;
    overflow: hidden;
  }

  .dropdown-content a {
    display: block;
    padding: 8px 0;
  }

  .dropdown:hover .dropdown-content {
    display: block;
    padding: 8px 12px;
    max-height: none;
  }

  .toggle-menu {
    display: none;
  }

  .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    font-size: 20px;
    margin-left: 20px;
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .menu-wrapper {
    display: flex;
    width: 100%;
  }

  .menu a {
    color: #61efff;
    text-align: center;
    padding: 8px 8px;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.3s ease;
  }

  .menu a:hover {
    color: #f05454;
    white-space: nowrap;
    transform: scale(1.25);
  }
}



@media (max-width: 900px) {
  .dropdown-menu {
    margin-left: auto;
  }

  .dropdown-icon {
    font-size: 2.5rem;
    font-weight: 900;
    cursor: pointer;
    color: #61efff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding-right: 10px;
  }

  .dropdown-content {
    display: none;
    position: fixed;
    top: 69px;
    width: 80%;
    text-align: center;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    z-index: 960;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }

  .dropdown-content.show {
    display: block;
    opacity: 0.99;
    transform: translateY(0);
    pointer-events: all;
  }

  .dropdown-content a {
    padding: 14px 20px;
    width: 95%;
    color: #ffffff;
    display: block;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out,
      box-shadow 0.3s ease-in-out;
  }

  .dropdown-content a:hover {
    background-color: #61efff;
    transform: scale(1.01);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  }

  .dropdown-content a:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

.full-width-section {
  padding: 5px 0;
}

  .menu {
    display: none;
  }

}

