/* ============================================
   Retro-Futurism (复古未来主义)
   重现"过去对未来的想象"
   霓虹色调 + CRT扫描线 + 80年代科幻感
   ============================================ */

/* ===== 全局重置 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* ===== 导入80年代科幻字体 ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ===== Body — 深色赛博空间背景 ===== */
body {
  font-family: 'Rajdhani', 'Orbitron', sans-serif;
  background: #0a0015;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  /* CRT 扫描线效果 */
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(0, 255, 255, 0.03) 0px,
      rgba(0, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 2px
    );
}

/* ===== 半色调网点纹理叠加 ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle, rgba(255, 0, 255, 0.15) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: screen;
}

/* ===== CRT屏幕闪烁效果 ===== */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0.1),
    transparent 50%,
    rgba(255, 0, 255, 0.05)
  );
  pointer-events: none;
  z-index: 2;
  animation: scan-flicker 8s linear infinite;
}

@keyframes scan-flicker {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.15; }
}

/* ===== 导航栏 — 霓虹边框 ===== */
.ep-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(10, 0, 21, 0.95);
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #ff00ff, #00ffff, #8000ff, #ff00ff) 1;
  padding: 0;
  box-shadow: 
    0 0 20px rgba(255, 0, 255, 0.3),
    0 0 40px rgba(0, 255, 255, 0.2),
    inset 0 0 20px rgba(128, 0, 255, 0.1);
  backdrop-filter: blur(10px);
}

.ep-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  gap: 20px;
  position: relative;
  z-index: 3;
}

/* Logo — 霓虹发光 */
.ep-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #fff;
  position: relative;
}

.ep-logo-mark {
  font-family: 'Orbitron', monospace;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 50%, #8000ff 100%);
  border: 2px solid #00ffff;
  padding: 8px 15px;
  color: #fff;
  display: inline-block;
  text-shadow: 
    0 0 10px #ff00ff,
    0 0 20px #ff00ff,
    0 0 30px #00ffff;
  box-shadow: 
    0 0 15px rgba(255, 0, 255, 0.5),
    inset 0 0 10px rgba(0, 255, 255, 0.3);
  position: relative;
}

/* Logo扫描线动画 */
.ep-logo-mark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: logo-scan 3s linear infinite;
}

@keyframes logo-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.ep-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00ffff;
  text-shadow:
    0 0 10px #00ffff,
    0 0 20px rgba(0, 255, 255, 0.5);
  position: relative;
}

/* Logo故障效果 */
.ep-logo-text::before {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  top: 0;
  color: #ff00ff;
  opacity: 0.7;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitch-1 2s infinite;
}

@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-2px, 1px); }
  94% { transform: translate(2px, -1px); }
}

/* 导航链接 — 霓虹按钮 */
.ep-nav-links {
  display: flex;
  gap: 5px;
  list-style: none;
}

.ep-nav-links li a {
  display: block;
  padding: 15px 25px;
  color: #fff;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(10, 0, 21, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ep-nav-links li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.3), transparent);
  transition: left 0.5s;
}

.ep-nav-links li a:hover::before {
  left: 100%;
}

.ep-nav-links li a:hover {
  color: #00ffff;
  border-color: #00ffff;
  box-shadow:
    0 0 15px rgba(0, 255, 255, 0.5),
    inset 0 0 15px rgba(0, 255, 255, 0.1);
  text-shadow: 0 0 10px #00ffff;
}

/* 导航右侧按钮 */
.ep-nav-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.ep-search-btn {
  width: 44px;
  height: 44px;
  background: rgba(10, 0, 21, 0.8);
  border: 1px solid rgba(255, 0, 255, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
}

.ep-search-btn svg {
  width: 20px;
  height: 20px;
  stroke: #ff00ff;
  stroke-width: 2;
  transition: all 0.3s;
}

.ep-search-btn:hover {
  border-color: #ff00ff;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.ep-search-btn:hover svg {
  stroke: #fff;
}

.ep-mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(10, 0, 21, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.4);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  transition: all 0.3s;
}

.ep-mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #00ffff;
  transition: all 0.3s;
}

.ep-mobile-menu-btn:hover {
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* ===== 搜索覆盖层 ===== */
.ep-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 0, 21, 0.98);
  backdrop-filter: blur(20px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ep-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ep-search-overlay-inner {
  width: 90%;
  max-width: 800px;
  position: relative;
}

.ep-search-close {
  position: absolute;
  top: -60px;
  right: 0;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 2px solid #ff00ff;
  color: #ff00ff;
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ep-search-close:hover {
  background: rgba(255, 0, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.ep-search-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px;
  background: rgba(10, 0, 21, 0.9);
  border: 2px solid;
  border-image: linear-gradient(90deg, #ff00ff, #00ffff) 1;
  position: relative;
}

.ep-search-box svg {
  width: 30px;
  height: 30px;
  stroke: #00ffff;
  flex-shrink: 0;
}

.ep-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
  outline: none;
}

.ep-search-input::placeholder {
  color: rgba(0, 255, 255, 0.5);
  text-transform: uppercase;
}

.ep-search-results {
  margin-top: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.ep-search-empty {
  color: rgba(255, 0, 255, 0.7);
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  text-align: center;
  padding: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ep-search-result-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(10, 0, 21, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.2);
  margin-bottom: 10px;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.ep-search-result-item:hover {
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.ep-search-result-thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 0, 255, 0.3);
  overflow: hidden;
}

.ep-search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-search-result-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ep-search-result-cat {
  font-size: 11px;
  color: rgba(255, 0, 255, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.ep-search-result-title {
  font-size: 16px;
  color: #00ffff;
  font-weight: 600;
}

/* ===== Hero 区域 ===== */
.ep-hero {
  position: relative;
  padding: 60px 0;
  z-index: 3;
  overflow: hidden;
}

.ep-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
}

.ep-hero-label {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 0, 255, 0.8);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 25px;
  padding-left: 15px;
  border-left: 3px solid #ff00ff;
  animation: flicker 2s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
  52% { opacity: 1; }
  54% { opacity: 0.9; }
}

.ep-hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: rgba(10, 0, 21, 0.85);
  border: 2px solid;
  border-image: linear-gradient(135deg, #ff00ff, #00ffff) 1;
  padding: 0;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ep-hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 0, 255, 0.1), transparent, rgba(0, 255, 255, 0.1), transparent);
  animation: rotate 10s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.ep-hero-card:hover::before {
  opacity: 1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ep-hero-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 60px rgba(255, 0, 255, 0.3),
    0 0 40px rgba(0, 255, 255, 0.2);
}

.ep-hero-card-img {
  position: relative;
  overflow: hidden;
  border-right: 2px solid;
  border-image: linear-gradient(to bottom, #ff00ff, #00ffff) 1;
}

.ep-hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  filter: contrast(1.1) saturate(1.2);
}

.ep-hero-card:hover .ep-hero-card-img img {
  transform: scale(1.05);
}

/* CRT图像效果 */
.ep-hero-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 255, 255, 0.05) 0px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.ep-hero-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ep-hero-card-tag {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #ff00ff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid rgba(255, 0, 255, 0.5);
  background: rgba(255, 0, 255, 0.1);
}

.ep-hero-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow:
    0 0 10px rgba(0, 255, 255, 0.5),
    0 0 20px rgba(255, 0, 255, 0.3);
  position: relative;
}

/* 标题故障效果 */
.ep-hero-card-title::before {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  top: 0;
  width: 100%;
  height: 100%;
  color: #00ffff;
  opacity: 0.7;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitch-2 3s infinite;
}

@keyframes glitch-2 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-3px, 2px); }
  94% { transform: translate(3px, -2px); }
  96% { transform: translate(-2px, 1px); }
}

.ep-hero-card-excerpt {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.ep-hero-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  color: #00ffff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ep-hero-card-meta svg {
  width: 20px;
  height: 20px;
  stroke: #00ffff;
  stroke-width: 2;
}

/* ===== 分隔线 ===== */
.ep-divider {
  height: 80px;
  position: relative;
  z-index: 3;
}

.ep-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ep-divider path:first-child {
  fill: rgba(255, 0, 255, 0.1);
}

.ep-divider path:last-child {
  fill: rgba(0, 255, 255, 0.15);
}

/* ===== 内容区域 ===== */
.ep-section {
  position: relative;
  z-index: 3;
  padding: 80px 0;
}

.ep-section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.ep-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg, #ff00ff, transparent 80%) 1;
  position: relative;
}

.ep-section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 1px;
  background: #00ffff;
  box-shadow: 0 0 10px #00ffff;
}

.ep-section-label {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 0, 255, 0.8);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ep-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
}

.ep-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ff00ff, #00ffff);
}

.ep-section-id {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 255, 255, 0.6);
  letter-spacing: 3px;
  padding: 8px 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.1);
}

/* ===== 卡片画廊 ===== */
.ep-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.ep-card {
  position: relative;
  background: rgba(10, 0, 21, 0.9);
  border: 1px solid;
  border-image: linear-gradient(135deg, rgba(255, 0, 255, 0.3), rgba(0, 255, 255, 0.3)) 1;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ep-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.ep-card:hover::before {
  opacity: 1;
}

.ep-card:hover {
  transform: translateY(-8px);
  border-image: linear-gradient(135deg, #ff00ff, #00ffff) 1;
  box-shadow:
    0 15px 40px rgba(255, 0, 255, 0.3),
    0 0 30px rgba(0, 255, 255, 0.2);
}

.ep-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.ep-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  filter: contrast(1.1) saturate(1.1);
}

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

/* CRT扫描线 */
.ep-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 255, 255, 0.03) 0px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
}

.ep-card-body {
  padding: 20px;
  position: relative;
  z-index: 1;
}

.ep-card-tag {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 600;
  color: #ff00ff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(255, 0, 255, 0.4);
  background: rgba(255, 0, 255, 0.1);
}

.ep-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.ep-card-excerpt {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* 大卡片样式 */
.ep-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.ep-card-large .ep-card-img {
  aspect-ratio: 16/10;
}

.ep-card-large .ep-card-title {
  font-size: 24px;
}

.ep-card-large .ep-card-excerpt {
  font-size: 15px;
}

/* 中等卡片 */
.ep-card-medium {
  grid-column: span 1;
  grid-row: span 2;
}

.ep-card-medium .ep-card-img {
  aspect-ratio: 16/12;
}

/* ===== Footer ===== */
.ep-footer {
  position: relative;
  z-index: 3;
  background: rgba(10, 0, 21, 0.95);
  border-top: 2px solid;
  border-image: linear-gradient(90deg, #ff00ff, #00ffff, #8000ff) 1;
  padding: 50px 0;
  margin-top: 80px;
}

.ep-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

.ep-footer-text {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 255, 255, 0.8);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ep-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ep-footer-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid rgba(255, 0, 255, 0.3);
  transition: all 0.3s;
}

.ep-footer-links a:hover {
  color: #ff00ff;
  border-color: #ff00ff;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
  .ep-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .ep-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .ep-card-large .ep-card-img {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 992px) {
  .ep-hero-card {
    grid-template-columns: 1fr;
  }

  .ep-hero-card-img {
    border-right: none;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #ff00ff, #00ffff) 1;
  }

  .ep-hero-card-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .ep-nav-links {
    display: none;
  }

  .ep-mobile-menu-btn {
    display: flex;
  }

  .ep-gallery {
    grid-template-columns: 1fr;
  }

  .ep-card-large,
  .ep-card-medium {
    grid-column: span 1;
    grid-row: span 1;
  }

  .ep-card-large .ep-img,
  .ep-card-medium .ep-card-img {
    aspect-ratio: 16/9;
  }

  .ep-hero-card-title {
    font-size: 28px;
  }

  .ep-section-title {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .ep-nav-inner {
    height: 70px;
    padding: 0 20px;
  }

  .ep-logo-mark {
    font-size: 32px;
    padding: 6px 12px;
  }

  .ep-logo-text {
    font-size: 18px;
  }

  .ep-hero {
    padding: 40px 0;
  }

  .ep-hero-inner {
    padding: 0 20px;
  }

  .ep-hero-card-body {
    padding: 25px;
  }

  .ep-hero-card-title {
    font-size: 24px;
  }

  .ep-section-inner {
    padding: 0 20px;
  }

  .ep-section {
    padding: 50px 0;
  }
}

/* ===== 动画 ===== */
.ep-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}

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

/* ===== 滚动条样式 ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 0, 21, 0.9);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff00ff, #00ffff);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff00ff, #00ffff);
}

/* ===== 文本选择样式 ===== */
::selection {
  background: rgba(255, 0, 255, 0.3);
  color: #fff;
}

/* ===== 链接默认样式 ===== */
a {
  color: inherit;
  text-decoration: none;
}

/* ===== 像素化边框效果 ===== */
.ep-pixel-border {
  position: relative;
}

.ep-pixel-border::before {
  content: '';
  position: absolute;
  inset: -3px;
  background:
    linear-gradient(90deg, #ff00ff 25%, transparent 25%) 0 0,
    linear-gradient(90deg, #ff00ff 25%, transparent 25%) 0 50%,
    linear-gradient(90deg, #00ffff 25%, transparent 25%) 50% 0,
    linear-gradient(90deg, #00ffff 25%, transparent 25%) 50% 50%;
  background-size: 4px 4px;
  opacity: 0.5;
  z-index: -1;
}

/* ===== 霓虹发光动画 ===== */
@keyframes neon-pulse {
  0%, 100% {
    text-shadow:
      0 0 10px #ff00ff,
      0 0 20px #ff00ff,
      0 0 30px #ff00ff;
    opacity: 1;
  }
  50% {
    text-shadow:
      0 0 20px #00ffff,
      0 0 30px #00ffff,
      0 0 40px #00ffff;
    opacity: 0.9;
  }
}

/* ===== 数字雨效果背景类 ===== */
.ep-digital-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(transparent 50%, rgba(0, 255, 255, 0.03) 50%);
  background-size: 100% 4px;
  animation: rain 0.5s linear infinite;
}

@keyframes rain {
  0% { background-position: 0 0; }
  100% { background-position: 0 4px; }
}