html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;

  background: linear-gradient(180deg, #000 0%, #050505 100%);
  background-size: 400% 400%;
  animation: bgshift 30s ease infinite;

  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #000;

  color: #fff;
  font-family: "PixelFont", monospace;
}

@font-face {
  font-family: "MonsterFriend";
  src: url("/static/fonts/MonsterFriend2Fore.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "PixelFont";
  src: url("/static/fonts/DTM-Mono.woff2") format("woff2");
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLogo {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bgshift {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 0 100%; }
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.9);
  border-bottom: 2px solid #111;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);

  position: sticky;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 10;
  height: 40px;

  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-img {
  width: 48px;
  height: auto;
  image-rendering: pixelated;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transition: box-shadow 0.4s ease, transform 0.3s ease;

  animation: fadeInLogo 1s ease-out 0.3s forwards;
  opacity: 0;
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), 0 0 8px rgba(0, 255, 255, 0.3);
}

@media (max-width: 600px) {
  .logo-corner {
    width: 48px;
    top: 0.5rem;
    left: 0.5rem;
    opacity: 0.5;
  }
}

/* @media (min-width: 1440p) {
  .container {
    max-width: 1100px;
    padding: 3rem;
  }

  .title {
    font-size: 3.5rem;
  }

  .video-container {
    max-width: 640px;
  }
} */

.title {
  font-family: "MonsterFriend", monospace;
  font-size: 3rem;
  letter-spacing: 2px;
  white-space: nowrap;
  overflow: hidden;
  margin: 0.5rem 0 2rem 0;
}

@media (max-width: 600px) {
  .title {
    font-size: 2rem;
  }
}

.video-container {
  position: relative;
  width: 320px;
  height: 180px;
  margin: 0 auto 2rem auto;
  border: 2px solid #fff;
}

.video-container iframe {
  width: 100%;
  height: 100%;
}

.link-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "PixelFont", monospace;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  width: 240px;
  padding: 0.9rem 1.3rem;
  border: 2px solid white;
  border-radius: 2px;
  transition: all 0.25s ease;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.link-list a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0%;
  height: 2px;
  background-color: currentColor;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.link-list a:nth-child(1) { animation-delay: 0.2s; }
.link-list a:nth-child(2) { animation-delay: 0.4s; }
.link-list a:nth-child(3) { animation-delay: 0.6s; }
.link-list a:nth-child(4) { animation-delay: 0.8s; }
.link-list a:nth-child(5) { animation-delay: 1s; }
.link-list a:nth-child(6) { animation-delay: 1.2s; }

.link-list a i {
  font-size: 1.2rem;
}

.link-list a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px currentColor;
}

.link-list a:hover::after {
  width: 80%;
}

/* Brand Colors */
.youtube { border-color: #ff0000; color: #ff0000; }
.youtube:hover { background-color: #ff0000; color: black; }

.twitch { border-color: #9146ff; color: #9146ff; }
.twitch:hover { background-color: #9146ff; color: black; }

.discord { border-color: #5865f2; color: #5865f2; }
.discord:hover { background-color: #5865f2; color: black; }

.patreon { border-color: #ff424d; color: #ff424d; }
.patreon:hover { background-color: #ff424d; color: black; }

.donate { border-color: #2ecc71; color: #2ecc71; }
.donate:hover { background-color: #2ecc71; color: black; }

.link-list a.disabled {
  border-color: #444;
  color: #888;
  pointer-events: none;
}

footer {
  text-align: center;
  padding: 1rem 0;
  color: #888;
  font-size: 0.75rem;
  margin-top: auto;
}