@font-face {
  font-family: "Determination";
  src: url("fonts/determination.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

body {
  cursor: url("dog.cur"), auto;
}

body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: "Determination", monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  overflow-x: hidden;
  cursor: url("dog.cur"), auto;
}

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

.container {
  padding: 40px;
  max-width: 700px;
  width: 100%;
  animation: fadeIn 1.2s ease;
}

.logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
  filter: grayscale(100%) contrast(1000%);
  animation: logoPop 1.2s ease;
}

.shortpie {
  color: transparent;
  text-align: center;
  -webkit-text-stroke: 0.02px black;
  background: linear-gradient(90deg, #fff, #0046b0, #fff);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scrollbarred 15s linear infinite;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
  display: inline;
}

h2 {
  display: inline;
}

h3 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  margin-top: 70px;
  letter-spacing: 3px;
  opacity: 0.9;
}

h4 {
  font-size: 18px;
  margin: -7px 0 12px 0;
  color: transparent;
  text-align: center;
  -webkit-text-stroke: 0.03px black;
  background: linear-gradient(90deg, #000, #555, #fff);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scrollbarred 0.8s linear infinite;
}

.desc {
  font-size: 1.2rem;
  margin-top: 75px;
  margin-bottom: 20px;
  line-height: 1.5;
  opacity: 0.9;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  cursor: url("dog.cur"), auto;
}

.button {
  padding: 10px 25px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-family: "Determination", monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: none;
  cursor: url("dog.cur"), auto;
}

.button:hover {
  background: #fff;
  color: #000;
  cursor: url("dog.cur"), auto;
}

.chapter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: all 0.4s ease;
  cursor: url("dog.cur"), auto;
}

.button-label {
  position: relative;
  z-index: 1; /* Text always stays above the gif */
}

.chapter-button-1 {
  font-family: "Determination", monospace;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background-color: black;
  border: 2px solid #fff;
  padding: 12px 24px;
  font-size: 1.2rem;
  cursor: inherit;
  z-index: 1;
  color: white;
}

.chapter-button-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("chapter1.gif") center center / cover no-repeat;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.2s ease, filter 0.2s ease;
  pointer-events: none;
}

.chapter-button-1:hover::before {
  opacity: 1;
  filter: brightness(2.5); /* brighten on hover */
}

.chapter-button-2 {
  font-family: "Determination", monospace;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background-color: black;
  border: 2px solid #fff;
  padding: 12px 24px;
  font-size: 1.2rem;
  cursor: inherit;
  z-index: 1;
  color: white;
}

.chapter-button-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("chapter2.gif") center center / cover no-repeat;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.2s ease, filter 0.2s ease;
  pointer-events: none;
}

.chapter-button-2:hover::before {
  opacity: 1;
  filter: brightness(1); /* brighten on hover */
}

.hidden {
  display: none;
}

.game-frame {
  margin-top: 20px;
  border: 4px solid #fff;
  padding: 5px;
  background: #000;
  box-shadow: 0 0 10px #fff;
  animation: popIn 0.4s ease;
  cursor: url("dog.cur"), auto;
}

iframe {
  width: 100%;
  height: 400px;
  background: #000;
  border: none;
  cursor: url("dog.cur"), auto;
}

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

@keyframes logoPop {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.credits {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 220px;
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  padding: 15px;
  font-size: 0.9rem;
  font-family: "Determination", monospace;
  box-shadow: 0 0 10px #fff;
  z-index: 999;
}

.disclaimer {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  padding: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
  margin-top: 60px;
}

.disclaimer a {
  color: #007bff;
  text-decoration: none;
}

.disclaimer a:hover {
  text-decoration: underline;
}

.notes {
  font-size: 15px;
  line-height: 1.7;
  color: #b00020;
  background-color: #ffeaea;
  padding: 16px 24px;
  max-width: 800px;
  margin: 32px auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}

.notes-title {
  font-size: 24px;
  color: transparent;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: -10px;
  -webkit-text-stroke: 0.03px black;
  background: linear-gradient(90deg, #ffffff, #7e57c2, #ffffff);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scrollbarred 10s linear infinite;
}

.notes ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.notes li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.notes .bug {
  color: #b00020;
}

.notes .update {
  color: #00796b;
}
