:root {
  --color-bg-a: #19191a;
  --color-bg-b: #1f1f20;
  --accent: #e177ff;
  --tile-size: 140px;
}

html {
  height: 100%;
  background: repeating-conic-gradient(
      var(--color-bg-a) 0% 25%,
      var(--color-bg-b) 0% 50%
    )
    0 0 / var(--tile-size) var(--tile-size);
  animation: scrollBG 20s linear infinite;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: transparent;
  font-family: "Outfit", sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.container {
  position: relative;
  padding: 3rem 4rem;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  background: #222;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  z-index: 0;
  overflow: visible;
}

/* Animated gradient border */
.container::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 18px; /* container border-radius + border width */
  background: linear-gradient(270deg, #d77bba, #7878db, #d77bba);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  z-index: -1;
}

/* Inner background to mask the center */
.container::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #222;
  border-radius: 14px;
  z-index: -1;
}

h1 {
  font-weight: 800;
  font-size: 3.5rem;
  margin: 0;
}

h2 {
  font-weight: 600;
  font-size: 2rem;
  margin-top: 0.5em;
}

.description {
  font-weight: 400;
  font-size: 1.2rem;
  color: #a1a1aa;
  margin: 1.5em 0 2em;
  line-height: 1.5;
}

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

.theme {
  font-weight: 700;
  font-size: 2rem;
  background: linear-gradient(270deg, #d77bba, #7878db, #d77bba);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

.countdown {
  font-weight: 700;
  font-size: 2.5rem; /* bigger */
  color: transparent; /* make text transparent for bg-clip */
  background: linear-gradient(270deg, #d77bba, #7878db, #d77bba);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes scrollBG {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: var(--tile-size) var(--tile-size);
  }
}

@keyframes colorShift {
  0%,
  100% {
    color: #d77bba;
  }
  50% {
    color: #7878db;
  }
}

.icon-container {
  position: fixed;
  top: 0;
  left: 16px;
  gap: 16px;
  display: flex;
  z-index: 1000;
  background: transparent; /* no background */
}

.icon-container a {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 32px;
  animation: colorShift 6s ease-in-out infinite;
}

.simple-icons--discord {
  display: inline-block;
  width: 36px;
  height: 36px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20.317 4.37a19.8 19.8 0 0 0-4.885-1.515a.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.3 18.3 0 0 0-5.487 0a13 13 0 0 0-.617-1.25a.08.08 0 0 0-.079-.037A19.7 19.7 0 0 0 3.677 4.37a.1.1 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.08.08 0 0 0 .031.057a19.9 19.9 0 0 0 5.993 3.03a.08.08 0 0 0 .084-.028a14 14 0 0 0 1.226-1.994a.076.076 0 0 0-.041-.106a13 13 0 0 1-1.872-.892a.077.077 0 0 1-.008-.128a10 10 0 0 0 .372-.292a.07.07 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.07.07 0 0 1 .078.01q.181.149.373.292a.077.077 0 0 1-.006.127a12.3 12.3 0 0 1-1.873.892a.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.08.08 0 0 0 .084.028a19.8 19.8 0 0 0 6.002-3.03a.08.08 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.06.06 0 0 0-.031-.03M8.02 15.33c-1.182 0-2.157-1.085-2.157-2.419c0-1.333.956-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.956 2.418-2.157 2.418m7.975 0c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.955-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.946 2.418-2.157 2.418'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.zondicons--network {
  display: inline-block;
  width: 36px;
  height: 36px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M10 20a10 10 0 1 1 0-20a10 10 0 0 1 0 20m7.75-8a8 8 0 0 0 0-4h-3.82a29 29 0 0 1 0 4zm-.82 2h-3.22a14.4 14.4 0 0 1-.95 3.51A8.03 8.03 0 0 0 16.93 14m-8.85-2h3.84a24.6 24.6 0 0 0 0-4H8.08a24.6 24.6 0 0 0 0 4m.25 2c.41 2.4 1.13 4 1.67 4s1.26-1.6 1.67-4zm-6.08-2h3.82a29 29 0 0 1 0-4H2.25a8 8 0 0 0 0 4m.82 2a8.03 8.03 0 0 0 4.17 3.51c-.42-.96-.74-2.16-.95-3.51zm13.86-8a8.03 8.03 0 0 0-4.17-3.51c.42.96.74 2.16.95 3.51zm-8.6 0h3.34c-.41-2.4-1.13-4-1.67-4S8.74 3.6 8.33 6M3.07 6h3.22c.2-1.35.53-2.55.95-3.51A8.03 8.03 0 0 0 3.07 6'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
