/* 全站统一底部导航样式 */
.anime-footer {
    margin: 0 0 0.5rem 0;
    padding: 0.5rem;
    background: linear-gradient(45deg, #ff99cc,#FFB6C1, #FF69B4);
    border-top: 3px solid #ff6699;
    position: relative;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    border-radius: 17px; 
    min-height: 15vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin-left:29%;
    display: flex;
    align-items: center;
}

.footer-copyright{
        text-align: center;
        margin-top: 1px;
        color: #100f0f;
}
.footer-copyright a {
        text-decoration: none;
}
    
.footer-left{
        text-align: center;
        margin-top: -1px;
        color: #100f0f;
}
    
.footer-left p {
    width: 90px;
    color: white;
    margin: 0.1px solid red;
    background: #ff6699;
    border-radius: 17px;
        /* 新增：文字水平+垂直居中 */
    text-align: center !important;  /* 水平居中 */
    line-height: 22px !important;   /* 垂直居中（和p标签高度匹配） */
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: black;
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.footer-links a:hover {
    background-color: #ff6699;
    border-color: #ffffff;
    transform: translateY(-2px) scaleX(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 17px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff3366;
    transition: width 0.3s;
}

.footer-links a:hover::after {
    width: 100%;
}

/* 🔥 页脚移动端优化：填满屏幕，消除左右留白 */
@media (max-width: 768px) {
  .anime-footer {
    /* 关键：左右margin设为0，填满屏幕宽度 */
    margin: 0.5rem 0 !important;
    /* 左右padding缩小，避免内容贴边 */
    padding: 1rem 10px !important;
    /* 圆角适配手机，更柔和 */
    border-radius: 12px 12px 0 0 !important;
    /* 最小高度自适应，不浪费空间 */
    min-height: auto !important;
  }

  .footer-content {
    /* 宽度100%，居中对齐 */
    max-width: 100% !important;
    margin: 0 auto !important;
    /* 移动端改为垂直布局，避免挤在一起 */
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-left p {
    margin: 0 auto 8px !important;
  }

  .footer-right {
    /* 链接自动换行，适配小屏 */
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .footer-links a {
    font-size: 14px;
    padding: 0.3rem 0.5rem;
  }

  .footer-copyright {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
  }
}

/* ================= 响应式补充：平板 / 小屏手机 =================
   新增日期：2026-10-21
   说明：平板收窄 .footer-content 的左侧偏移，≤480px 再压缩字号与间距，PC 端不变
*/
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-content {
    margin-left: 8% !important;
  }
  .footer-right {
    gap: 1rem;
  }
  .footer-links a {
    font-size: 15px;
    padding: 0.4rem;
  }
}

@media (max-width: 480px) {
  .anime-footer {
    padding: 0.9rem 8px !important;
  }
  .footer-left p {
    width: 76px;
    font-size: 13px;
  }
  .footer-right {
    gap: 0.35rem;
  }
  .footer-links a {
    font-size: 13px;
    padding: 0.25rem 0.4rem;
  }
  .footer-copyright {
    font-size: 12px;
    line-height: 1.6;
    padding: 0 6px;
  }
}