/* ============================================================
   萝莉岛 - 完全原创CSS样式表
   配色方案：珊瑚粉+琥珀橙渐变 / 深墨灰背景 / 象牙白文字
   布局方案：CSS Grid + Flexbox 混合布局
   ============================================================ */

/* --- CSS变量 --- */
:root {
    --coral: #FF6B6B;
    --amber: #FFB347;
    --deep-ink: #1A1D23;
    --charcoal: #2D3142;
    --slate: #4A4E69;
    --mist: #9A8C98;
    --ivory: #F2E9E4;
    --snow: #FAFAFA;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, var(--coral), var(--amber));
    --gradient-dark: linear-gradient(180deg, var(--deep-ink) 0%, #12141A 100%);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 12px 40px rgba(255, 107, 107, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 107, 107, 0.15);
    --font-main: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --font-title: 'PingFang SC', 'STHeiti', 'Microsoft YaHei', sans-serif;
    --max-width: 1240px;
    --nav-height: 64px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
    font-family: var(--font-main);
    background: var(--gradient-dark);
    color: var(--ivory);
    line-height: 1.75;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- 导航栏 --- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(26, 29, 35, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: background var(--transition-smooth);
}

.site-nav.scrolled {
    background: rgba(26, 29, 35, 0.96);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mist);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--ivory);
    background: var(--glass);
}

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

.nav-download {
    background: var(--gradient-main) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-xl) !important;
}

.nav-download:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ivory);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- 主内容区 --- */
main {
    padding-top: var(--nav-height);
}

/* --- 区块通用标题 --- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--mist);
    font-size: 1rem;
}

/* ===== 1. 欢迎区域 ===== */
.hero-section {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 860px;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--ivory);
}

.hero-content h1 em {
    font-style: normal;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content > p {
    font-size: 1.05rem;
    color: var(--mist);
    line-height: 1.9;
}

/* ===== 2. 精选视频区 ===== */
.featured-section {
    padding: 70px 0;
}

.featured-player {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto 28px;
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.featured-player img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background var(--transition-fast);
}

.featured-player:hover .play-overlay {
    background: rgba(0, 0, 0, 0.15);
}

.play-btn {
    width: 72px;
    height: 72px;
    background: var(--gradient-main);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
    transition: transform var(--transition-smooth);
}

.featured-player:hover .play-btn {
    transform: scale(1.1);
}

.play-btn::after {
    content: '';
    position: absolute;
    left: 54%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 22px;
    border-color: transparent transparent transparent #fff;
}

.featured-desc {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    color: var(--mist);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== 3. 关于我们 ===== */
.about-section {
    padding: 70px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.about-text h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--mist);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.85;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--mist);
}

/* ===== 4. 热门推荐 ===== */
.videos-section {
    padding: 70px 0;
}

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

.video-card {
    background: var(--charcoal);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-smooth);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 107, 107, 0.25);
}

.card-thumb {
    position: relative;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-main);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-xl);
}

.card-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.card-body {
    padding: 14px 16px 18px;
}

.card-body h3 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--ivory);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}

.video-meta .rating {
    color: var(--amber);
}

.video-meta .views {
    color: var(--mist);
}

.video-desc {
    font-size: 0.8rem;
    color: var(--mist);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 5. 资质认证 ===== */
.cert-section {
    padding: 70px 0;
}

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

.cert-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-smooth);
}

.cert-item:hover {
    border-color: rgba(255, 179, 71, 0.3);
    transform: translateY(-4px);
}

.cert-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.cert-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--ivory);
}

.cert-item p {
    font-size: 0.85rem;
    color: var(--mist);
    line-height: 1.7;
}

/* ===== 6. 支付方式 ===== */
.payment-section {
    padding: 70px 0;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px 36px;
    min-width: 130px;
    transition: all var(--transition-smooth);
}

.payment-item:hover {
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-3px);
}

.pay-icon {
    font-size: 2rem;
}

.payment-item span:last-child {
    font-size: 0.85rem;
    color: var(--mist);
    font-weight: 500;
}

/* ===== 7. 客户支持 ===== */
.support-section {
    padding: 70px 0;
}

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

.support-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-smooth);
}

.support-card:hover {
    border-color: rgba(255, 179, 71, 0.3);
    transform: translateY(-4px);
}

.support-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.support-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ivory);
}

.support-card p {
    font-size: 0.88rem;
    color: var(--mist);
    line-height: 1.8;
}

/* ===== 8. 负责任观影 ===== */
.responsible-section {
    padding: 70px 0;
}

.responsible-content {
    max-width: 860px;
    margin: 0 auto;
}

.responsible-content > h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 40px;
}

.responsible-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.responsible-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: border-color var(--transition-fast);
}

.responsible-list li:hover {
    border-color: rgba(255, 107, 107, 0.2);
}

.r-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}

.r-text h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ivory);
}

.r-text p {
    font-size: 0.9rem;
    color: var(--mist);
    line-height: 1.8;
}

/* ===== 9. 常见问题 FAQ ===== */
.faq-section {
    padding: 70px 0;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(255, 107, 107, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ivory);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--mist);
    border-radius: 2px;
    transition: transform var(--transition-fast);
}

.faq-toggle::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.open .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--mist);
    line-height: 1.85;
}

/* ===== 10. 用户评价 ===== */
.reviews-section {
    padding: 70px 0;
}

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

.review-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition-smooth);
}

.review-card:hover {
    border-color: rgba(255, 179, 71, 0.3);
    transform: translateY(-4px);
}

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

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.review-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ivory);
}

.review-location {
    font-size: 0.75rem;
    color: var(--mist);
}

.review-stars {
    color: var(--amber);
    font-size: 0.85rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.83rem;
    color: var(--mist);
    line-height: 1.7;
    margin-bottom: 10px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--slate);
}

/* ===== 11. 热门标签 ===== */
.tags-section {
    padding: 70px 0;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 7px 18px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--mist);
    transition: all var(--transition-fast);
}

.tag-cloud a:hover {
    border-color: var(--coral);
    color: var(--coral);
    background: rgba(255, 107, 107, 0.08);
}

/* ===== 页脚 ===== */
.site-footer {
    background: rgba(18, 20, 26, 0.8);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--mist);
    line-height: 1.7;
    margin-top: 16px;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--mist);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--coral);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--slate);
    line-height: 1.7;
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ===== 面包屑导航（分类页） ===== */
.breadcrumb {
    padding: 20px 0 0;
    font-size: 0.85rem;
    color: var(--mist);
}

.breadcrumb a {
    color: var(--mist);
    transition: color var(--transition-fast);
}

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

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
}

/* ===== 分类页头部 ===== */
.category-header {
    padding: 40px 0 32px;
}

.category-header h1 {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.category-header .subtitle {
    font-size: 1rem;
    color: var(--mist);
}

/* ===== 分类页文章 ===== */
.article-content {
    padding: 0 0 60px;
    max-width: 860px;
}

.article-content h2 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ivory);
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 3px solid var(--coral);
}

.article-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ivory);
    margin: 28px 0 12px;
}

.article-content p {
    font-size: 0.95rem;
    color: var(--mist);
    line-height: 1.9;
    margin-bottom: 16px;
}

.article-content a {
    color: var(--coral);
    border-bottom: 1px dashed rgba(255, 107, 107, 0.4);
}

.article-content a:hover {
    border-bottom-color: var(--coral);
}

.article-content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
    box-shadow: var(--shadow-card);
}

/* ===== 分类页相关推荐 ===== */
.related-section {
    padding: 60px 0;
}

.related-section .video-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== 响应式设计 ===== */

/* 平板端 */
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .review-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 56px;
    }

    .container {
        padding: 0 16px;
    }

    /* 移动端导航 */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 29, 35, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform var(--transition-smooth);
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-download {
        margin-top: 12px;
        text-align: center;
    }

    /* 移动端内容 */
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 48px 0 40px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .payment-icons {
        gap: 12px;
    }

    .payment-item {
        padding: 16px 24px;
        min-width: 100px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-header h1 {
        font-size: 1.8rem;
    }

    .related-section .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .related-section .video-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .payment-icons {
        flex-direction: column;
        align-items: center;
    }

    .payment-item {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}

/* ===== 性能优化 ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== 下载页面 ===== */
.download-content {
    padding: 0 0 60px;
}

.download-hero {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

.download-info h2 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ivory);
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 3px solid var(--coral);
}

.download-info > p {
    font-size: 0.95rem;
    color: var(--mist);
    line-height: 1.9;
    margin-bottom: 24px;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-features li {
    font-size: 0.9rem;
    color: var(--mist);
    line-height: 1.6;
    padding-left: 8px;
}

.download-features li strong {
    color: var(--ivory);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-smooth);
    text-decoration: none;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.ios-btn {
    background: linear-gradient(135deg, #333, #555);
}

.android-btn {
    background: linear-gradient(135deg, #2E7D32, #43A047);
}

.btn-icon {
    font-size: 2rem;
}

.btn-text small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.btn-text strong {
    font-size: 1.05rem;
    color: #fff;
}

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

.app-info-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: border-color var(--transition-fast);
}

.app-info-card:hover {
    border-color: rgba(255, 107, 107, 0.2);
}

.app-info-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 12px;
}

.app-info-card p {
    font-size: 0.88rem;
    color: var(--mist);
    line-height: 1.8;
    margin-bottom: 8px;
}

.app-info-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .download-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .download-buttons {
        position: static;
    }

    .app-info-grid {
        grid-template-columns: 1fr;
    }
}
