/* 少女网app - 主样式表 */
/* 品牌：少女网app | 域名：01367.hk */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

a:hover {
    color: #ff6b9d;
}

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

ul, ol {
    list-style: none;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #8e44ad 100%);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: #fff;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Search Box */
.search-box {
    background: rgba(255,255,255,0.1);
    padding: 15px 0;
}

.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-input {
    width: 60%;
    max-width: 500px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: #f5f5f5;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    color: #ff6b9d;
}

/* Banner/Slider */
.banner {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.banner-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner-dot.active {
    background: #ff6b9d;
}

/* Section Title */
.section-title {
    text-align: center;
    padding: 40px 0 30px;
}

.section-title h2 {
    font-size: 1.8rem;
    color: #333;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    margin-top: 15px;
}

/* Video Card Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,107,157,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.85rem;
}

.video-stats {
    display: flex;
    gap: 15px;
}

/* Expert Section */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.expert-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-3px);
}

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.expert-title {
    color: #ff6b9d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.expert-desc {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

.expert-btns {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ff6b9d;
    color: #ff6b9d;
}

.btn:hover {
    transform: scale(1.05);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Partners Section */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
}

.partner-logo {
    width: 150px;
    height: 60px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name {
    font-weight: bold;
}

.review-rating {
    color: #ffc107;
}

.review-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 50px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.qrcode-img {
    width: 150px;
    height: 150px;
    margin: 15px auto;
}

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

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    display: none;
}

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

/* Share Buttons */
.share-section {
    text-align: center;
    padding: 30px 0;
}

.share-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #000; }
.share-bilibili { background: #fb7299; }

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff6b9d;
}

.footer-col p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ff6b9d;
}

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

.footer-logo img {
    height: 40px;
}

.footer-qrcodes {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

.footer-qrcode p {
    font-size: 0.8rem;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #ff6b9d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .banner {
        height: 250px;
    }
    
    .banner-content h2 {
        font-size: 1.3rem;
    }
    
    .search-input {
        width: 70%;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .expert-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-card {
        flex-direction: column;
        text-align: center;
    }
    
    .expert-avatar {
        margin: 0 auto;
    }
    
    .expert-btns {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-qrcodes {
        justify-content: center;
    }
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Category Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    justify-content: center;
}

.category-tag {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-tag:hover,
.category-tag.active {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: #fff;
    border-color: transparent;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #8e44ad 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Tool Cards */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.tool-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.tool-card p {
    color: #666;
    font-size: 0.85rem;
}

/* Community Section */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.community-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.community-img {
    height: 200px;
    overflow: hidden;
}

.community-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.community-content {
    padding: 20px;
}

.community-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.community-content p {
    color: #666;
    font-size: 0.9rem;
}

/* Live Badge */
.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    padding: 50px 0;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
