@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=ZCOOL+KuaiLe&display=swap');

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

:root {
  --primary: #ff5722;
  --primary-dark: #e64a19;
  --accent: #ffeb3b;
  --accent-dark: #fbc02d;
  --bg: #fff8e1;
  --bg-card: #ffffff;
  --text: #424242;
  --text-light: #757575;
  --border: #ffcc80;
  --shadow: 0 4px 16px rgba(255, 87, 34, 0.12);
  --shadow-hover: 0 8px 32px rgba(255, 87, 34, 0.25);
  --radius: 16px;
  --font-main: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fun: 'ZCOOL KuaiLe', cursive;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

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

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

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

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-fun);
  font-size: 1.8rem;
  color: #fff;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.logo-text {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-block;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8a65 50%, var(--accent) 100%);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '🍿🎬📰🔥⭐🎭🍜✈️🏀💻';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  opacity: 0.3;
  letter-spacing: 30px;
  white-space: nowrap;
}

.hero h1 {
  font-family: var(--font-fun);
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
  margin-bottom: 12px;
  letter-spacing: 3px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.95);
  max-width: 600px;
  margin: 0 auto;
}

.hero-emoji {
  font-size: 3rem;
  display: block;
  margin: 16px 0;
  animation: wiggle 1.5s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

/* Section */
.section { padding: 48px 0; }
.section:nth-child(even) { background: #fff; }

.section-title {
  font-family: var(--font-fun);
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '🍉';
  font-size: 1.8rem;
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* Grid Cards */
.grid {
  display: grid;
  gap: 24px;
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border-top: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at top right, var(--accent) 0%, transparent 70%);
  opacity: 0.4;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
}

.card .card-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.card .card-badge.hot { background: #e53935; }
.card .card-badge.new { background: #43a047; }
.card .card-badge.exclusive { background: #8e24aa; }

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.5;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light);
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.card-meta .heat {
  color: var(--primary);
  font-weight: 600;
}

.card-meta .time { font-size: 0.8rem; }

.card-emoji {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

/* News Stream */
.news-stream {
  display: grid;
  gap: 16px;
}

.news-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border-left: 4px solid var(--primary);
}

.news-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.news-thumb {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.news-content { flex: 1; }

.news-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.news-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.news-meta .tag {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 500;
}

/* Hot List */
.hot-list { list-style: none; }

.hot-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
  cursor: pointer;
}

.hot-list li:hover {
  background: linear-gradient(90deg, var(--accent) 0%, #fff8e1 100%);
  transform: scale(1.01);
}

.hot-rank {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.hot-rank.top1 { background: #e53935; }
.hot-rank.top2 { background: #fb8c00; }
.hot-rank.top3 { background: #fdd835; color: #5d4037; }
.hot-rank.normal { background: #bdbdbd; color: #fff; }

.hot-title { flex: 1; font-size: 1rem; }
.hot-trend { font-size: 1.2rem; }
.trend-up { color: #e53935; }
.trend-down { color: #43a047; }
.trend-flat { color: #757575; }
.hot-heat { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  cursor: pointer;
  border-bottom: 4px solid transparent;
}

.category-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-hover);
}

.category-card .cat-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--text);
}

.category-card p {
  color: var(--text-light);
  font-size: 0.88rem;
}

.cat-明星 { border-bottom-color: #e91e63; }
.cat-影视 { border-bottom-color: #9c27b0; }
.cat-综艺 { border-bottom-color: #ff9800; }
.cat-时尚 { border-bottom-color: #e91e63; }
.cat-美食 { border-bottom-color: #f44336; }
.cat-旅行 { border-bottom-color: #03a9f4; }
.cat-体育 { border-bottom-color: #4caf50; }
.cat-科技 { border-bottom-color: #2196f3; }

/* Feature Articles */
.article {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  transition: all 0.3s;
}

.article:hover { box-shadow: var(--shadow-hover); }

.article-cover {
  height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.article-body { padding: 30px; }

.article-body .meta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.article-body h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.article-body p {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

.read-more {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s;
}

.read-more:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: scale(1.05);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card .contact-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

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

.contact-card p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.contact-card .contact-info {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.social-matrix {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

/* About */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.about-hero h1 {
  font-family: var(--font-fun);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.about-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.about-section h2 {
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.team-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 2px solid var(--accent);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-size: 0.9rem; margin-bottom: 8px; }
.team-card p { color: var(--text-light); font-size: 0.88rem; }

/* Footer */
.site-footer {
  background: #424242;
  color: #e0e0e0;
  padding: 48px 0 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #616161;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

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

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: #bdbdbd;
  transition: all 0.3s;
}

.footer-col a:hover { color: var(--accent); }

.footer-col p {
  color: #9e9e9e;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  color: #9e9e9e;
  font-size: 0.85rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-fun);
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination a,
.pagination span {
  padding: 8px 16px;
  border-radius: 20px;
  background: #fff;
  color: var(--primary);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.pagination a:hover,
.pagination .active {
  background: var(--primary);
  color: #fff;
}

/* Responsive */
@media (max-width: 968px) {
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    margin-top: 12px;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .main-nav a {
    display: block;
    text-align: center;
    padding: 10px 16px;
  }
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; }
  .news-thumb { width: 100%; height: 180px; }
  .hero h1 { font-size: 1.6rem; }
  .logo { font-size: 1.3rem; }
  .logo-text { display: none; }
  .section-title { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Decorative Elements */
.decorative-float {
  position: absolute;
  font-size: 2rem;
  opacity: 0.2;
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.tooltip-hot {
  position: relative;
}

.tooltip-hot::before {
  content: '🔥 HOT';
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e53935;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
}

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

.pulse { animation: pulse 2s infinite; }