@font-face {
  font-family: "TopazPlus";
  src: url("TopazPlus.ttf") format("truetype");
}

@font-face {
  font-family: Mario;
  src: url("mario.otf") format("opentype");
}

@keyframes flicker {
  0% {
    text-shadow: pink 0px 0 50px;
  }
  50% {
    text-shadow: rgb(255, 192, 203, var(--rand)) 0px 0 50px;
  }
  100% {
    text-shadow: pink 0px 0 50px;
  }
}

/* Custom cursor styles */
html,
body {
  height: 100%;
  margin: 0;
  background-color: black;
  color: white;
  font-family: "TopazPlus", "Courier New", Courier, monospace;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-shadow: white 0px 0 50px;
  /* Scale down cursor - 16x16 is standard cursor size */
  cursor: url("extra/cursor.png") 8 8, auto;
}

/* Apply custom cursor to all interactive elements */
a,
button,
[onclick],
.clicktocontinuecontainer {
  cursor: url("extra/cursor.png") 8 8, pointer;
}

h1 {
  font-family: "Mario";
  font-size: 50px;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.2;
}

hr.solid {
  margin: 15px auto;
  width: 200px;
  border-color: rgba(255, 192, 203, 0.3);
}

.accent {
  color: pink;
  text-shadow: pink 0px 0 50px;
}

.accent1 {
  color: rgba(255, 194, 204, 0.5);
  text-shadow: rgba(255, 194, 204, 0.5), 0px 0 50px;
}

.tagline {
  margin: 0 0 15px 0;
  line-height: 1.5;
}

a:link {
  color: white;
}

a:visited {
  color: white;
}

a {
  transition: 0.3s;
}

a:hover {
  color: pink;
}

a:active {
  color: white;
}

a:link,
a:visited {
  text-decoration: none;
}

.flickertext {
  --rand: 0;
  animation: flicker 1s infinite;
}

.clicktocontinuecontainer {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  opacity: 0;
  transition: 0.3s;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.clicktocontinuecontainer:hover {
  opacity: 0.6;
}

.center {
  margin: 0;
  text-align: center;
}

.flex-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 15px 0;
  justify-content: center;
}

.flex-row p {
  margin: 0;
}

#hiddencontainer {
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 3s ease;
  perspective: 1000px;
}

/* Content plate styling */
.content-plate {
  background: rgba(20, 20, 20, 0.7);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 192, 203, 0.3), inset 0 0 15px rgba(255, 192, 203, 0.2);
  border: 1px solid rgba(255, 192, 203, 0.2);
  backdrop-filter: blur(5px);
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
  text-align: center;
  min-width: 300px;
}

#flexboxcontainer {
  background-color: transparent;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 10;
}

#viewercount {
  opacity: 0.75;
  margin: 15px 0 0 0;
}

#viewercount-container {
  width: 100%;
  text-align: center;
  opacity: 0.75;
  margin-top: 20px;
}

/* Fix line height for all text elements */
p {
  line-height: normal;
  margin: 10px 0;
}

.gray-accent {
  margin: 0 5px;
}

@media (max-width: 600px) {
  .content-plate {
    padding: 30px;
    min-width: 250px;
  }

  h1 {
    font-size: 40px;
  }
}
