/* ==========================================
   模板 01 - 暗黑 Bento Grid (修正匹配 CSS)
   ========================================== */

:root {
  --_bg_dark_02: #080c14;
  --_bg_card_02: rgba(15, 23, 42, 0.75);
  --_bg_card_hover_02: rgba(22, 32, 54, 0.9);
  --_border_cyan_02: rgba(6, 182, 212, 0.25);
  --_border_cyan_active_02: rgba(6, 182, 212, 0.85);
  --_cyan_bright_02: #06b6d4;
  --_green_bright_02: #10b981;
  --_text_main_02: #f8fafc;
  --_text_sub_02: #94a3b8;
  --_font_sans_02: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body._k8_body_02 {
  background-color: var(--_bg_dark_02);
  color: var(--_text_main_02);
  font-family: var(--_font_sans_02);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
}

._wrap_main_88 {
  width: 100%;
  margin: 0 auto;
}

/* 顶栏 */
._hd_bar_02 {
  width: 100%;
  height: 64px;
  border-bottom: 1px solid var(--_border_cyan_02);
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

._hd_inner_02 {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

._brand_logo_99 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

._brand_logo_99 h1 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--_text_main_02);
}

._dot_active_02 {
  width: 8px;
  height: 8px;
  background: var(--_green_bright_02);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--_green_bright_02);
}

._nav_list_02 {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

._nav_item_02 {
  color: var(--_text_sub_02);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

._nav_item_02:hover {
  color: var(--_cyan_bright_02);
}

/* Hero 模块 */
._hero_sec_02 {
  max-width: 860px;
  margin: 4rem auto 3rem;
  padding: 0 1.5rem;
  text-align: center;
}

._badge_pill_02 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--_border_cyan_02);
  color: var(--_cyan_bright_02);
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  margin-bottom: 1.2rem;
}

._hero_ttl_02 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--_cyan_bright_02) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

._hero_sub_02 {
  color: var(--_text_sub_02);
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}

._search_box_02 {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

._search_ipt_02 {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--_border_cyan_02);
  border-radius: 12px;
  padding: 0.9rem 7.5rem 0.9rem 1.25rem;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

._search_ipt_02:focus {
  border-color: var(--_cyan_bright_02);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

._search_btn_02 {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background: linear-gradient(135deg, var(--_cyan_bright_02), #0284c7);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

/* Bento 网格 */
._main_container_02 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

._bento_grid_02 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

._card_large_02 {
  grid-column: span 8;
  background: var(--_bg_card_02);
  border: 1px solid var(--_border_cyan_02);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

._panel_side_02 {
  grid-column: span 4;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid var(--_border_cyan_02);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

._card_small_02 {
  grid-column: span 4;
  background: var(--_bg_card_02);
  border: 1px solid var(--_border_cyan_02);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

._card_large_02:hover, ._card_small_02:hover {
  background: var(--_bg_card_hover_02);
  border-color: var(--_border_cyan_active_02);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(6, 182, 212, 0.3);
}

._card_head_02 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

._card_tag_primary_02 {
  font-size: 0.75rem;
  background: rgba(6, 182, 212, 0.15);
  color: var(--_cyan_bright_02);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

._card_tag_sub_02 {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--_green_bright_02);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

._card_meta_code_02 {
  font-size: 0.75rem;
  color: var(--_text_sub_02);
  font-family: monospace;
}

._card_ttl_lg_02 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
}

._card_ttl_sm_02 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

._card_txt_lg_02, ._card_txt_sm_02 {
  font-size: 0.88rem;
  color: var(--_text_sub_02);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

._btn_action_02 {
  display: inline-block;
  background: var(--_cyan_bright_02);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
}

._link_action_02 {
  color: var(--_cyan_bright_02);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

._panel_head_02 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

._panel_lbl_02 {
  font-size: 0.8rem;
  color: var(--_text_sub_02);
}

._panel_dot_02 {
  width: 8px;
  height: 8px;
  background: var(--_green_bright_02);
  border-radius: 50%;
}

._panel_val_02 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--_cyan_bright_02);
  margin: 1rem 0 0.5rem;
  font-family: monospace;
}

._panel_txt_02 {
  font-size: 0.8rem;
  color: var(--_text_sub_02);
  margin-bottom: 1.5rem;
}

._panel_btn_02 {
  display: block;
  text-align: center;
  border: 1px solid var(--_border_cyan_02);
  color: var(--_text_main_02);
  padding: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
}

/* 友链 */
._link_sec_02 {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

._link_ttl_02 {
  font-size: 0.9rem;
  color: var(--_text_sub_02);
  margin-bottom: 1rem;
}

._link_matrix_02 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

._link_item_02 {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--_text_sub_02);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
}

._link_item_02:hover {
  border-color: var(--_cyan_bright_02);
  color: var(--_cyan_bright_02);
}

/* 页脚 */
._ft_bar_02 {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 2rem 1.5rem;
}

._ft_txt_02 {
  font-size: 0.8rem;
  color: var(--_text_sub_02);
}

/* 响应式 */
@media (max-width: 900px) {
  ._card_large_02, ._panel_side_02, ._card_small_02 {
    grid-column: span 12;
  }
}

/* 伪动效无效 Keyframes */
@keyframes _0x_ghost_kf_02 {
  0% { transform: scale(1); }
  100% { transform: scale(1.01); }
}