.status-bar {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 8px;
}

#resume-button {
  background: linear-gradient(to right, #ffd700, #e26002);
  border: 0;
  border-radius: 10px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#resume-button:hover {
  box-shadow: 0 0 30px rgba(253, 184, 19, 0.6);
  transform: scale(1.05);
}

#resume-button:active {
  transform: scale(0.95);
  box-shadow: none;
}

.overlay {
  /* filter blur */
  position: fixed;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.6); /* semi-transparent dark */
  transition: opacity 0.3s ease;
  opacity: 0; /* start invisible */
  z-index: 100; /* above everything */
  pointer-events: none; /* allow clicks to pass through when hidden */
}

.overlay.show {
  pointer-events: auto; /* allow clicks when visible */
  opacity: 1; /* fade in */
}

/* Content pop-up */
.overlay-content {
  pointer-events: none; /* allow clicks to pass through when hidden */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32rem;
  background-color: #181e37;
  border: 4px solid #ffd700;
  opacity: 0;
  /* combine centering + animation start */
  transform: translate(-50%, -50%) scale(0.85) translateY(20px);
  transition:
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#pause-content {
  width: 25rem;
  border: 4px solid #fdb813;
}

/* Content visible */
.overlay-content.show {
  pointer-events: auto; /* allow clicks when visible */
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) translateY(0);
}

#overlay-trophy-icon {
  filter: drop-shadow(0 0 10px #ffd700);
  color: #ffd700;
  width: 7.5em;
  height: 7.5em;
}

#overlay-pause-icon {
  color: #fdb813;
  width: 7.5em;
  height: 7.5em;
}

#overlay-title {
  font-weight: 800 !important;
  /* gradient text from gold to orange */
  background: linear-gradient(to right, #ffd700, #e26002);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* optional but nice */
  background-clip: text;
}

#submit-button {
  background: linear-gradient(to right, #ffd700, #e26002);
  border: 0;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#submit-button:hover {
  box-shadow: 0 0 30px rgba(253, 184, 19, 0.6);
  transform: scale(1.05);
}

#submit-button:active {
  transform: scale(0.95);
  box-shadow: none;
}

/* Or for a colored glow */
#container {
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.5),
    0 0 40px rgba(59, 130, 246, 0.3),
    0 0 60px rgba(59, 130, 246, 0.1);
  border-radius: 8px;
}

.gold-text {
  color: #ffb300;
}

.red-text {
  color: #e53e3e;
}

form input {
  background-color: #0e1120;
  border: 2px solid #946e18;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

form input:focus {
  outline: none;
  border-color: #ffb300;
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.5);
}

.status-bg {
  padding: 10px 20px;
  background-color: #0e1120;
}

#paused-text {
  font-weight: 800;
}

.pause-buttons {
  padding: 10px 0;
}

#back-to-menu-button {
  width: 100%;
  background: linear-gradient(to right, #e53e3e, #c53030);
  border: 0;
  border-radius: 10px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#back-to-menu-button:hover {
  box-shadow: 0 0 30px rgba(229, 62, 62, 0.6);
  transform: scale(1.05);
}

#back-to-menu-button:active {
  transform: scale(0.95);
  box-shadow: none;
}

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0 10px;
}

.top-bar img {
  height: 64px;
}

.top-bar .status-items {
  background-color: #0b0b14;
  border: 1px solid #fdb813;
  border-radius: 8px;
  padding: 10px 20px;
  color: #fdb813;
  font-weight: 600;
}

#death-container {
  color: white;
  border: 1px solid #e53e3e;
}

#time-container {
  color: white;
  border: 1px solid #63b3ed;
}

#items-container {
  color: white;
  border: 1px solid #f6e05e;
}

#pause-button {
  padding: 10px 20px;
  background-color: #2a2b37;
  border: 0;
  border-radius: 10px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#pause-button:hover {
  background-color: #3a3c4d;
  box-shadow: 0 0 30px rgba(42, 43, 55, 0.6);
  transform: scale(1.05);
}

#pause-button:active {
  background-color: #1c1d26;
  transform: scale(0.95);
  box-shadow: none;
}
