/* Shared styling for item detail pages rendered within the modal iframe */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background-color: #121c10;
  background-image: radial-gradient(circle at 50% 20%, #1c2b18 0%, #0d150b 85%);
  color: #e8ede0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.item-stage {
  width: 100%;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
  text-align: center;
}

.item-art {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.65));
  animation: itemOnionFloat 2.6s ease-in-out infinite alternate;
}

@keyframes itemOnionFloat {
  0% { transform: translateY(4px) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
  100% { transform: translateY(-16px) rotate(-2deg); }
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #b1d65c;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.item-description {
  max-width: 580px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #cfb17d;
  margin-bottom: 1.5rem;
}

.action-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-open-app {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background: #7fa63a;
  color: #0f170c;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.btn-open-app:hover {
  background: #b1d65c;
  transform: translateY(-2px);
}
