/* 
* 联盟合作页面专用样式表
* 此文件定义了联盟合作页面特有的样式和布局
*/

/* 联盟合作页面大标题区域样式 */
.affiliate-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 主标题样式 - 可修改字体大小和渐变颜色 */
.affiliate-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--blue-500), var(--purple-500), var(--pink-500)); /* 可修改渐变颜色 */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.affiliate-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 48rem;
  margin: 0 auto 2rem;
}

/* 申请按钮样式 - 可修改背景渐变和动画 */
.apply-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(to right, #f43f5e, #ec4899); /* 更改为红粉色渐变，更加显眼 */
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s;
  transform-origin: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
  animation: bounce 1.5s infinite; /* 添加跳动动画 */
  position: relative;
  z-index: 1;
}

.apply-btn:hover {
  background: linear-gradient(to right, #e11d48, #db2777); /* 更改为更深的红粉色渐变 */
  box-shadow: 0 6px 15px rgba(236, 72, 153, 0.5);
}

/* 按钮后面的光晕效果 */
.apply-btn::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(to right, #f43f5e, #ec4899);
  border-radius: 9999px;
  z-index: -1;
  opacity: 0.5;
  animation: pulse 2s infinite;
}

/* 跳动动画 - 更加明显的上下移动 */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 脉冲动画 - 为按钮添加光晕效果 */
@keyframes pulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

/* 心跳动画 - 可修改动画参数 */
.animate-heartbeat {
  animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
}

/* 优势展示区域样式 */
.benefits-section {
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, rgba(30, 58, 138, 0.5), black); /* 可修改渐变颜色 */
}

.benefits-container {
  max-width: 1152px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

/* 优势卡片样式 - 可修改背景颜色和阴影 */
.benefit-card {
  background-color: var(--gray-900);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.benefit-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.benefit-desc {
  color: var(--gray-400);
}

/* 颜色类 - 可根据需要修改颜色值 */
.text-green {
  color: var(--green-400);
}

.text-blue {
  color: var(--blue-400);
}

.text-indigo {
  color: #818cf8;
}

.text-pink {
  color: #f472b6;
}

.text-teal {
  color: #2dd4bf;
}

.text-orange {
  color: #fb923c;
}

.text-purple {
  color: var(--purple-400);
}

.text-yellow {
  color: #facc15;
}

.text-red {
  color: var(--red-400);
}

/* 合作伙伴区域样式 */
.partnership-section {
  padding: 5rem 1rem;
}

.partnership-container {
  max-width: 1152px;
  margin: 0 auto;
}

.partnership-subtitle {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray-300);
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

/* 合作伙伴卡片样式 - 可修改背景颜色和阴影 */
.partnership-card {
  background-color: var(--gray-900);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.partnership-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.partnership-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.partnership-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.partnership-desc {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.partnership-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.125rem;
  color: var(--gray-300);
}

/* 申请按钮区域样式 */
.apply-section {
  padding: 5rem 1rem;
  text-align: center;
}

.apply-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 48rem;
  margin: 0 auto 2rem;
}

/* 响应式布局 - 根据屏幕大小调整样式 */
@media (min-width: 640px) {
  .affiliate-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partnership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partnership-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

