/* 麻豆 MADOU FILMS 官方网站样式 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: #000000;
  color: #DDDDDD;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: #F7F7F7;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #FFFFFF;
}

a:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

/* 顶部信息栏 */
.top-bar {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: #A5A5A5;
  height: 36px;
  display: flex;
  align-items: center;
}

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

.top-bar-left {
  flex-shrink: 0;
}

.top-bar-center {
  display: flex;
  gap: 24px;
}

.top-bar-center a {
  color: #A5A5A5;
}

.top-bar-center a:hover {
  color: #FFFFFF;
}

.top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-right a,
.top-bar-right button {
  color: #A5A5A5;
  font-size: 0.8125rem;
}

.top-bar-right a:hover,
.top-bar-right button:hover {
  color: #FFFFFF;
}

.top-bar-mobile {
  display: none;
}

/* 品牌导航 */
.brand-nav {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
}

.brand-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 44px;
  color: #F7F7F7;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 0.875rem;
  transition: background 0.2s, border-color 0.2s;
}

.nav-menu-btn:hover {
  background: #1A1A1A;
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-menu-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.current-channel {
  font-size: 0.875rem;
  color: #A5A5A5;
  display: none;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  padding: 0 20px;
}

.brand-logo img {
  max-height: 36px;
  width: auto;
}

.brand-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  line-height: 1.2;
}

.brand-logo-sub {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: #C7C7C7;
  margin-top: 2px;
}

.brand-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
}

.btn-primary:hover {
  background: #EDEDED;
  color: #000000;
}

.btn-secondary {
  background: transparent;
  color: #F7F7F7;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

/* 影视频道导航 */
.channel-nav {
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.channel-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 48px;
  position: relative;
}

.channel-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.channel-list::-webkit-scrollbar {
  display: none;
}

.channel-list a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  font-size: 0.875rem;
  color: #A5A5A5;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}

.channel-list a:hover {
  color: #FFFFFF;
}

.channel-list a.active {
  color: #FFFFFF;
  font-weight: 500;
}

.channel-list a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #FFFFFF;
}

.channel-more {
  position: relative;
  flex-shrink: 0;
  margin-left: 8px;
}

.channel-more-btn {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  font-size: 0.875rem;
  color: #A5A5A5;
  min-height: 44px;
}

.channel-more-btn:hover {
  color: #FFFFFF;
}

.more-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  min-width: 180px;
  padding: 8px 0;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
  display: none;
  z-index: 1100;
}

.more-menu.open {
  display: block;
}

.more-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.875rem;
  color: #DDDDDD;
}

.more-menu a:hover {
  background: #1A1A1A;
  color: #FFFFFF;
}

/* 遮罩 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.overlay.active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

/* 全站栏目面板 */
.side-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  max-width: 90vw;
  height: 100%;
  background: #0B0B0B;
  z-index: 2100;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.side-panel.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.side-panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-panel-brand img {
  height: 28px;
  width: auto;
}

.side-panel-brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFFFFF;
}

.side-panel-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A5A5A5;
  border-radius: 4px;
}

.side-panel-close:hover {
  color: #FFFFFF;
  background: #1A1A1A;
}

.side-panel-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.side-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  -webkit-overflow-scrolling: touch;
}

.panel-group {
  margin-bottom: 32px;
}

.panel-group-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #727272;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-item {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-item:last-child {
  border-bottom: none;
}

.panel-item-name {
  font-size: 1rem;
  font-weight: 500;
  color: #F7F7F7;
  margin-bottom: 4px;
}

.panel-item-desc {
  font-size: 0.8125rem;
  color: #A5A5A5;
  line-height: 1.5;
}

.panel-item:hover .panel-item-name {
  color: #FFFFFF;
}

/* 搜索面板 */
.search-panel {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-panel.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.search-panel-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px;
}

.search-panel-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A5A5A5;
}

.search-panel-close:hover {
  color: #FFFFFF;
}

.search-panel-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.search-panel-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  width: 100%;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 40px;
}

.search-input {
  width: 100%;
  height: 56px;
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0 20px;
  font-size: 1.125rem;
  color: #FFFFFF;
  outline: none;
}

.search-input::placeholder {
  color: #727272;
}

.search-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.search-section {
  margin-bottom: 36px;
}

.search-section-title {
  font-size: 0.8125rem;
  color: #727272;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

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

.search-tag {
  display: inline-flex;
  padding: 8px 16px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-size: 0.875rem;
  color: #DDDDDD;
  transition: background 0.2s, border-color 0.2s;
}

.search-tag:hover {
  background: #1A1A1A;
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.search-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.search-links a {
  padding: 12px 14px;
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.875rem;
  color: #DDDDDD;
  text-align: center;
}

.search-links a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

/* 主内容区 */
main {
  min-height: 60vh;
}

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

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F7F7F7;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: #A5A5A5;
  margin-bottom: 32px;
  max-width: 640px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-link {
  font-size: 0.875rem;
  color: #C7C7C7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
}

.section-link:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #121212;
}

.card-image {
  aspect-ratio: 16 / 9;
  background: #121212;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #121212 0%, #1A1A1A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2A2A2A;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.card-body {
  padding: 18px 20px 22px;
}

.card-tag {
  font-size: 0.75rem;
  color: #727272;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #F7F7F7;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.875rem;
  color: #A5A5A5;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: #727272;
}

/* 主视觉 */
.hero {
  background: #050505;
  padding: 48px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-visual {
  aspect-ratio: 16 / 10;
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.9);
}

.hero-visual-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0B0B0B 0%, #1A1A1A 50%, #121212 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-placeholder span {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.08);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.hero-desc {
  font-size: 1rem;
  color: #A5A5A5;
  line-height: 1.75;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-news {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-news-item {
  display: block;
}

.hero-news-item:hover .hero-news-name {
  color: #FFFFFF;
}

.hero-news-name {
  font-size: 0.8125rem;
  color: #C7C7C7;
  margin-bottom: 2px;
}

.hero-news-text {
  font-size: 0.875rem;
  color: #A5A5A5;
  line-height: 1.5;
}

/* 页面通用头部 */
.page-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.page-header .container {
  max-width: 1320px;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.page-desc {
  font-size: 1rem;
  color: #A5A5A5;
  max-width: 680px;
  line-height: 1.7;
}

/* 内容块 */
.content-block {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-block:last-child {
  border-bottom: none;
}

.block-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #F7F7F7;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.block-text {
  font-size: 0.9375rem;
  color: #DDDDDD;
  line-height: 1.8;
  margin-bottom: 16px;
}

.block-text:last-child {
  margin-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  padding: 16px 18px;
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.info-item-label {
  font-size: 0.75rem;
  color: #727272;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.info-item-value {
  font-size: 0.9375rem;
  color: #DDDDDD;
  line-height: 1.6;
}

/* 提示框 */
.notice-box {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.875rem;
  color: #A5A5A5;
  line-height: 1.7;
}

.notice-box strong {
  color: #C7C7C7;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #F7F7F7;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: #A5A5A5;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: #A5A5A5;
  line-height: 1.7;
}

/* 页脚 */
.site-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 56px 0 32px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand-logo img {
  height: 28px;
}

.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFFFFF;
}

.footer-brand-sub {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: #C7C7C7;
}

.footer-brand-desc {
  font-size: 0.8125rem;
  color: #A5A5A5;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F7F7F7;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: #A5A5A5;
  padding: 5px 0;
}

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

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

.footer-notice {
  font-size: 0.8125rem;
  color: #727272;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 900px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #727272;
}

/* 手机底部导航 */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1500;
}

.mobile-bottom-nav-inner {
  display: flex;
  height: 56px;
  max-width: 100%;
}

.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.6875rem;
  color: #A5A5A5;
  min-height: 48px;
}

.mobile-bottom-nav a.active {
  color: #FFFFFF;
}

.mobile-bottom-nav a svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* 正文间距补偿手机底部导航 */
body.has-mobile-nav {
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

/* 响应式 */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-center,
  .top-bar-left,
  .top-bar-right {
    display: none;
  }
  .top-bar-mobile {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .top-bar-mobile .brand-short {
    font-size: 0.8125rem;
    color: #A5A5A5;
  }
  .top-bar-mobile a,
  .top-bar-mobile button {
    color: #A5A5A5;
    font-size: 0.8125rem;
    min-height: 36px;
    display: flex;
    align-items: center;
    padding: 0 8px;
  }
  .brand-nav-left .current-channel {
    display: none;
  }
  .brand-nav-right .btn-secondary {
    display: none;
  }
  .channel-nav-inner {
    padding: 0 12px;
  }
  .channel-list a {
    padding: 0 12px;
  }
  .section {
    padding: 40px 0;
  }
  .container {
    padding: 0 14px;
  }
  .card-grid,
  .card-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .page-title {
    font-size: 1.5rem;
  }
  .hero {
    padding: 32px 0 40px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .side-panel {
    width: 90vw;
  }
  .brand-logo-text {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .section-title {
    font-size: 1.25rem;
  }
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 工具类 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}

.mb-24 {
  margin-bottom: 24px;
}
