/* 下载页面样式 - 高级版 */

/* 页面背景和整体布局 */
body {
  background: #0f111a !important;
  color: #fff !important;
}

/* 顶部横幅 */
.banner-page {
  background: linear-gradient(135deg, #ff416c 0%, #1e90ff 100%) !important;
  position: relative;
  overflow: hidden;
}

.banner-page::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="smallGrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><rect width="100" height="100" fill="url(%23smallGrid)"/><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
  opacity: 0.3;
  z-index: 0;
}

.archive-title {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: #fff !important;
}

/* 内容区样式 */
.content-wrap {
  margin-bottom: 20px;
  text-align: center;
}

.content {
  display: inline-block;
  max-width: 700px;
  text-align: left;
  width: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

/* 内容框样式 */
.single-content {
  padding: 30px !important;
  margin-bottom: 0;
  border-radius: 0;
  background: linear-gradient(145deg, #1e222e 0%, #15192a 100%) !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
}

.article-content {
  margin-bottom: 0;
  font-size: 15px;
  color: #fff !important;
}

.article-content p {
  text-indent: 0;
  color: #fff !important;
}

/* 下载项样式 */
.item, .item2, .erphpdown-item {
  background: linear-gradient(145deg, #1e222e 0%, #15192a 100%) !important;
  padding: 18px !important;
  margin-bottom: 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.item::before, .item2::before, .erphpdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff416c 0%, #1e90ff 100%);
  opacity: 0.1;
  z-index: 0;
}

.item:hover, .item2:hover, .erphpdown-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 65, 108, 0.3) !important;
}

/* 下载按钮样式 */
.erphpdown-down, .down {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #ff7675 0%, #0984e3 100%) !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 25px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 10px 20px rgba(9, 132, 227, 0.3) !important;
  margin: 10px 0 !important;
  min-width: 140px !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

.erphpdown-down:hover, .down:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(9, 132, 227, 0.5) !important;
  background: linear-gradient(135deg, #ff5e57 0%, #0070e0 100%) !important;
}

.erphpdown-down i, .down i {
  margin-right: 10px !important;
  font-size: 1.2em !important;
}

/* 提取码样式 */
.extract-code {
  display: inline-flex !important;
  align-items: center !important;
  background-color: rgba(30, 144, 255, 0.15) !important;
  color: #fff !important;
  padding: 6px 15px !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  margin: 0 10px !important;
  position: relative !important;
  z-index: 1 !important;
  border: 1px solid rgba(30, 144, 255, 0.3) !important;
  box-shadow: 0 3px 10px rgba(30, 144, 255, 0.1) !important;
}

/* 网盘名称样式 */
.pan-name {
  font-weight: 600 !important;
  color: #ff416c !important;
  margin-right: 10px !important;
  font-size: 15px !important;
  position: relative !important;
  z-index: 1 !important;
  text-shadow: 0 0 10px rgba(255, 65, 108, 0.3) !important;
}

.erphpdown-copy {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(30, 144, 255, 0.2) !important;
  color: #3498db !important;
  text-decoration: none !important;
  padding: 6px 15px !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  margin-left: 10px !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 1 !important;
  border: 1px solid rgba(30, 144, 255, 0.3) !important;
}

.erphpdown-copy:hover {
  background: rgba(30, 144, 255, 0.3) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 10px rgba(30, 144, 255, 0.2) !important;
}

/* 底部区域 */
.modown-erphpdown-bottom {
  padding: 25px !important;
  background: linear-gradient(145deg, #1e222e 0%, #15192a 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.modown-erphpdown-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff416c 0%, #1e90ff 100%);
  opacity: 0.05;
  z-index: 0;
}

.modown-erphpdown-bottom .line {
  display: none !important;
}

/* 强制所有文本颜色为白色 */
.erphpdown-item *, .item *, .item2 * {
  color: #fff !important;
}

.pan-name, .erphpdown-copy {
  color: inherit !important;
}

/* 响应式调整 */
@media (max-width: 620px) {
  .single-content {
    padding: 20px !important;
  }
  
  .modown-erphpdown-bottom {
    padding: 20px !important;
  }
  
  .item, .item2, .erphpdown-item {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .erphpdown-down, .down {
    margin-top: 15px !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

/* 动画效果 */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(9, 132, 227, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(9, 132, 227, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(9, 132, 227, 0.3);
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* 特别高优先级的样式，确保能覆盖其他样式 */
html body.night .main-download .single-content,
html body .main-download .single-content {
  background: linear-gradient(145deg, #1e222e 0%, #15192a 100%) !important;
  box-shadow: none !important;
}

html body.night .main-download,
html body .main-download {
  background: #0f111a !important;
}

html body.night .banner-page,
html body .banner-page {
  background: linear-gradient(135deg, #ff416c 0%, #1e90ff 100%) !important;
} 