/*===============================================
  PbootCMS AI模板生成
  随机种子：A-F-2-16px-线/填/圆-LW-TA
  风格：A (酸性设计) - 荧光色+扭曲变形+几何元素
  布局：F (单栏极简) - 内容居中，最大宽度，内容垂直堆叠
  色彩：2 (撞色系) - 荧光绿+洋红+黑
  字号：16px / 行高：1.8 / 容器宽度：1200px居中
  圆角：12px / 卡片内边距：24px
  装饰：渐变背景 + 几何图形 + 扭曲效果
  列表排版：LW (切角卡片)
  标题样式：TA (居中带下划线)
================================================*/

@charset "utf-8";

/*------ Reset & Base ------*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1a1a1a;
    background: #0d0d0d;
    min-height: 100vh;
}

/*------ Typography ------*/
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

a {
    color: #39ff14;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff2d95;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*------ Layout Container ------*/
.pb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.pb-main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    margin-top: 80px;
}

.pb-content {
    min-width: 0;
}

/*------ Header (酸性设计导航) ------*/
.pb-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b4e 50%, #1a1a1a 100%);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #39ff14, #ff2d95, #00f0ff) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.pb-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.pb-logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.5));
}

.pb-nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
}

.pb-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pb-nav a:hover,
.pb-nav a.active {
    color: #0d0d0d;
    background: #39ff14;
    border-color: #39ff14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

/*------ Menu Toggle (Mobile) ------*/
.pb-menu-toggle {
    display: none;
    background: none;
    border: 2px solid #ff2d95;
    font-size: 20px;
    color: #ff2d95;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.pb-menu-toggle:hover {
    background: rgba(255, 45, 149, 0.2);
    box-shadow: 0 0 20px rgba(255, 45, 149, 0.5);
}

/*------ Section Title (TA居中带下划线) ------*/
.pb-section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.pb-section-title h2 {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    padding-bottom: 16px;
}

.pb-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #39ff14, #ff2d95);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

/*------ LW 切角卡片 ------*/
.pb-news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.pb-news-item {
    position: relative;
    background: #1a1a1a;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
    transition: all 0.4s ease;
}

.pb-news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1) 0%, rgba(255, 45, 149, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pb-news-item:hover::before {
    opacity: 1;
}

.pb-news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(57, 255, 20, 0.2), 0 0 30px rgba(255, 45, 149, 0.1);
}

/* 切角装饰角标 */
.pb-news-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 30px 0;
    border-color: transparent #0d0d0d transparent transparent;
}

.pb-news-image {
    height: 220px;
    overflow: hidden;
}

.pb-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pb-news-item:hover .pb-news-image img {
    transform: scale(1.08) rotate(2deg);
}

.pb-news-content {
    padding: 24px;
    position: relative;
    z-index: 1;
}

.pb-news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.5;
}

.pb-news-title a {
    color: inherit;
}

.pb-news-item:hover .pb-news-title a {
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.pb-news-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-news-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #666;
}

.pb-news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pb-news-meta i {
    color: #ff2d95;
}

/*------ Sidebar Widget ------*/
.pb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pb-widget {
    background: #1a1a1a;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
    padding: 24px;
    position: relative;
}

.pb-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff2d95, #00f0ff, #39ff14);
}

.pb-widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
}

.pb-widget-list {
    list-style: none;
}

.pb-widget-list li {
    padding: 14px 0;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pb-widget-list li:last-child {
    border-bottom: none;
}

.pb-widget-list a {
    color: #888;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pb-widget-list a:hover {
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.pb-widget-list .rank {
    flex: 0 0 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #0d0d0d;
    background: #ff2d95;
}

/*------ Tags Cloud ------*/
.pb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pb-tags a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #0d0d0d;
    background: #39ff14;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

.pb-tags a:hover {
    background: #ff2d95;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 45, 149, 0.5);
}

/*------ Breadcrumb ------*/
.pb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    font-size: 13px;
    color: #666;
}

.pb-breadcrumb a {
    color: #39ff14;
}

.pb-breadcrumb a:hover {
    color: #ff2d95;
}

/*------ Article Detail ------*/
.pb-article-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.pb-article-meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #666;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #2a2a2a;
}

.pb-article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pb-article-meta i {
    color: #ff2d95;
}

.pb-article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #ccc;
    max-width: 720px;
}

.pb-article-content p {
    margin-bottom: 1.5em;
}

.pb-article-content img {
    max-width: 100%;
    margin: 24px 0;
}

/*------ Pagination ------*/
.pb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #2a2a2a;
}

.pb-pagination a,
.pb-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    background: transparent;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
}

.pb-pagination a:hover {
    color: #0d0d0d;
    background: #39ff14;
    border-color: #39ff14;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.pb-pagination .current {
    color: #0d0d0d;
    background: #ff2d95;
    border-color: #ff2d95;
}

/*------ Footer ------*/
.pb-footer {
    margin-top: 100px;
    padding: 40px 0;
    background: #1a1a1a;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #39ff14, #ff2d95, #00f0ff) 1;
}

.pb-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.pb-footer-copy {
    font-size: 13px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pb-footer-copy a {
    color: #888;
}

.pb-footer-copy a:hover {
    color: #39ff14;
}

/*------ Button Style ------*/
.pb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    color: #0d0d0d;
    background: #39ff14;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pb-btn:hover {
    background: #ff2d95;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 45, 149, 0.5);
}

/*------ Responsive Design ------*/
@media (max-width: 991px) {
    .pb-main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pb-news-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 15px;
    }

    .pb-header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 16px 24px;
        gap: 16px;
    }

    .pb-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .pb-nav.active {
        display: block;
    }

    .pb-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .pb-nav a {
        padding: 12px 16px;
    }

    .pb-menu-toggle {
        display: block;
    }

    .pb-section-title {
        margin-bottom: 40px;
    }

    .pb-section-title h2 {
        font-size: 1.4rem;
    }

    .pb-news-item,
    .pb-news-item:hover {
        transform: none;
    }

    .pb-news-image {
        height: 180px;
    }

    .pb-article-title {
        font-size: 1.6rem;
    }

    .pb-article-meta {
        flex-direction: column;
        gap: 12px;
    }

    .pb-sidebar {
        flex-direction: column;
    }
}

/*------ Pre/Next Link ------*/
.pb-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 60px;
    padding: 32px 0;
    border-top: 1px solid #2a2a2a;
}

.pb-article-nav a {
    flex: 1;
    padding: 20px 24px;
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.pb-article-nav a:hover {
    border-color: #39ff14;
    color: #39ff14;
}

.pb-article-nav .next {
    text-align: right;
    justify-content: flex-end;
}