body {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1d2227;
  border: 2px solid #13191f;
  padding: 20px;
  border-radius: 0;
  color: #ffffff;
  font-family: "Helvetica", Arial, sans-serif;
  z-index: 1000;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 0 1px #13191f, 0 0 20px rgba(255, 255, 255, 0.1);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.page-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
  border-radius: inherit;
}

.page-title {
  margin: 0 0 20px 0;
  font-size: 18px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  text-align: center;
  border-bottom: 2px solid #13191f;
  padding-bottom: 10px;
}

.linktree-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.linktree-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #13191f;
  border: 1px solid #ffffff33;
  border-radius: 0;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.linktree-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.linktree-link:hover::before {
  left: 100%;
}

.linktree-link:hover {
  background: #00594f;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 89, 79, 0.5);
  transform: translateX(3px);
}

.linktree-link img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: brightness(1.2);
  object-fit: contain;
  transition: filter 0.2s ease;
}

.linktree-link:hover img {
  filter: brightness(1.5) saturate(1.3) hue-rotate(10deg);
}

.linktree-link span {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.discord-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.discord-popup-content {
  background: #1d2227;
  border: 2px solid #13191f;
  padding: 20px;
  border-radius: 0;
  color: #ffffff;
  text-align: center;
  max-width: 300px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 0 1px #13191f, 0 0 30px rgba(255, 255, 255, 0.2);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.discord-popup-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
  border-radius: inherit;
}

.discord-popup h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
}

.discord-username {
  font-size: 18px;
  color: #00594f;
  font-weight: bold;
  margin: 15px 0;
  padding: 10px;
  background: #13191f;
  border: 1px solid #ffffff33;
  user-select: text;
  letter-spacing: 1px;
}

.popup-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.popup-btn {
  padding: 8px 16px;
  background: #13191f;
  color: #ffffff;
  border: 1px solid #ffffff33;
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.popup-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transition: left 0.3s ease;
  z-index: -1;
}

.popup-btn:hover::before {
  left: 0;
}

.popup-btn:hover {
  color: #1d2227;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

@media (max-width: 480px) {
  .page-content {
    margin: 10px;
    padding: 16px;
    width: calc(100% - 20px);
  }

  .linktree-link {
    padding: 10px 12px;
  }

  .linktree-link img {
    width: 18px;
    height: 18px;
  }

  .linktree-link span {
    font-size: 12px;
  }
}
