
/*
 * 小旋风蜘蛛池模板：漩涡噩梦
 * 设计师：Manus AI
 * 主题：伊藤润二经典漩涡/螺旋元素风格
 * 配色：纯黑底(#0a0a0a)、骨白(#e8e0d0)、血红(#8b0000)、腐绿(#2d4a2d)
 */

:root {
    --bg-color: #0a0a0a;
    --text-color: #e8e0d0;
    --primary-color: #8b0000; /* 血红 */
    --secondary-color: #2d4a2d; /* 腐绿 */
    --border-color: #444;
    --hover-color: #ab1a1a;
}

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

@keyframes spiral-bg {
    0% { transform: rotate(0deg) scale(1.5); }
    100% { transform: rotate(360deg) scale(1.5); }
}

@keyframes text-distort {
    0%, 100% { transform: skewX(0deg) skewY(0deg); text-shadow: 0 0 1px var(--text-color); }
    25% { transform: skewX(2deg) skewY(-1deg); text-shadow: 1px 1px 3px var(--primary-color); }
    50% { transform: skewX(-2deg) skewY(1deg); text-shadow: -1px -1px 3px var(--secondary-color); }
    75% { transform: skewX(1deg) skewY(-2deg); }
}

@keyframes spiral-in {
    from { transform: rotate(0deg) scale(1); opacity: 1; }
    to { transform: rotate(-360deg) scale(0); opacity: 0; }
}

body.vortex-body {
    font-family: 'serif', 'Times New Roman', Times, serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.background-vortex {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200vw;
    height: 200vh;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,50 m0,-48 a48,48 0 1,1 0,96 a48,48 0 1,1 0,-96" fill="none" stroke="%23222" stroke-width="1"/><path d="M50,50 m0,-44 a44,44 0 1,1 0,88 a44,44 0 1,1 0,-88" fill="none" stroke="%23222" stroke-width="1" stroke-dasharray="2,2"/><path d="M50,50 m0,-40 a40,40 0 1,1 0,80 a40,40 0 1,1 0,-80" fill="none" stroke="%23333" stroke-width="1"/><path d="M50,50 m0,-36 a36,36 0 1,1 0,72 a36,36 0 1,1 0,-72" fill="none" stroke="%23222" stroke-width="1" stroke-dasharray="1,3"/><path d="M50,50 m0,-32 a32,32 0 1,1 0,64 a32,32 0 1,1 0,-64" fill="none" stroke="%23333" stroke-width="1"/><path d="M50,50 m0,-28 a28,28 0 1,1 0,56 a28,28 0 1,1 0,-56" fill="none" stroke="%23222" stroke-width="1"/><path d="M50,50 m0,-24 a24,24 0 1,1 0,48 a24,24 0 1,1 0,-48" fill="none" stroke="%23333" stroke-width="1" stroke-dasharray="3,1"/><path d="M50,50 m0,-20 a20,20 0 1,1 0,40 a20,20 0 1,1 0,-40" fill="none" stroke="%23222" stroke-width="1"/><path d="M50,50 m0,-16 a16,16 0 1,1 0,32 a16,16 0 1,1 0,-16" fill="none" stroke="%23333" stroke-width="1"/><path d="M50,50 m0,-12 a12,12 0 1,1 0,24 a12,12 0 1,1 0,-24" fill="none" stroke="%23222" stroke-width="1"/><path d="M50,50 m0,-8 a8,8 0 1,1 0,16 a8,8 0 1,1 0,-16" fill="none" stroke="%23333" stroke-width="1"/><path d="M50,50 m0,-4 a4,4 0 1,1 0,8 a4,4 0 1,1 0,-8" fill="none" stroke="%23222" stroke-width="1"/></svg>');
    background-size: cover;
    background-position: center;
    transform-origin: center;
    animation: spiral-bg 120s linear infinite;
    opacity: 0.05;
    z-index: -1;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
    text-shadow: 0 0 5px var(--primary-color);
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 页面边缘漩涡纹理 */
body::before, body::after {
    content: '';
    position: fixed;
    width: 150px;
    height: 100%;
    top: 0;
    background-image: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,1) 50%, rgba(10,10,10,0) 100%),
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 C25,25 25,75 0,100" stroke="%238b0000" fill="none" stroke-width="1" opacity="0.2"/><path d="M10,0 C35,25 35,75 10,100" stroke="%23e8e0d0" fill="none" stroke-width="0.5" opacity="0.1"/></svg>');
    background-repeat: repeat-y;
    z-index: 10;
    pointer-events: none;
}

body::before {
    left: 0;
    background-position: left top;
}

body::after {
    right: 0;
    background-position: right top;
    transform: scaleX(-1);
}

/* 2. Header & Navigation */
.site-header-vortex {
    background-color: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.header-inner-vortex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-vortex a {
    display: flex;
    align-items: center;
}

.logo-image-distort {
    width: 160px;
    height: 45px;
    animation: text-distort 10s ease-in-out infinite alternate;
}

.logo-text-distort {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 1rem;
    color: var(--text-color);
    animation: text-distort 8s ease-in-out infinite;
}

.main-nav-vortex {
    display: flex;
    gap: 1.5rem;
}

.nav-link-vortex {
    font-size: 1.1rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-link-vortex::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-link-vortex:hover::after {
    width: 100%;
    left: 0;
}

.search-box-vortex {
    position: relative;
}

.search-input-vortex {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border-radius: 50px;
    width: 200px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.search-input-vortex:focus {
    width: 250px;
    background-color: rgba(0,0,0,0.3);
    outline: none;
    border-color: var(--primary-color);
}

.search-btn-vortex {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
}

/* 3. Main Content & Cards */
.main-content-vortex {
    padding: 2rem 0;
}

.content-wrap-vortex {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-area-vortex {
    flex: 3;
}

.has-sidebar-vortex .main-area-vortex {
    width: calc(100% - 320px); /* 300px sidebar + 20px gap */
}

.breadcrumb-vortex {
    max-width: 1400px;
    margin: 0 auto 2rem auto;
    padding: 0 2rem;
    color: #888;
}

.breadcrumb-vortex a {
    color: #888;
}

.breadcrumb-vortex a:hover {
    color: var(--text-color);
}

.sep-vortex {
    margin: 0 0.5rem;
}

.hero-section-vortex {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero-spiral-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, transparent 0%, var(--bg-color) 70%);
    z-index: 1;
}

.hero-inner-vortex {
    position: relative;
    z-index: 2;
}

.distorted-text-title {
    font-size: 3rem;
    color: var(--primary-color);
    animation: text-distort 6s ease-in-out infinite alternate;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--primary-color);
}

.distorted-text-p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    animation: text-distort 12s ease-in-out infinite;
}

.hero-btn-vortex {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-btn-vortex:hover {
    background-color: var(--hover-color);
    transform: scale(1.05);
    color: #fff;
}

.section-header-vortex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.distorted-h2 {
    font-size: 1.8rem;
    animation: text-distort 15s linear infinite alternate;
}

.icon-spiral-red { color: var(--primary-color); }
.icon-spiral-green { color: var(--secondary-color); }

.more-link-vortex {
    color: #888;
}

.video-grid-vortex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.video-card-vortex {
    background-color: #111;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card-vortex:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.card-poster-vortex {
    position: relative;
    overflow: hidden;
}

.distorted-img {
    transition: transform 0.5s ease;
}

.video-card-vortex:hover .distorted-img {
    transform: scale(1.1) rotate(-2deg);
}

.card-overlay-vortex {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card-vortex:hover .card-overlay-vortex {
    opacity: 1;
}

.card-play-vortex {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

/* 卡片悬停螺旋吸入效果 */
.video-card-vortex:hover .card-link-vortex {
    animation: spiral-in 0.8s forwards cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.card-info-vortex {
    padding: 1rem;
}

.card-title-vortex {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
}

.card-meta-vortex {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
}
/* 4. Sidebar, Footer & Detail Page */
.sidebar-vortex {
    flex: 1;
    max-width: 300px;
}

.sidebar-box-spiral {
    background-color: #111;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-title-distort {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    animation: text-distort 12s ease-in-out infinite;
}

.sidebar-list-vortex li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #333;
}

.sidebar-list-vortex li:last-child {
    border-bottom: none;
}

.ranking-spiral .rank-num-spiral {
    display: inline-block;
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

.tag-cloud-vortex {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item-distort {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tag-item-distort:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    transform: skewX(-10deg);
}

.site-footer-vortex {
    background-color: #000;
    padding: 3rem 2rem;
    border-top: 2px solid var(--primary-color);
    position: relative;
}

.footer-inner-vortex {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid-vortex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title-spiral {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.spiral-text-red { color: var(--primary-color); }
.spiral-text-green { color: var(--secondary-color); }
.spiral-text-bone { color: var(--text-color); }

.footer-links-vortex li {
    margin-bottom: 0.5rem;
}

.footer-bottom-vortex {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: #666;
}

.footer-bottom-vortex a {
    color: #888;
}

/* Detail Page */
.detail-article-vortex {
    background: #111;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.detail-header-vortex {
    text-align: center;
    margin-bottom: 2rem;
}

.detail-meta-vortex {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: #888;
}

.meta-tag-vortex a {
    color: #888;
}

.detail-player-vortex {
    margin-bottom: 2rem;
}

.player-poster-distort {
    width: 100%;
    border: 5px solid var(--bg-color);
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    animation: text-distort 20s linear infinite alternate;
}

.body-content-vortex {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    columns: 2;
    column-gap: 2rem;
}

.prev-next-vortex {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pagination-vortex {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link-vortex {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
}

.page-link-vortex:hover, .page-link-vortex.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* 5. Responsive Design */
@media (max-width: 1024px) {
    .content-wrap-vortex {
        flex-direction: column;
    }
    .has-sidebar-vortex .main-area-vortex {
        width: 100%;
    }
    .sidebar-vortex {
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .video-grid-vortex {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid-vortex {
        grid-template-columns: 1fr 1fr;
    }
    .body-content-vortex {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .header-inner-vortex {
        flex-direction: column;
        gap: 1rem;
    }
    .main-nav-vortex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .video-grid-vortex {
        grid-template-columns: repeat(2, 1fr);
    }
    .distorted-text-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .video-grid-vortex {
        grid-template-columns: 1fr;
    }
    .footer-grid-vortex {
        grid-template-columns: 1fr;
    }
    .sidebar-vortex {
        grid-template-columns: 1fr;
    }
    .distorted-text-title {
        font-size: 2rem;
    }
    .header-inner-vortex {
        padding: 1rem;
    }
    .search-input-vortex {
        width: 150px;
    }
    .search-input-vortex:focus {
        width: 180px;
    }
}

/* Anti-interference random CSS class names */
.x-ab8d_s1 {
    opacity: 0.99;
}
.y-f92k_p2 {
    position: relative;
}
.z-a34s_t8 {
    margin: 0;
}
.w-k2l9_b4 {
    padding: 0;
}
