/* ========================================
   寸止挑战 游戏解说社区 - 主样式表
   王者荣耀风格设计
   ======================================== */

:root {
    --primary-color: #8B5CF6;
    --secondary-color: #FFD700;
    --accent-color: #00D9FF;
    --dark-bg: #0F172A;
    --light-bg: #1E293B;
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --border-color: #334155;
    --success-color: #10B981;
    --danger-color: #EF4444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ========== 头部导航栏 ========== */
.site-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--light-bg) 100%);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.logo-text {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* 主导航菜单 */
.main-nav {
    flex: 1;
    margin: 0 30px;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding-bottom: 5px;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* 搜索框 */
.search-section {
    flex-shrink: 0;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 8px 15px;
    gap: 10px;
    transition: all 0.3s ease;
}

.search-box:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--secondary-color);
}

.search-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 150px;
    outline: none;
    font-size: 14px;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

/* 移动菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========== Hero Banner ========== */
.hero-banner {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.djzgcc {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(139, 92, 246, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideInDown 0.8s ease;
}

.6hy3tt {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    animation: slideInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideInUp 0.8s ease 0.4s both;
}

.cta-btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--dark-bg);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.cta-btn.secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

/* ========== 主容器 ========== */
.site-main {
    min-height: calc(100vh - 140px);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 区域标题 ========== */
.section-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: center;
}

.ts01typ0 {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 16px;
}

/* ========== 精选视频区域 ========== */
.featured-videos {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--dark-bg), var(--light-bg));
}

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

.video-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--dark-bg);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--dark-bg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
    min-height: 40px;
}

.video-tags {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.video-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-secondary);
}

.lg7kt {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-more {
    text-align: center;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* ========== 服务卡片 ========== */
.services-section {
    padding: 60px 0;
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, var(--light-bg), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ========== 游戏分类 ========== */
.game-categories {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--dark-bg), var(--light-bg));
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: linear-gradient(135deg, var(--light-bg), rgba(0, 217, 255, 0.1));
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.2);
}

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

.category-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.category-card p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ========== 社区区域 ========== */
.community-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

.zj6j83 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(139, 92, 246, 0.4));
    z-index: 1;
}

.community-section .section-container {
    position: relative;
    z-index: 2;
}

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

.feature-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.feature-item h3 {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 13px;
}

.community-cta {
    text-align: center;
}

/* ========== 专家展示 ========== */
.experts-section {
    padding: 60px 0;
    background: var(--dark-bg);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.expert-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expert-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.expert-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--dark-bg);
}

.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.expert-card:hover .expert-image img {
    transform: scale(1.1);
}

.expert-info {
    padding: 20px;
}

.expert-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.expert-role {
    color: var(--accent-color);
    font-size: 13px;
    margin-bottom: 10px;
}

.expert-bio {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.expert-actions {
    display: flex;
    gap: 10px;
}

.expert-btn {
    flex: 1;
    padding: 8px 12px;
    background: var(--primary-color);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.expert-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

/* ========== FAQ区域 ========== */
.faq-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--dark-bg), var(--light-bg));
}

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

.faq-item {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: linear-gradient(135deg, var(--light-bg), rgba(139, 92, 246, 0.1));
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(255, 215, 0, 0.1));
}

.faq-q {
    color: var(--secondary-color);
    font-weight: 600;
    margin-right: 10px;
}

.faq-text {
    flex: 1;
    color: var(--text-primary);
}

.faq-toggle {
    color: var(--secondary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

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

.faq-answer {
    padding: 20px;
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
}

.faq-a {
    color: var(--accent-color);
    font-weight: 600;
    margin-right: 10px;
}

/* ========== 用户评价 ========== */
.testimonials-section {
    padding: 60px 0;
    background: var(--dark-bg);
}

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

.testimonial-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.testimonial-header {
    margin-bottom: 15px;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 14px;
}

.star {
    color: var(--secondary-color);
}

.testimonial-comment {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-game {
    color: var(--accent-color);
    font-size: 12px;
}

/* ========== 合作品牌 ========== */
.partners-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--dark-bg), var(--light-bg));
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.partner-logo {
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* ========== 加入社区CTA ========== */
.join-community-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    text-align: center;
}

.join-community-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.join-community-cta p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 页脚 ========== */
.site-footer {
    background: var(--light-bg);
    border-top: 2px solid var(--primary-color);
    color: var(--text-secondary);
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-about {
    display: flex;
    flex-direction: column;
}

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

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-logo h3 {
    color: var(--secondary-color);
    font-size: 16px;
}

.footer-about p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-links ul,
.footer-contact p {
    font-size: 13px;
    line-height: 1.8;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.jibu3kn {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.c6t1jf {
    flex: 1;
}

.zmd48 {
    width: 100px;
    height: 100px;
    background: var(--dark-bg);
    border: 2px dashed var(--border-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 auto 10px;
}

.c6t1jf p {
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.social-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.copyright {
    margin-bottom: 10px;
}

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

.icp a:hover {
    color: var(--secondary-color);
}

/* ========== 动画 ========== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== 页面通用样式 ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    padding: 60px 20px;
    text-align: center;
}

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

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

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ========== 筛选器 ========== */
.filter-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.filter-group label {
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-group select {
    background: var(--light-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:hover {
    border-color: var(--secondary-color);
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    padding: 8px 12px;
    background: var(--light-bg);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

.y2c32 {
    color: var(--text-secondary);
    padding: 8px 5px;
}
