body.studios-page {
  background: #15273c;
}

body.studios-page .page-wrap {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 56px);
  overflow: hidden;
}

.studios-bg-gradients {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.studios-bg-gradients > div {
  position: absolute;
  width: 150vmax;
  height: 150vmax;
  border-radius: 50%;
}

.studios-bg-gradients > div:nth-child(1) {
  top: -50vmax;
  left: -50vmax;
  background: radial-gradient(ellipse 60% 60% at center, rgba(54, 84, 117, 0.4), transparent 55%);
  animation: studios-gradient-drift-1 2.5s ease-out forwards;
}

.studios-bg-gradients > div:nth-child(2) {
  top: -25vmax;
  right: -50vmax;
  background: radial-gradient(ellipse 50% 50% at center, rgba(89, 1, 177, 0.3), transparent 55%);
  animation: studios-gradient-drift-2 2.5s ease-out 0.1s forwards;
}

.studios-bg-gradients > div:nth-child(3) {
  bottom: -50vmax;
  left: -25vmax;
  background: radial-gradient(ellipse 70% 70% at center, rgba(2, 4, 8, 0.5), transparent 60%);
  animation: studios-gradient-drift-3 2.5s ease-out 0.2s forwards;
}

@keyframes studios-gradient-drift-1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(15vw, 20vh); }
}

@keyframes studios-gradient-drift-2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-25vw, -15vh); }
}

@keyframes studios-gradient-drift-3 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20vw, -25vh); }
}

.studios-main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  min-height: min(70vh, 640px);
  padding: 2rem 1.25rem 3rem;
}

.studios-main-center {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(100%, 520px);
}

.studios-logo {
  max-width: 280px;
  width: min(280px, 72vw);
  height: auto;
  margin-bottom: 1rem;
}

.studios-tagline {
  font-size: 1rem;
  font-weight: 900;
  opacity: 0.85;
  color: #e8e8e8;
  margin: 0;
}

.studios-project-links {
  position: absolute;
  top: calc(42% + 165px);
  left: 50%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  transform: translateX(-50%);
  width: min(100%, 520px);
  padding: 0 1rem;
}

.studios-project-link {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  opacity: 0;
  transition: transform 0.2s ease-out, opacity 1.2s ease-out, filter 0.2s ease-out;
}

.studios-project-link.visible {
  opacity: 1;
}

.studios-project-link:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.studios-project-link.astrozaar img {
  width: min(160px, 36vw);
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 180, 80, 0.5)) drop-shadow(0 0 40px rgba(255, 140, 50, 0.3));
}

.studios-project-link.astrozaar:hover img {
  filter: drop-shadow(0 0 25px rgba(255, 180, 80, 0.6)) drop-shadow(0 0 50px rgba(255, 140, 50, 0.35));
}

.studios-project-link.fishnom {
  pointer-events: none;
}

.studios-project-link.fishnom.visible {
  pointer-events: auto;
}

.studios-project-link.fishnom img {
  width: min(160px, 36vw);
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
}

body.studios-page .footer {
  position: relative;
  z-index: 1;
  background: rgba(14, 22, 35, 0.92);
}

@media (max-width: 640px) {
  .studios-main-center {
    top: 38%;
  }

  .studios-project-links {
    top: calc(38% + 150px);
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studios-bg-gradients > div {
    animation: none;
  }

  .studios-project-link {
    opacity: 1;
    transition: none;
  }

  .studios-project-link.fishnom {
    pointer-events: auto;
  }
}
