/* ============================= */
/* Hexo Blog Encrypt - 科技风美化 */
/* ============================= */

#hexo-blog-encrypt .hbe-container {
  margin: 6em auto;
  padding: 2.2em 2.5em;
  max-width: 420px;
  background: rgba(25, 28, 45, 0.75); /* 半透明玻璃拟物 */
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45),
              0 0 20px rgba(0, 180, 255, 0.25) inset;
  backdrop-filter: blur(14px);
  text-align: center;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  animation: fadeIn 0.6s ease;
}

/* 顶部说明文案 */
#hexo-blog-encrypt .hbe-content:not(.hbe-article-content) {
  font-size: 1.15em;
  line-height: 1.6;
  color: #b5d9ff;
  margin-bottom: 1.6em;
  text-shadow: 0 0 6px rgba(0, 180, 255, 0.35);
}

#hexo-blog-encrypt .hbe-content:not(.hbe-article-content)::before {
  content: "🔒 此文章已加密，请输入访问密码，未购买的请访问 菜单页";
  display: block;
  font-weight: 600;
  color: #66c2ff;
  margin-bottom: 0.8em;
}

/* 输入框容器 */
#hexo-blog-encrypt .hbe-input {
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 100%;
}

/* 输入框 */
#hexo-blog-encrypt .hbe-input-field-default {
  padding: 0.75em 1em;
  border: 2px solid rgba(0,180,255,0.45);
  border-radius: 10px;
  background: rgba(20, 24, 40, 0.9);
  color: #00bfff;
  font-size: 0.95em;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  outline: none;
}

#hexo-blog-encrypt .hbe-input-field-default::placeholder {
  color: #7abfff;
  opacity: 0.8;
}

#hexo-blog-encrypt .hbe-input-field-default:focus {
  border-color: #00bfff;
  box-shadow: 0 0 12px rgba(0,180,255,0.7);
  background: rgba(25, 30, 60, 1);
  color: #00d0ff;
}

/* 隐藏原本多余的 label */
#hexo-blog-encrypt .hbe-input-label-default {
  display: none;
}

/* 按钮 */
#hexo-blog-encrypt .hbe-button {
  padding: 0.75em 1.2em;
  background: linear-gradient(135deg, #00bfff, #7a5cff);
  border: none;
  border-radius: 10px;
  font-size: 1em;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,180,255,0.35);
  transition: all 0.25s ease;
}

#hexo-blog-encrypt .hbe-button:hover {
  background: linear-gradient(135deg, #7a5cff, #00bfff);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,180,255,0.5);
}

#hexo-blog-encrypt .hbe-button:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0,180,255,0.3);
}

/* 🚫 解锁后的正文正常显示 */
#hexo-blog-encrypt .hbe-article-content {
  all: unset;
  display: block;
  font-family: inherit;
  font-size: 1em;
  color: inherit;
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
