/* ==========================================
   男同网 - 电影公司官方网站样式表
   版本: 1.0.0
   更新时间: 2026年1月
   ========================================== */

/* CSS变量定义 */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-hover: #ff6b6b;
    --gold-color: #ffd700;
    --text-color: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0f0f23;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    --font-heading: "PingFang SC", "Microsoft YaHei", sans-serif;
    --max-width: 1200px;
    --header-height: 70px;
}

/* 重置样式 */
*, *::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-main);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 链接样式 */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-hover);
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 列表重置 */
ul, ol {
    list-style: none;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ==========================================
   头部导航样式
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow-medium);
}

.main-nav {
    height: var(--header-height);
}

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

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-white);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

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

.nav-link.cta-btn {
    background: var(--accent-color);
    color: var(--text-white);
    margin-left: 0.5rem;
}

.nav-link.cta-btn:hover {
    background: var(--accent-hover);
    color: var(--text-white);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    position: relative;
    transition: var(--transition-fast);
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    left: 0;
    transition: var(--transition-fast);
}

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

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

.breadcrumb-list {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--text-light);
}

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

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

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

/* ==========================================
   主内容区域
   ========================================== */
.main-content {
    flex: 1;
    margin-top: var(--header-height);
}

.page-content {
    margin-top: 0;
}

/* 首页英雄区域 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.webp') center/cover no-repeat;
    opacity: 0.2;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

/* ==========================================
   内容区块样式
   ========================================== */
.content-section {
    padding: 4rem 1.5rem;
}

.content-section:nth-child(even) {
    background: var(--bg-light);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* 服务卡片网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--text-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.service-link:hover {
    color: var(--accent-hover);
}

/* 作品展示网格 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.work-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.work-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-white);
}

.work-overlay h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.work-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* 团队成员网格 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    background: var(--text-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--accent-color);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 统计数据 */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 1.5rem;
}

.stats-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--text-white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==========================================
   文章内容样式
   ========================================== */
.content-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.page-title {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-color);
}

.article-section h3 {
    font-size: 1.35rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-section p {
    text-align: justify;
    text-indent: 2em;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    margin: 0 auto;
}

.article-image figcaption {
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.feature-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    text-indent: 0;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ==========================================
   下载页面样式
   ========================================== */
.download-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: 3rem 1.5rem;
    text-align: center;
}

.download-intro {
    max-width: 800px;
    margin: 0 auto;
}

.download-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.app-preview img {
    max-width: 400px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
}

.download-buttons {
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--bg-light);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

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

.android-btn {
    background: #3ddc84;
}

.android-btn:hover {
    background: #2bc76d;
}

.ios-btn {
    background: #007aff;
}

.ios-btn:hover {
    background: #0056b3;
}

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

.btn-text {
    text-align: left;
}

.btn-text small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.btn-text strong {
    font-size: 1.1rem;
}

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

/* 应用功能 */
.app-features {
    padding: 3rem 1.5rem;
}

.features-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.feature-item:hover {
    background: var(--text-white);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    text-indent: 0;
}

/* 应用截图 */
.app-screenshots {
    padding: 3rem 1.5rem;
    background: var(--bg-light);
}

.screenshots-gallery {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.screenshot-item {
    text-align: center;
}

.screenshot-item img {
    width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.screenshot-item figcaption {
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 系统要求 */
.app-requirements {
    padding: 3rem 1.5rem;
}

.requirements-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.requirement-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.requirement-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.requirement-item ul {
    padding-left: 1.5rem;
}

.requirement-item li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.requirement-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 更新日志 */
.app-update {
    padding: 3rem 1.5rem;
    background: var(--bg-light);
}

.update-log {
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    background: var(--text-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
}

.update-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.update-item ul {
    padding-left: 1.5rem;
}

.update-item li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.update-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 常见问题 */
.app-faq {
    padding: 3rem 1.5rem;
}

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

.faq-item {
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
}

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

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
}

/* ==========================================
   页脚样式
   ========================================== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding-top: 3rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--gold-color);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links li,
.social-links li,
.legal-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.social-links a,
.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.social-links a:hover,
.legal-links a:hover {
    color: var(--gold-color);
}

.contact-info {
    font-style: normal;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.license-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

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

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

.age-restriction {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ==========================================
   响应式设计
   ========================================== */
@media (max-width: 992px) {
    :root {
        --header-height: 60px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    /* 移动端导航 */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-heavy);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link.cta-btn {
        margin-left: 0;
        margin-top: 1rem;
        text-align: center;
    }
    
    /* 内容调整 */
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 3rem 1rem;
    }
    
    .content-article {
        padding: 2rem 1rem;
    }
    
    .article-section h2 {
        font-size: 1.5rem;
    }
    
    .article-section h3 {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    /* 下载按钮 */
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* 截图 */
    .screenshot-item img {
        width: 150px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .services-grid,
    .works-grid,
    .team-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .work-card img {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ==========================================
   动画效果
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

/* ==========================================
   打印样式
   ========================================== */
@media print {
    .site-header,
    .site-footer,
    .breadcrumb,
    .mobile-menu-btn {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    img {
        max-width: 100% !important;
    }
}

/* ==========================================
   辅助功能
   ========================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* 跳过链接 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}
