:root {
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --primary: 240 5.9% 10%;
  --primary-foreground: 0 0% 98%;
  --accent: 240 4.8% 95.9%;
  --accent-foreground: 240 5.9% 10%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 45%;
  --radius: 0.5rem;
  --heart-size: 35px;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0 1rem;
}

.container {
  background-color: hsl(var(--background));
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  border: 1px solid hsl(var(--muted-foreground));
}

.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#lives-container {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.heart {
  width: var(--heart-size);
  height: var(--heart-size);
  fill: #ff0000;
}

.broken-heart {
  width: var(--heart-size);
  height: var(--heart-size);
  fill: #808080;
}

.options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

.options button {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
  margin: 0.25rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  flex: 1 1 calc(50% - 20px); /* Ajuste de botones */
}

.options button:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .container {
    padding: 1rem;
    max-width: 90%;
  }

  .options button {
    flex: 1 1 100%; /* Botones en una columna para pantallas más pequeñas */
  }

  #lives-container {
    right: 5px; /* Ajustar posición de los corazones */
  }
}

#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 300px;
  z-index: 1000;
}

.notification {
  background-color: #007bff;
  color: white;
  padding: 15px;
  margin-top: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}
