* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;

    -webkit-tap-highlight-color: transparent;


}
.qq-login img{
    height: 18px;
}


.colorText {
    display: inline;
    background: linear-gradient(90deg, #fff, #00ff00, #ff0000, #fff, #ff00c8, #ffffff, #00f2ff, #ffff00, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    background-size: 400% 400%;
    animation: rainbow 24s ease infinite;
}


@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes card-entrance {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0) scale3d(0.95, 0.95, 0.95);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    }
}

@keyframes carousel360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate360 {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

header {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

    width: 100%;
    height: 100%;
    min-height: 330px;
    max-width: 1200px;
    margin: 0 auto;
    /* 星空背景下的玻璃态效果 */
    background: linear-gradient(135deg,
            rgba(0, 29, 61, 0.3) 0%,
            rgba(0, 8, 20, 0.1) 50%,
            rgba(0, 29, 61, 0.2) 100%);
    /* 玻璃态效果 */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* 星空光晕效果 */
    box-shadow:
        0 8px 64px rgba(0, 0, 0, 0.7),
        0 4px 32px rgba(0, 119, 190, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    /* 边框发光效果 */
    border: 1px solid rgba(255, 255, 255, 0.1);

    gap: 20px;

    padding: 35px 20px;

    overflow: hidden;

}

.top-bar{
    position: absolute;
    z-index: 999999999;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 10px;

}

.top-bar.right {
    right: 10px;
}
.top-bar.left {
    left: 10px;
}
.top-bar a{
    font-size: 16px;
    text-decoration: none;
    border: 0px solid #fff;
    border-radius: 6px;
    padding: 5px 15px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar a:hover{
    background-color: rgba(2, 56, 92, 0.548);
}

.right-bar {
    position: fixed;
    right: 0px;
    top: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 999999999;
    gap: 10px;
    /* 渐变 */
    background: linear-gradient(to right, rgba(255, 0, 0, 0.8), #00ff9d);
    padding: 10px 20px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    outline: none;
    border: 1px solid #ff0055;
    border-right: 0;

    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
}
.right-bar:hover{
    background: linear-gradient(to right, rgba(248, 43, 43, 0.8), #f13574);
}







header .lr-btn-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

header .lr-btn-box .btn {
    border: 1px solid #fff;
    background-color: rgba(102, 126, 234, 0.6);
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;

}



.fixed-btn {
    position: fixed;
    z-index: 999999999;
    transform: translateX(-50%);
    background-image: var(--image);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}















/* 图标和品牌名称 */
.logo {
    position: absolute;
    width: 200px;
    height: 200px;
    left: 50%;
    transform: translateX(-50%);
    top: 0px;
    border-radius: 50%;
    background-image: url('logo.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;

}

.branding {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.branding .title {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.branding .desc {
    font-size: 14px;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 搜索栏 */
.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 700px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 3px solid #2196f3;

}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 5px 5px;
    font-size: 18px;
    background: transparent;
    color: #ffffff;
    width: 60%;
}

.search-bar input:focus {
    outline: none;
}

.search-bar:hover {
    border: 3px solid #027bdd !important;
}

.search-bar button {
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 20px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    /* 渐变按钮 */

    background: linear-gradient(to right, #2196f3, #027bdd);
    transition: all 0.3s ease-in-out;
}

.search-bar button:hover {
    background: linear-gradient(to right, #008cff, #65e2fc);
}

@media(max-width: 768px) {
    .branding .title {
        font-size: 28px;
    }

    .container {
        padding: 0 15px;
    }
}

html {
    overflow: auto;
}



body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif !important;
    background: #000814;
    background: radial-gradient(ellipse at bottom, #001d3d 0%, #000814 100%);
    min-height: 100vh;
    padding: 0px;
    margin: 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* 星空背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -2;
}

/* 星星层 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

/* 小星星 */
.star.small {
    width: 1px;
    height: 1px;
    animation-duration: 2s;
}

/* 中星星 */
.star.medium {
    width: 2px;
    height: 2px;
    animation-duration: 3s;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

/* 大星星 */
.star.large {
    width: 3px;
    height: 3px;
    animation-duration: 4s;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

/* 流星 */
.meteor {
    position: fixed;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, #fff, transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;
    animation: meteor 3s linear infinite;
    opacity: 0;
}

.meteor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
    transform: translateX(-50px);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes meteor {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-65deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-300px, 100vh) rotate(-65deg);
    }
}




.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px !important;
    margin-top: 88px;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px !important;
    padding: 20px !important;
    justify-items: center;
    margin: 0 !important;
}

.card {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    color: inherit;
    overflow: visible;
    min-height: 380px;
    max-height: 380px;
    width: 100%;
    max-width: 320px;
    margin: 0 !important;
    margin-bottom: 20px !important;
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale3d(0.95, 0.95, 0.95);
    animation: card-entrance 0.4s ease-out forwards;
    /* 硬件加速优化 */
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

.card:hover {
    transform: translate3d(0, -8px, 0) scale3d(1.02, 1.02, 1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}



.card:hover .fancy-border::before {
    filter: brightness(1.3) saturate(1.5);
    box-shadow: 
        0 0 20px rgba(199, 21, 133, 0.6),
        0 0 40px rgba(0, 191, 255, 0.4),
        0 0 60px rgba(255, 0, 0, 0.3),
        0 0 80px rgba(255, 165, 0, 0.2);
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.3s; }
.card:nth-child(7) { animation-delay: 0.35s; }
.card:nth-child(8) { animation-delay: 0.4s; }
.card:nth-child(9) { animation-delay: 0.45s; }
.card:nth-child(10) { animation-delay: 0.5s; }
.card:nth-child(11) { animation-delay: 0.55s; }
.card:nth-child(12) { animation-delay: 0.6s; }



.card .fancy-border {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 13px;
    z-index: -1;
    overflow: hidden;
}

.fancy-border::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--vip-border-color, linear-gradient(25deg, #c71585, #00bfff, #ff0000, #ffa500, #008000, #32cd32, #c71585));
}

.fancy-border.marquee::before {
    animation: carousel360 8s linear infinite;
}
.fancy-border::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: var(--vip-bg-color, linear-gradient(-35deg, #fff, #fff));
    border-radius: 10px;
    z-index: 10;
}



.card .title-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card .title-box img {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.card .title-box img.rotate360 {
    animation: rotate360 3s linear infinite;
}

.card .title-box .title {
    font-size: 1.1rem !important;
    color: #2d3748;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card .content-box {
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    position: relative;
    z-index: 11;
}

.card .content-box .label {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
    white-space: nowrap;
    margin-bottom: 6px;
}

.card .content-box .content-item {
    display: block;
    margin-bottom: 12px;
    width: 100%;
    min-height: 100px !important;
    position: relative;
    z-index: 11;
}

.card .content-box .content-text {
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.card .content-box .content-text.keyword {
    -webkit-line-clamp: 3 !important;
}


.card-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #764ba2;
}

.card-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.card-link:hover::after {
    transform: translateX(3px);
}



@media (max-width: 1200px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px !important;
        padding: 20px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px !important;
        padding: 20px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    .card {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        gap: 20px !important;
        padding: 20px !important;
        margin: 0 !important;
    }

    .card {
        max-width: 300px;
        padding: 20px;
    }

    .container {
        padding: 0 10px;
    }
}

@media (max-width: 320px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        gap: 20px !important;
        padding: 20px !important;
        margin: 0 !important;
    }

    .card {
        padding: 15px;
        min-height: 320px;
    }

    .container {
        padding: 0 8px;
    }
}



/* 右上角斜着的文字 */
.vip-text {
    pointer-events: none;
    position: absolute;
    z-index: 0;
    top: 10px;
    right: 10px;
}

.vip-text::after {
    content: 'VIP';
    position: absolute;
    right: 0;
    top: 0;
    padding: 1px 10px;
    white-space: nowrap;

    font-size: 1.0rem;
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 2;
    border-radius: 5px;
    text-align: center;
    color: red;
    background-color: #fff;
}

.vip {
    z-index: 0;
}

.vip .content-text {
    color: var(--vip-text-cl, #fff) !important;
}

.vip .title {
    color: var(--vip-title-cl, #fff) !important;
    ;
}

footer {

    text-align: center;
    padding: 0.8rem;
    margin-top: 3rem;
    /* background: rgba(0, 0, 0, 0.274); */
    color: #bdb8b8;
    font-size: 12px;
    margin: 0 !important;
    box-sizing: border-box;
}