/* 高级赛博朋克科技风格 */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500&family=Rajdhani:wght@500;600&display=swap');

:root {
  --neon-blue: #00F0FF;
  --neon-purple: #B026FF;
  --neon-green: #00FF88;
  --neon-orange: #FF9E00;
  --dark-bg: #080817;
  --grid-line: rgba(0, 240, 255, 0.1);
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(176, 38, 255, 0.05) 0%, transparent 40%),
    linear-gradient(to bottom, #080817, #0a0a1f),
    repeating-linear-gradient(0deg, var(--grid-line) 0px, var(--grid-line) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, var(--grid-line) 0px, var(--grid-line) 1px, transparent 1px, transparent 40px);
  background-attachment: fixed;
  color: #E0E0FF;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.02) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent 0px, transparent 39px, rgba(0, 240, 255, 0.03) 39px, rgba(0, 240, 255, 0.03) 40px);
  pointer-events: none;
  z-index: -1;
  animation: pulse 12s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  margin: 1.2rem 0;
  letter-spacing: 1px;
}

h1.LM#LM {
  font-size:300%;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--neon-blue);
  position: relative;
  margin: 1.5rem 0;
  text-shadow: 
    0 0 5px #fff,
    0 0 10px var(--neon-blue),
    0 0 20px var(--neon-purple),
    0 0 30px var(--neon-pink);
  animation: glitch 2s infinite alternate, pulse 1.5s infinite ease-in-out;
  z-index: 1;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); text-shadow: 0 0 5px #fff, 0 0 10px var(--neon-blue), 0 0 20px var(--neon-purple), 0 0 30px var(--neon-pink), 0 0 40px var(--neon-orange); }
  40% { transform: translate(2px, -2px); text-shadow: 0 0 5px #fff, 0 0 10px var(--neon-purple), 0 0 20px var(--neon-blue), 0 0 30px var(--neon-orange), 0 0 40px var(--neon-pink); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(2px, 2px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 1; }
}

h1.LM#LM::before {
  content: "ARKFUTURE";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: transparent;
  -webkit-text-stroke: 1px var(--neon-purple);
  text-stroke: 1px var(--neon-purple);
  z-index: -1;
  animation: glitch-before 3s infinite alternate;
}

h1.LM#LM::after {
  content: "ARKFUTURE";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 100%;
  color: transparent;
  -webkit-text-stroke: 1px var(--neon-pink);
  text-stroke: 1px var(--neon-pink);
  z-index: -2;
  opacity: 0.7;
  animation: glitch-after 3s infinite alternate-reverse;
}

@keyframes glitch-after {
  0%, 100% { transform: translate(1px, 1px); opacity: 0.7; }
  50% { transform: translate(-1px, -1px); opacity: 0.4; }
}

@keyframes glitch-before {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(-3px, 3px); }
  50% { transform: translate(3px, -3px); }
  75% { transform: translate(-3px, -3px); }
}

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

h2 {
  font-size: 1.8rem;
  color: var(--neon-purple);
  text-shadow: 0 0 6px rgba(176, 38, 255, 0.3);
}

/* 统一链接样式 - 数据流效果 */
a {
  color: var(--neon-green);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

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

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-purple));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 内容区块 */
.content-block {
  background: rgba(8, 8, 23, 0.7);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 3px solid var(--neon-blue);
  position: relative;
  overflow: hidden;
}

.content-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--neon-blue), transparent);
  animation: scan 3s linear infinite;
}

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

footer {
  margin-top: 3rem;
  padding: 2rem 0;
  position: relative;
  background: rgba(8, 8, 23, 0.7);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, 
    transparent, 
    var(--neon-blue), 
    var(--neon-purple), 
    transparent) 1;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: var(--neon-blue);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--neon-green), 
    transparent);
  animation: scan 3s linear infinite;
}

footer a {
  color: var(--neon-purple);
  margin: 0 0.5rem;
}

footer a:hover {
  color: var(--neon-orange);
  text-shadow: 0 0 8px var(--neon-orange);
}

/* 响应式设计 */
@media (max-width: 768px) {
  body {
    padding: 15px;
    font-size: 0.95rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  footer {
    padding: 1.5rem 0;
    font-size: 0.8rem;
  }
}