/* ==========================================================================
   英雄联盟传奇编年史 · Faker 专题站
   视觉风格：Hextech 海克斯科技红金暗黑电竞风 (HTML5 + CSS3)
   ========================================================================== */

/* 全局变量定义 */
:root {
  --bg-main: #060910;
  --bg-card: #0e1526;
  --bg-card-hover: #141f36;
  --bg-overlay: rgba(6, 9, 16, 0.85);
  
  --gold-primary: #c89b3c;
  --gold-light: #f0e6d2;
  --gold-dark: #785a28;
  --gold-gradient: linear-gradient(135deg, #f0e6d2 0%, #c89b3c 50%, #785a28 100%);
  --gold-glow: 0 0 15px rgba(200, 155, 60, 0.35);

  --hextech-blue: #0ac8b9;
  --t1-red: #e84057;
  --text-main: #e6e6e6;
  --text-muted: #9ba4b5;
  --text-dark: #1e2328;
  
  --border-gold: 1px solid rgba(200, 155, 60, 0.4);
  --border-light: 1px solid rgba(255, 255, 255, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(10, 200, 185, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(232, 64, 87, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: bold;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #05080f;
  box-shadow: var(--gold-glow);
}

.btn-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(200, 155, 60, 0.6);
}

.btn-outline {
  background: rgba(14, 21, 38, 0.8);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: var(--gold-primary);
  color: #05080f;
  transform: translateY(-2px);
}

/* 通用容器与标题 */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.title-decor {
  color: var(--gold-primary);
  font-size: 18px;
  vertical-align: middle;
}

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

/* ==========================================================================
   1. 顶部导航栏 (Header)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 9, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 155, 60, 0.2);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(6, 9, 16, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 24px;
  color: var(--gold-primary);
  text-shadow: var(--gold-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold-light);
}

.logo-sub {
  font-size: 11px;
  color: var(--gold-primary);
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  background: rgba(200, 155, 60, 0.15);
  border-bottom: 2px solid var(--gold-primary);
}

.header-extra {
  display: flex;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--hextech-blue);
  background: rgba(10, 200, 185, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(10, 200, 185, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--hextech-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--hextech-blue);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================================================================
   2. 轮播图 Hero (Carousel)
   ========================================================================== */
.carousel-section {
  padding-top: 65px;
}

.carousel {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 1s ease;
  transform: scale(1.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 16, 0.4) 0%, rgba(6, 9, 16, 0.85) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.slide-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-primary);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid var(--gold-primary);
  margin-bottom: 16px;
}

.slide-title {
  font-size: 46px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  margin-bottom: 14px;
}

.slide-desc {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 24px;
  line-height: 1.6;
}

.slide-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(14, 21, 38, 0.6);
  border: 1px solid rgba(200, 155, 60, 0.4);
  color: var(--gold-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--gold-primary);
  color: #05080f;
  box-shadow: var(--gold-glow);
}

.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--gold-primary);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gold-primary);
  width: 28px;
  border-radius: 6px;
  box-shadow: var(--gold-glow);
}

/* ==========================================================================
   3. 模块一：LOL 编年史双侧时间线 (Timeline)
   ========================================================================== */
.history-section {
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-primary) 0%, rgba(200, 155, 60, 0.1) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 32px;
  width: 16px;
  height: 16px;
  background: var(--bg-main);
  border: 3px solid var(--gold-primary);
  border-radius: 50%;
  z-index: 5;
  box-shadow: var(--gold-glow);
  transition: var(--transition);
}

.timeline-item.left .timeline-dot {
  right: -8px;
}

.timeline-item.right .timeline-dot {
  left: -8px;
}

.timeline-item:hover .timeline-dot {
  background: var(--gold-primary);
  transform: scale(1.3);
}

.timeline-card {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), var(--gold-glow);
}

.timeline-card.highlight-card {
  border: 1px solid var(--gold-primary);
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.1) 0%, rgba(14, 21, 38, 0.95) 100%);
}

.timeline-year {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 6px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.timeline-item.left .timeline-year {
  justify-content: flex-end;
}

.hover-hint {
  font-size: 11px;
  font-weight: normal;
  color: var(--gold-light);
  opacity: 0.65;
  background: rgba(200, 155, 60, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px dashed rgba(200, 155, 60, 0.4);
  transition: var(--transition);
}

.timeline-card:hover .hover-hint {
  opacity: 1;
  background: var(--gold-primary);
  color: #000;
  font-weight: bold;
}

/* 侧边浮动图片画框 (悬停时在卡片对侧空白处弹出) */
.timeline-float-preview {
  position: absolute;
  top: 50%;
  width: 330px;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-item.left .timeline-float-preview {
  left: calc(100% + 35px);
  transform: translateY(-50%) translateX(30px) scale(0.92);
}

.timeline-item.right .timeline-float-preview {
  right: calc(100% + 35px);
  transform: translateY(-50%) translateX(-30px) scale(0.92);
}

.timeline-item:hover .timeline-float-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}

.preview-frame {
  background: #0b1120;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 22px rgba(200, 155, 60, 0.45);
}

.preview-frame img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}

.preview-caption {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(6, 9, 16, 0.95);
  border-top: 1px solid rgba(200, 155, 60, 0.3);
  text-align: center;
  letter-spacing: 0.5px;
}

.timeline-heading {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.timeline-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.timeline-tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.timeline-tag.gold {
  background: rgba(200, 155, 60, 0.2);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
}

/* ==========================================================================
   4. 模块二：选手档案 (Profile)
   ========================================================================== */
.profile-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: start;
}

.profile-card {
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.profile-image-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.profile-tag-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--t1-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  letter-spacing: 1px;
}

.profile-name-area h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
}

.profile-name-area .alias {
  font-size: 13px;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: var(--border-light);
  padding-top: 20px;
}

.stat-mini-item .num {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--gold-light);
}

.stat-mini-item .label {
  font-size: 12px;
  color: var(--text-muted);
}

.profile-details {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: var(--border-light);
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-key {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-val {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}

.info-val.highlight-gold {
  color: var(--gold-primary);
}

/* 技能条 */
.ability-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bars-title {
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(200, 155, 60, 0.5);
  transition: width 1.5s ease;
}

/* ==========================================================================
   5. 模块三：招牌英雄殿堂 (Champions)
   ========================================================================== */
.champions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.champ-card {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.champ-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

.champ-img-box {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.champ-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.champ-card:hover .champ-bg {
  transform: scale(1.08);
}

.champ-avatar {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.champ-info {
  padding: 20px;
}

.champ-info h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 4px;
}

.champ-role {
  display: inline-block;
  font-size: 12px;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.champ-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   6. 模块四：荣誉殿堂 (Trophy Room)
   ========================================================================== */
.trophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trophy-card {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.trophy-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), var(--gold-glow);
}

.trophy-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.trophy-badge.gold {
  background: var(--gold-primary);
  color: #000;
}

.trophy-badge.special {
  background: linear-gradient(135deg, #0ac8b9, #3f51b5);
  color: #fff;
}

.trophy-icon {
  font-size: 40px;
  margin-bottom: 14px;
}

.trophy-card h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.trophy-loc {
  font-size: 12px;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.trophy-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.trophy-card.highlight-gold {
  border: 1px solid var(--gold-primary);
  background: linear-gradient(180deg, rgba(200, 155, 60, 0.15) 0%, rgba(14, 21, 38, 0.95) 100%);
}

.trophy-card.hall-of-fame {
  border: 1px solid var(--hextech-blue);
  background: linear-gradient(180deg, rgba(10, 200, 185, 0.15) 0%, rgba(14, 21, 38, 0.95) 100%);
}

/* ==========================================================================
   7. 模块五：神级操作与经典名场面 (Highlights)
   ========================================================================== */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.hl-card {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.hl-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

.hl-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.hl-card:hover .hl-thumb img {
  transform: scale(1.08);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 16, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.hl-card:hover .play-overlay {
  opacity: 1;
}

.play-btn {
  background: var(--gold-primary);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: var(--gold-glow);
  letter-spacing: 1px;
}

.hl-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.hl-body {
  padding: 22px;
}

.hl-body h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}

.hl-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   8. 模块六：经典语录 (Quotes)
   ========================================================================== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.quote-card {
  background: var(--bg-card);
  border: var(--border-light);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}

.quote-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.quote-mark {
  font-size: 48px;
  line-height: 1;
  color: rgba(200, 155, 60, 0.3);
  font-family: Georgia, serif;
}

.quote-text {
  font-size: 15px;
  color: #fff;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
}

.quote-author {
  font-size: 13px;
  color: var(--gold-primary);
  font-weight: 600;
}

/* ==========================================================================
   9. 模态弹窗 (Modal)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--gold-glow);
  overflow: hidden;
}

.modal-header {
  padding: 16px 24px;
  border-bottom: var(--border-light);
}

.modal-header h3 {
  font-size: 18px;
  color: var(--gold-light);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--gold-primary);
  transform: scale(1.2);
}

.modal-body {
  padding: 24px;
}

.video-container {
  background: #000;
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  outline: none;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-footer {
  padding: 14px 24px;
  border-top: var(--border-light);
  text-align: right;
}

/* ==========================================================================
   10. 页脚 (Footer)
   ========================================================================== */
.footer {
  background: #04060b;
  border-top: 1px solid rgba(200, 155, 60, 0.2);
  padding: 50px 20px 30px;
  text-align: center;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.footer-statement {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.badge {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(200, 155, 60, 0.2);
}

.footer-copy {
  font-size: 12px;
  color: #555;
}

/* ==========================================================================
   11. 动效与进入视口渐显 (Reveal Animation)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==========================================================================
   12. 响应式媒体查询 (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
  .profile-container {
    grid-template-columns: 1fr;
  }

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

  /* 窄屏下隐藏绝对定位的侧边大浮层，避免产生横向滚动条 */
  .timeline-float-preview {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 16px;
  }

  .nav {
    display: none;
  }

  .carousel {
    height: 400px;
  }

  .slide-title {
    font-size: 32px;
  }

  .slide-desc {
    font-size: 15px;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 10px;
    text-align: left !important;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 12px;
    right: auto;
  }

  .champions-grid,
  .trophy-grid,
  .highlight-grid,
  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 45px 16px;
  }
}
