/* 星亿娱乐 AI漫剧平台 - 响应式样式表 */

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background: #f5f5f5;
}

a {
  color: #2577b3;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #d4382c;
}

h1, h2, h3, h4 {
  color: #222;
  line-height: 1.5;
  margin-bottom: 12px;
}

h1 { font-size: 26px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }

p {
  margin-bottom: 16px;
  text-align: justify;
}

ul { list-style: none; }

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

/* 头部 */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #d4382c;
  letter-spacing: 2px;
}

.logo a:hover {
  color: #b22d22;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-size: 15px;
  color: #444;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.main-nav a:hover {
  color: #d4382c;
  border-bottom-color: #d4382c;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid #ddd;
  font-size: 22px;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 4px;
  color: #555;
}

/* 面包屑 */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 14px;
  color: #888;
}

.breadcrumb a {
  color: #666;
}

.breadcrumb a:hover {
  color: #d4382c;
}

/* 平台栏 */
.platform-bar {
  background: linear-gradient(135deg, #d4382c, #e85d4a);
  color: #fff;
  padding: 10px 0;
}

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

.platform-label {
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}

.platform-actions {
  display: flex;
  gap: 12px;
}

.platform-btn {
  display: inline-block;
  padding: 6px 18px;
  background: #fff;
  color: #d4382c;
  border: 2px solid #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s;
}

.platform-btn:hover {
  background: transparent;
  color: #fff;
}

.platform-btn-outline {
  display: inline-block;
  padding: 6px 18px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s;
}

.platform-btn-outline:hover {
  background: #fff;
  color: #d4382c;
}

/* 三列布局 */
.three-col-layout {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: 20px;
}

/* 左侧栏 */
.col-left {
  position: relative;
}

.sidebar-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.sidebar-section h2 {
  font-size: 17px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d4382c;
  margin-bottom: 14px;
}

.feature-list li,
.topic-list li,
.recommend-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.feature-list li:last-child,
.topic-list li:last-child,
.recommend-list li:last-child {
  border-bottom: none;
}

.feature-list a,
.topic-list a,
.recommend-list a {
  font-size: 14px;
  color: #555;
  display: block;
}

.feature-list a:hover,
.topic-list a:hover,
.recommend-list a:hover {
  color: #d4382c;
  padding-left: 4px;
}

/* 中间内容 */
.col-center {
  min-width: 0;
}

.hero-section {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.hero-section h1 {
  font-size: 24px;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
}

.main-content {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.main-content h2 {
  font-size: 20px;
  margin-top: 28px;
  padding-left: 12px;
  border-left: 4px solid #d4382c;
}

.main-content h2:first-child {
  margin-top: 0;
}

.main-content p {
  font-size: 15px;
  color: #444;
  line-height: 2;
  text-indent: 2em;
}

.cta-section {
  background: linear-gradient(135deg, #fff5f4, #fff);
  border: 2px solid #d4382c;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.cta-section h2 {
  color: #d4382c;
  border: none;
  padding: 0;
}

.cta-btn {
  display: inline-block;
  padding: 12px 36px;
  background: #d4382c;
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 12px;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #b22d22;
  color: #fff;
}

/* 右侧栏 */
.col-right {
  position: relative;
}

.faq-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 15px;
  color: #d4382c;
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
  text-indent: 0;
}

/* 页脚 */
.site-footer {
  background: #2a2a2a;
  color: #ccc;
  padding: 40px 0 0;
  margin-top: 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h2 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #444;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: #aaa;
  text-indent: 0;
}

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

.footer-col ul a {
  color: #aaa;
  font-size: 14px;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-col a[href^="mailto:"] {
  color: #f0c040;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #888;
}

/* 浮动面板 */
.floating-panel {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn-primary {
  display: block;
  padding: 18px 32px;
  background: linear-gradient(135deg, #c0392b, #96281b);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 6px 20px rgba(192,57,43,0.45);
  transition: all 0.3s;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 1px;
  cursor: pointer;
}

.floating-btn-primary:hover {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192,57,43,0.55);
  text-decoration: none;
}

.floating-btn-secondary {
  display: block;
  padding: 18px 32px;
  background: linear-gradient(135deg, #1a3a6b, #0d2240);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 6px 20px rgba(26,58,107,0.45);
  transition: all 0.3s;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 1px;
  cursor: pointer;
}

.floating-btn-secondary:hover {
  background: linear-gradient(135deg, #2c5aa0, #1a3a6b);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,58,107,0.55);
  text-decoration: none;
}

/* 响应式 - 平板 */
@media screen and (max-width: 1024px) {
  .three-col-layout {
    grid-template-columns: 200px 1fr;
  }

  .col-right {
    grid-column: 1 / -1;
  }

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

/* 响应式 - 手机 */
@media screen and (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    gap: 0;
  }

  .main-nav.nav-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu-btn {
    display: block;
  }

  .three-col-layout {
    grid-template-columns: 1fr;
  }

  .col-left {
    order: 2;
  }

  .col-center {
    order: 1;
  }

  .col-right {
    order: 3;
  }

  .hero-section h1 {
    font-size: 20px;
  }

  .main-content {
    padding: 20px;
  }

  .platform-bar-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .floating-panel {
    top: 70px;
    right: 8px;
  }

  .floating-btn-primary,
  .floating-btn-secondary {
    padding: 12px 18px;
    font-size: 14px;
  }

  h1 { font-size: 22px; }
  h2 { font-size: 19px; }
}

@media screen and (max-width: 480px) {
  .header-inner {
    height: 56px;
  }

  .logo a {
    font-size: 20px;
  }

  .hero-section {
    padding: 20px;
  }

  .main-content {
    padding: 16px;
  }

  .main-content p {
    font-size: 14px;
    text-indent: 2em;
  }

  .sidebar-section {
    padding: 16px;
  }

  .floating-panel {
    top: 65px;
    right: 6px;
  }

  .floating-btn-primary,
  .floating-btn-secondary {
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 8px;
  }
}
