/* Links 页面专用样式 */
.links-main {
  min-height: 100vh;
  padding-top: 100px;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #2a3441 100%);
  position: relative;
  overflow-x: hidden;
}

/* 页面标题增强 */
.page-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.resonance-network {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.network-nodes {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(4px 4px at 20% 30%, rgba(0, 212, 255, 0.6), transparent),
    radial-gradient(3px 3px at 80% 20%, rgba(102, 204, 255, 0.5), transparent),
    radial-gradient(5px 5px at 40% 80%, rgba(0, 153, 204, 0.4), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(0, 212, 255, 0.7), transparent);
  background-size: 300px 300px;
  animation: nodesFloat 25s linear infinite;
}

@keyframes nodesFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
    background-position: 0% 0%;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    background-position: 100% 100%;
  }
}

.connection-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 48%, rgba(0, 212, 255, 0.1) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(102, 204, 255, 0.08) 50%, transparent 52%);
  background-size: 80px 80px;
  animation: linesShift 20s linear infinite;
}

@keyframes linesShift {
  0% {
    background-position: 0% 0%, 0% 0%;
  }
  100% {
    background-position: 100% 100%, -100% 100%;
  }
}

.header-characters {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.char-left,
.char-right {
  position: absolute;
  width: 120px;
  height: 120px;
}

.char-left {
  top: 30%;
  left: 8%;
  animation: charConnectLeft 4s ease-in-out infinite;
}

.char-right {
  top: 30%;
  right: 8%;
  animation: charConnectRight 4s ease-in-out infinite;
}

@keyframes charConnectLeft {
  0%,
  100% {
    transform: translateY(0px) rotate(-3deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

@keyframes charConnectRight {
  0%,
  100% {
    transform: translateY(0px) rotate(3deg);
  }
  50% {
    transform: translateY(-15px) rotate(-3deg);
  }
}

.header-char {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(0, 212, 255, 0.5);
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.char-connection-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.8), transparent);
  transform: translateY(-50%);
  animation: beamPulse 3s ease-in-out infinite;
}

.char-left .char-connection-beam {
  transform-origin: left center;
  transform: translateY(-50%) rotate(15deg);
}

.char-right .char-connection-beam {
  transform-origin: right center;
  transform: translateY(-50%) rotate(-15deg) scaleX(-1);
}

@keyframes beamPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(-50%) rotate(15deg) scaleX(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) rotate(15deg) scaleX(1.2);
  }
}

.page-title {
  font-size: 4.5rem;
  color: #ffffff;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.title-icon {
  font-size: 1.2em;
  animation: linkRotate 4s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8));
}

@keyframes linkRotate {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8));
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 1));
  }
}

.title-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.title-main {
  background: linear-gradient(45deg, #ffffff, #00d4ff, #66ccff, #ffffff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleNetwork 4s ease-in-out infinite;
  font-weight: 800;
  letter-spacing: 3px;
}

.title-sub {
  font-size: 0.35em;
  color: #66ccff;
  font-weight: 300;
  letter-spacing: 6px;
  margin-top: 0.8rem;
  opacity: 0.9;
  animation: subTitlePulse 2s ease-in-out infinite alternate;
}

@keyframes titleNetwork {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes subTitlePulse {
  0% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.title-network-effect {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 70%);
  border-radius: 30px;
  animation: networkPulse 5s ease-in-out infinite;
  z-index: -1;
}

@keyframes networkPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.page-subtitle {
  font-size: 1.4rem;
  color: #b0b8c8;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.subtitle-icon {
  font-size: 1.2em;
  animation: globeRotate 3s linear infinite;
}

@keyframes globeRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 友链导航 */
.links-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  position: relative;
  flex-wrap: wrap;
}

.nav-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 212, 255, 0.2);
}

.nav-btn {
  background: transparent;
  border: none;
  color: #b0b8c8;
  padding: 1rem 2rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-btn:hover {
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

.nav-btn.active {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
  transform: translateY(-3px);
}

.nav-icon {
  font-size: 1.2em;
  animation: navIconFloat 2s ease-in-out infinite;
}

@keyframes navIconFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-2px);
  }
}

.nav-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: navGlow 3s ease-in-out infinite;
  pointer-events: none;
}

.nav-btn.active .nav-glow {
  animation: navGlowActive 2s ease-in-out infinite;
}

@keyframes navGlow {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

@keyframes navGlowActive {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.8);
  }
  100% {
    width: 100px;
    height: 100px;
    opacity: 0;
    border-color: rgba(255, 255, 255, 0.2);
  }
}

/* 友链展示区域 */
.links-showcase {
  margin-bottom: 5rem;
}

.links-section {
  margin-bottom: 4rem;
  opacity: 1;
  transition: all 0.5s ease;
}

.links-section.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.5rem;
  color: #00d4ff;
  margin-bottom: 2rem;
  position: relative;
}

.section-icon {
  font-size: 1.2em;
  animation: sectionIconPulse 3s ease-in-out infinite;
}

@keyframes sectionIconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.title-beam {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, #66ccff);
  animation: beamExpand 3s ease-in-out infinite;
}

@keyframes beamExpand {
  0%,
  100% {
    width: 0;
  }
  50% {
    width: 100%;
  }
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

/* 友链卡片 */
.link-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 25px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid transparent;
  backdrop-filter: blur(20px);
}

.link-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 212, 255, 0.3);
}

.link-card.featured {
  border-color: rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.05);
}

.link-card.official {
  border-color: rgba(0, 212, 255, 0.5);
}

.link-card.tools {
  border-color: rgba(102, 204, 255, 0.5);
}

.link-card.community {
  border-color: rgba(0, 255, 136, 0.5);
}

.link-card.partners {
  border-color: rgba(255, 107, 107, 0.5);
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.05) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: cardBgShift 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes cardBgShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.card-character {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 80px;
  height: 80px;
  z-index: 2;
}

.card-char {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(0, 212, 255, 0.4);
  animation: cardCharFloat 4s ease-in-out infinite;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.link-card:hover .card-char {
  opacity: 1;
  transform: scale(1.1);
  border-color: rgba(0, 212, 255, 0.8);
}

@keyframes cardCharFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

.char-official-aura,
.char-tools-aura,
.char-community-aura,
.char-partners-aura {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: charAura 3s linear infinite;
}

.char-official-aura {
  border-color: rgba(0, 212, 255, 0.6);
}

.char-tools-aura {
  border-color: rgba(102, 204, 255, 0.6);
}

.char-community-aura {
  border-color: rgba(0, 255, 136, 0.6);
}

.char-partners-aura {
  border-color: rgba(255, 107, 107, 0.6);
}

@keyframes charAura {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1.1);
  }
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.site-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(0, 212, 255, 0.3);
}

.site-info {
  flex: 1;
}

.site-info h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.site-info p {
  color: #b0b8c8;
  font-size: 0.9rem;
  margin: 0;
}

.official-badge,
.tools-badge,
.community-badge,
.partners-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid;
}

.official-badge {
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  border-color: rgba(0, 212, 255, 0.4);
}

.tools-badge {
  background: rgba(102, 204, 255, 0.2);
  color: #66ccff;
  border-color: rgba(102, 204, 255, 0.4);
}

.community-badge {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  border-color: rgba(0, 255, 136, 0.4);
}

.partners-badge {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.4);
}

.card-description {
  color: #b0b8c8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: translateY(-1px);
}

.card-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-icon {
  font-size: 1.2rem;
}

.stat-value {
  color: #00d4ff;
  font-weight: 700;
  font-size: 1rem;
}

.stat-label {
  color: #888;
  font-size: 0.8rem;
}

.card-glow {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 28px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-glow.official {
  background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.2));
  animation: officialGlow 3s ease-in-out infinite alternate;
}

.card-glow.tools {
  background: linear-gradient(45deg, rgba(102, 204, 255, 0.2), rgba(0, 191, 255, 0.2));
  animation: toolsGlow 3s ease-in-out infinite alternate;
}

.card-glow.community {
  background: linear-gradient(45deg, rgba(0, 255, 136, 0.2), rgba(0, 200, 100, 0.2));
  animation: communityGlow 3s ease-in-out infinite alternate;
}

.card-glow.partners {
  background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(255, 80, 80, 0.2));
  animation: partnersGlow 3s ease-in-out infinite alternate;
}

.link-card:hover .card-glow {
  opacity: 1;
}

@keyframes officialGlow {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.5;
  }
}

@keyframes toolsGlow {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.4;
  }
}

@keyframes communityGlow {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.4;
  }
}

@keyframes partnersGlow {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.4;
  }
}

/* 申请友链区域 */
.apply-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 30px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, 0.2);
  margin-bottom: 3rem;
}

.apply-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.apply-pattern {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, transparent 48%, rgba(0, 212, 255, 0.03) 50%, transparent 52%),
    radial-gradient(circle at 20% 80%, rgba(102, 204, 255, 0.05), transparent 50%);
  background-size: 60px 60px, 200px 200px;
  animation: applyPattern 15s linear infinite;
}

@keyframes applyPattern {
  0% {
    background-position: 0% 0%, 0% 0%;
  }
  100% {
    background-position: 100% 100%, 100% 100%;
  }
}

.apply-character {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  z-index: 1;
}

.apply-char {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(0, 212, 255, 0.5);
  animation: applyCharFloat 4s ease-in-out infinite;
}

.char-apply-aura {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 3px solid rgba(0, 212, 255, 0.6);
  border-radius: 50%;
  animation: applyAura 3s linear infinite;
}

@keyframes applyCharFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@keyframes applyAura {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1.1);
  }
}

.apply-content {
  position: relative;
  z-index: 2;
}

.apply-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.5rem;
  color: #00d4ff;
  margin-bottom: 2rem;
}

.apply-icon {
  font-size: 1.2em;
  animation: applyIconBounce 2s ease-in-out infinite;
}

@keyframes applyIconBounce {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.apply-description {
  color: #b0b8c8;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 800px;
}

.apply-requirements h3,
.apply-info h3,
.apply-contact h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.apply-requirements h3::before {
  content: "📋";
}

.apply-info h3::before {
  content: "ℹ️";
}

.apply-contact h3::before {
  content: "📞";
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.requirement-item:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-3px);
}

.req-icon {
  font-size: 2rem;
  background: linear-gradient(45deg, #00d4ff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.req-content h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.req-content p {
  color: #b0b8c8;
  font-size: 0.9rem;
  margin: 0;
}

.site-info-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  margin-bottom: 3rem;
}

.site-info-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid rgba(0, 212, 255, 0.4);
}

.site-info-details {
  flex: 1;
}

.site-info-details h4 {
  color: #00d4ff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.site-info-details p {
  color: #b0b8c8;
  margin-bottom: 1rem;
}

.site-info-data {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-info-data span {
  color: #b0b8c8;
  font-size: 0.9rem;
}

.site-info-data strong {
  color: #ffffff;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-3px);
}

.contact-icon {
  font-size: 2rem;
  background: linear-gradient(45deg, #00d4ff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-info p {
  color: #00d4ff;
  font-size: 0.9rem;
  margin: 0;
  word-break: break-all;
}

.apply-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.apply-btn {
  background: transparent;
  border: 2px solid #00d4ff;
  color: #00d4ff;
  padding: 1rem 2rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.apply-btn.primary {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.3);
}

.apply-btn.secondary:hover {
  background: #00d4ff;
  color: #ffffff;
}

.btn-resonance {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: btnResonance 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnResonance {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

/* 背景效果 */
.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.network-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(3px 3px at 25% 35%, rgba(0, 212, 255, 0.4), transparent),
    radial-gradient(2px 2px at 75% 25%, rgba(102, 204, 255, 0.3), transparent),
    radial-gradient(4px 4px at 45% 85%, rgba(0, 153, 204, 0.2), transparent);
  background-size: 250px 250px;
  animation: networkFloat 30s linear infinite;
}

@keyframes networkFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
    background-position: 0% 0%;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    background-position: 100% 100%;
  }
}

.connection-waves {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
}

.connection-waves::before,
.connection-waves::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  animation: connectionWave 8s ease-in-out infinite;
}

.connection-waves::after {
  animation-delay: 4s;
  border-color: rgba(102, 204, 255, 0.15);
}

@keyframes connectionWave {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.data-streams {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 48%, rgba(0, 212, 255, 0.02) 50%, transparent 52%);
  background-size: 120px 120px;
  animation: streamFlow 20s linear infinite;
}

@keyframes streamFlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* 模态框 */
.link-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.link-modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  background: rgba(26, 31, 46, 0.95);
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border: 2px solid rgba(0, 212, 255, 0.3);
  position: relative;
  backdrop-filter: blur(20px);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.modal-header h3 {
  color: #00d4ff;
  font-size: 1.5rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: #b0b8c8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.modal-site-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid rgba(0, 212, 255, 0.4);
}

.modal-details h4 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.modal-details p {
  color: #b0b8c8;
  margin-bottom: 1rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-description {
  color: #b0b8c8;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.modal-btn {
  background: transparent;
  border: 2px solid #00d4ff;
  color: #00d4ff;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-btn.visit {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
  border-color: transparent;
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.modal-btn.share:hover {
  background: #00d4ff;
  color: #ffffff;
}

.btn-icon {
  font-size: 1.1em;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .links-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .links-main {
    padding-top: 80px;
  }

  .page-title {
    font-size: 3rem;
    flex-direction: column;
    gap: 1rem;
  }

  .header-characters {
    display: none;
  }

  .links-navigation {
    flex-direction: column;
    align-items: center;
  }

  .nav-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .apply-section {
    padding: 2rem;
  }

  .apply-character {
    display: none;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .apply-actions {
    flex-direction: column;
    align-items: center;
  }

  .apply-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .site-info-card {
    flex-direction: column;
    text-align: center;
  }

  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }

  .modal-site-info {
    flex-direction: column;
    text-align: center;
  }

  .modal-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 2.5rem;
  }

  .links-navigation {
    padding: 0 1rem;
  }

  .link-card {
    padding: 1.5rem;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .card-stats {
    justify-content: space-around;
  }

  .apply-section {
    padding: 1.5rem;
  }

  .apply-title {
    font-size: 2rem;
    flex-direction: column;
    text-align: center;
  }
}

/* 动画增强 */
.link-card,
.requirement-item,
.contact-item {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 为元素添加延迟动画 */
.link-card:nth-child(1) {
  animation-delay: 0.1s;
}
.link-card:nth-child(2) {
  animation-delay: 0.2s;
}
.link-card:nth-child(3) {
  animation-delay: 0.3s;
}
.link-card:nth-child(4) {
  animation-delay: 0.4s;
}

.requirement-item:nth-child(1) {
  animation-delay: 0.1s;
}
.requirement-item:nth-child(2) {
  animation-delay: 0.2s;
}
.requirement-item:nth-child(3) {
  animation-delay: 0.3s;
}
.requirement-item:nth-child(4) {
  animation-delay: 0.4s;
}
