/* ========================================
   影视演员百科网站 - 主样式表
   ======================================== */

/* 基础重置与变量 */
:root {
  --primary: #1a3a6b;
  --primary-light: #2d5aa0;
  --primary-dark: #0f2444;
  --accent: #d4a017;
  --accent-light: #f0c040;
  --accent-dark: #b8860b;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-light: #8a8aaa;
  --bg-main: #f5f6fa;
  --bg-white: #ffffff;
  --bg-dark: #0d1b2a;
  --bg-card: #ffffff;
  --border-color: #e2e6ef;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "思源黑体", "Noto Sans SC", "微软雅黑", "PingFang SC", sans-serif;
  --font-heading: "思源宋体", "Noto Serif SC", "宋体", serif;
  --max-width: 1280px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background: var(--bg-main);
  line-height: 1.8;
  overflow-x: hidden;
}

/* 干扰标签块 - 肉眼不可见 */
.jammer-block {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  z-index: -9999;
}

/* 链接样式 */
a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* 容器 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   导航栏
   ======================================== */
.site-header {
  background: var(--bg-white);
  border-bottom: 2px solid var(--accent);
  z-index: 1000;
  position: relative;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

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

.site-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav a {
  padding: 10px 18px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   面包屑导航
   ======================================== */
.breadcrumb-nav {
  background: var(--bg-white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb-list li::after {
  content: "›";
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a {
  color: var(--text-secondary);
}

.breadcrumb-list a:hover {
  color: var(--accent);
}

/* ========================================
   轮播区域
   ======================================== */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-dark);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}

.carousel-overlay h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 10px;
}

.carousel-overlay p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 600px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  right: 40px;
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ========================================
   搜索模块
   ======================================== */
.search-section {
  background: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.search-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.search-box h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.search-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.search-form input,
.search-form select {
  padding: 12px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: var(--transition);
  background: var(--bg-main);
}

.search-form input:focus,
.search-form select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.search-form input[type="text"] {
  flex: 1;
  min-width: 250px;
}

.search-form select {
  min-width: 150px;
}

.btn-search {
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-search:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   通用区块标题
   ======================================== */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 15px;
}

/* ========================================
   试镜/招聘公告区
   ======================================== */
.audition-section {
  padding: 60px 0;
  background: var(--bg-main);
}

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

.audition-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.audition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.audition-card .card-header {
  padding: 20px 24px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.audition-card .role-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.audition-card .urgency-tag {
  padding: 4px 10px;
  background: #e74c3c;
  color: #fff;
  border-radius: 4px;
  font-size: 0.75rem;
}

.audition-card .card-body {
  padding: 0 24px 20px;
}

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

.audition-card .meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.audition-card .meta-info span::before {
  margin-right: 4px;
}

.audition-card .description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.audition-card .card-footer {
  padding: 15px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-apply {
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-apply:hover {
  background: var(--accent);
}

/* ========================================
   明星演员推荐区
   ======================================== */
.actors-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.actors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.actor-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-color);
}

.actor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.actor-card .actor-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.actor-card .actor-info {
  padding: 18px;
}

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

.actor-card .actor-works {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.actor-card .actor-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.star-rating {
  color: var(--accent);
  font-size: 0.9rem;
}

.rating-score {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 1rem;
}

/* ========================================
   人才匹配入口
   ======================================== */
.talent-match-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}

.talent-match-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 15px;
}

.talent-match-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

.btn-match {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-match:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

/* ========================================
   行业资讯区
   ======================================== */
.news-section {
  padding: 60px 0;
  background: var(--bg-main);
}

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

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card .news-content {
  padding: 20px;
}

.news-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

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

.news-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   常见问题区
   ======================================== */
.faq-section {
  padding: 60px 0;
  background: var(--bg-white);
}

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

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

.faq-item:hover {
  border-color: var(--accent);
}

.faq-question {
  padding: 18px 24px;
  background: var(--bg-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-main);
}

.faq-question::after {
  content: "＋";
  font-size: 1.2rem;
  color: var(--accent);
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

/* ========================================
   页脚
   ======================================== */
.site-footer {
  background: var(--bg-dark);
  color: #ccc;
  padding: 50px 0 0;
}

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

.footer-col h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

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

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

.footer-col ul li a {
  color: #aaa;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #999;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}

.footer-bottom a {
  color: #999;
}

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

/* ========================================
   内页通用样式
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 50px 0;
}

/* 演员详情页 */
.actor-detail-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.actor-detail-photo {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.actor-detail-info h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.actor-detail-info .info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.actor-detail-info .info-table td {
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.actor-detail-info .info-table td:first-child {
  width: 120px;
  color: var(--text-light);
  font-weight: 600;
}

/* 作品列表 */
.works-list {
  margin: 30px 0;
}

.work-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  transition: var(--transition);
}

.work-item:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.work-type-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.tag-movie { background: #e74c3c; }
.tag-tv { background: #3498db; }
.tag-web { background: #2ecc71; }

/* 评论区 */
.comments-section {
  margin-top: 40px;
}

.comment-item {
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.comment-user {
  font-weight: 600;
  color: var(--primary);
}

.comment-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.comment-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 招聘详情页 */
.job-detail-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.job-detail-card h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--accent);
}

.job-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.job-info-item {
  padding: 15px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
}

.job-info-item .label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.job-info-item .value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* 人才匹配页 */
.match-form-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: var(--transition);
  background: var(--bg-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-main);
}

.upload-area:hover {
  border-color: var(--accent);
  background: rgba(212, 160, 23, 0.05);
}

.upload-area .upload-icon {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.upload-area p {
  color: var(--text-secondary);
}

/* 匹配结果 */
.match-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.match-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.match-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.match-score {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark);
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* 社区页 */
.forum-post {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.forum-post:hover {
  box-shadow: var(--shadow-md);
}

.forum-post .post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.forum-post .post-tag {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.tag-experience { background: #9b59b6; }
.tag-discussion { background: #3498db; }
.tag-recruitment { background: #e74c3c; }
.tag-review { background: #2ecc71; }

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

.forum-post .post-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  gap: 15px;
}

.forum-post .post-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.6;
}

/* 专栏文章 */
.article-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

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

.article-card .article-content {
  padding: 20px;
}

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

.article-card .article-author {
  font-size: 0.85rem;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   动画效果
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
  .actor-detail-header {
    grid-template-columns: 250px 1fr;
  }
  
  .article-card {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .mobile-menu-btn { display: flex; }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    border-bottom: 2px solid var(--accent);
    display: none;
    box-shadow: var(--shadow-md);
  }
  
  .main-nav.open { display: flex; }
  
  .main-nav a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
  }
  
  .carousel-slide img { height: 300px; }
  
  .carousel-overlay h2 { font-size: 1.4rem; }
  
  .audition-grid { grid-template-columns: 1fr; }
  
  .actors-grid { grid-template-columns: repeat(2, 1fr); }
  
  .news-grid { grid-template-columns: 1fr; }
  
  .actor-detail-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .actor-detail-photo {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .article-card {
    grid-template-columns: 1fr;
  }
  
  .article-card img {
    height: 200px;
  }
  
  .match-form-section { padding: 24px; }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  
  .actors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  
  .actor-card .actor-photo { height: 180px; }
  
  .search-form { flex-direction: column; }
  
  .search-form input[type="text"] { min-width: 100%; }
  
  .footer-grid { grid-template-columns: 1fr; }
  
  .page-hero h1 { font-size: 1.6rem; }
  
  .talent-match-section h2 { font-size: 1.5rem; }
}

/* ========================================
   隐私政策页面
   ======================================== */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary);
  margin: 30px 0 15px;
}

.policy-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* 加载动画 */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 统计数据展示 */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 30px 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
