/* =========================================================
   萝莉电影 - 影视网站全局样式
   设计语言：深色影视氛围 + 高亮渐变点缀，全站响应式
   ========================================================= */

/* ---------- 基础变量与重置 ---------- */
:root {
  --color-bg: #0e1117;
  --color-bg-soft: #161b26;
  --color-bg-card: #1c2333;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #f2f4f8;
  --color-text-muted: #9aa4b8;
  --color-primary: #ff4d6d;
  --color-primary-soft: #ff8fa3;
  --color-accent: #6c8cff;
  --color-gold: #ffc94d;
  --gradient-primary: linear-gradient(135deg, #ff4d6d 0%, #ff8fa3 60%, #6c8cff 100%);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 16px 44px rgba(255, 77, 109, 0.22);
  --font-base: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

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

/* ---------- 通用渐入动画 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(255, 77, 109, 0); }
}

.fade-in {
  animation: fadeInUp 0.7s ease both;
}

/* 滚动渐入（JS 驱动 .reveal） */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 顶栏（公告） ---------- */
.topbar {
  background: var(--gradient-primary);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 1px;
}

.topbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.topbar b {
  font-weight: 700;
}

/* ---------- 头部与导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 23, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.brand .logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  animation: pulseGlow 2.4s infinite;
}

.brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.main-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease, background 0.3s ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.main-nav a.active {
  color: #fff;
  background: var(--gradient-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero 区 ---------- */
.hero {
  position: relative;
  padding: 92px 0 84px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 77, 109, 0.22), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(108, 140, 255, 0.22), transparent 42%),
    var(--color-bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 40px;
  background: rgba(255, 77, 109, 0.14);
  border: 1px solid rgba(255, 77, 109, 0.4);
  color: var(--color-primary-soft);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 22px;
  animation: fadeInUp 0.7s ease both;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--color-text-muted);
  font-size: clamp(15px, 2.2vw, 18px);
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-card);
}

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

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-soft);
}

.hero-stats {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.4s ease both;
}

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

.stat-item strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---------- Section 通用 ---------- */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--color-bg-soft);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 40px;
}

.section-head .tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--color-primary-soft);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 15px;
}

/* ---------- 核心特性 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 77, 109, 0.45);
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 77, 109, 0.12);
  color: var(--color-primary-soft);
  font-size: 26px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ---------- 影视卡片 ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.media-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.media-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.media-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.media-card:hover .media-thumb img {
  transform: scale(1.07);
}

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 30px;
  letter-spacing: 1px;
}

.media-badge.hot {
  background: linear-gradient(135deg, #ffc94d, #ff7a3d);
}

.media-info {
  padding: 18px 18px 20px;
}

.media-info h3 {
  font-size: 17px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-meta {
  display: flex;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.media-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.media-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-soft);
}

.media-link:hover {
  color: var(--color-primary);
}

/* ---------- 服务介绍 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 30px;
  color: var(--color-text-muted);
}

/* ---------- 行动号召 ---------- */
.cta {
  position: relative;
  text-align: center;
  padding: 78px 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 77, 109, 0.28), transparent 46%),
    radial-gradient(circle at 70% 70%, rgba(108, 140, 255, 0.26), transparent 46%),
    var(--color-bg-soft);
}

.cta h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ---------- 新闻卡片 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.news-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.news-card:hover .news-thumb img {
  transform: scale(1.06);
}

.news-body {
  padding: 20px 20px 22px;
}

.news-date {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.news-body h3 {
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.news-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 常见问题 ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-q .icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-primary-soft);
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 22px 20px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0a0c12;
  border-top: 1px solid var(--color-border);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

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

.footer-col a {
  font-size: 14px;
  color: var(--color-text-muted);
}

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

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-bottom a {
  color: var(--color-text-muted);
}

/* ---------- 页面标题栏（内页） ---------- */
.page-hero {
  padding: 54px 0 40px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 77, 109, 0.18), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(108, 140, 255, 0.18), transparent 42%),
    var(--color-bg);
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 18px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--color-primary-soft);
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* ---------- 侧边栏布局 ---------- */
.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}

.sidebar .widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}

.sidebar .widget h3 {
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar .widget li {
  margin-bottom: 10px;
}

.sidebar .widget a {
  font-size: 14px;
  color: var(--color-text-muted);
}

.sidebar .widget a:hover {
  color: var(--color-primary-soft);
}

/* ---------- 表格 / 内容区 ---------- */
.content-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.content-card h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.content-card h3 {
  font-size: 20px;
  margin: 26px 0 12px;
}

.content-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.content-card ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.content-card ul li {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 6px;
}

/* ---------- 表单 ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.15);
}

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

.form-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ---------- 联系信息卡片 ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.contact-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}

.contact-card .icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  font-size: 14px;
}

.pagination a:hover,
.pagination a.current {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

/* ---------- 新闻详情 ---------- */
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: 13px;
  margin-bottom: 22px;
}

.article-lead {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 18px;
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 90;
  box-shadow: var(--shadow-card);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 响应式断点 ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .section {
    padding: 50px 0;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(14, 17, 23, 0.98);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.open {
    max-height: 420px;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .main-nav a {
    padding: 12px 14px;
  }
  .hero {
    padding: 64px 0 60px;
  }
  .hero-stats {
    gap: 24px;
  }
  .stat-item strong {
    font-size: 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .content-card {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    height: 60px;
  }
  .brand {
    font-size: 18px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ---------- 无障碍辅助 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
