* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  font-family: 'Arial', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.container {
  max-width: 430px;
  margin: auto;
  padding: 5px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.header-text h1, .header-text h2 {
  text-shadow: 2px 2px 5px #000;
  margin: 10px 0;
}

.main-btn, .popup-content button {
  background: #00ff22b7;
  color: white;
  border: none;
  padding: 12px 25px;
  margin: 10px auto;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 15px;
  cursor: pointer;
  display: inline-block;
  animation: bounce 2s infinite;
}

.bounce {
  animation: bounce 2s infinite;
}

.heartbeat {
  width: 90%;
  margin: 10px auto 5px auto; /* tighter top & bottom spacing */
  display: block;
  animation: heartbeat 1.5s infinite;
  border: 3px solid #00ff88; /* neon green border */
  border-radius: 12px;        /* smooth rounded corners */
  box-shadow: 0 0 15px #00ff88; /* glow effect */
}

.gift-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.85);
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
}

.popup-content {
  background: #fff;
  color: #000;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  max-width: 85%;
}

.game-recommendations {
  background: rgba(0, 0, 0, 0.6);
  margin-top: 5px;
  padding: 8px;
  border-radius: 10px;
}

.game-recommendations h3 {
  margin-bottom: 10px;
  font-size: 1em;
}

.game-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  margin-bottom: 6px;
  border-radius: 8px;
}

.game-icon {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.05); }
  50% { transform: scale(1); }
  75% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.sparkle {
  animation: sparkle 2s infinite linear;
  color: #FFD700;
  font-weight: bold;
}

@keyframes sparkle {
  0% { text-shadow: 0 0 5px #FFD700, 0 0 10px #FF00FF; }
  50% { text-shadow: 0 0 20px #FFD700, 0 0 30px #FF00FF; }
  100% { text-shadow: 0 0 5px #FFD700, 0 0 10px #FF00FF; }
}
