/* 91视频在线观看18 - 品牌主题网站样式 */
/* 域名: 37gaokao.com */

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

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 头部导航 */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

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

.logo img {
    height: 45px;
    border-radius: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

/* 搜索框 */
.search-bar {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 20px 0;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    background: rgba(255,255,255,0.95);
    outline: none;
}

.search-btn {
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

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

/* 面包屑导航 */
.breadcrumb {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-list li::after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-list li:last-child::after {
    content: '';
}

.breadcrumb-list a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, rgba(26,26,46,0.9) 0%, rgba(22,33,62,0.9) 100%), url('../images/hero-bg.jpg') center/cover;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

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

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255,107,107,0.4);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,107,107,0.5);
}

/* 通用区块 */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

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

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.video-thumb {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}

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

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

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

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

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

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

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-color);
    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: #999;
}

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

/* 分类标签 */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-tag {
    padding: 8px 20px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-tag:hover, .category-tag.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* 专家展示 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.expert-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.expert-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.expert-card .title {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.expert-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.expert-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    margin: 0 5px;
}

/* 合作品牌 */
.brand-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
}

.brand-logo {
    height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

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

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

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

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-color);
}

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

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

.faq-item.active .faq-question::after {
    content: '-';
}

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

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

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author h5 {
    font-size: 16px;
    margin-bottom: 3px;
}

.review-rating {
    color: #ffc107;
}

.review-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 联系信息 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #fff;
}

.contact-card h4 {
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

.footer-qrcode img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
}

.footer-qrcode p {
    font-size: 12px;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* 社交分享 */
.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    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; }

/* 响应式 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* 懒加载占位 */
.lazy-load {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 内页样式 */
.page-header {
    background: linear-gradient(135deg, rgba(26,26,46,0.95) 0%, rgba(22,33,62,0.95) 100%), url('../images/hero-bg.jpg') center/cover;
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

.content-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.content-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.content-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 工具卡片 */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.tool-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tool-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.tool-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #fff;
}

.tool-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 14px;
    color: #666;
}

/* 社区帖子 */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.post-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.post-content {
    flex: 1;
}

.post-author {
    font-weight: bold;
    margin-bottom: 5px;
}

.post-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 20px;
}


/* 文章内容页样式 */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-content h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.article-meta {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-meta span {
    margin: 0 15px;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #ff6b6b;
}

.policy-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.policy-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.policy-section li {
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

/* 专家详情页样式 */
.expert-card-detail {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.expert-photo {
    flex-shrink: 0;
    width: 200px;
}

.expert-photo img {
    width: 100%;
    border-radius: 10px;
}

.expert-info-detail h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.expert-title {
    color: #ff6b6b;
    font-weight: 500;
    margin-bottom: 20px;
}

.expert-credentials {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.expert-credentials p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.expert-credentials ul {
    padding-left: 20px;
    margin-top: 10px;
}

.expert-credentials li {
    line-height: 1.6;
    color: #555;
}

.expert-bio {
    line-height: 1.8;
    color: #555;
}

/* 优势卡片 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

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

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

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

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .expert-card-detail {
        flex-direction: column;
    }
    
    .expert-photo {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* 主内容区域 */
.main-content {
    min-height: 60vh;
    padding: 20px 0;
}


/* 伪视频效果 */
.video-thumb video.fake-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-thumb video.fake-video {
    opacity: 1;
}

.video-card:hover .video-thumb img.thumb-img {
    opacity: 0;
}

/* 视频加载动画 */
.video-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    z-index: 1;
    pointer-events: none;
}

.video-card:hover .video-thumb::before {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* 视频进度条 */
.video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.1s linear;
}

.video-card:hover .video-progress {
    animation: progress 5s linear infinite;
}

@keyframes progress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* 视频控制条 */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-controls {
    opacity: 1;
}

.video-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
}

.video-controls .ctrl-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    font-size: 14px;
}

/* 音量图标 */
.volume-icon::before {
    content: '🔊';
}

/* 全屏图标 */
.fullscreen-icon::before {
    content: '⛶';
}
