/* 主容器，确保点击区域明确 */
.container {
  text-align: center;
  z-index: 10;
  perspective: 800px;
}

/* 浪漫主按钮 */
.love-btn {
  background: linear-gradient(135deg, #ff4e6b, #ff3366);
  border: none;
  padding: 1rem 2.2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff8f0;
  letter-spacing: 2px;
  border-radius: 60px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 80, 100, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(2px);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.love-btn::before {
  content: "";
  font-size: 1.8rem;
  transition: transform 0.2s;
}

.love-btn span {
  display: inline-block;
}

/* 按钮悬停效果 */
.love-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 100, 120, 0.4);
}

.love-btn:active {
  transform: scale(0.96);
  transition: 0.05s;
}

/* 点击波纹瞬间反馈（额外水波纹） */
.ripple-effect {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 210, 0.7) 0%, rgba(255, 100, 120, 0.4) 100%);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleAnim 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 1000;
}

@keyframes rippleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
}

/* 花瓣粒子画布层 */
.petal-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 200;
}

/* 爱心文字装饰 */
.sub-note {
  margin-top: 30px;
  font-size: 1rem;
  color: rgba(255, 240, 230, 0.7);
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 20px;
  border-radius: 40px;
  backdrop-filter: blur(4px);
  display: inline-block;
  letter-spacing: 1px;
}

/* 响应式调整 */
@media (max-width: 600px) {
  .love-btn {
    padding: 0.9rem 1.8rem;
    font-size: 1.3rem;
  }

  .love-btn::before {
    font-size: 1.3rem;
  }
}