/* 全局重置与基础样式 */
body {
    background: #0a0a0a !important;
    color: #e0e0e0 !important;
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif !important;
    line-height: 1.6;
}

/* 页面容器 */
#home {
    background: #121212 !important;
    border-radius: 12px !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1) !important;
    margin: 20px auto !important;
    padding: 20px !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
}

/* 页首动画背景 */
.header-banner {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

/* 动态光效 */
.header-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 255, 255, 0.1),
        transparent
    );
    transform: rotate(30deg);
    animation: lightMove 8s linear infinite;
}

@keyframes lightMove {
    0% {
        transform: rotate(30deg) translate(-100%, 0);
    }
    100% {
        transform: rotate(30deg) translate(100%, 0);
    }
}

/* 标题样式 */
.blog-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ffff;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
}

/* 副标题 */
.blog-subtitle {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e0e0e0;
    font-size: 16px;
}

/* 文章列表样式 */
.day {
    border-bottom: 1px solid rgba(0, 255, 255, 0.1) !important;
    padding: 15px 0 !important;
    transition: all 0.3s ease;
}

.day:hover {
    background: rgba(20, 20, 20, 0.5) !important;
    transform: translateX(5px);
}

.postTitle a {
    color: #00ffff !important;
    font-size: 20px !important;
    transition: all 0.3s ease;
}

.postTitle a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6) !important;
}

/* 页脚样式 */
.footer-container {
    width: 100%;
    height: 120px;
    background: #0f0f0f;
    border-radius: 10px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer-text {
    color: #999;
    font-size: 14px;
    margin: 5px 0;
}

/* 页脚动态小点 */
.footer-dots {
    position: absolute;
    bottom: 10px;
    display: flex;
    gap: 8px;
}

.footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.5);
    animation: dotBlink 2s ease-in-out infinite alternate;
}

.footer-dot:nth-child(2) {
    animation-delay: 0.5s;
}

.footer-dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes dotBlink {
    0% {
        background: rgba(0, 255, 255, 0.3);
        transform: scale(0.8);
    }
    100% {
        background: rgba(0, 255, 255, 0.8);
        transform: scale(1.2);
    }
}

/* 侧边栏适配 */
#sidebar {
    background: #121212 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 255, 255, 0.1) !important;
}

.newsItem, .catListTitle {
    color: #00ffff !important;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.8);
}

.headermaintitle{   
    color: #ffffff;     
    text-decoration: none; /* 核心：去掉下划线 */
    /* 可选：清除点击后的默认高亮（部分浏览器） */
    outline: none;
}
 .menu{
    color: #ffffff;     
    text-decoration: none; /* 核心：去掉下划线 */
    /* 可选：清除点击后的默认高亮（部分浏览器） */
    outline: none;
 }
 .postTitle2{
    color:#F8F8F8;     
    text-decoration: none; /* 核心：去掉下划线 */
    /* 可选：清除点击后的默认高亮（部分浏览器） */
    outline: none;
 }
 .postcontent a{
    color: #FF9500;     
    text-decoration: none; /* 核心：去掉下划线 */
    /* 可选：清除点击后的默认高亮（部分浏览器） */
    outline: none;
 }

.itemdesc a{
    color: #FF9500;     
    text-decoration: none; /* 核心：去掉下划线 */
    /* 可选：清除点击后的默认高亮（部分浏览器） */
    outline: none;
}

#side_right a{
    color: #fff;     
    text-decoration: none; /* 核心：去掉下划线 */
    /* 可选：清除点击后的默认高亮（部分浏览器） */
    outline: none;
}

.topicListFooter a{
    color: #fff;     
    text-decoration: none; /* 核心：去掉下划线 */
    /* 可选：清除点击后的默认高亮（部分浏览器） */
    outline: none;
}

.commentform a{
    color: #fff;     
    text-decoration: none; /* 核心：去掉下划线 */
    /* 可选：清除点击后的默认高亮（部分浏览器） */
    outline: none;
}

.CalTitle td a{
    color: #fff;   
      text-decoration: none; /* 核心：去掉下划线 */
    /* 可选：清除点击后的默认高亮（部分浏览器） */
    outline: none;  
}

 
section, section div {
  /* See it in slo-mo, you can change this */
  transition-duration: .6s;
}
section, .button { transition-timing-function: ease; }
section, .button a{
  text-decoration:none;
}
section {
  display: inline-block;
  position: relative;
  padding: .375rem .375rem 0;
  height: 2.5rem;
  background: #121212;
  border-radius: .25rem;
  perspective: 300;
  box-shadow: 0 -1px 2px #fff, inset 0 1px 2px rgba(0,0,0,.2), inset 0 .25rem 1rem rgba(0,0,0,.1);
}


.button { opacity: 0; }

.cover {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform-origin: center bottom;
  transform-style: preserve-3d;
  font: 1.25em/2 "icon";
  color: white;
  text-align: center;
  pointer-events: none;
  z-index: 100;
}

.innie, .outie, .spine, .shadow { position: absolute; width: 100%; }

.innie, .outie {
  height: 100%;
  background-image: -webkit-linear-gradient(top, transparent 0%, rgba(0,0,0,.1) 100%);
  border-radius: .25rem;
}
.innie:after, .outie:after { content:"喜欢我就关注我！"; }

.innie {
  background-color: #67E2FE;
  text-shadow: 0 -2px 4px rgba(3,3,3,.2);
}

.spine {
  top: .25rem;
  background: #20C7F3;
  height: .25rem;
  transform: rotateX(90deg);
  transform-origin: center top;
}

.shadow {
  top: 100%;
  left: 0;
  height: 3.5rem;
  transform-origin: center top;
  transform: rotateX(90deg);
  opacity: 0;
  z-index: 0;
  background-image: -webkit-linear-gradient(top, rgba(0,0,0,.6) 0%, transparent 100%);
  background-image: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 100%);
  border-radius: .4rem;

}

.outie {
  background-color: #FF6600;
  transform: translateZ(.25rem);
  text-shadow: 0 2px 4px rgba(0,0,0,.2);
}

section:hover { background: #EBEFF2; }
section:hover .button { opacity: 1; }

section:hover .cover, section:hover .innie, section:hover .spine, section:hover .outie, section:hover .spine { transition-timing-function: cubic-bezier(.2,.7,.1,1.1); }

section:hover .cover { transform: rotateX(-120deg);  }

section:hover .innie { background-color: #FF6600; }
section:hover .spine { background-color: #FF6600; }
section:hover .outie { background-color: #FF6600; color: rgba(255,255,255,0); }

section:hover .shadow { 
  opacity: 1;
  transform: rotateX(45deg) scale(.95);
}

#focusOnMe a{
    color: #FF9500;
}