/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局平滑颜色过渡 - 主题切换时生效 */
*:not(.theme-transition-overlay):not(.page-loader):not(.spinner-ring):not(.btn):not(.nav-link):not(.feature-card):not(.plugin-card):not(.hero),
*::before,
*::after {
    transition-property: background-color, color, border-color, box-shadow, fill, stroke;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 保持交互元素的快速响应，但主题切换时也有过渡 */
.btn,
.nav-link,
.feature-card,
.plugin-card,
.payment-card,
.tag,
.brand-item {
    transition: all 0.3s ease,
                background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS变量 */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e9f3ff;
    --text-primary: #333;
    --text-secondary: #666;
    --text-tertiary: #999;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-bg: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

body.dark-mode {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --gradient-bg: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

/* 基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.loader-logo {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.loader-logo img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
    border-top-color: rgba(255, 255, 255, 0.9);
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: rgba(255, 255, 255, 0.7);
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: rgba(255, 255, 255, 0.5);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

body.dark-mode .navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
}

.navbar.scrolled .logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
}

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

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 滚动后导航栏的主题切换按钮样式（浅色模式） */
.navbar.scrolled .theme-toggle {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.navbar.scrolled .theme-toggle:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

/* 深色模式下的主题切换按钮 */
body.dark-mode .navbar.scrolled .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
}

body.dark-mode .navbar.scrolled .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    border-radius: 50%;
}

.theme-toggle:hover::before {
    transform: scale(1);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(20deg) scale(1.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.theme-toggle:active {
    transform: rotate(180deg) scale(0.95);
}

.theme-toggle i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover i {
    transform: scale(1.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.hamburger:active {
    transform: scale(0.95);
}

/* 滚动后的汉堡菜单样式 */
.navbar.scrolled .hamburger {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
}

.navbar.scrolled .hamburger:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

/* 深色模式下的汉堡菜单 */
body.dark-mode .navbar.scrolled .hamburger {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .navbar.scrolled .hamburger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.bar {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.bar:nth-child(1) {
    margin-bottom: 5px;
}

.bar:nth-child(3) {
    margin-top: 5px;
}

/* 汉堡菜单激活状态动画 */
.hamburger.active {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.navbar.scrolled .hamburger.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

body.dark-mode .navbar.scrolled .hamburger.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #667eea;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #667eea;
}

/* 滚动后的bar颜色 */
.navbar.scrolled .bar {
    background: #667eea;
}

body.dark-mode .navbar.scrolled .bar {
    background: #e4e4e7;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    position: relative;
    overflow: hidden;
    animation: gradientShift 12s ease-in-out infinite;
    will-change: background-position, filter;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        background-position: 50% 100%;
        filter: hue-rotate(5deg) brightness(1.05);
    }
    50% {
        background-position: 100% 50%;
        filter: hue-rotate(10deg) brightness(1);
    }
    75% {
        background-position: 50% 0%;
        filter: hue-rotate(5deg) brightness(0.95);
    }
    100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg) brightness(1);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
    animation: floatBubbles 40s ease-in-out infinite;
}

@keyframes floatBubbles {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-15px) scale(1.03);
        opacity: 0.35;
    }
    50% {
        transform: translateY(-30px) scale(1.06);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-15px) scale(1.03);
        opacity: 0.35;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
    padding-right: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: slideInUp 0.8s ease-out 0.4s backwards;
}

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

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.6s backwards;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-android {
    background: rgba(255, 255, 255, 0.25);
}

.btn-android:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 160%;
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: none;
    outline: none;
    animation: fadeInRight 0.8s ease-out 0.3s backwards;
}

.hero-img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 功能特色 */
.features {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 10%, var(--bg-secondary) 90%, var(--bg-primary) 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
}

.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    animation: expandWidth 1s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 镜像获取 */
.mirror-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.mirror-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mirror-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.format-example {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid #667eea;
}

.format-example code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
}

.supported-partitions,
.supported-brands {
    margin: 2rem 0;
}

.supported-partitions h4,
.supported-brands h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.partition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.brand-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.brand-logo {
    width: 24px;
    height: 24px;
    margin-right: 0.8rem;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.brand-item:hover .brand-logo {
    transform: scale(1.2) rotate(5deg);
}

.mirror-demo-img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    outline: none;
}

/* 扩展插件 */
.plugins-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 10%, var(--bg-secondary) 90%, var(--bg-primary) 100%);
    position: relative;
}

.plugins-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
}

.plugins-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
}

.plugins-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.plugins-img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    outline: none;
}

.plugins-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.plugins-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.plugin-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plugin-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.plugin-feature i {
    color: #10b981;
    font-size: 1.2rem;
}

.plugin-feature span {
    font-weight: 500;
    color: var(--text-primary);
}

/* 赞赏支持 */
.donate-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(248, 250, 252, 1) 10%, rgba(233, 243, 255, 1) 50%, rgba(248, 250, 252, 1) 90%, var(--bg-primary) 100%);
    position: relative;
}

body.dark-mode .donate-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 10%, var(--bg-tertiary) 50%, var(--bg-secondary) 90%, var(--bg-primary) 100%);
}

.donate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.donate-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

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

.donate-highlight-note {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid #ffc107;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.donate-highlight-note i {
    font-size: 2rem;
    color: #ffc107;
    flex-shrink: 0;
}

.donate-highlight-note p {
    margin: 0;
    color: #d97706;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
}

.donate-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.donate-stats-simple {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.donate-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.highlight-card {
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
    border: 2px solid #667eea;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 0 0 0 100%;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.donate-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.donate-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-symbol {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 600;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-plus {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.donate-desc {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.benefits-list {
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.benefits-list h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-list h4 i {
    color: #667eea;
}

.benefits-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 0.6rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.benefits-list li i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.donate-note {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.donate-note i {
    color: #667eea;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.donate-note p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.donate-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.donate-stats-simple .stat-box {
    min-width: 250px;
}

.stat-box {
    background: var(--bg-primary);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.stat-box:hover i {
    transform: scale(1.2) rotate(10deg);
}

.stat-box i {
    font-size: 2rem;
    color: #667eea;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.donate-payment {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.donate-payment h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.payment-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.payment-card:hover::before {
    left: 100%;
}

.payment-card:hover {
    background: var(--bg-tertiary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
}

.payment-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.payment-header i {
    font-size: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-header .fa-weixin {
    color: #09bb07;
}

.payment-header .fa-alipay {
    color: #1677ff;
}

.payment-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.qrcode-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.payment-card:hover .qrcode-container {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.qrcode-placeholder {
    text-align: center;
    padding: 1rem;
    color: #999;
}

.qrcode-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #ddd;
}

.qrcode-placeholder p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.qrcode-placeholder small {
    font-size: 0.75rem;
    color: #999;
}

.payment-qrcode {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.payment-tip {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.donate-steps {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.donate-steps h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    animation: numberPop 0.5s ease-out;
}

@keyframes numberPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.step-item:hover .step-number {
    transform: scale(1.15) rotateY(360deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.step-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-developer {
    text-align: center;
}

.contact-developer .btn {
    display: inline-flex;
    padding: 14px 32px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.contact-developer .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.developer-qq-tip {
    margin-top: 1rem;
    color: #666;
    font-size: 0.95rem;
    user-select: all;
    cursor: text;
}

.donate-footer {
    margin-top: 3rem;
    padding-top: 2rem;
}

.thank-you-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.thank-you-message i {
    font-size: 3rem;
    color: #ff6b9d;
    margin-bottom: 1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
}

.thank-you-message h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.thank-you-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2rem;
}

.about-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
    z-index: 1;
    transform: translateX(-3px);
    transition: all 0.3s ease;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 3px #667eea;
        transform: translateX(-3px) scale(1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.5);
        transform: translateX(-3px) scale(1.2);
    }
}

.timeline-item:hover::before {
    background: #764ba2;
    box-shadow: 0 0 0 6px rgba(118, 75, 162, 0.5);
}

.timeline-date {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 16px;
    border: none;
    outline: none;
}

.team-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.team-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 页脚 */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

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

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

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

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

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #667eea;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link i {
    color: white;
}

.social-link:hover {
    background: #667eea;
    transform: translateY(-5px) rotate(5deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

/* 为特定平台定制悬停颜色 */
.social-link[title="酷安"]:hover {
    background: #00d4aa;
}

.social-link[title="快手"]:hover {
    background: #ff6600;
}

.social-link[title="哔哩哔哩"]:hover {
    background: #fb7299;
}

.social-link[title="QQ群"]:hover {
    background: #12b7f5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.sponsor-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.sponsor-info i {
    color: #ff6b9d;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.sponsor-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.sponsor-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.sponsor-info a:hover {
    color: #764ba2;
    transform: translateY(-2px);
}

.sponsor-info a:hover::after {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏优化 */
    .navbar {
        height: 60px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .hamburger {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        z-index: 999;
        position: relative;
    }
    
    .bar {
        width: 20px;
        height: 2px;
    }
    
    /* 菜单打开时固定导航栏 */
    .navbar.menu-open {
        position: fixed;
        width: 100%;
        z-index: 999;
    }
    
    /* 菜单打开时阻止body滚动 */
    body.menu-open {
        overflow: hidden;
    }
    
    /* 隐藏导航栏中的主题切换按钮 */
    .nav-actions .theme-toggle {
        display: none;
    }
    
    /* 创建悬浮的主题切换按钮 */
    body::after {
        content: '';
        display: none;
    }
    
    .theme-toggle-floating {
        position: fixed;
        bottom: 110px;
        right: 20px;
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        max-width: 54px !important;
        max-height: 54px !important;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
        z-index: 999;
        transition: box-shadow 0.3s ease;
        animation: floatTheme 3s ease-in-out infinite;
        box-sizing: border-box !important;
        padding: 0 !important;
    }
    
    body.dark-mode .theme-toggle-floating {
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        box-shadow: 0 8px 24px rgba(118, 75, 162, 0.4);
    }
    
    .theme-toggle-floating:hover {
        box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
        transform: translateY(-5px);
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }
    
    body.dark-mode .theme-toggle-floating:hover {
        box-shadow: 0 12px 32px rgba(118, 75, 162, 0.6);
    }
    
    .theme-toggle-floating:active {
        animation: floatThemeClick 0.3s ease forwards !important;
    }
    
    @keyframes floatTheme {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-8px);
        }
        100% {
            transform: translateY(0);
        }
    }
    
    @keyframes floatThemeClick {
        0% {
            transform: translateY(0) rotate(0deg);
        }
        50% {
            transform: translateY(0) rotate(180deg);
        }
        100% {
            transform: translateY(0) rotate(360deg);
        }
    }
    
    /* 返回顶部按钮（手机端覆盖样式） */
    .back-to-top {
        bottom: 30px !important;
        right: 20px !important;
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        max-width: 54px !important;
        max-height: 54px !important;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background: linear-gradient(135deg, 
                    rgba(102, 126, 234, 0.95) 0%, 
                    rgba(118, 75, 162, 0.95) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 80px 30px 30px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        overflow-y: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    
    body.dark-mode .nav-menu {
        background: linear-gradient(135deg, 
                    rgba(26, 26, 46, 0.98) 0%, 
                    rgba(46, 35, 66, 0.98) 100%);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        max-width: 400px;
        margin: 0.4rem 0;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.4s; }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        color: white !important;
        font-size: 1.1rem;
        font-weight: 500;
        text-align: left;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
                    transparent, 
                    rgba(255, 255, 255, 0.3), 
                    transparent);
        transition: left 0.5s ease;
    }
    
    .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-link:hover,
    .nav-link:active {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateX(8px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    
    .nav-link::after {
        content: '→';
        position: absolute;
        right: 1.5rem;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover::after {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* 首页英雄区域重新布局 */
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 0 20px;
    }
    
    .hero-content {
        padding-right: 0;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        opacity: 0.95;
    }
    
    .hero-subtitle br {
        display: none;
    }
    
    .logo-text {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }
    
    /* 统计数据重新布局 */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        justify-content: center;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.8rem 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }
    
    .stat-number {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        opacity: 0.9;
        white-space: nowrap;
    }
    
    .nav-logo {
        margin-right: 0;
    }
    
    /* 按钮组重新布局 */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
        border-radius: 10px;
    }
    
    .btn i {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .mirror-content,
    .plugins-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plugins-content {
        grid-template-rows: auto auto;
    }
    
    .plugins-image {
        order: -1;
    }
    
    .brand-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .donate-content {
        max-width: 100%;
    }
    
    .donate-stats-simple .stat-box {
        min-width: auto;
        width: 100%;
    }
    
    .donate-stats {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .donate-highlight-note {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .donate-highlight-note i {
        font-size: 2.5rem;
    }
    
    .donate-card {
        padding: 1.5rem;
    }
    
    .donate-payment {
        padding: 1.5rem;
    }
    
    .sponsor-info {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .plugins-grid {
        gap: 2rem;
    }
    
    .plugin-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .plugin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .plugin-demo-img {
        height: 250px;
    }
    
    .plugin-image {
        order: -1;
    }
    
    .plugin-intro {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-card,
    .mirror-info,
    .plugins-info {
        padding: 1.5rem;
    }
}

/* ========== 优化版淡入动画系统（消除闪烁） ========== */

/* 准备动画的元素 - 初始隐藏状态 */
.scroll-animate {
    opacity: 0;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 通用淡入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.85, 0.85, 1);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 1);
    }
    50% {
        opacity: 0.9;
        transform: scale3d(1.05, 1.05, 1);
    }
    70% {
        opacity: 1;
        transform: scale3d(0.98, 0.98, 1);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translate3d(0, 50px, 0) scale3d(0.9, 0.9, 1);
    }
    60% {
        opacity: 0.8;
        transform: translate3d(0, -5px, 0) scale3d(1.02, 1.02, 1);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    }
}

/* 元素进入视口后触发动画 */
.scroll-animate.is-visible {
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

/* 默认向上淡入 */
.feature-card.is-visible,
.timeline-item.is-visible,
.donate-card.is-visible,
.donate-payment.is-visible,
.step-item.is-visible,
.thank-you-message.is-visible {
    animation-name: fadeInUp;
}

/* 插件卡片特殊动画 - 淡入+缩放 */
.plugin-card.is-visible {
    animation-name: fadeInScale;
    animation-duration: 1s;
}

/* 插件卡片内的图片区域动画 */
.plugin-image.scroll-animate {
    opacity: 0;
}

.plugin-image.is-visible {
    animation-name: fadeInLeft;
    animation-duration: 0.9s;
    animation-delay: 0.2s;
}

/* 从右侧淡入 */
.mirror-info.is-visible,
.about-info.is-visible {
    animation-name: fadeInRight;
}

/* 从左侧淡入 */
.mirror-image.is-visible,
.plugins-info.is-visible,
.plugins-image.is-visible,
.about-image.is-visible {
    animation-name: fadeInLeft;
}

/* 缩放淡入 */
.payment-card.is-visible,
.brand-item.is-visible,
.tag.is-visible {
    animation-name: zoomIn;
    animation-duration: 0.6s;
}

/* 弹跳淡入 */
.donate-highlight-note.is-visible {
    animation-name: bounceIn;
    animation-duration: 0.9s;
}

/* 确保动画完成后元素保持可见 */
.scroll-animate.is-visible {
    opacity: 1 !important;
}

/* 插件介绍样式 */
.plugin-intro {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.plugin-intro h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.plugin-intro p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 插件详细介绍部分 */
.plugins-detail-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.plugins-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.plugin-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    overflow: visible;
}

.plugin-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.plugin-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* 特色插件卡片 */
.plugin-card.featured {
    border: 2px solid #667eea;
    background: var(--gradient-bg);
}

.plugin-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b00 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    z-index: 10;
}

.plugin-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-secondary);
    width: 100%;
}

/* 图片深色/浅色模式切换 */
.light-mode-img {
    display: block;
}

.dark-mode-img {
    display: none;
}

body.dark-mode .light-mode-img {
    display: none !important;
}

body.dark-mode .dark-mode-img {
    display: block !important;
}

.plugin-demo-img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border: none;
    outline: none;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.plugin-demo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.plugin-info {
    display: flex;
    flex-direction: column;
}

.plugin-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 0;
    min-height: 50px;
}

.plugin-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: 1;
}

.plugin-icon::before {
    display: block;
    text-align: center;
    width: 100%;
    height: 100%;
    line-height: 50px;
}

.plugin-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    align-self: center;
    line-height: 1.2;
}

.plugin-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    align-self: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.plugin-tag:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

.plugin-content {
    padding: 0;
}

.plugin-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.plugin-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plugin-features-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.plugin-features-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.plugin-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.plugin-features-list a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.plugin-features-list a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 图片点击效果 */
.clickable-image {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
}

.mirror-image,
.plugins-image,
.about-image {
    position: relative;
    overflow: visible;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120%;
    margin: 0 -10%;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

.image-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    animation: zoomInOut 1.5s ease-in-out infinite;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.mirror-image:hover .image-overlay,
.plugins-image:hover .image-overlay,
.about-image:hover .image-overlay {
    opacity: 1;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    background: var(--bg-primary);
    padding: 4px;
    transition: opacity 0.3s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.close:hover {
    color: #667eea;
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
}

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

/* 主题切换过渡动画 */
.theme-transition-overlay {
    position: fixed !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 99999 !important;
    will-change: transform, opacity !important;
    animation: circle-expand-fade 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    transition: none !important;
    mix-blend-mode: normal !important;
}

@keyframes circle-expand-fade {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.18;
    }
    50% {
        opacity: 0.18;
    }
    75% {
        opacity: 0.08;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* 主题切换时的页面过渡 - 不需要额外样式，使用全局过渡 */

/* 返回顶部按钮（电脑端全局样式） */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-sizing: border-box !important;
    padding: 0 !important;
    line-height: 1 !important;
}

@keyframes floatButton {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: floatButton 3s ease-in-out infinite;
}

body.dark-mode .back-to-top {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 8px 24px rgba(118, 75, 162, 0.4);
}

.back-to-top:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
    transform: translateY(-5px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

body.dark-mode .back-to-top:hover {
    box-shadow: 0 12px 32px rgba(118, 75, 162, 0.6);
}

.back-to-top:active {
    animation: floatButtonClick 0.3s ease forwards !important;
}

@keyframes floatButtonClick {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* ========================================
   手机竖屏模式专属适配
   ======================================== */
@media (max-width: 768px) and (orientation: portrait) {
    /* 防止横向滚动 */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* 容器适配 */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* 缩小section间距 */
    .features,
    .plugins-section,
    .donate-section {
        padding: 40px 0;
    }
    
    .mirror-section,
    .about-section,
    .plugins-detail-section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    /* 英雄区域适配 */
    .hero {
        padding: 70px 0 50px;
    }
    
    .hero-container {
        padding: 0 15px;
        gap: 1.2rem;
    }
    
    .hero-content {
        padding-right: 0;
        order: 2;
    }
    
    .hero-image {
        width: 100%;
        padding: 0;
        margin: 0 0 0.8rem 0;
        order: 1;
    }
    
    .hero-img {
        width: 100% !important;
        max-width: 100%;
        border-radius: 12px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.15;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle br {
        display: none;
    }
    
    /* 统计数据3列网格 */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }
    
    .stat-item {
        padding: 0.7rem 0.4rem;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        backdrop-filter: blur(8px);
    }
    
    .stat-number {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        white-space: nowrap;
    }
    
    /* 按钮垂直布局 */
    .hero-buttons {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        flex-direction: column;
        gap: 0.7rem;
    }
    
    .btn {
        width: 100%;
        padding: 11px 18px;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    /* 导航栏Logo文字适配 */
    .logo-text {
        display: none;
    }
    
    /* 功能特色网格适配 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    /* 镜像获取区域适配 */
    .mirror-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mirror-image,
    .plugins-image,
    .about-image {
        width: 100% !important;
        margin: 0 !important;
        padding: 0;
    }
    
    .mirror-demo-img,
    .plugins-img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    /* 插件区域适配 */
    .plugins-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 插件详细介绍适配 */
    .plugin-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .plugins-grid {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .plugin-image {
        order: -1;
        width: 100%;
        margin: 0;
    }
    
    .plugin-demo-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }
    
    /* 赞赏支持区域适配 */
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .qrcode-container {
        width: 180px;
        height: 180px;
    }
    
    .payment-qrcode {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .donate-payment {
        padding: 1.2rem;
    }
    
    .donate-card {
        padding: 1.2rem;
    }
    
    /* 关于我们区域适配 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 确保所有图片不超出屏幕 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 品牌网格适配 */
    .brand-grid {
        grid-template-columns: 1fr;
    }
    
    /* 章节标题适配 */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* 极小屏幕（小于480px）的额外优化 */
@media (max-width: 480px) and (orientation: portrait) {
    /* 导航栏进一步缩小 */
    .navbar {
        height: 55px;
    }
    
    .nav-container {
        height: 55px;
        padding: 0 12px;
        justify-content: space-between;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .hamburger {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    
    .bar {
        width: 18px;
        height: 2px;
    }
    
    .nav-menu {
        padding: 70px 20px 30px;
    }
    
    .nav-menu li {
        max-width: 100%;
        margin: 0.3rem 0;
    }
    
    .nav-link {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }
    
    /* 悬浮主题切换按钮调整 */
    .theme-toggle-floating {
        bottom: 100px !important;
        right: 16px !important;
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        font-size: 1.2rem;
    }
    
    /* 返回顶部按钮调整 */
    .back-to-top {
        bottom: 25px !important;
        right: 16px !important;
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }
    
    /* 首页进一步优化 */
    .hero {
        padding: 65px 0 45px;
    }
    
    .hero-container {
        padding: 0 12px;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.7rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .hero-img {
        border-radius: 10px;
    }
    
    /* 统计数据调整为2列 */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-item {
        padding: 0.6rem 0.3rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    /* 按钮优化 */
    .hero-buttons {
        max-width: 280px;
        gap: 0.6rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-card,
    .plugin-card,
    .donate-payment {
        padding: 1rem;
    }
    
    .qrcode-container {
        width: 150px;
        height: 150px;
    }
}
