/* 全局样式 */
:root {
  --primary-color: #ff3366;
  --secondary-color: #7d3c98;
  --accent-color: #ff9500;
  --dark-color: #1a1a2e;
  --light-color: #f5f5f7;
  --text-color: #333333;
  --text-light: #777777;
  --border-color: #e0e0e0;
  --card-bg: #ffffff;
  --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.primary-btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

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

/* 头部样式 */
.site-header {
  background-color: var(--dark-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo a {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: white;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 25px;
}

.main-nav a {
  color: white;
  font-weight: 600;
  padding: 5px 0;
  position: relative;
}

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

.main-nav a:hover::after {
  width: 100%;
}

/* 英雄区域样式 */
.hero-section {
  padding: 80px 0;
  background: var(--gradient-bg);
  color: white;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
}

/* 最新爆料区域样式 */
.latest-news-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

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

.news-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

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

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.news-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.news-excerpt {
  color: var(--text-color);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* 娱乐圈爆料区域样式 */
.entertainment-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

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

.entertainment-card {
  padding: 20px;
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.entertainment-card:hover {
  transform: translateY(-10px);
}

.entertainment-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.entertainment-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.entertainment-card p {
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 明星八卦区域样式 */
.celebrity-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.celebrity-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

.celebrity-main {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.celebrity-main img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.celebrity-main h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.celebrity-main p {
  color: var(--text-color);
  margin-bottom: 15px;
}

.celebrity-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.celebrity-item {
  display: flex;
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.celebrity-item:hover {
  transform: translateY(-5px);
}

.celebrity-item img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.celebrity-item-content h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.celebrity-item-content p {
  font-size: 0.9rem;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 网红瓜区域样式 */
.internet-celebrity-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

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

.internet-celebrity-card {
  display: flex;
  flex-direction: column;
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.internet-celebrity-card:hover {
  transform: translateY(-10px);
}

.card-image {
  height: 180px;
  overflow: hidden;
}

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

.internet-celebrity-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-content p {
  color: var(--text-color);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* 热点事件区域样式 */
.hot-events-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.hot-events-timeline {
  position: relative;
}

.hot-events-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 120px;
  height: 100%;
  width: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.timeline-date {
  width: 120px;
  padding-right: 30px;
  text-align: right;
}

.timeline-date span {
  display: inline-block;
  padding: 8px 15px;
  background: var(--primary-color);
  color: white;
  border-radius: 20px;
  font-weight: 600;
}

.timeline-content {
  flex: 1;
  padding-left: 30px;
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-left: 30px;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: 118px;
  top: 15px;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: 50%;
  border: 4px solid var(--light-color);
  z-index: 1;
}

.timeline-content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-color);
}

/* 独家内幕区域样式 */
.exclusive-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

.exclusive-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.exclusive-article {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.exclusive-article:hover {
  transform: translateY(-10px);
}

.article-image {
  height: 100%;
  overflow: hidden;
}

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

.exclusive-article:hover .article-image img {
  transform: scale(1.1);
}

.article-content {
  padding: 30px;
}

.article-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.article-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

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

/* 实时热搜区域样式 */
.trending-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.trending-card {
  display: flex;
  align-items: center;
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.trending-card:hover {
  transform: translateY(-5px);
}

.trending-card.hot {
  border-left: 4px solid var(--primary-color);
}

.trending-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-right: 15px;
  min-width: 30px;
  text-align: center;
}

.trending-content {
  flex: 1;
}

.trending-content h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.trending-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

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

.trending-tags span {
  display: inline-block;
  padding: 3px 10px;
  background-color: rgba(255, 51, 102, 0.1);
  color: var(--primary-color);
  border-radius: 15px;
  font-size: 0.8rem;
}

.trending-card img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-left: 15px;
}

/* 页脚样式 */
.site-footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-about h3::after,
.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

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

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-section .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .celebrity-content {
    grid-template-columns: 1fr;
  }
  
  .exclusive-article {
    grid-template-columns: 1fr;
  }
  
  .article-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main-nav li {
    margin: 5px 10px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .hot-events-timeline::before {
    left: 20px;
  }
  
  .timeline-date {
    width: auto;
    text-align: left;
  }
  
  .timeline-content {
    margin-left: 15px;
  }
  
  .timeline-content::before {
    left: 18px;
  }
  
  .trending-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .trending-card img {
    width: 100%;
    height: 120px;
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
  
  .news-grid,
  .entertainment-grid,
  .internet-celebrity-grid,
  .trending-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}