/* 
 * 3d同人传媒网站样式表
 * 移动端优先响应式设计
 * 2026年版本
 */

/* CSS变量定义 */
:root {
    --primary-color: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --secondary-color: #f97316;
    --secondary-dark: #ea580c;
    --accent-color: #06b6d4;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s ease;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    --font-heading: "PingFang SC", "Microsoft YaHei", var(--font-sans);
}

/* 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 顶部导航 */
.site-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e1b4b 100%);
    box-shadow: var(--shadow-md);
}

.main-nav {
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.site-logo {
    height: 36px;
    width: auto;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    left: 0;
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 7px;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    list-style: none;
    padding: 1rem 0;
    z-index: 1000;
}

.nav-menu.active {
    display: block;
}

.nav-menu li {
    padding: 0;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #e5e7eb;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.cta-btn {
    margin: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: #fff;
    border-radius: var(--radius-md);
    text-align: center;
}

.nav-link.cta-btn:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, #c2410c 100%);
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--bg-light);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-light);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

/* 主视觉区域 */
.hero-section {
    background: linear-gradient(135deg, #1e1b4b 0%, var(--bg-dark) 50%, #312e81 100%);
    padding: 3rem 1rem;
    color: #fff;
}

.hero-content {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 通用区块样式 */
section {
    padding: 3rem 0;
}

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

.section-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* 品牌介绍 */
.brand-intro {
    background: var(--bg-light);
}

.brand-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.brand-text p {
    margin-bottom: 1.25rem;
    text-align: justify;
    color: var(--text-color);
}

.brand-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 100%;
    height: auto;
}

/* 服务项目 */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

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

.service-content {
    padding: 1.25rem;
}

.service-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* 视频展示区 */
.video-showcase {
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-light) 100%);
}

.video-player-wrapper {
    margin-bottom: 3rem;
}

.video-player {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
}

.video-player video {
    width: 100%;
    display: block;
}

.video-info {
    padding: 1.5rem 0;
    text-align: center;
}

.video-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.video-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 视频卡片 */
.cards-title {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.video-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.video-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.card-content {
    padding: 1rem;
}

.card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.score {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* 负责任视频 */
.responsible-media {
    background: #fff;
}

.responsible-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.responsible-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.item-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.item-desc a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 支付方式 */
.payment-section {
    background: var(--bg-light);
}

.payment-intro {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.payment-method:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.method-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.method-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

.payment-icons {
    text-align: center;
}

.payment-icons img {
    max-width: 300px;
    margin: 0 auto;
}

/* 资质认证 */
.production-license {
    background: #fff;
}

.license-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.license-title,
.compliance-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.license-desc,
.compliance-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.license-list {
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

.license-list dt {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.license-list dd {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.license-list dd:last-child {
    margin-bottom: 0;
}

/* 客户支持 */
.customer-support {
    background: var(--bg-light);
}

.support-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.support-channel {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.channel-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.channel-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.channel-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 常见问题 */
.faq-section {
    background: #fff;
}

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

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-light);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 1rem 1.25rem;
    background: #fff;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-color);
}

/* 用户评论 */
.reviews-section {
    background: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.review-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-color);
    display: block;
}

.reviewer-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating .stars {
    font-size: 1rem;
}

.review-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.review-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 页脚 */
.site-footer {
    background: var(--bg-dark);
    color: #d1d5db;
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-logo img {
    margin-top: 1rem;
}

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

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

.footer-nav a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.contact-info {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-legal a {
    color: #9ca3af;
    font-size: 0.8rem;
}

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

.footer-license {
    margin-bottom: 1rem;
}

.footer-license p {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.footer-payment {
    margin-bottom: 1rem;
}

.footer-payment img {
    max-width: 200px;
    margin: 0 auto;
    opacity: 0.8;
}

.footer-age-restriction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #dc2626;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
}

.footer-age-restriction p {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* 平板端适配 */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .responsible-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-channels {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 桌面端适配 */
@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        position: static;
        background: transparent;
        padding: 0;
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.875rem;
        border-radius: var(--radius-sm);
    }
    
    .nav-link.cta-btn {
        margin: 0;
        margin-left: 0.5rem;
    }
    
    .hero-section {
        padding: 5rem 1.5rem;
        display: flex;
        align-items: center;
    }
    
    .hero-section .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .hero-content {
        text-align: left;
        margin-bottom: 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-cta {
        justify-content: flex-start;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .brand-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .brand-text {
        flex: 2;
    }
    
    .brand-image {
        flex: 1;
        position: sticky;
        top: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .responsible-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .license-content {
        flex-direction: row;
    }
    
    .license-info,
    .compliance-statement {
        flex: 1;
    }
    
    .support-channels {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .footer-legal {
        margin-bottom: 0;
    }
    
    .footer-license {
        margin-bottom: 0;
    }
    
    .footer-payment {
        margin-bottom: 0;
    }
}

/* 大屏幕适配 */
@media (min-width: 1280px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .hero-cta,
    .video-player,
    .mobile-menu-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}
