@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
  background-color: #0a0e14;
  margin: 0;
  min-height: 100vh;
  box-sizing: border-box;
}

:root {
  --font-minecraft: 'Press Start 2P', monospace;
}

.banner {
  width: 100%;
  padding: 8px 20px 8px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner img {
  display: block;
  max-width: 100%;
  max-height: 35px;
  width: auto;
  height: auto;
  margin: 0;
}

.navbar {
  width: 100%;
  height: 6px;
  background-color: #14171d;
  border-bottom: 4px solid #000000;
  box-sizing: border-box;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 90px);
}

.register-btn {
  font-family: var(--font-minecraft);
  font-size: 10px;
  color: #fdfcfc;
  text-shadow: 2px 2px 0 #000000;
  background-image: url("images/light_gray_wool.png");
  background-repeat: repeat;
  background-size: 24px 24px;
  image-rendering: pixelated;
  border: none;
  height: 40px;
  min-width: 70px;
  box-sizing: border-box;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    inset 3px 3px 0 rgba(255, 255, 255, 0.5),
    inset -3px -3px 0 rgba(0, 0, 0, 0.4),
    0 0 0 4px #000000;
}

.logout-btn {
  font-family: var(--font-minecraft);
  font-size: 10px;
  color: #faf8f8;
  text-shadow: 2px 2px 0 #000000;
  background-image: url("images/light_gray_wool.png");
  background-repeat: repeat;
  background-size: 24px 24px;
  image-rendering: pixelated;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow:
    inset 3px 3px 0 rgba(255, 255, 255, 0.5),
    inset -3px -3px 0 rgba(0, 0, 0, 0.4),
    0 0 0 4px #000000;
}

.register-btn:hover,
.logout-btn:hover {
  filter: brightness(1.1);
}

.register-btn:active,
.logout-btn:active {
  box-shadow:
    inset -3px -3px 0 rgba(255, 255, 255, 0.5),
    inset 3px 3px 0 rgba(0, 0, 0, 0.4),
    0 0 0 4px #000000;
}

.logout-btn {
  width: 100%;
  box-sizing: border-box;
  background-color: #a8332c;
  background-image: url("images/red_wool.png");
  background-repeat: repeat;
  background-size: 24px 24px;
  image-rendering: pixelated;
  box-shadow:
    inset 3px 3px 0 rgba(255, 255, 255, 0.5),
    inset -3px -3px 0 rgba(0, 0, 0, 0.4);
}

.logout-btn:active {
  box-shadow:
    inset -3px -3px 0 rgba(255, 255, 255, 0.5),
    inset 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.profile-btn {
  font-family: var(--font-minecraft);
  font-size: 10px;
  color: #fcfbfb;
  text-shadow: 2px 2px 0 #000000;
  background-image: url("images/light_gray_wool.png");
  background-repeat: repeat;
  background-size: 24px 24px;
  image-rendering: pixelated;
  border: none;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow:
    inset 3px 3px 0 rgba(255, 255, 255, 0.5),
    inset -3px -3px 0 rgba(0, 0, 0, 0.4);
}

.profile-btn:hover {
  filter: brightness(1.1);
}

.profile-btn:active {
  box-shadow:
    inset -3px -3px 0 rgba(255, 255, 255, 0.5),
    inset 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.redeem-btn {
  font-family: var(--font-minecraft);
  font-size: 10px;
  color: #fdfbfb;
  text-shadow: 2px 2px 0 #000000;
  background-image: url("images/orange_wool.png");
  background-repeat: repeat;
  background-size: 24px 24px;
  image-rendering: pixelated;
  border: none;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow:
    inset 3px 3px 0 rgba(255, 255, 255, 0.5),
    inset -3px -3px 0 rgba(0, 0, 0, 0.4);
}

.redeem-btn:hover {
  filter: brightness(1.1);
}

.redeem-btn:active {
  box-shadow:
    inset -3px -3px 0 rgba(255, 255, 255, 0.5),
    inset 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.auth-root {
  position: relative;
}

.auth-widget {
  position: relative;
}

.discord-btn {
  position: relative;
  font-family: var(--font-minecraft);
  font-size: 10px;
  color: #faf7f7;
  background-image: url("images/cyan_wool.png");
  background-repeat: repeat;
  background-size: 24px 24px;
  image-rendering: pixelated;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 3px 3px 0 rgba(255, 255, 255, 0.5),
    inset -3px -3px 0 rgba(0, 0, 0, 0.4),
    0 0 0 4px #000000;
}

.dropdown-arrow {
  width: 12px;
  height: 8px;
  color: #ffffff;
  transition: transform 0.18s ease;
}

.discord-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.discord-btn:hover {
  filter: brightness(1.1);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 160px;
  background-color: #14171d;
  box-shadow: 0 0 0 4px #000000;
  box-sizing: border-box;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: max-height 0.18s ease, opacity 0.15s ease, transform 0.18s ease;
}

.dropdown-menu.open {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}