* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: '楷体', 'KaiTi', 'STKaiti', 'Microsoft YaHei', serif;
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  color: #5c3a3a;
}

/* 淡色水墨纹理背景 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(221, 160, 221, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* 桃花飘落画布 */
#blossom-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.content-wrap {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* 头部标题 */
.header {
  text-align: center;
  margin-bottom: 70px;
  animation: fadeInDown 1s ease-out;
}

.title {
  font-size: 80px;
  font-weight: bold;
  background: linear-gradient(135deg, #e91e63, #ff6b9d, #9c27b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 15px;
  text-shadow: none;
  position: relative;
  display: inline-block;
}

.title::after {
  content: '情缘剑侠';
  position: absolute;
  left: 2px; top: 2px;
  background: rgba(233, 30, 99, 0.1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: -1;
  filter: blur(8px);
}

.subtitle {
  font-size: 22px;
  color: #c2185b;
  margin-top: 15px;
  letter-spacing: 8px;
  opacity: 0.9;
}

/* 主内容区 */
.main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

/* 图片容器 */
.img-container {
  position: relative;
  animation: float 3s ease-in-out infinite, fadeInLeft 1s ease-out 0.3s both;
}

.img-wrap {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #ff6b9d, #e91e63, #9c27b0, #ff6b9d) border-box;
  position: relative;
  box-shadow: 
    0 10px 40px rgba(233, 30, 99, 0.2),
    0 0 60px rgba(255, 107, 157, 0.15);
}

.img-wrap::before {
  content: '';
  position: absolute;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.3), rgba(156, 39, 176, 0.2));
  z-index: -1;
  animation: pulse 2.5s ease-in-out infinite;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.img-wrap:hover img {
  transform: scale(1.08);
}

/* 文字介绍区 */
.intro {
  max-width: 500px;
  animation: fadeInRight 1s ease-out 0.6s both;
}

.intro p {
  font-size: 18px;
  line-height: 2.2;
  color: #6d4c4c;
  margin-bottom: 20px;
  text-indent: 2em;
  text-shadow: none;
}

.intro p:first-letter {
  font-size: 28px;
  color: #e91e63;
  font-weight: bold;
}

/* 按钮组 */
.btn-group {
  margin-top: 40px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 40px;
  font-size: 18px;
  font-family: inherit;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-weight: bold;
}

.btn-primary {
  background: linear-gradient(135deg, #e91e63, #ff6b9d);
  color: white;
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
}

.btn-secondary {
  background: white;
  color: #e91e63;
  border: 2px solid #ff6b9d;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(233, 30, 99, 0.4);
}

.btn-secondary:hover {
  background: #fff5f8;
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.2);
}

/* 按钮流光效果 */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* 按钮水波纹 */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

.btn-secondary .ripple {
  background: rgba(233, 30, 99, 0.2);
}

/* 页脚 */
.footer {
  text-align: center;
  margin-top: 80px;
  color: #b08585;
  font-size: 14px;
  letter-spacing: 2px;
  animation: fadeIn 1s ease-out 1s both;
}

/* 弹窗提示 */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(255, 255, 255, 0.98);
  color: #e91e63;
  padding: 20px 50px;
  border-radius: 12px;
  font-size: 20px;
  letter-spacing: 3px;
  border: 2px solid #ff6b9d;
  box-shadow: 0 10px 40px rgba(233, 30, 99, 0.2);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* 动画定义 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 响应式适配 */
@media (max-width: 768px) {
  .title {
    font-size: 50px;
    letter-spacing: 8px;
  }
  .subtitle {
    font-size: 16px;
    letter-spacing: 4px;
  }
  .img-wrap {
    width: 250px;
    height: 250px;
  }
  .main-content {
    gap: 40px;
  }
  .intro p {
    font-size: 16px;
  }
  .btn-group {
    justify-content: center;
  }
  .btn {
    padding: 12px 30px;
    font-size: 16px;
  }
}