/* ==========================================================================
   kendeji 肯德基机场官方落地页 - 文章知识库专用排版样式表 (article.css)
   极简无冗余 | 顶级阅读体验 | 完美适配移动端与暗黑主题
   ========================================================================== */

.article-page {
  padding: 40px 0 80px;
  position: relative;
  z-index: 2;
}

/* 面包屑导航 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-sub);
}

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

.breadcrumb-separator {
  color: #475569;
}

.breadcrumb-current {
  color: var(--text-muted);
}

/* 文章头部 */
.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 30px;
}

.article-header .article-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.35);
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.article-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 文章主体布局 (双栏 / 宽幅内容 + 侧边目录) */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  color: #E2E8F0;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* 正文标题与排版规范 */
.article-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 38px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.article-content h2::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #FF3366, #FFA800);
}

.article-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-top: 28px;
  margin-bottom: 14px;
}

.article-content p {
  margin-bottom: 20px;
  color: #CBD5E1;
}

.article-content strong {
  color: #FFFFFF;
  font-weight: 700;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 10px;
  color: #CBD5E1;
}

/* 高亮引言框与提示框 */
.callout {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 28px 0;
  border-left: 4px solid;
  background: rgba(255, 255, 255, 0.03);
}

.callout-info {
  border-left-color: #00F2FE;
  background: rgba(0, 242, 254, 0.06);
}

.callout-warning {
  border-left-color: #FFA800;
  background: rgba(255, 168, 0, 0.06);
}

.callout-tip {
  border-left-color: #22C55E;
  background: rgba(34, 197, 94, 0.06);
}

.callout-title {
  font-weight: 800;
  margin-bottom: 8px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 代码与命令行 */
.code-block {
  background: #0B0F19;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  color: #38BDF8;
  margin: 20px 0;
  overflow-x: auto;
  line-height: 1.5;
}

/* 文章内部推广卡片 (CTA) */
.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.12) 0%, rgba(255, 107, 53, 0.15) 100%);
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.article-cta-box p {
  color: var(--text-sub);
  max-width: 580px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
}

/* 侧边栏与快速目录 */
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.toc-card, .sidebar-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-item a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
}

.toc-item a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.sidebar-cta-card {
  text-align: center;
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.9) 0%, rgba(255, 51, 102, 0.08) 100%);
}

.sidebar-cta-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 8px;
}

.sidebar-cta-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* 相关文章卡片 */
.related-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.related-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 24px;
}

@media (max-width: 991px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    display: none;
  }
  .article-content {
    padding: 24px;
  }
  .article-title {
    font-size: 2rem;
  }
}


/* ===================================================================
   各种各样动态【肯の机】炸鸡腿漂浮背景 (原味鸡腿/香辣鸡腿/火箭鸡腿/赛博鸡腿/芝士鸡腿/墨镜鸡腿)
   纯 CSS3 硬件加速 | 零外部 JS 依赖 | 秒开流畅 60FPS
   =================================================================== */
.dynamic-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}

.orb-1 {
  top: -10%;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #ff1744 0%, rgba(255, 82, 82, 0) 70%);
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

.orb-2 {
  top: 30%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #ff9100 0%, rgba(255, 145, 0, 0) 70%);
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.orb-3 {
  bottom: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00e5ff 0%, rgba(0, 229, 255, 0) 70%);
  animation: floatOrb3 20s ease-in-out infinite alternate;
}

.cyber-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 60%, transparent 100%);
}

@keyframes floatOrb1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(80px, 60px, 0) scale(1.15); }
  100% { transform: translate3d(-40px, 90px, 0) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-100px, -70px, 0) scale(1.1); }
  100% { transform: translate3d(40px, -40px, 0) scale(0.9); }
}

@keyframes floatOrb3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(90px, -80px, 0) scale(1.12); }
  100% { transform: translate3d(-70px, 30px, 0) scale(0.92); }
}

.chicken-leg-item {
  position: absolute;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 12px rgba(255, 235, 59, 0.28));
  transition: opacity 0.3s ease;
}

.float-track-1 { animation: floatDrumstick1 16s ease-in-out infinite alternate; }
.float-track-2 { animation: floatDrumstick2 20s ease-in-out infinite alternate; }
.float-track-3 { animation: floatDrumstick3 24s ease-in-out infinite alternate; }
.float-track-4 { animation: floatDrumstick4 18s ease-in-out infinite alternate; }
.float-track-5 { animation: floatDrumstick5 22s ease-in-out infinite alternate; }
.float-track-6 { animation: floatDrumstick6 26s ease-in-out infinite alternate; }

@keyframes floatDrumstick1 {
  0% { transform: translate3d(0, 0, 0) rotate(6deg) scale(1); }
  50% { transform: translate3d(28px, -40px, 0) rotate(-10deg) scale(1.06); }
  100% { transform: translate3d(-22px, -80px, 0) rotate(14deg) scale(0.96); }
}

@keyframes floatDrumstick2 {
  0% { transform: translate3d(0, 0, 0) rotate(-12deg) scale(0.96); }
  50% { transform: translate3d(-32px, -50px, 0) rotate(10deg) scale(1.08); }
  100% { transform: translate3d(18px, -90px, 0) rotate(-6deg) scale(1); }
}

@keyframes floatDrumstick3 {
  0% { transform: translate3d(0, 0, 0) rotate(15deg) scale(1); }
  50% { transform: translate3d(35px, -35px, 0) rotate(-5deg) scale(1.05); }
  100% { transform: translate3d(-15px, -70px, 0) rotate(20deg) scale(0.95); }
}

@keyframes floatDrumstick4 {
  0% { transform: translate3d(0, 0, 0) rotate(-8deg) scale(1.04); }
  50% { transform: translate3d(-25px, 40px, 0) rotate(14deg) scale(0.96); }
  100% { transform: translate3d(28px, 80px, 0) rotate(-16deg) scale(1.05); }
}

@keyframes floatDrumstick5 {
  0% { transform: translate3d(0, 0, 0) rotate(5deg) scale(0.94); }
  50% { transform: translate3d(32px, -55px, 0) rotate(-16deg) scale(1.1); }
  100% { transform: translate3d(-28px, -95px, 0) rotate(10deg) scale(0.96); }
}

@keyframes floatDrumstick6 {
  0% { transform: translate3d(0, 0, 0) rotate(-20deg) scale(1); }
  50% { transform: translate3d(-20px, 45px, 0) rotate(6deg) scale(1.06); }
  100% { transform: translate3d(22px, 85px, 0) rotate(-10deg) scale(0.94); }
}
