.omp-secret-wrap {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1f1f1f 0%, #101010 60%, #080808 100%);
  color: #fff;
  font-family: Arial, sans-serif;
  overflow: hidden;
  position: relative;
}

.omp-secret-header {
  text-align: center;
  padding: 12px 10px 6px;
  position: relative;
  z-index: 5;
}

.omp-secret-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
  color: #fbc21a;
  text-shadow: 0 2px 10px rgba(251, 194, 26, 0.25);
}

.omp-secret-sub {
  margin-top: 6px;
  color: #ddd;
  font-size: 14px;
}

.omp-secret-ui {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
  position: relative;
  z-index: 5;
}

.omp-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(4px);
}

.omp-game {
  position: relative;
  width: min(1200px, 96vw);
  height: 72vh;
  margin: 12px auto 20px;
  border-radius: 16px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  touch-action: none;
}

.omp-game::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(251, 194, 26, 0.04),
    transparent 35%
  );
}

.omp-player {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ddd 45%, #bbb 70%);
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  z-index: 4;
  overflow: hidden;
}

.omp-player-face {
  font-size: 56px;
  line-height: 1;
  transform: translateY(2px);
  transition: transform 0.08s ease;
}

.omp-player-face-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.08s ease, opacity 0.08s ease;
}

.omp-player-face-img.is-closed {
  opacity: 1;
}

.omp-player-face-img.is-open {
  opacity: 0;
}

.omp-player.miam .omp-player-face-img.is-closed {
  opacity: 0;
}

.omp-player.miam .omp-player-face-img.is-open {
  opacity: 1;
}

.omp-player.miam .omp-player-face-img {
  transform: translateY(4px) scale(1.04);
}

.omp-player.miam .omp-player-face {
  transform: translateY(6px) scale(1.08);
}

.omp-mouth {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 14px;
  border-radius: 0 0 16px 16px;
  background: #2a2a2a;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.08s ease;
}

.omp-player.miam .omp-mouth {
  width: 54px;
  height: 22px;
  border-radius: 0 0 22px 22px;
  background: #111;
}

.omp-item {
  position: absolute;
  top: -70px;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  user-select: none;
  z-index: 2;
}

.omp-item.good.gold {
  background: linear-gradient(180deg, #ffe58a, #fbc21a);
}

.omp-item.good.silver {
  background: linear-gradient(180deg, #f3f3f3, #cfcfcf);
}

.omp-item.good.plated {
  background: linear-gradient(180deg, #ffe8b7, #e8b55a);
}

.omp-item.bad {
  background: linear-gradient(180deg, #ffb2b2, #e55f5f);
}

.omp-float-text {
  position: absolute;
  font-weight: 800;
  color: #fbc21a;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 6;
  animation: ompFloatUp 0.7s ease forwards;
}

@keyframes ompFloatUp {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-26px) scale(1.08);
  }
}

.omp-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  z-index: 8;
  transition: opacity 0.15s ease;
}

.omp-card {
  width: min(520px, 92vw);
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  padding: 18px;
  text-align: center;
}

.omp-card h2 {
  margin: 0 0 8px;
  color: #fbc21a;
  font-size: 26px;
}

.omp-card p {
  margin: 0 0 12px;
  color: #ddd;
}

.omp-btn {
  border: none;
  background: #fbc21a;
  color: #111;
  font-weight: 800;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(251, 194, 26, 0.22);
}

.omp-btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .omp-secret-title {
    font-size: 24px;
  }

  .omp-game {
    height: 68vh;
  }

  .omp-player {
    width: 96px;
    height: 96px;
  }

  .omp-player-face {
    font-size: 44px;
  }

  .omp-item {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}