body {
  margin: 0;
  font-family: "Jersey 25", sans-serif;
  background-color: #1b388c;
  color: white;
  font-size: 20px;
}

header {
  text-align: center;
  padding: 4em 0 0 0;
  background-color: #152c6f;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.short-header {
  min-height: 60vh;
  padding: 2em 0;
}

header h1 {
  font-size: 90px;
  margin: 0.4em 0;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

header h1:hover {
  animation: flicker 0.5s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.8), 0 0 90px rgba(255, 255, 255, 0.6);
}

h1.smaller {
  font-size: 60px;
  margin: 0.3em 0;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

h1.smaller:hover {
  animation: flicker 0.5s ease-in-out infinite;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
}

@keyframes flicker {
  0%, 100% {
    text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.8), 0 0 90px rgba(255, 255, 255, 0.6);
  }
  25% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 40px rgba(255, 255, 255, 1), 0 0 80px rgba(255, 255, 255, 0.9), 0 0 120px rgba(255, 255, 255, 0.7);
  }
  75% {
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.9), 0 0 50px rgba(255, 255, 255, 0.7), 0 0 75px rgba(255, 255, 255, 0.5);
  }
}

header p {
  font-size: 2vw;
  margin: 0.2em 0 0.2em 0;
}

header h2 {
  font-size: 2.5vw;
  margin: 0.2em 0;
}

#info {
  text-align: left;
  padding: 1em 4em;  background-color: #100a52;
  color: white;
  font-size: 32px;
  margin: 2em;
}

#info img {
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  margin: 1em 0;
}

.step-container {
  display: flex;
  align-items: center;
  gap: 2em;
  margin: 1em 0;
  border: 2px dotted #87CEEB;
  border-radius: 10px;
  padding: 1.5em;
  background-color: #1e3a8a;
}

.step-content {
  flex: 1;
}

.step-image {
  flex-shrink: 0;
}

.step-image img {
  max-width: 200px;
  height: auto;
  border-radius: 10px;
}

.step-container-reverse {
  display: flex;
  align-items: center;
  gap: 2em;
  margin: 1em 0;
  border: 2px dotted #87CEEB;
  border-radius: 10px;
  padding: 1.5em;
  background-color: #1e3a8a;
}

a {
  color:#ea4386
}

a:hover {
  color:#ff62a1
}


button {
  padding: 1em 2em;  
  font-size: 1.3em; 
  margin: 1em 0; 
  border-radius: 10px;
  font-family: "Jersey 25", sans-serif;
  background-color: #d73d7b;
  color: white;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 20px rgba(215, 61, 123, 0.6), 0 0 40px rgba(215, 61, 123, 0.4);
  animation: float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
    box-shadow: 0 0 20px rgba(215, 61, 123, 0.6), 0 0 40px rgba(215, 61, 123, 0.4);
  }
  50% {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(215, 61, 123, 0.8), 0 0 60px rgba(215, 61, 123, 0.6);
  }
}

button:hover {
  background-color: #a62f5f;
  box-shadow: 0 0 30px rgba(215, 61, 123, 0.9), 0 0 60px rgba(215, 61, 123, 0.7), 0 0 90px rgba(215, 61, 123, 0.5);
  transform: translateY(-5px) scale(1.05);
  filter: brightness(1.2);
}

#end {
  text-align: center;
  background-color:#152c6f;
  padding-top: 1em;
  padding-bottom: 1em
}

#end h1 {
  font-size: 60px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

#end h1:hover {
  animation: flicker 0.5s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.8), 0 0 90px rgba(255, 255, 255, 0.6);
}

#end p {
  font-size: 30px;
}

.title-animation {
  max-width: 90vw;
  width: 100%;
  height: auto;
  margin: 0 0 0.1em 0;
  display: block;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.6));
  animation: titleFloat 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.title-animation:hover {
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 75px rgba(255, 255, 255, 0.5));
  animation: titleFlicker 1s ease-in-out infinite;
}

@keyframes titleFloat {
  0%, 100% {
    transform: translateY(0px);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.6));
  }
  50% {
    transform: translateY(-10px);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 1)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.8));
  }
}

@keyframes titleFlicker {
  0%, 100% {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 75px rgba(255, 255, 255, 0.5));
  }
  25% {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 90px rgba(255, 255, 255, 0.6));
  }
  75% {
    filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 45px rgba(255, 255, 255, 0.65)) drop-shadow(0 0 70px rgba(255, 255, 255, 0.45));
  }
}

header button {
  margin-top: 1.5em;
}

.big-button {
  padding: 1.5em 3em !important;  
  font-size: 1.8em !important; 
  margin: 1em 0; 
  border-radius: 10px;
  font-family: "Jersey 25", sans-serif;
  background-color: #d73d7b;
  color: white;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 20px rgba(215, 61, 123, 0.6), 0 0 40px rgba(215, 61, 123, 0.4);
  animation: float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.big-button:hover {
  background-color: #a62f5f;
  box-shadow: 0 0 30px rgba(215, 61, 123, 0.9), 0 0 60px rgba(215, 61, 123, 0.7), 0 0 90px rgba(215, 61, 123, 0.5);
  transform: translateY(-5px) scale(1.05);
  filter: brightness(1.2);
}

.choice-button {
  width: 100% !important;
  padding: 1em !important;
  font-size: 1.75em !important;
  margin-bottom: 1em !important;
  text-align: center !important;
}

.gallery-scroll {
  display: flex;
  overflow-x: auto;
  gap: 2em;
  padding: 1em 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.gallery-card {
  flex: 0 0 300px;
  background: #222c5c;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  padding: 1em;
  text-align: center;
  color: #fff;
  scroll-snap-align: start;
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5em;
}

.gallery-card h3 {
  margin: 0.5em 0 0.2em 0;
  font-size: 1.3em;
}

.gallery-card p {
  font-size: 1em;
  color: #e0e0e0;
}

.itchio-logo {
  width: 120px;
  height: auto;
}

.godot-logo {
  width: 180px;
  height: auto;
}

.rounded-image {
  border-radius: 16px;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.rounded-glow {
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
}

footer {
  text-align: center;
  background-color: #100a52;
  color: white;
  padding: 2em 0;
  margin-top: 2em;
}

footer p {
  margin: 0;
  font-size: 28px;
  opacity: 0.9;
}

.ship-format-dropdown {
  margin: 0.4em 0;
  border-radius: 8px;
  overflow: hidden;
}

.dropdown-header {
  background-color: #d73d7b;
  color: white;
  padding: 0.4em 1em;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.dropdown-header:hover {
  background-color: #a62f5f;
}

.dropdown-content {
  display: none;
  background-color: #1e3a8a;
}

.dropdown-content.show {
  display: block;
}

.format-box {
  background-color: #152c6f;
  margin: 0.4em;
  padding: 0.6em;
  border-radius: 6px;
  font-size: 0.85em;
  line-height: 1.5;
}

.format-box p {
  margin: 0.2em 0;
}

@media (max-width: 600px) {
  body {
    font-size: 6vw;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  header {
    align-items: center;
    justify-content: center;
    padding: 0 0.5em;
    min-height: 80vh;
    width: 100vw;
    box-sizing: border-box;
  }
  header h1 {
    font-size: 13vw;
  }
  header p, header h2 {
    font-size: 6vw;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
  #info {
    padding: 1em 0.2em;
    font-size: 5vw;
    margin: 1em 0.2em;
    text-align: center;
    width: 100vw;
    box-sizing: border-box;
  }
  .step-container, .step-container-reverse {
    flex-direction: column !important;
    align-items: center;
    gap: 1.5em;
    padding: 2em 0.5em;
    text-align: center;
    width: 96vw;
    margin: 1em auto;
    box-sizing: border-box;
  }
  .step-content, .step-image {
    width: 100%;
    text-align: center;
  }
  .step-image img {
    max-width: 60vw;
    margin: 0 auto;
  }
  .gallery-scroll {
    gap: 1.5em;
    padding: 1em 0;
    width: 100vw;
    box-sizing: border-box;
  }
  .gallery-card {
    flex: 0 0 92vw;
    padding: 1em;
    font-size: 5vw;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .gallery-card img {
    height: 40vw;
  }
  #end h1 {
    font-size: 10vw;
  }
  #end p {
    font-size: 6vw;
  }
  button {
    font-size: 6vw;
    padding: 1em 2em;
    width: 80vw;
    max-width: 350px;
    margin: 1.5em auto;
    display: block;
  }
  
  .big-button {
    font-size: 7vw !important;
    padding: 1.2em 2.5em !important;
    width: 85vw !important;
    max-width: 400px !important;
    margin: 1.5em auto;
    display: block;
  }
  h2, h3 {
    font-size: 7vw !important;
  }
  .rounded-glow {
    max-width: 90vw;
    max-height: 40vh;
    height: auto;
    width: auto;
    display: block;
    margin: 2em auto;
  }
}