:root {
  --gradient-start: #0d9488;
  --gradient-end: #1e3a8a;
}

@keyframes powerBlast {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(
    to bottom,
    var(--gradient-start),
    var(--gradient-end)
  );
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: system-ui, sans-serif;
}

.container {
  width: 100%;
  max-width: 500px;
  padding: 1rem;
}

.logo {
  text-align: center;
  margin-bottom: 2rem;
  animation: float 2s infinite ease-in-out;
}

.logo-img {
  width: 200px;
  height: auto;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  -webkit-background-clip: text;
  color: transparent;
}

.reveal-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.3s;
}

.reveal-btn:hover {
  transform: scale(1.05);
}

.gift-content {
  margin-top: 2rem;
}

.hidden {
  display: none;
}

.hero-image {
  width: 300px;
  /* height: 250px; */
  margin: 0 auto 2rem;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: powerBlast 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.message,
.powers {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s;
  border: 2px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.message::after,
.powers::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 223, 0, 0.1),
    transparent 70%
  );
  pointer-events: none;
}

.message:hover,
.powers:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.icons {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 1rem;
}

.show {
  animation: powerBlast 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

@keyframes floatAndRotate {
  0% {
    transform: translateY(0) rotate(var(--rotation));
  }
  50% {
    transform: translateY(-20px) rotate(var(--rotation));
  }
  100% {
    transform: translateY(0) rotate(var(--rotation));
  }
}

.invisible {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.floating-hero {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  width: 180px;
  height: auto;
  opacity: 0.5;
  transition: opacity 0.3s;
  animation: floatAndRotate 3s infinite ease-in-out;
  will-change: transform;
}

.floating-hero:hover {
  opacity: 1;
  transform: rotate(0deg) scale(1.1);
}

.centered-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: auto;
  z-index: 2;
}
