body {
  background: #f8f9fa;
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
} 

/* 去除卡片背景 */
#main-view {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* 整个页面使用渐变背景 */
.min-h-screen {
  background: linear-gradient(to bottom, #e6f7ff, #f8f9fa) !important;
  box-shadow: none !important;
}

.split-text {
  font-size: 2.5rem;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1em;
  justify-content: center;
  margin-top: 60px;
}
.split-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: splitFadeIn 0.6s forwards;
}
@keyframes splitFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} 

/* 水容器样式 */
.water-container {
  position: relative;
  width: 800px !important; /* 放大尺寸 */
  height: 1200px !important; /* 放大尺寸 */
  margin: 0 auto;
  /* 添加负边距来减少上下空白 */
  margin-top: -800px;
  margin-bottom: -200px;
  /* 添加溢出隐藏，防止内容溢出影响其他元素 */
  overflow: visible; /* 改为visible以便观察 */
  /* 使用transform来移动位置 */
  /* 确保水平居中 */
  left: 50%;
  transform: translateY(-200px) translateX(-50%);
  background-color: transparent !important;
}

/* 水动画SVG样式 */
.water-container svg {
  width: 100%;
  height: 100%;
  transform: scale(1.25) translateY(-100px); /* 额外放大效果并向上移动 */
  transform-origin: center center;
  background-color: transparent !important;
  pointer-events: none; /* 确保SVG不会阻挡鼠标事件 */
}

/* 确保SVG矩形没有填充色 */
svg rect {
  fill: none !important;
}

/* 确保只有水才有填充色 */
#drink-fill {
  fill: rgba(52, 152, 219, 0.3) !important;
}

/* 确保动画元素正确显示 */
#drink-group, .bubs, .celebration-item {
  opacity: 0;
}

.stars {
  transform: scale(0);
  transform-origin: center center;
} 

/* 喝水按钮容器 - 调整位置到水杯右侧 */
.drink-buttons-container {
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 100; /* 提高z-index确保在SVG之上 */
  pointer-events: auto; /* 确保按钮可以接收鼠标事件 */
}

/* 喝水按钮样式 */
.drink-button {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: 120px;
  text-align: center;
  font-weight: 600;
  color: #374151;
  position: relative;
  overflow: hidden;
  z-index: 100;
}

.drink-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.25);
  border-color: #3498DB;
  color: #3498DB;
}

.drink-button i {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
  color: #3498DB;
}

.drink-button span {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

/* 按钮选中状态样式 */
.drink-button.selected {
  background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  color: white;
  border-color: #2980B9;
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
}

.drink-button.selected i,
.drink-button.selected span {
  color: white;
}

/* 按钮选中时的背景上升动画 */
.drink-button::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.drink-button.selected::before {
  top: 0;
}

/* 散射粒子动画 */
.button-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #3498DB 0%, #2980B9 70%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: particleScatter 0.6s ease-out forwards;
}

@keyframes particleScatter {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0);
    opacity: 0;
  }
}

/* 自定义按钮样式 */
.drink-button.custom-btn {
  border-style: dashed;
  border-color: #9ca3af;
}

.drink-button.custom-btn:hover {
  border-style: solid;
  border-color: #3498DB;
}

/* 喝水按钮样式 - 改进设计 */
.drink-button {
  width: 140px;
  height: 55px;
  border: 2px solid #1f2937;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.15);
  position: relative;
  overflow: hidden;
}

/* 选中状态的动画背景 */
.drink-button::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.drink-button.selected::before {
  height: 100%;
}

.drink-button.selected {
  color: white;
  border-color: #3498DB;
}

.drink-button.selected i,
.drink-button.selected span {
  position: relative;
  z-index: 2;
}

/* 散射小点动画 */
.button-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #3498DB;
  border-radius: 50%;
  pointer-events: none;
  animation: particleExpand 0.6s ease-out forwards;
}

@keyframes particleExpand {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1) translate(var(--dx), var(--dy));
    opacity: 0;
  }
}

.drink-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  color: white;
  border-color: #3498DB;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.drink-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.drink-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #e5e7eb;
  color: #9ca3af;
  border-color: #d1d5db;
}

/* 按钮图标 */
.drink-button i {
  font-size: 1.5rem;
}

/* 按钮点击时的水波纹效果 */
.drink-button-ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: drinkButtonRipple 0.6s linear;
}

@keyframes drinkButtonRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .drink-buttons-container {
    right: -120px;
  }
  .drink-button {
    width: 120px;
    height: 50px;
  }
}

@media (max-width: 1024px) {
  .drink-buttons-container {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
  }
  
  .drink-button {
    width: 100px;
    height: 45px;
    font-size: 0.9rem;
  }
  
  .drink-button i {
    font-size: 1.2rem;
  }
} 

/* 移除水杯SVG自身的背景色 */
#water-container svg {
  background-color: transparent !important;
}

.icon-black {
  color: #000 !important;
}

.seo-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.modal-container {
  max-width: 700px;
  padding: 2.5rem;
}

/* 现代黑白分享按钮样式 */
.share-btn-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

/* 社交平台圆形图标按钮 */
.share-icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f2f2f2;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.share-icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.share-icon-btn i {
  font-size: 20px;
  color: #333;
}

/* Twitter特定样式 */
.share-icon-btn.twitter:hover {
  background-color: #1DA1F2;
}
.share-icon-btn.twitter:hover i {
  color: white;
}

/* Facebook特定样式 */
.share-icon-btn.facebook:hover {
  background-color: #4267B2;
}
.share-icon-btn.facebook:hover i {
  color: white;
}

/* Instagram特定样式 */
.share-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.share-icon-btn.instagram:hover i {
  color: white;
}

/* 功能按钮样式(复制链接/保存图片) */
.action-share-btn {
  min-width: 140px;
  height: 44px;
  background-color: #fff;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.action-share-btn:hover {
  background-color: #f8f8f8;
  border-color: #ccc;
}

.action-share-btn i {
  font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 800px) {
  .modal-container {
    max-width: 98vw;
    padding: 1rem;
  }
  .share-icon-btn {
    width: 44px;
    height: 44px;
  }
  .action-share-btn {
    min-width: 120px;
    height: 40px;
    font-size: 13px;
  }
}