/* Ragnarok PBRO — abre play.roclassicidle.com.br */

.xp-ragnarok-window .xp-window-content.xp-ragnarok-content {
  padding: 0;
  overflow: hidden;
  height: 640px;
  min-height: 420px;
  background: #0a1028;
}

.xp-ragnarok-window.maximized .xp-ragnarok-content {
  height: auto;
  flex: 1;
  min-height: 0;
}

.ro-game-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: #0a1028;
}

.ro-splash {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(88, 124, 219, 0.25), transparent 55%),
    linear-gradient(180deg, #141c44 0%, #0a1028 55%, #060a18 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.ro-splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ro-splash-logo {
  width: 96px;
  height: 96px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 2px solid #2a335f;
  box-shadow: 0 0 24px rgba(120, 160, 255, 0.35);
}

.ro-splash-title {
  margin: 0;
  color: #f0e6c8;
  font-family: Tahoma, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.ro-splash-status {
  margin: 0;
  color: #b8c4e8;
  font-family: Tahoma, sans-serif;
  font-size: 12px;
}

.ro-play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 6px 18px;
  color: #1a1408;
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(180deg, #ffe7a3 0%, #e2b44a 45%, #c48a22 100%);
  border: 1px solid #8a6418;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
}

.ro-play-link:hover {
  background: linear-gradient(180deg, #fff1c4 0%, #f0c45e 45%, #d4982c 100%);
}

.ro-play-link:active {
  background: linear-gradient(180deg, #c48a22 0%, #e2b44a 100%);
}

@media (max-width: 639px) {
  body.xp-mobile .xp-ragnarok-window.active {
    z-index: 195;
  }

  body.xp-mobile .xp-ragnarok-window .xp-ragnarok-content {
    display: flex;
    flex-direction: column;
    height: auto;
    flex: 1;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ro-game-shell {
    flex: 1;
    min-height: 0;
    height: auto;
  }

  .ro-splash-logo {
    width: 72px;
    height: 72px;
  }

  .ro-splash-title {
    font-size: 18px;
  }
}
