/* ============================================
   MX动漫 mxdm.net.cn 官网样式
   主题：暗夜红 · 硬核追番风
   ============================================ */

:root {
  --primary: #FF4D4F;
  --primary-deep: #E02424;
  --primary-soft: #FF8A8A;
  --primary-light: rgba(255, 77, 79, 0.14);
  --gradient: linear-gradient(135deg, #FF6B5E 0%, #E02424 100%);
  --bg: #0E0E14;
  --card: #17171F;
  --card-2: #1C1C26;
  --text: #F2F2F7;
  --text-sub: #9A9AA8;
  --border: rgba(255, 255, 255, 0.08);
  --success: #22C55E;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(224, 36, 36, 0.18);
  --shadow-lg: 0 20px 50px rgba(224, 36, 36, 0.28);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

.section {
  padding: 88px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-soft);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

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

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 22px rgba(224, 36, 36, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(224, 36, 36, 0.5);
}

.btn-ghost {
  background: var(--card);
  color: var(--primary-soft);
  border: 1.5px solid rgba(255, 77, 79, 0.45);
}

.btn-ghost:hover {
  background: var(--primary-light);
}

.btn-light {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 16px;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 14, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(224, 36, 36, 0.12);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  font-size: 15px;
  color: var(--text-sub);
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-download {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(224, 36, 36, 0.16) 0%, rgba(14, 14, 20, 0) 60%),
              radial-gradient(900px 420px at 0% 20%, rgba(255, 77, 79, 0.1) 0%, rgba(14, 14, 20, 0) 55%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 77, 79, 0.08) 0, transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(224, 36, 36, 0.07) 0, transparent 26%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-soft);
  background: var(--card);
  border: 1px solid rgba(255, 77, 79, 0.4);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 18px;
}

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

.hero-sub {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 22px;
}

.hot-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hot-tags-label {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 600;
}

.tag {
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-sub);
  transition: all 0.2s ease;
}

.tag:hover {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 280px;
  border-radius: 34px;
  padding: 12px;
  background: linear-gradient(160deg, #26262F 0%, #14141B 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.phone-frame img {
  border-radius: 24px;
  width: 100%;
  aspect-ratio: 315 / 560;
  object-fit: cover;
}

.phone-glow {
  position: absolute;
  inset: -6px;
  border-radius: 40px;
  background: var(--gradient);
  opacity: 0.16;
  filter: blur(18px);
  z-index: -1;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}

.float-card svg {
  color: var(--primary);
  flex-shrink: 0;
}

.float-card b {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: #fff;
}

.float-card span {
  font-size: 12px;
  color: var(--text-sub);
}

.fc-1 {
  top: 12%;
  left: -8%;
  animation-delay: 0s;
}

.fc-2 {
  bottom: 14%;
  right: -10%;
  animation-delay: 2.2s;
}

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

/* ===== 数据统计 ===== */
.stats {
  background: var(--gradient);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 20% 0%, rgba(255, 255, 255, 0.14) 0, transparent 60%);
}

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

.stat-item b {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
}

.stat-item span {
  font-size: 20px;
  font-weight: 700;
  margin-left: 2px;
}

.stat-item p {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}

/* ===== 核心功能 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 77, 79, 0.5);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}

.fi-1 { background: linear-gradient(135deg, #FF6B5E, #E02424); }
.fi-2 { background: linear-gradient(135deg, #FF8A8A, #FF4D4F); }
.fi-3 { background: linear-gradient(135deg, #FF5C5C, #E02424); }
.fi-4 { background: linear-gradient(135deg, #FF4D4F, #C81E1E); }
.fi-5 { background: linear-gradient(135deg, #FF7A5C, #E02424); }
.fi-6 { background: linear-gradient(135deg, #FF6B6B, #F43F3F); }

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

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

/* ===== 应用界面 ===== */
.screens {
  background: linear-gradient(180deg, var(--bg) 0%, #12121A 100%);
}

.screens-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

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

.screen-phone {
  border-radius: 24px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.screen-card:hover .screen-phone {
  transform: translateY(-6px) rotate(-0.5deg);
}

.screen-phone img {
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 315 / 560;
  object-fit: cover;
}

.screen-card figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}

/* ===== 动漫搜索实验室 ===== */
.search-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 980px;
  margin: 0 auto;
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.filter-row:last-of-type {
  border-bottom: none;
}

.filter-label {
  flex-shrink: 0;
  width: 44px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding-top: 6px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  font-size: 13.5px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  color: var(--text-sub);
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: rgba(255, 77, 79, 0.5);
  color: var(--primary-soft);
}

.chip.active {
  background: var(--gradient);
  color: #fff;
}

.search-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: 1px;
  padding: 18px 0 12px;
}

.search-result-head b {
  color: var(--primary-soft);
  font-size: 15px;
}

.result-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 14.5px;
  color: #E8E8F0;
  transition: all 0.2s ease;
}

.result-item:hover {
  border-color: rgba(255, 77, 79, 0.5);
  background: var(--primary-light);
  transform: translateX(4px);
}

.result-item .r-tags {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.result-item .r-tag {
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-soft);
}

.result-item.empty {
  justify-content: center;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.04);
}

/* ===== 榜单中心 ===== */
.rank-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.rank-tab {
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-sub);
  transition: all 0.2s ease;
}

.rank-tab.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

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

.rank-column {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.rank-column h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.rank-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-hot { background: #FF4D4F; box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.18); }
.dot-new { background: #FF8A5C; box-shadow: 0 0 0 4px rgba(255, 138, 92, 0.18); }
.dot-fin { background: #F59E0B; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); }

.rank-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.rank-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.rank-no {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 77, 79, 0.15);
  color: var(--primary-soft);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-item:nth-child(1) .rank-no {
  background: linear-gradient(135deg, #F59E0B, #F97316);
  color: #fff;
}

.rank-item:nth-child(2) .rank-no {
  background: linear-gradient(135deg, #FF8A8A, #FF4D4F);
  color: #fff;
}

.rank-item:nth-child(3) .rank-no {
  background: linear-gradient(135deg, #FF5C5C, #FF8A8A);
  color: #fff;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-info b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #E8E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-info span {
  font-size: 12px;
  color: var(--text-sub);
}

.rank-delta {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  flex-shrink: 0;
}

.rank-delta.down {
  color: var(--text-sub);
}

.rank-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  flex-shrink: 0;
}

/* ===== 更新日历 ===== */
.calendar {
  background: linear-gradient(180deg, #12121A 0%, var(--bg) 100%);
}

.calendar-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.cal-day {
  text-align: center;
  padding: 14px 6px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: all 0.2s ease;
  cursor: pointer;
}

.cal-day:hover {
  border-color: rgba(255, 77, 79, 0.5);
}

.cal-day .d-week {
  font-size: 12px;
  color: var(--text-sub);
}

.cal-day .d-date {
  font-size: 15px;
  font-weight: 700;
  margin-top: 2px;
}

.cal-day .d-count {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-soft);
}

.cal-day.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}

.cal-day.active .d-week,
.cal-day.active .d-count {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.2);
}

.calendar-detail {
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

.calendar-detail .cd-empty {
  text-align: center;
  color: var(--text-sub);
  font-size: 14px;
  padding: 18px 0;
}

.cd-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.cd-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.cd-item b {
  font-size: 14.5px;
  flex: 1;
  min-width: 0;
  color: #E8E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cd-item span {
  font-size: 12.5px;
  color: var(--text-sub);
  flex-shrink: 0;
}

.remind-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-soft);
  border: 1px solid rgba(255, 77, 79, 0.4);
  transition: all 0.2s ease;
}

.remind-btn.on {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

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

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

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-sub);
}

/* ===== 下载 CTA ===== */
.download-cta .cta-card {
  position: relative;
  text-align: center;
  background: var(--gradient);
  border-radius: 28px;
  padding: 64px 40px;
  color: #fff;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 15% 0%, rgba(255, 255, 255, 0.18) 0, transparent 55%),
              radial-gradient(600px 260px at 85% 100%, rgba(255, 255, 255, 0.12) 0, transparent 50%);
}

.cta-card > * {
  position: relative;
}

.cta-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 24px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.cta-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.cta-card h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-card p {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 15.5px;
  opacity: 0.94;
}

.cta-meta {
  margin-top: 18px;
  font-size: 13px;
  opacity: 0.85;
}

/* ===== 页脚 ===== */
.site-footer {
  background: #08080C;
  color: #B9B9C6;
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-block;
  vertical-align: middle;
  background: #000;
}

.footer-brand .brand-name {
  font-size: 20px;
  font-weight: 800;
  vertical-align: middle;
  margin-left: 4px;
  background: linear-gradient(135deg, #FF8A8A, #FF4D4F);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  max-width: 320px;
  line-height: 1.7;
  color: #8E8E9C;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col a,
.footer-static {
  display: block;
  font-size: 13.5px;
  color: #A0A0AE;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: #7E7E8C;
  text-align: center;
}

.footer-bottom .footer-disclaimer {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.85;
}

/* ===== 回到顶部 ===== */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 90;
}

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

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

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%) translateY(16px);
  background: #2A0D0D;
  color: #fff;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 40px;
  }

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

  .screens-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #12121A;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(224, 36, 36, 0.15);
    padding: 10px 24px 18px;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 13px 4px;
    font-size: 16px;
    color: #E8E8F0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-download {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hot-tags {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .fc-1 {
    left: 2%;
  }

  .fc-2 {
    right: 2%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .rank-grid {
    grid-template-columns: 1fr;
  }

  .result-list {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .section {
    padding: 60px 0;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .btn-lg {
    padding: 13px 24px;
    font-size: 15px;
  }

  .phone-frame {
    width: 230px;
  }

  .float-card {
    padding: 8px 12px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .screens-track {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .filter-row {
    flex-direction: column;
    gap: 8px;
  }

  .filter-label {
    width: auto;
    padding-top: 0;
  }

  .calendar-days {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .cal-day {
    padding: 10px 4px;
  }

  .cd-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .cta-card h2 {
    font-size: 26px;
  }

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

  .stats .stat-item b {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
