/* ============================================================
   Tr1ckHouse — Global Stylesheet
   Usage: <link rel="stylesheet" href="/files/.resources/style.css">
   ============================================================ */

/* --- Base -------------------------------------------------- */

html {
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("/files/.resources/quakelive.jpg") no-repeat center center / cover;
  background-attachment: fixed;
  min-height: 100%;
}

body {
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  padding: 10px;
  padding-top: 160px;
}

/* --- Navigation -------------------------------------------- */

.menu {
  position: absolute;
  top: clamp(30px, 5vh, 60px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 25px;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;

  color: #ff0033;
  text-decoration: none;

  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;

  font-size: 20px;
  padding: 14px 26px;

  background: rgba(0, 0, 0, 0.75);
  border: 1px solid #ff0033;
  border-radius: 4px;

  text-transform: uppercase;

  box-shadow:
    0 0 5px #ff0033,
    inset 0 0 8px rgba(255, 0, 51, 0.3);

  transition: all 0.2s ease;
}

.menu a.active {
  color: #ff0033;
  background: transparent;
  border-color: rgba(255, 0, 51, 0.3);
  box-shadow: none;
}

.menu a:hover {
  background: rgba(255, 0, 51, 0.15);
  color: #ff3355;
  box-shadow: 0 0 8px rgba(255, 0, 51, 0.4);
  transform: translateY(-1px);
}

.menu .icon {
  width: auto;
  height: 22px;
  transition: 0.2s;
  display: block;
  max-width: 26px;
}

.menu a:hover .icon {
  filter: brightness(1.1);
}

/* --- Dropdown ---------------------------------------------- */

.dropdown-menu {
  position: fixed;
  top: 80px;

  display: none;
  flex-direction: column;

  background: rgba(0, 0, 0, 0.95);
  border: 1px solid #ff0033;
  border-radius: 6px;

  min-width: 180px;
  padding: 6px 0;

  z-index: 9999;

  box-shadow: 0 0 10px rgba(255, 0, 51, 0.4);
}

.dropdown-menu a {
  padding: 12px 18px;
  font-size: 16px;

  color: #ff0033;
  text-decoration: none;

  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;

  white-space: nowrap;

  transition: 0.2s;
  max-width: 90vw;
}

.dropdown-menu a:hover {
  background: rgba(255, 0, 51, 0.2);
  color: #ff3355;
}

/* --- Content ----------------------------------------------- */

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo img {
  width: 260px;
  max-width: 100%;
  filter: drop-shadow(0 0 10px #f8f8f8);
}

.information {
  margin-top: 20px;
  font-size: 30px;
  color: #fff;
  opacity: 0.95;
  letter-spacing: 3px;
  font-family: 'Orbitron', sans-serif;
  font-style: italic;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* --- Responsive -------------------------------------------- */

@media (max-width: 800px) {
  .menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
    max-width: 98%;
    width: 98%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
  }

  .menu a,
  .dropdown-toggle {
    flex: 1 1 auto;
    padding: 6px 10px;
    font-size: 11px;
    justify-content: center;
  }

  .menu .icon {
    height: 16px;
  }

  .dropdown-menu {
    top: 70px;
    width: 90%;
    left: 5% !important;
    transform: none;
  }

  .dropdown-menu a {
    font-size: 13px;
    padding: 10px;
  }
}
