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

header {
  text-align: center;
  padding: 0;
  background-color: #142b70;
  color: white;
  min-height: 70vh;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  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);
}

.consoles-title: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);
}

@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.1em 0 0.2em 0;
}

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

header img {
  max-width: 260px;
  height: auto;
  margin: 0.5em 0;
  animation: wiggle 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.6));
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(3deg);
  }
}

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

#info h2:first-of-type {
  text-align: center;
}

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

#info img[src*="poster.png"] {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
}

#gameconsole-img {
  max-width: 420px;
  width: 40vw;
  transition: transform 0.3s ease;
  margin: 1.5em 0 0.5em 0;
}

#gameconsole-img:hover {
  transform: scale(1.25);
}

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

.step-content {
  flex: 1;
}

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

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

.small-joystick {
  max-width: 300px !important;
  height: auto;
}

.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: 1300px;
  width: 94vw;
  height: auto;
  margin: 1em 0 0.1em 0;
  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;
  animation-iteration-count: infinite;
}

.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;
}

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

.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: 120px;
  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: 18px;
  opacity: 0.9;
}

details > summary {
  background: #ea4386;
  color: #fff;
  border-radius: 8px;
  padding: 0.5em 1em;
  margin-bottom: 0.5em;
  font-size: 1.1em;
  transition: background 0.2s;
}
details[open] > summary {
  background: #c72c6a;
  color: #87CEEB;
}


.intro-section {
  color: white;
  font-size: 1.3em;
  padding: 0 0.1em !important;
}

.intro-section p {
  color: white;
  font-size: 1.3em;
}

#games-gallery {
  padding: 2em 4em;
  background-color: #100a52;
  color: white;
}

.games-container {
  max-width: 1200px;
  margin: 0 auto;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4em 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #87CEEB;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1em;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.game-card {
  background: #1e3a8a;
  border: 2px solid #87CEEB;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border-color: #ea4386;
}

.game-image {
  width: 100%;
  height: auto;
  overflow: visible;
  position: relative;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222c5c;
  font-size: 3em;
  color: #87CEEB;
}

.game-info {
  padding: 0;
}

.game-title {
  font-size: 1.4em;
  margin: 0;
  color: white;
  background: #100a52;
  padding: 1em 1.5em;
  border-radius: 16px 16px 0 0;
}

.game-content {
  padding: 1.5em;
}

.game-oneliner {
  font-size: 1.1em;
  color: white;
  margin: 0 0 0.5em 0;
}

.game-developer {
  font-size: 1em;
  color: white;
  margin: 0 0 0.5em 0;
  font-style: italic;
}

.game-hours {
  font-size: 1em;
  color: white;
  margin: 0 0 1em 0;
  font-style: italic;
}

.game-description {
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0 0 1em 0;
  color: #e0e0e0;
}

.first-game-tag {
  background: #ea4386;
  color: white;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1em;
}

.art-tag {
  background: #9c27b0;
  color: white;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1em;
}

.music-tag {
  background: #9c27b0;
  color: white;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1em;
}

.all-assets-tag {
  background: #4caf50;
  color: white;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1em;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
}

.game-genre {
  background: #ea4386;
  color: white;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
}

.game-hours {
  background: #87CEEB;
  color: #1b388c;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1em;
}

.feature-tag {
  background: #222c5c;
  color: #87CEEB;
  padding: 0.2em 0.6em;
  border-radius: 12px;
  font-size: 0.75em;
  border: 1px solid #87CEEB;
}

.game-links {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-bottom: 1em;
}

.game-link {
  padding: 0.5em 1em;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.itch-link {
  background: #ea4386;
  color: white !important;
  font-size: 1.2em;
  padding: 0.8em 1.5em;
}

.itch-link:hover {
  background: #c72c6a;
  color: white !important;
  transform: translateY(-2px);
}

.github-link {
  background: #333;
  color: white !important;
  font-size: 0.8em;
  padding: 0.4em 0.8em;
}

.github-link:hover {
  background: #555;
  color: white !important;
  transform: translateY(-2px);
}

.video-link {
  background: #d32f2f;
  color: white !important;
  font-size: 0.8em;
  padding: 0.4em 0.8em;
}

.video-link:hover {
  background: #b71c1c;
  color: white !important;
  transform: translateY(-2px);
}

.thread-link {
  background: #1da1f2;
  color: white !important;
  font-size: 0.8em;
  padding: 0.4em 0.8em;
}

.thread-link:hover {
  background: #0d8bd9;
  color: white !important;
  transform: translateY(-2px);
}

.game-details {
  margin: 1em 0;
}

.game-details summary {
  background: #222c5c;
  color: #87CEEB;
  border-radius: 8px;
  padding: 0.5em 1em;
  margin-bottom: 0.5em;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #87CEEB;
}

.game-details summary:hover {
  background: #222c5c;
  color: #87CEEB;
  border-color: #87CEEB;
}

.game-details[open] summary {
  background: #ea4386;
  color: #87CEEB;
  border-color: #ea4386;
}

.details-content {
  background: #222c5c;
  color: #e0e0e0;
  padding: 0.7em;
  border-radius: 8px;
  margin-top: 0.5em;
  line-height: 1.5;
  font-size: 0.9em;
}

.image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 237.5px;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-image.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.5em;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(234, 67, 134, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.carousel-dots {
  display: none;
}

.dot {
  display: none;
}

#filters {
  padding: 2em 4em;
  background-color: #1b388c;
  text-align: center;
}

.filter-container h3 {
  margin-bottom: 1.5em;
  color: #ea4386;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}

.filter-btn {
  background: #222c5c;
  color: #87CEEB;
  border: 2px solid #87CEEB;
  padding: 0.8em 1.5em;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Jersey 25", sans-serif;
  font-size: 1em;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ea4386;
  color: white;
  border-color: #ea4386;
  transform: translateY(-2px);
}

.nav-buttons {
  margin-top: 2em;
}

.nav-btn {
  background: #87CEEB;
  color: #1b388c;
  border: 2px solid #87CEEB;
  padding: 1em 2em;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Jersey 25", sans-serif;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  background: #ea4386;
  color: white;
  border-color: #ea4386;
  transform: translateY(-2px);
}

.error-message {
  text-align: center;
  padding: 2em;
}

.retry-btn {
  background: #ea4386;
  color: white;
  border: none;
  padding: 0.8em 1.5em;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Jersey 25", sans-serif;
  margin-top: 1em;
}

.no-games {
  text-align: center;
  padding: 4em 2em;
  grid-column: 1 / -1;
}

.no-games h3 {
  color: #ea4386;
  margin-bottom: 1em;
}

@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;
  }
  h2, h3 {
    font-size: 7vw !important;
  }
  .rounded-glow {
    max-width: 90vw;
    max-height: 40vh;
    height: auto;
    width: auto;
    margin: 2em auto;
  }
  img[src$="niceconsole.png"],
  img[src$="jumpstartstickers.png"] {
    max-width: 90vw;
    max-height: 40vw;
    width: auto;
    height: auto;
    display: block;
    margin: 1em auto;
  }
  
  #info img[src*="poster.png"] {
    max-width: 95vw;
    max-height: 60vh;
    width: auto;
    height: auto;
    display: block;
    margin: 1em auto;
  }
  
  
  #games-gallery {
    padding: 1em 0.5em;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  
  .game-card {
    margin: 0;
  }
  
  .game-info {
    padding: 1em;
  }
  
  .game-title {
    font-size: 6vw;
  }
  
  .game-developer {
    font-size: 4vw;
  }
  
  .game-description {
    font-size: 4vw;
  }
  
  .game-meta {
    flex-direction: column;
    gap: 0.5em;
  }
  
  .game-genre, .game-hours {
    font-size: 3.5vw;
    align-self: flex-start;
  }
  
  .feature-tag {
    font-size: 3vw;
  }
  
  .game-links {
    flex-direction: column;
  }
  
  .game-link {
    font-size: 4vw;
    text-align: center;
  }
  
  #filters {
    padding: 1em 0.5em;
  }
  
  .filter-buttons {
    flex-wrap: wrap;
    gap: 0.5em;
  }
  
  .filter-btn {
    font-size: 4vw;
    padding: 0.5em 1em;
  }
  
  .nav-buttons {
    margin-top: 1em;
  }
  
  .nav-btn {
    font-size: 5vw;
    padding: 0.8em 1.5em;
  }
  
  .intro-section {
    max-width: 95vw !important;
    padding: 0 0.5em !important;
    margin: 1em auto !important;
  }
  
  .intro-section p {
    font-size: 4.5vw;
    line-height: 1.4;
  }
  
  
  .numbers-recap {
    margin: 1em auto !important;
    padding: 1em !important;
  }
  
  .numbers-recap h2 {
    font-size: 6vw !important;
  }
  
  .numbers-recap > div {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1em !important;
  }
  
  .stat-number {
    font-size: 5vw !important;
  }
  
  .stat-label {
    font-size: 3.5vw !important;
  }
}


.numbers-recap {
  box-shadow: 0 8px 32px rgba(135, 206, 235, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.numbers-recap:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(135, 206, 235, 0.2);
}

.stat-item {
  padding: 1em;
  border-radius: 10px;
  background: rgba(135, 206, 235, 0.05);
  border: 1px solid rgba(135, 206, 235, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(135, 206, 235, 0.1);
  border-color: rgba(135, 206, 235, 0.4);
  transform: scale(1.05);
}

.stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #87CEEB;
  margin-bottom: 0.3em;
  font-family: 'Jersey 25', monospace;
  text-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

.stat-label {
  font-size: 1em;
  color: #ffffff;
  opacity: 0.9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.stat-item {
  position: relative;
  cursor: help;
}

.stat-item::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1.2em 1.5em;
  border-radius: 12px;
  font-size: 1.1em;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: 400px;
  min-width: 300px;
  white-space: normal;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(135, 206, 235, 0.4);
}

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.stat-item:hover::after,
.stat-item:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 10px);
}


.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(135, 206, 235, 0.5);
  color: #87CEEB;
}


.header-relative {
  position: relative;
}


.game-button-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 2em 0;
}


.game-button-image-left {
  width: 200px;
  height: auto;
  margin-right: 4em;
}

.game-button-image-right {
  width: 200px;
  height: auto;
  margin-left: 4em;
}


.play-all-games-button {
  display: inline-block;
  padding: 1.5em 3em;
  background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.8em;
  transition: all 0.3s ease;
  border: 3px solid #87CEEB;
  box-shadow: 0 8px 32px rgba(135, 206, 235, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.play-all-games-button:hover {
  color: #1a1a2e;
}


.details-margin {
  margin: 1em 0;
}

.details-summary {
  font-weight: bold;
  cursor: pointer;
}

.details-pre {
  background: #222c5c;
  color: #fff;
  padding: 1em;
  border-radius: 8px;
  white-space: pre-wrap;
  font-family: inherit;
}


.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: inline-block;
  padding: 0.8em 1.5em;
  background: transparent;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
}


.game-count {
  font-size: 1.2em;
  color: #87CEEB;
  margin-top: 0.5em;
}


.numbers-recap-container {
  max-width: 1300px;
  margin: 2em auto;
  padding: 0 1em;
}


.details-container {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 15px;
  border: 2px solid #87CEEB;
  box-shadow: 0 8px 32px rgba(135, 206, 235, 0.1);
  margin-bottom: 2em;
}


.details-summary-styled {
  color: #1a1a2e;
  font-size: 1.8em;
  padding: 0.5em 1em;
  cursor: pointer;
  font-weight: bold;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #87CEEB;
  text-align: left;
}


.details-content-styled {
  padding: 1em 2em 2em 2em;
  text-align: left;
  color: white;
  font-size: 1.5em;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5em;
  text-align: center;
}


.stats-intro {
  text-align: center;
  color: white;
  margin-bottom: 1.5em;
  font-size: 1.5em;
  line-height: 1.4;
}


.error-message {
  display: none;
}


.games-grid {
  display: none;
}


.project-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


.project-block {
  display: flex;
  flex-direction: row;
  background-color: #222c5c;
  padding: 1em;
  border-radius: 16px;
  gap: 30px;
  align-items: flex-start;
}

.project-block > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-block img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.project-block h3 {
  margin: 0.5em 0 0.2em 0;
  font-size: 1.3em;
}

.project-block p {
  font-size: 1em;
  color: #e0e0e0;
  margin: 0.2em 0;
}

.project-block ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
  color: #e0e0e0;
}

.project-block li {
  margin: 0.2em 0;
  font-size: 1em;
}


.footer-small {
  font-size: 75%;
}


.itch-demo-image {
  padding: 2em 0;
}


.video-container {
  text-align: center;
  margin: 2em 0;
}


.comparison-container {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.comparison-item {
  flex: 1;
  text-align: center;
}

.comparison-item-left {
  margin-right: 10px;
}

.comparison-item-right {
  margin-left: 10px;
}

.comparison-image {
  max-width: 100%;
  height: auto;
}


.continue-button {
  font-size: 40px;
  padding: 20px 40px;
  margin: 20px 0 80px 0;
}

.poster-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 2em;
  margin: 2em 0;
  flex-wrap: wrap;
}

.poster-item {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.poster-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(135, 206, 235, 0.2);
}

.stat-with-tooltip {
  position: relative;
  cursor: help;
}

.stat-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1.2em 1.5em;
  border-radius: 12px;
  font-size: 1.1em;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: 400px;
  min-width: 300px;
  white-space: normal;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(135, 206, 235, 0.4);
}

.stat-tooltip a {
  color: #ea4386;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.stat-tooltip a:hover {
  color: #ff6b9d;
  text-decoration: underline;
}

.stat-with-tooltip:hover .stat-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 100%;
}

.stat-with-tooltip:hover::after,
.stat-with-tooltip:hover::before {
  display: none;
}

.sticker-scroll-container {
  width: 100%;
  overflow: hidden;
  background: rgba(135, 206, 235, 0.1);
  border-top: 2px solid rgba(135, 206, 235, 0.3);
  border-bottom: 2px solid rgba(135, 206, 235, 0.3);
  margin: 2em 0;
  padding: 1em 0;
}

.sticker-scroll {
  display: flex;
  animation: scroll-stickers 30s linear infinite;
  width: max-content;
}

.sticker-scroll img {
  height: 120px;
  width: auto;
  margin: 0 1em;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.sticker-scroll img:hover {
  transform: scale(1.1);
}

@keyframes scroll-stickers {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.console-scroll-container {
  width: 100%;
  overflow: hidden;
  background: rgba(135, 206, 235, 0.1);
  border-top: 2px solid rgba(135, 206, 235, 0.3);
  border-bottom: 2px solid rgba(135, 206, 235, 0.3);
  margin: 2em 0;
  padding: 1em 0;
}

.console-scroll {
  display: flex;
  animation: scroll-consoles 40s linear infinite;
  width: max-content;
}

.console-scroll img {
  height: 300px;
  width: auto;
  margin: 0 0.3em;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.console-scroll img:hover {
  transform: scale(1.1);
}

@keyframes scroll-consoles {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}



