@font-face {
  font-family: "Mozart-NBP";
  src: url(mozartnbp-93ey-webfont.woff2);
}

body {
  margin: 0;
  background: #000000;
  color: #fff;
  font-family: "Mozart-NBP";
  font-weight: 400;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  text-align: center;
  z-index: 9999;
  border-bottom: 2px solid #fbc328;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
  font-weight: 400;
}

header.scrolled {
  background: rgb(0, 0, 0);
}

.banner-container {
  margin-top: 80px;
  margin-bottom: 40px;
}

.banner {
  width: 100%;
  height: 450px;
  max-height: 50vh;
  opacity: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, rgba(0,0,0,0.8) 100%),
    url('img/image_banner.png') center/cover no-repeat;
  transition: opacity 2s ease;
  border-radius: 14px;
  overflow: hidden;
}

.banner.fade-in {
  opacity: 1;
}

.content {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.section { margin: 44px 0; }

.sep {
  height: 2px;
  background: #fbc328;
  border: 0;
  margin: 28px 0;
}

.about-title {
  text-align: center;
  font-size: 48px;
  color: #fbc328;
  margin: 0;
  font-weight: 400;
}

.screenshot-bar {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  background: none;
  scrollbar-color: #fbc328 #000000;
  scrollbar-width: thin;
}

.thumb {
  height: 100px;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-sizing: border-box;
}

.thumb:hover {
  border: 2px solid #fbc328;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.lightbox.visible { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px #000;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.lightbox-img-transition { animation: slideFade 0.15s ease; }

@keyframes slideFade {
  0% { transform: translateX(20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.lightbox.visible img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  z-index: 10001; /* sopra l'immagine */
}

.lightbox-arrow.left { left: 20px; }
.lightbox-arrow.right { right: 20px; left: auto; }

.lightbox-arrow:hover { color: #fbc328; }

.lightbox-arrow.animate {
  animation-duration: 0.15s;
  animation-timing-function: ease;
}

.lightbox-arrow.right.animate { animation-name: arrowPulseRight; }
.lightbox-arrow.left.animate { animation-name: arrowPulseLeft; }

@keyframes arrowPulseRight {
  0% { transform: translateY(-50%) translateX(-8px) scale(1.2); }
  100% { transform: translateY(-50%) translateX(0) scale(1); }
}

@keyframes arrowPulseLeft {
  0% { transform: translateY(-50%) translateX(8px) scale(1.2); }
  100% { transform: translateY(-50%) translateX(0) scale(1); }
}

.tagline {
  font-size: 24px;
  color: #fbc328;
  text-align: center;
  margin: 0 0 16px;
  opacity: 0.9;
  font-weight: 400;
}

.game-title {
  text-align: center;
  margin: 10px 0 8px;
  letter-spacing: 1px;
}

.lede {
  text-align: center;
  max-width: 800px;
  margin: 0 auto -20px;
  line-height: 1.2;
  font-weight: 400;
}

.lede span { color: #fbc328; }

.small-banner {
  display: block;
  max-width: 920px;
  width: 100%;
  margin: 0 auto 12px;
  image-rendering: auto;
  border-radius: 12px;
}

.warning-callout {
  border: 2px solid #ff1226;
  background: rgba(255, 0, 0, 0.08);
  padding: 14px 16px;
  max-width: 900px;
  margin: 0 auto;
  font-family: monospace;
  font-size: 18px;
  color: #ffb3b3;
  line-height: 1.5;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.15) inset;
  font-weight: 400;
}

.features { margin-top: 10px; }

.feature-list {
  list-style: disc;
  padding-left: 20px;
  max-width: 900px;
  margin: 0 auto -20px;
  line-height: 1.2;
  font-weight: 400;
}


.feature-list li { margin: 2px 0; }
.feature-list li::marker { color: #fbc328; }

.intro, .features { margin-bottom: 0; font-size: 32px; font-weight: 400; }

.devlog-title {
  max-width: 900px;
  margin: 0 auto 10px auto;
  text-align: center;
}

.devlog-title h2 {
  font-size: 48px;
  color: #fbc328;
  margin: 0;
  font-weight: 400;
}

.devlog {
  padding: 20px;
  border: 2px solid #fbc328;
  background: rgba(251, 195, 40, 0.05);
  max-width: 900px;
  margin: 0 auto;
  font-weight: 400;
}

.devlog-empty {
  text-align: center;
  font-size: 20px;
  opacity: 0.7;
  font-weight: 400;
}

.footer {
  font-family: monospace;
  text-align: center;
  color: #505050;
  font-size: 16px;
  padding: 16px 0;
  font-weight: 400;
}

.centered-img{
  display:block;
  margin:24px auto;
  max-width:min(920px, 96vw);
  width:100%;
  height:auto;
  object-fit:contain;
  border-radius:12px;
}

.centered-img.xsm{ max-width:150px; }
.centered-img.sm{ max-width:300px; }
.centered-img.lg{ max-width:500px; }
.centered-img.xlg{ max-width:800px; }
.dvtext {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 7px;
  line-height: 1;
  font-weight: 400;
}

.img-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
  margin: 32px auto;
  max-width: 920px;
}

.img-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 40%;
  max-width: 420px;
}

.img-block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 8px;
}

.img-block p {
  font-size: 24px;
  color: dimgray;
  text-align: center;
  margin: 0;
  line-height: 1.4;
  opacity: 0.9;
  font-weight: 400;
}

.img-row img.sm{ flex:1 1 30%; }
.img-row img.lg{ flex:1 1 60%; }

.devlog-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  color: #000000;
  border-radius: 12px;
  padding: 14px 20px;
  margin: 12px auto;
  max-width: 860px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.devlog-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(251, 195, 40, 0.25);
}

.devlog-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: contain;
}

.devlog-name {
  flex-grow: 1;
  text-align: center;
  font-size: 38px;
  font-weight: 400;
  color: #fbc328;
  letter-spacing: 0.4px;
}

.devlog-date {
  font-size: 32px;
  font-weight: 400;
  color: #333333;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .devlog-entry {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .devlog-name { font-size: 20px; }
  .devlog-date { font-size: 16px; }
}
