/* CSS变量定义 - 亮色主题 */
:root {
    --primary-gradient: linear-gradient(135deg, #5b6ceb 0%, #8a65d9 100%);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
    --glass-highlight: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --success-color: rgba(52, 168, 83, 0.8);
    --error-color: rgba(239, 68, 68, 0.8);
    --accent-color: #4299e1;
    --body-bg: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    --icon-card-hover-bg: rgba(255, 255, 255, 0.2);
    --icon-card-hover-border: rgba(255, 255, 255, 0.3);
    --icon-card-hover-shadow: 0 12px 40px 0 rgba(91, 108, 235, 0.25);
    --footer-bg: rgba(255, 255, 255, 0.1);
    --footer-border: rgba(255, 255, 255, 0.2);
    --modal-backdrop: rgba(255, 255, 255, 0.05);
    --input-bg: rgba(255, 255, 255, 0.2);
    --input-border: rgba(255, 255, 255, 0.25);
    --icon-color: var(--text-primary);
    --svg-filter: none;
}

/* CSS变量定义 - 暗色主题 */
[data-theme="dark"] {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #9f7aea 100%);
    --secondary-gradient: linear-gradient(135deg, #5facfe 0%, #00f2fe 100%);
    --glass-bg: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-highlight: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    --text-primary: #e2e8f0;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --success-color: rgba(72, 187, 120, 0.8);
    --error-color: rgba(252, 129, 129, 0.8);
    --accent-color: #4299e1;
    --body-bg: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    --icon-card-hover-bg: rgba(255, 255, 255, 0.1);
    --icon-card-hover-border: rgba(255, 255, 255, 0.2);
    --icon-card-hover-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    --footer-bg: rgba(0, 0, 0, 0.3);
    --footer-border: rgba(255, 255, 255, 0.1);
    --modal-backdrop: rgba(0, 0, 0, 0.3);
    --input-bg: rgba(0, 0, 0, 0.3);
    --input-border: rgba(255, 255, 255, 0.15);
    --icon-color: var(--text-primary);
    --svg-filter: invert(1);
}

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

/* 屏幕阅读器专用类 */
.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;
}

/* 主体样式 */
body {
    font-family: 'Inter', '微软雅黑', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--body-bg);
    min-height: 100vh;
    padding: 15px;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    transition: background 0.3s ease;
}

/* 背景图案 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(161, 196, 253, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(194, 233, 251, 0.3) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* 容器样式 */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 头部伪元素效果 */
header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-highlight);
    pointer-events: none;
}

/* 头部悬停效果 */
header:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
    background: var(--icon-card-hover-bg);
}

/* 标题样式 */
h1 {
    font-family: 'Poppins', '微软雅黑', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

/* 头部描述样式 */
header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* 主题切换按钮样式 */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    font-size: 24px;
}

.theme-toggle:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--icon-card-hover-shadow);
    background: var(--icon-card-hover-bg);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* 图标网格样式 */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 150px;
    padding: 20px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* 图标卡片样式 */
.icon-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 0;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0, 1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    aspect-ratio: 1;
    min-height: 100px;
    box-sizing: border-box;
}

/* 图标卡片伪元素效果 */
.icon-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-highlight);
    pointer-events: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    z-index: 1;
}

/* 图标卡片焦点样式 */
.icon-card:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 图标卡片渐变效果 */
.icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

/* 图标卡片悬停变换 - 移除transform避免影响子元素定位 */
.icon-card:hover {
    margin-top: -5px;
    box-shadow: var(--icon-card-hover-shadow);
    background: var(--icon-card-hover-bg);
    border-color: var(--icon-card-hover-border);
}

/* 图标预览样式 */
.icon-preview {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    padding: 2px;
}

/* SVG图标样式 */
.icon-preview svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: var(--svg-filter);
}

/* 提交按钮样式 */
.submit-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
}

/* 提交按钮焦点样式 */
.submit-button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 提交按钮悬停效果 */
.submit-button:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: var(--icon-card-hover-shadow);
    background: var(--icon-card-hover-bg);
}

/* 返回顶部按钮样式 */
.back-to-top-button {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    opacity: 0;
    visibility: hidden;
}

/* 返回顶部按钮显示状态 */
.back-to-top-button.show {
    opacity: 1;
    visibility: visible;
}

/* 返回顶部按钮焦点样式 */
.back-to-top-button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 返回顶部按钮悬停效果 */
.back-to-top-button:hover {
    transform: scale(1.1);
    box-shadow: var(--icon-card-hover-shadow);
    background: var(--icon-card-hover-bg);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-backdrop);
    z-index: 2000;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

/* 模态框显示状态 */
.modal.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* 模态框内容样式 */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 45px;
    width: 90%;
    max-width: 700px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

/* 模态框伪元素效果 */
.modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-highlight);
    pointer-events: none;
}

/* 模态框内容动画 */
.modal.show .modal-content {
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 图标预览样式 */
.icon-preview-large {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    min-height: 300px;
}

/* 预览图标样式 */
.icon-preview-large svg {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

/* 预览按钮容器 */
.preview-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* 模态框标题样式 */
.modal h2 {
    font-family: 'Poppins', '微软雅黑', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-size: 24px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* 模态框标签样式 */
.input-section label {
    color: var(--text-secondary);
}

/* 输入提示样式 */
.input-hint {
    color: var(--text-muted);
}

/* 输入区域样式 */
.input-section {
    margin-bottom: 25px;
}

/* 输入标签样式 */
.input-section label {
    display: block;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

/* SVG输入框样式 */
.svg-input {
    width: 100%;
    height: 220px;
    padding: 20px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: var(--input-bg);
    font-family: monospace;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 15px;
    color: var(--text-primary);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

/* SVG输入框焦点样式 */
.svg-input:focus {
    outline: none;
    border-color: #5b6ceb;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(91, 108, 235, 0.2);
}

/* 输入提示样式 */
.input-hint {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* 模态框按钮容器样式 */
.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

/* 按钮基础样式 */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    outline: none;
    color: var(--text-primary);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* 按钮焦点样式 */
.btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 按钮渐变效果 */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

/* 按钮悬停效果 */
.btn:hover::before {
    left: 100%;
}

/* 按钮悬停变换 */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--icon-card-hover-shadow);
    background: var(--icon-card-hover-bg);
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 20px 25px;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

/* 通知显示状态 */
.notification.show {
    opacity: 1;
    transform: translateY(0);
    animation: slideInRight 0.3s ease;
}

/* 成功通知样式 */
.notification.success {
    background: var(--success-color);
    border-left: 4px solid #4CAF50;
}

/* 错误通知样式 */
.notification.error {
    background: var(--error-color);
    border-left: 4px solid #F44336;
}

/* Debug模式切换按钮样式 */
.debug-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    font-size: 20px;
    font-weight: bold;
}

.debug-toggle:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.debug-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--icon-card-hover-shadow);
    background: var(--icon-card-hover-bg);
}

.debug-toggle.active {
    background: #f56565;
    color: white;
    border-color: #f56565;
}

.debug-toggle.active:hover {
    background: #e53e3e;
}

/* 删除按钮样式 - 使用固定位置不受transform影响 */
.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f56565;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.2s ease, background 0.2s ease;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    line-height: 1;
    transform: none;
}

.delete-btn:hover {
    background: #e53e3e;
    transform: scale(1.15);
}

.delete-btn:active {
    transform: scale(0.95);
}

.delete-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Debug模式下显示删除按钮 */
.icon-card.debug-mode .delete-btn {
    opacity: 1;
    visibility: visible;
}

/* 图标卡片在debug模式下的样式 */
.icon-card.debug-mode {
    border-color: #f56565;
    border-width: 2px;
}

/* 删除动画 */
.icon-card.deleting {
    animation: deleteFadeOut 0.3s ease forwards;
    pointer-events: none;
}

@keyframes deleteFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* 自定义确认弹窗 */
.confirm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-backdrop);
    z-index: 2000;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.confirm-overlay.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.confirm-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 45px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.confirm-dialog::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-highlight);
    pointer-events: none;
}

.confirm-overlay.show .confirm-dialog {
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-icon {
    font-size: 48px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.confirm-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'Poppins', '微软雅黑', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.confirm-message {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.btn-danger {
    background: #f56565 !important;
    color: white !important;
    border-color: transparent !important;
}

.btn-danger:hover {
    background: #e53e3e !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.4);
}

/* 响应式设计 - 移动设备 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 15px;
        padding: 15px;
        margin-bottom: 100px;
    }
    
    .icon-card {
        min-height: 90px;
    }
    
    .modal-content {
        width: 95%;
        padding: 25px;
    }
    
    .icon-preview-large {
        padding: 20px;
        min-height: 200px;
    }
    
    .icon-preview-large svg {
        width: 150px;
        height: 150px;
    }
    
    .preview-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .preview-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .submit-button {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .back-to-top-button {
        bottom: 100px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top-button svg {
        width: 20px;
        height: 20px;
    }
    
    .theme-toggle {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .debug-toggle {
        top: 70px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .delete-btn {
        width: 26px;
        height: 26px;
        font-size: 16px;
        top: 4px;
        right: 4px;
        border-width: 2px;
    }
}

/* 响应式设计 - 平板设备 */
@media (min-width: 769px) and (max-width: 1024px) {
    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 18px;
        padding: 15px;
    }
}

/* 响应式设计 - 大屏幕设备 */
@media (min-width: 1200px) {
    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 25px;
    }
}

/* 响应式设计 - 超大屏幕设备 */
@media (min-width: 1600px) {
    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 30px;
        max-width: 1800px;
    }
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 滑入动画 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 右侧滑入动画 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-20px) translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* 版权信息 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    background: var(--footer-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--footer-border);
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

/* 响应式设计 - 版权信息 */
@media (max-width: 768px) {
    .footer {
        font-size: 12px;
        padding: 10px;
    }
}
