/* 桃花影视论坛 - 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f7fa;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* 头部导航 */
.r3m8k5n9p {
  background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.t5n2k8m4p {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
}

.u9k3m7n2p {
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.u9k3m7n2p:hover {
  transform: scale(1.05);
}

.v2m5k9n7p {
  display: flex;
  gap: 25px;
  list-style: none;
}

.w7k4m2n8p a {
  color: #fff;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.w7k4m2n8p a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* 论坛横幅 */
.x4n9k2m5p {
  background: linear-gradient(135deg, #ffa8c5 0%, #ff6b9d 100%);
  padding: 50px 20px;
  text-align: center;
  color: #fff;
  animation: fadeIn 0.8s ease;
}

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

.y8k2m5n3p {
  max-width: 800px;
  margin: 0 auto;
}

.y8k2m5n3p h2 {
  font-size: 36px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  animation: bounceIn 1s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.y8k2m5n3p p {
  font-size: 16px;
  opacity: 0.95;
}

/* 主容器 */
.z5m7k3n9p {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 25px;
}

/* 主内容区 */
.a8n4k9m2p {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* 板块列表 */
.b3k7m9n4p {
  padding: 25px;
}

.c9m2k5n8p {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff6b9d;
  position: relative;
}

.c9m2k5n8p::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #c44569;
}

/* 板块项目 */
.d7k3m8n2p {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease backwards;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.d7k3m8n2p:nth-child(1) { animation-delay: 0.1s; }
.d7k3m8n2p:nth-child(2) { animation-delay: 0.2s; }
.d7k3m8n2p:nth-child(3) { animation-delay: 0.3s; }
.d7k3m8n2p:nth-child(4) { animation-delay: 0.4s; }
.d7k3m8n2p:nth-child(5) { animation-delay: 0.5s; }

.d7k3m8n2p:hover {
  background: #fef5f8;
  transform: translateX(5px);
}

.d7k3m8n2p:last-child {
  border-bottom: none;
}

.e5m9k2n7p {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-right: 20px;
  flex-shrink: 0;
}

.f2k8m5n9p {
  flex: 1;
}

.f2k8m5n9p h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
}

.f2k8m5n9p p {
  font-size: 13px;
  color: #999;
}

.g7k3m9n2p {
  text-align: right;
  color: #666;
  font-size: 13px;
}

.g7k3m9n2p strong {
  color: #ff6b9d;
  font-size: 16px;
  display: block;
  margin-bottom: 3px;
}

/* 帖子列表 */
.h9m2k5n8p {
  display: flex;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease backwards;
}

.h9m2k5n8p:hover {
  background: #fef5f8;
}

.i3k7m9n2p {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.i3k7m9n2p img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.j8m4k2n5p {
  flex: 1;
}

.j8m4k2n5p h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.j8m4k2n5p h3 a:hover {
  color: #ff6b9d;
}

.k5m9n3p7w {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #999;
}

.k5m9n3p7w span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 侧边栏 */
.l2k9m5n8p {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.m7k3n9p4w {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  animation: fadeIn 0.8s ease;
}

.m7k3n9p4w h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff6b9d;
}

/* 热门话题 */
.n4m8k2p9w {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.o9k3m5n7p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.o9k3m5n7p:hover {
  background: #fef5f8;
}

.p5k9m2n7w {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

.q8m3k5n9p {
  flex: 1;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.q8m3k5n9p:hover {
  color: #ff6b9d;
}

/* 在线用户 */
.r2k8m9n4p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.s7k3m5n9p {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ff6b9d;
  transition: transform 0.3s ease;
}

.s7k3m5n9p:hover {
  transform: scale(1.1);
}

.s7k3m5n9p img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 论坛统计 */
.t9k2m5n8p {
  background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.t9k2m5n8p .u4k7m9n2p {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 12px;
}

.t9k2m5n8p .v8m3k5n9p {
  text-align: center;
}

.t9k2m5n8p .v8m3k5n9p strong {
  display: block;
  font-size: 24px;
  margin-bottom: 5px;
}

.t9k2m5n8p .v8m3k5n9p span {
  font-size: 12px;
  opacity: 0.9;
}

/* 评论板块 */
.w3k9m7n2p {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  margin-top: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.x7k2m9n5p {
  margin-top: 20px;
}

.y4m8k3n9p {
  padding: 18px;
  border-bottom: 1px solid #eee;
  animation: fadeIn 0.5s ease backwards;
}

.y4m8k3n9p:nth-child(1) { animation-delay: 0.1s; }
.y4m8k3n9p:nth-child(2) { animation-delay: 0.2s; }
.y4m8k3n9p:nth-child(3) { animation-delay: 0.3s; }
.y4m8k3n9p:nth-child(4) { animation-delay: 0.4s; }

.y4m8k3n9p:last-child {
  border-bottom: none;
}

.z5k9m2n8p {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.a2m7k9n4p {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 12px;
  font-size: 16px;
}

.b8k3m5n9p {
  flex: 1;
}

.b8k3m5n9p strong {
  color: #333;
  font-size: 15px;
}

.c4m9k2n7p {
  color: #999;
  font-size: 12px;
  margin-left: 10px;
}

.d9k5m2n8p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-left: 54px;
}

/* 页脚 */
.e3k8m9n2p {
  background: #2c3e50;
  color: #fff;
  padding: 35px 20px 20px;
  margin-top: 50px;
}

.f7k2m9n5p {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.f7k2m9n5p p {
  margin: 8px 0;
  opacity: 0.85;
}

.g2k9m5n8p {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  opacity: 0.6;
}

/* 面包屑 */
.h8k3m9n2p {
  padding: 18px 0;
  font-size: 14px;
  color: #666;
}

.h8k3m9n2p a {
  color: #ff6b9d;
  margin: 0 5px;
}

.h8k3m9n2p a:hover {
  text-decoration: underline;
}

/* 返回顶部 */
.i5m9k2n7p {
  position: fixed;
  bottom: 50px;
  right: 50px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255,107,157,0.3);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
}

.i5m9k2n7p.j9k3m5n8p {
  opacity: 1;
}

.i5m9k2n7p:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255,107,157,0.4);
}

/* 帖子详情 */
.k2m7k9n4p {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.k2m7k9n4p h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.l8k3m2n9p {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #999;
  font-size: 13px;
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 2px solid #f0f0f0;
}

.m5k9n3p7w {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m5k9n3p7w img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.n9k2m5p8w {
  line-height: 1.8;
  font-size: 15px;
  color: #555;
}

.n9k2m5p8w p {
  margin-bottom: 18px;
}

.n9k2m5p8w img {
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.n9k2m5p8w h2 {
  font-size: 22px;
  color: #333;
  margin: 28px 0 15px;
}

/* 标签 */
.o4k7m9n2p {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, #ffa8c5 0%, #ff6b9d 100%);
  color: #fff;
  border-radius: 15px;
  font-size: 12px;
  margin-right: 8px;
}

/* 响应式 */
@media (max-width: 992px) {
  .z5m7k3n9p {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .v2m5k9n7p {
    gap: 15px;
  }

  .w7k4m2n8p a {
    font-size: 14px;
    padding: 6px 12px;
  }

  .z5m7k3n9p {
    padding: 0 15px;
  }

  .l2k9m5n8p {
    grid-template-columns: 1fr;
  }

  .i5m9k2n7p {
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
  }
}

/* 加载动画 */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.p7k2m9n5w {
  animation: pulse 1.5s ease-in-out infinite;
}
