@font-face {
  font-family: "cutelove";
  src: url("../fonts/cutelove.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: cutelove, sans-serif;
}

.navbar {
  font-family: verdana, sans-serif !important;
}

body, body * {
  cursor: url("../images/cursor.png"), auto !important;
}

a, a:hover, a:focus, img, button, button:hover, button:focus {
  cursor: url("../images/pointer.png"), auto !important;
}

.gosha-text {
  background-image: url('../images/floppatext.png');
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  background-repeat: repeat;
  background-size: 100px 100px;
  background-position: center center;
}

@keyframes rainbow {
  0%, 100% {
    filter: hue-rotate(0deg) saturate(150%) brightness(120%);
  }
  50% {
    filter: hue-rotate(360deg) saturate(150%) brightness(120%);
  }
}

@keyframes crazy-glow {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(255,0,0,0.5)) hue-rotate(0deg);
  }
  50% {
    filter: drop-shadow(0 0 5px rgba(0,255,0,0.5)) hue-rotate(360deg);
  }
}

.crazy-glow-bg:hover {
  animation: crazy-glow 1s infinite linear;
}

.rainbow-bg:hover {
  animation: rainbow 1s infinite linear;
}

.lore-page #mainContent {
  padding-bottom: 3rem;
}

.lore-panel {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

@media (min-width: 640px) {
  .lore-panel {
    padding: 2.5rem 2.5rem;
  }
}

.lore-title {
  font-size: clamp(2.75rem, 8vw, 5rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.lore-body {
  position: relative;
}

.lore-text {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.55;
  text-align: left;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin: 0 0 1.25rem;
}

.lore-media {
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
}

.lore-size-sm {
  max-width: 155px;
  max-height: 155px;
}

.lore-size-md {
  max-width: 175px;
  max-height: 175px;
}

.lore-size-lg {
  max-width: 195px;
  max-height: 195px;
}

.lore-size-xl {
  max-width: 220px;
  max-height: 200px;
}

.lore-video.lore-size-xl {
  max-width: 240px;
  max-height: 185px;
}

.lore-inline {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.4rem;
  transform: rotate(4deg);
}

.lore-cluster {
  display: flex;
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
  width: fit-content;
}

.lore-cluster-c {
  margin-left: 38%;
  transform: rotate(-1deg);
}

.lore-cluster .lore-media:nth-child(1) {
  transform: rotate(-5deg);
}

.lore-cluster .lore-media:nth-child(2) {
  transform: rotate(4deg);
}

.lore-pos-a {
  display: block;
  margin: 0.5rem 0 1.25rem 12%;
  transform: rotate(-6deg);
}

.lore-pos-b {
  display: block;
  margin: 0.75rem auto 1.25rem;
  transform: rotate(2deg);
}

.lore-pos-d {
  display: block;
  margin: 0.5rem 18% 1.25rem auto;
  transform: rotate(5deg);
}

.lore-pos-e {
  display: block;
  margin: 0.75rem 0 1.25rem 28%;
  transform: rotate(-3deg);
}

.lore-pos-f {
  display: block;
  margin: 0.75rem auto 0;
  transform: rotate(-4deg);
}

@media (max-width: 640px) {
  .lore-cluster-c {
    margin-left: auto;
    margin-right: auto;
  }

  .lore-pos-a,
  .lore-pos-d,
  .lore-pos-e {
    margin-left: auto;
    margin-right: auto;
  }
}

.lore-reading {
  padding-top: 2rem;
}

.lore-reading-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.lore-reading-link {
  display: inline-block;
  font-family: verdana, sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  text-decoration: none;
  color: #fff;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.lore-reading-link:hover {
  background: rgba(255, 255, 255, 0.18);
  animation: rainbow 1s infinite linear;
}

.lore-reading-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .lore-reading-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}
