/* 今日大赛 原创主题CSS - tbdpamyi.cn */
:root {
  --primary-color: #ff4d6d;
  --primary-dark: #c9184a;
  --secondary-color: #0d1b3e;
  --accent-color: #ffb703;
  --text-dark: #2b2d42;
  --text-light: #8d99ae;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --white: #ffffff;
  --border-color: #edf2f4;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(13, 27, 62, 0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.oyr6a8c {
  padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--white); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-light { color: var(--text-light); }
.text-primary { color: var(--primary-color); }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.pb-5 { padding-bottom: 3rem; }
.pl-md-5 { padding-left: 3rem; }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: 20px; }
.shadow { box-shadow: var(--box-shadow); }

.highlight {
  color: var(--primary-color);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 77, 109, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* 栅格系统 */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-md-12, .col-12 {
  padding: 0 15px;
}

.col-12, .col-md-12 { width: 100%; }
.align-items-center { align-items: center; }
.flex-row-reverse { flex-direction: row-reverse; }

@media (min-width: 768px) {
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.667%; }
}

@media (max-width: 767px) {
  .col-sm-6 { width: 50%; }
  .pl-md-5 { padding-left: 15px; }
  .flex-row-reverse { flex-direction: column; }
}

/* 头部导航 */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-list a:hover::after, .nav-list a.active::after {
  width: 100%;
}

.header-search {
  position: relative;
}

.search-form {
  display: flex;
  background-color: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.search-input {
  border: none;
  background: transparent;
  padding: 10px 15px;
  width: 200px;
  outline: none;
}

.search-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0 15px;
  cursor: pointer;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

/* 面包屑 */
.yhwvi {
  background-color: var(--bg-light);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.zqgun {
  display: flex;
  font-size: 0.9rem;
  color: var(--text-light);
}

.zqgun .separator {
  margin: 0 10px;
}

/* 首页 Hero */
.cidcu887 {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a365d 100%);
  color: var(--white);
  padding: 100px 0;
  overflow: hidden;
}

.md73jd {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.195gb0 {
  width: 50%;
  padding-right: 40px;
}

.y724brzg {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.s4t6t {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.twsxpukl {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.twsxpukl .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.twsxpukl .btn-outline:hover {
  background-color: var(--white);
  color: var(--secondary-color);
}

.ki5yr {
  display: flex;
  gap: 40px;
}

.ir13i {
  display: flex;
  flex-direction: column;
}

.4l3bam {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
}

.r0ana0h {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.7eaq7 {
  width: 50%;
  position: relative;
}

.3xxoov {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: perspective(1000px) rotateY(-15deg);
  transition: var(--transition);
}

.3xxoov:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* 视频卡片网格 */
.nvsd3 {
  text-align: center;
  margin-bottom: 50px;
}

.byb1yyw {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.8ko4n {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.video-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(13, 27, 62, 0.15);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 5px;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.8);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.video-badge.hot { background: var(--primary-color); }
.video-badge.tutorial { background: var(--accent-color); color: var(--text-dark); }

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 10px;
  height: 3.1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.video-tags {
  display: flex;
  gap: 10px;
}

.tag {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* 娱乐专区 */
.sdshzr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.31nf4qlx {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  border-top: 4px solid var(--primary-color);
  transition: var(--transition);
}

.31nf4qlx:hover {
  transform: translateY(-10px);
}

.rbl9pqa6 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.4fopkz {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.r9v9zz {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* AI模块 */
.zb8efh {
  margin-top: 30px;
}

.zb8efh li {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.yhztn2x {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.4xf2gc h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.4xf2gc p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.0di1ukbw {
  position: relative;
  padding: 20px;
}

.0di1ukbw::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  background: var(--primary-color);
  border-radius: var(--border-radius);
  z-index: 0;
}

.n27rmdj {
  position: relative;
  z-index: 1;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* 社区模块 */
.009yqj {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.2xvyi9k8 {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.zhw24nol {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.2xvyi9k8:hover .zhw24nol img {
  transform: scale(1.1);
}

.drc8mn {
  padding: 25px;
}

.drc8mn h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.drc8mn p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* 专家模块 */
.yufe38u4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.c3bnh7r {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
}

.rj5xt2mv {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 5px solid var(--bg-light);
}

.wun9gk4 {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.ilsg8v3 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.4ohqlpn {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.2uihbluj {
  background: var(--bg-light);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.9ne5n5 {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* 合作伙伴 */
.3jumq {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.fqk75p {
  background: var(--bg-light);
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.acqd6 {
  padding-left: 20px;
}

.acqd6 li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.acqd6 strong {
  color: var(--secondary-color);
}

/* 评价模块 */
.nux393 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.ay3b5n {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.review-stars {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.sx26cyu {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.zgrahm {
  display: flex;
  align-items: center;
  gap: 15px;
}

.khvslllh {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.slkc8u strong {
  display: block;
  color: var(--secondary-color);
}

.slkc8u span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* FAQ */
.pjzkwl {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: var(--bg-light);
  padding: 20px;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--white);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* 内页样式 */
.bw811 {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a365d 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.30wzt6 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.bhnlq9 {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
}

.t7aqol {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 25px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 600;
}

.page-link.active, .page-link:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.page-link.next {
  width: auto;
  padding: 0 20px;
}

.page-dots {
  display: flex;
  align-items: flex-end;
  padding-bottom: 10px;
}

/* 社区内页 */
.topic-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topic-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary-color);
}

.topic-icon {
  font-size: 2.5rem;
}

.topic-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.topic-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.topic-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.sidebar-widget {
  background: var(--bg-light);
  padding: 25px;
  border-radius: var(--border-radius);
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  color: var(--secondary-color);
}

.live-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.live-list li {
  display: flex;
  gap: 15px;
  align-items: center;
}

.live-avatar {
  position: relative;
  width: 60px;
  height: 60px;
}

.live-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.live-badge {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.6rem;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: bold;
}

.live-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.live-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.live-viewers {
  font-size: 0.8rem;
  color: var(--primary-color);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.photo-grid img {
  border-radius: 8px;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Check list */
.2z4xxz {
  padding-left: 0;
}

.2z4xxz li {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--secondary-color);
}

/* 页脚 */
.footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 80px 0 0;
}

.fxu4q4pu {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.nvlss7k {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.zgr01s5e {
  color: var(--text-light);
  margin-bottom: 25px;
}

.8ifxmq {
  display: flex;
  gap: 10px;
}

.share-btn {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.share-btn:hover {
  background: var(--primary-color);
}

.aewwl8y {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--white);
}

.259uaf li {
  margin-bottom: 15px;
}

.259uaf a {
  color: var(--text-light);
}

.259uaf a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.0ol2k1z li {
  color: var(--text-light);
  margin-bottom: 15px;
}

.0ol2k1z strong {
  color: var(--white);
}

.pqizvu {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.vvw2vw8d {
  text-align: center;
}

.i9niv2 {
  border-radius: 8px;
  margin-bottom: 10px;
  background: var(--white);
  padding: 5px;
}

.vvw2vw8d span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
}

.lkrth {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 991px) {
  .md73jd {
    flex-direction: column;
  }
  
  .195gb0, .7eaq7 {
    width: 100%;
  }
  
  .195gb0 {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }
  
  .twsxpukl {
    justify-content: center;
  }
  
  .ki5yr {
    justify-content: center;
  }
  
  .fxu4q4pu {
    grid-template-columns: 1fr 1fr;
  }
  
  .009yqj {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .nav-menu, .header-search {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-menu.active {
    display: block;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .nav-list {
    flex-direction: column;
    gap: 15px;
  }
  
  .fxu4q4pu {
    grid-template-columns: 1fr;
  }
  
  .y724brzg {
    font-size: 2.5rem;
  }
  
  .lkrth {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}
