/* 
 * 少女萝莉 - 核心样式表
 * 品牌：少女萝莉 | 域名：wqopay7.cn
 */

:root {
    --pink: #FF6B8B;
    --pink-dark: #E55A7A;
    --purple: #9B5DE5;
    --dark: #12122A;
    --dark-light: #1A1A3A;
    --light: #F8F9FA;
    --text-main: #333333;
    --text-muted: #A0AAB2;
    --border: #EEEEEE;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--pink);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 辅助类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: white !important; }
.text-muted { color: var(--text-muted); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }
.bg-pink { background-color: var(--pink); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.p-4 { padding: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-md-8 { flex: 0 0 66.666%; padding: 0 15px; }
.col-md-4 { flex: 0 0 33.333%; padding: 0 15px; }
.align-items-center { align-items: center; }

/* 按钮样式 */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--pink);
    color: white;
}

.btn-primary:hover {
    background-color: var(--pink-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--pink);
    color: var(--pink);
}

.btn-outline:hover {
    background-color: var(--pink);
    color: white;
}

.btn-large {
    padding: 12px 36px;
    font-size: 1.1rem;
    border-radius: 30px;
}

.btn-text {
    color: var(--pink);
    font-weight: 500;
}

/* 头部导航 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-menu a.active {
    color: var(--pink);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--pink);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 15px;
    padding-right: 35px;
    border: 1px solid var(--border);
    border-radius: 20px;
    outline: none;
    width: 200px;
    transition: width 0.3s;
}

.search-input:focus {
    border-color: var(--pink);
    width: 250px;
}

.search-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: white;
    padding: 15px;
    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 页面通用结构 */
.section {
    padding: 60px 0;
}

.a7w13 {
    margin-bottom: 40px;
    position: relative;
}

.a7w13 h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 10px;
}

.a7w13 p {
    color: var(--text-muted);
}

.ar4bsa5 {
    position: absolute;
    right: 0;
    top: 5px;
    color: var(--pink);
    font-weight: 500;
}

.alr8bo {
    padding: 60px 0;
    background-color: var(--light);
    text-align: center;
}

.y3og5 {
    padding: 15px 0;
    background-color: var(--light);
    font-size: 14px;
    color: var(--text-muted);
}

.y3og5 a {
    color: var(--text-main);
}

/* Hero Section */
.c35v9 {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.fl65t1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.s2egsj04 {
    position: relative;
    z-index: 2;
}

.l5wdit {
    max-width: 600px;
}

.l5wdit h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.fryilo {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.k96tcy {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.aeq2k1r {
    display: flex;
    gap: 40px;
}

.osu3xa {
    display: flex;
    flex-direction: column;
}

.utue6u {
    font-size: 24px;
    font-weight: bold;
    color: var(--pink);
}

.tp3pyk9 {
    font-size: 14px;
    opacity: 0.8;
}

/* 视频卡片 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-thumb {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 16px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

/* 直播卡片 */
.vv6nwv6 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.fc39za9 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding-top: 140%; /* 直播封面比例 */
    cursor: pointer;
}

.fc39za9 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.fc39za9:hover img {
    transform: scale(1.05);
}

.h91qvn6 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 50%, rgba(0,0,0,0.8) 100%);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.mnyowo {
    background: #FF3B30;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    align-self: flex-start;
}

.oi1ct2 {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
}

.xhtvmsx6 {
    font-size: 16px;
    margin-bottom: 5px;
}

.mjwsehj {
    font-size: 13px;
    opacity: 0.8;
}

/* 社区特性 */
.oayrsh {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.zy8vcb {
    text-align: center;
    padding: 30px 20px;
    background: var(--light);
    border-radius: 12px;
    transition: transform 0.3s;
}

.zy8vcb:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow);
}

.jnt9fv {
    font-size: 40px;
    margin-bottom: 15px;
}

.zy8vcb h3 {
    margin-bottom: 10px;
}

.zy8vcb p {
    font-size: 14px;
    color: var(--text-muted);
}

/* AI功能区 */
.if0kvi {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}

.hhfm5v {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cuwjgzso {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.cuwjgzso img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.x7zion4 {
    padding: 20px;
}

.x7zion4 h3 {
    color: var(--pink);
    margin-bottom: 10px;
}

.x7zion4 p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* 两列布局 (专家与合作) */
.fw81z0 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.c86vy4gh {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.vbn1qzs {
    display: flex;
    gap: 20px;
    align-items: center;
}

.vbn1qzs img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.inx94 h4 {
    margin-bottom: 5px;
}

.inx94 p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.y5xfcm9 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.y5xfcm9 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 用户评价 */
.n5yocf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.w0uf0 {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.mvwu1ba {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.gg65mzi {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.yg2zgzsv {
    font-weight: bold;
}

.okis0 {
    color: #FFC107;
}

.ehdwefbl {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-q h3 {
    font-size: 18px;
    font-weight: 500;
}

.faq-icon {
    font-size: 24px;
    color: var(--pink);
    transition: transform 0.3s;
}

.faq-a {
    margin-top: 15px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-a {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* 创作者中心布局 */
.nfhpx {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.hcyfru li {
    margin-bottom: 10px;
}

.hcyfru a {
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--text-main);
}

.hcyfru li.active a, .hcyfru a:hover {
    background: var(--light);
    color: var(--pink);
}

.qgixk6p8 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ojyzdu {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

/* 底部区域 */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.ws8uy15 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.hokvnz1 .fdrdzv {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 15px 0;
}

.gv9661ad {
    display: flex;
    gap: 10px;
}

.share-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.share-btn:hover {
    background: var(--pink);
}

.gg8lt62y h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.on9f41e li, .aplvg3pf li {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.on9f41e a:hover {
    color: var(--pink);
}

.kg5cgi {
    display: flex;
    gap: 15px;
}

.xci2515 {
    text-align: center;
}

.xci2515 img {
    width: 100px;
    height: 100px;
    background: white;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.xci2515 span {
    display: block;
    font-size: 14px;
}

.xci2515 small {
    color: rgba(255,255,255,0.5);
}

.t25ez {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* 视频弹窗 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.open {
    display: flex;
}

.video-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.video-container {
    width: 100%;
    background: #000;
}

.video-container video {
    width: 100%;
    max-height: 60vh;
    display: block;
}

.video-modal .video-info {
    padding: 20px;
    color: white;
}

.video-modal .video-meta {
    margin: 10px 0;
}

.yicxrtcc {
    background: var(--pink);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
}

/* 选项卡与分页 */
.filter-bar, .cat-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn, .cat-tab {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .cat-tab.active {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
}

.page-btn.active {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

.page-btn.next {
    width: auto;
    padding: 0 15px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .ws8uy15 {
        grid-template-columns: 1fr 1fr;
    }
    .hokvnz1, .kg5cgi {
        grid-column: span 2;
    }
    .fw81z0 {
        grid-template-columns: 1fr;
    }
    .l5wdit h1 {
        font-size: 32px;
    }
    .oayrsh {
        grid-template-columns: repeat(2, 1fr);
    }
    .hhfm5v {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu, .search-box, .header-actions .btn-primary {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .aeq2k1r {
        flex-direction: column;
        gap: 15px;
    }
    .a7w13 .ar4bsa5 {
        position: static;
        display: block;
        margin-top: 10px;
    }
    .qgixk6p8 {
        grid-template-columns: 1fr;
    }
    .oayrsh, .hhfm5v {
        grid-template-columns: 1fr;
    }
    .ws8uy15 {
        grid-template-columns: 1fr;
    }
    .hokvnz1, .kg5cgi {
        grid-column: span 1;
    }
    .t25ez {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
