:root {
  --bg-base: #f7f8fa;
  --bg-white: #ffffff;
  --brand: #d92534;
  --brand-light: #fce8e9;
  --info-blue: #1a5ea8;
  --flight-yellow: #f5a623;
  --text-main: #1d1d1f;
  --text-sub: #5c5c60;
  --text-light: #8e8e93;
  --border: #e5e6eb;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* 机场拱顶背景装饰 */
.arch-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.6) 0%, transparent 60%),
                    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(0,0,0,0.02) 80px, rgba(0,0,0,0.02) 81px);
  z-index: -1;
  pointer-events: none;
}

/* 登机走道分隔线 */
.walkway-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
  color: var(--text-light);
}
.walkway-divider::before,
.walkway-divider::after {
  content: '';
  flex: 1;
  border-bottom: 2px dashed var(--border);
  margin: 0 16px;
}
.walkway-divider svg {
  width: 24px;
  height: 24px;
  fill: var(--text-light);
}

/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
  transition: all 0.3s ease;
}
.header.scrolled {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}
.brand-logo img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
  color: var(--text-sub);
}
.nav-links a:hover {
  color: var(--brand);
}
.nav-search {
  flex: 1;
  max-width: 200px;
  margin: 0 24px;
  position: relative;
}
.nav-search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
  outline: none;
  font-size: 14px;
}
.nav-search input:focus {
  border-color: var(--brand);
}
.nav-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--text-light);
}
.btn-download-nav {
  background: var(--brand);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-download-nav:hover {
  background: #b81e2b;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  padding: 8px;
  cursor: pointer;
}

/* 首屏 出发大厅 */
.hero {
  padding-top: 96px;
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f4f8 0%, var(--bg-base) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.hero-main-screen {
  background: #111;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-main-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--flight-yellow));
}
.flight-board {
  display: flex;
  gap: 24px;
  align-items: center;
}
.flight-board-cover {
  width: 140px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.flight-board-info {
  flex: 1;
}
.flight-board-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}
.flight-board-hook {
  color: #a0a0a0;
  font-size: 15px;
  margin-bottom: 16px;
}
.flight-board-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.tag-free {
  background: rgba(217, 37, 52, 0.2);
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.heat-val {
  color: var(--flight-yellow);
  font-weight: 700;
  font-family: monospace;
  font-size: 16px;
}

.hero-side-screens {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-screen-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.85);
  padding: 8px;
  border-radius: var(--radius-md);
  color: #fff;
  border: 1px solid #333;
}
.side-screen-item img {
  width: 48px;
  border-radius: 4px;
}
.side-screen-info {
  flex: 1;
  font-size: 13px;
}
.side-screen-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.side-screen-info span {
  color: var(--flight-yellow);
  font-size: 12px;
}

.hero-text-area {
  margin-top: 32px;
}
.hero-text-area h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 24px;
}
.hero-data-row {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}
.data-item {
  display: flex;
  flex-direction: column;
}
.data-value {
  font-family: monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--info-blue);
  letter-spacing: 1px;
}
.data-label {
  font-size: 13px;
  color: var(--text-light);
}
.hero-actions {
  display: flex;
  gap: 16px;
}
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 28px;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex: 1;
  box-shadow: 0 4px 16px rgba(217, 37, 52, 0.3);
  transition: transform 0.2s;
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 28px;
  background: var(--bg-white);
  color: var(--text-main);
  font-size: 18px;
  font-weight: 700;
  flex: 1;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.btn-secondary:active {
  transform: scale(0.98);
}

/* 区块通用 */
.section {
  padding: 64px 0;
}
.section-header {
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
}
.section-header p {
  font-size: 15px;
  color: var(--text-sub);
  margin-top: 8px;
}

/* 热播推荐 登机口屏墙 */
.gates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.gate-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.gate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}
.gate-card.is-hot {
  grid-column: span 2;
  grid-row: span 2;
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
  animation: breathing 2s infinite alternate;
}
@keyframes breathing {
  0% { box-shadow: 0 0 0 1px var(--brand), 0 0 10px rgba(217,37,52,0.1); }
  100% { box-shadow: 0 0 0 2px var(--brand), 0 0 20px rgba(217,37,52,0.3); }
}
.gate-card.is-hot img {
  width: 100%;
}
.gate-card:not(.is-hot) img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}
.gate-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 8px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gate-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}

/* 更新日历 */
.calendar-board {
  background: #1a1a1a;
  border-radius: var(--radius-md);
  padding: 24px;
  color: #fff;
}
.calendar-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #333;
}
.calendar-row:last-child {
  border-bottom: none;
}
.time-slot {
  font-family: monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--flight-yellow);
  min-width: 80px;
}
.calendar-row.current .time-slot {
  color: var(--brand);
}
.calendar-covers {
  display: flex;
  gap: 16px;
  flex: 1;
  overflow-x: auto;
}
.cal-cover-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 80px;
}
.cal-cover-item img {
  border-radius: 4px;
}
.cal-cover-item span {
  font-size: 11px;
  color: #ccc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-tag {
  font-size: 12px;
  color: var(--text-light);
  min-width: 120px;
  text-align: right;
}
.current .status-tag {
  color: var(--brand);
  font-weight: bold;
}

/* 排行榜 */
.rank-list {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.rank-item:last-child {
  border-bottom: none;
}
.rank-num {
  font-family: monospace;
  font-size: 20px;
  font-weight: bold;
  width: 32px;
  text-align: center;
  color: var(--text-light);
}
.rank-item.top1 {
  background: #fffaf0;
}
.rank-item.top1 .rank-num {
  color: var(--brand);
}
.rank-item img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
}
.rank-info {
  flex: 1;
}
.rank-info h3 {
  font-size: 16px;
  font-weight: 600;
}
.rank-info span {
  font-size: 13px;
  color: var(--text-light);
}
.rank-data {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 14px;
}
.rank-trend {
  font-size: 12px;
}
.trend-up { color: #d92534; }
.trend-down { color: #1a5ea8; }
.focus-tag {
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

/* 题材分类 */
.network-map {
  position: relative;
  height: 400px;
  background-image: 
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hub-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
}
.dest-node {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  transition: all 0.3s;
}
.dest-node:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.dest-node img {
  width: 24px;
  height: 32px;
  object-fit: cover;
  border-radius: 2px;
}
.dest-name {
  font-size: 13px;
  font-weight: 600;
}

/* 独播首发 */
.exclusive-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.exclusive-main {
  background: var(--bg-white);
  border: 2px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 24px;
}
.exclusive-cover {
  width: 140px;
  border-radius: var(--radius-sm);
}
.exclusive-info {
  flex: 1;
}
.exclusive-info h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.exclusive-info p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.countdown-box {
  background: #1a1a1a;
  color: var(--flight-yellow);
  font-family: monospace;
  font-size: 24px;
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
}
.btn-book {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: bold;
}
.exclusive-list {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
}
.exc-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.exc-list-item:last-child {
  border-bottom: none;
}
.exc-list-item img {
  width: 40px;
  height: 53px;
  object-fit: cover;
  border-radius: 4px;
}
.exc-list-item h4 {
  flex: 1;
  font-size: 15px;
}
.exc-list-item span {
  font-size: 12px;
  color: var(--text-light);
}

/* 免费专区 */
.free-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.free-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow 0.3s;
}
.free-card:hover {
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.15);
  border-color: var(--flight-yellow);
}
.free-card img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.free-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.free-card span {
  font-size: 12px;
  color: var(--text-light);
}
.free-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--flight-yellow);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}

/* 用户评价 */
.tag-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 24px;
  background: var(--bg-base);
}
.tag-item {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 16px;
  width: 220px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--border);
}
.tag-item:nth-child(odd) { transform: rotate(-2deg); }
.tag-item:nth-child(even) { transform: rotate(2deg); }
.tag-item:nth-child(3n) { border-top-color: var(--brand); }
.tag-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.tag-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.tag-name {
  font-weight: bold;
  font-size: 14px;
}
.stars {
  color: var(--flight-yellow);
  font-size: 12px;
}
.tag-content {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--text-light);
}
.faq-item.active .faq-q::after {
  content: '-';
}
.faq-a {
  display: none;
  padding: 0 16px 16px;
  font-size: 14px;
  color: var(--text-sub);
}
.faq-item.active .faq-a {
  display: block;
}

/* 下载安装 */
.download-section {
  background: var(--bg-white);
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.steps-row {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.step-card {
  flex: 1;
  background: var(--bg-base);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.step-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--info-blue);
}
.step-card p {
  font-size: 13px;
  color: var(--text-sub);
}
.download-btns-row {
  display: flex;
  gap: 24px;
}
.ticket-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}
.ticket-btn.ios {
  background: var(--info-blue);
}
.ticket-btn::before,
.ticket-btn::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--bg-white);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.ticket-btn::before { left: -10px; }
.ticket-btn::after { right: -10px; }

/* 页脚 */
.footer {
  background: #f0f0f0;
  padding: 32px 0;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-links a {
  color: var(--text-light);
}
.footer-links a:hover {
  color: var(--text-sub);
}

/* Mobile Floating Bar */
.mobile-float-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  padding: 8px 16px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  z-index: 999;
  gap: 12px;
}
.mobile-float-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border-radius: var(--radius-sm);
  font-weight: bold;
  color: #fff;
}
.mobile-float-bar .android-btn { background: var(--brand); }
.mobile-float-bar .ios-btn { background: var(--info-blue); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side-screens { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .side-screen-item { min-width: 160px; }
  .gates-grid { grid-template-columns: repeat(3, 1fr); }
  .gate-card.is-hot { grid-column: span 2; grid-row: span 2; }
  .free-grid { grid-template-columns: repeat(3, 1fr); }
  .network-map { display: none; }
  .network-mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-search { display: none; }
  .mobile-menu-toggle { display: block; }
  .gates-grid { grid-template-columns: repeat(2, 1fr); }
  .gate-card.is-hot { grid-column: span 2; grid-row: auto; }
  .exclusive-area { grid-template-columns: 1fr; }
  .free-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { flex-direction: column; }
  .download-btns-row { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .mobile-float-bar { display: flex; }
  body { padding-bottom: 60px; }
  .calendar-covers .cal-cover-item:nth-child(n+4) { display: none; }
  .tag-item { width: 100%; }
  .footer { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}