body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* 视频背景 */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    object-fit: cover;
}

.video-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

/* 主容器 */
.main-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

/* 个人信息卡片 */
.profile-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2),
                0 10px 20px rgba(255, 255, 255, 0.15);
}

/* 头像样式 */
.avatar-circle {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 30px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.8);
    animation: rainbow-pulse 5s linear infinite;
    transition: transform 0.8s ease;
}

/* 彩虹呼灯动画 */
@keyframes rainbow-pulse {
    0% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.6),
                    0 0 35px rgba(255, 0, 0, 0.3);
    }
    20% {
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.6),
                    0 0 35px rgba(255, 165, 0, 0.3);
    }
    40% {
        box-shadow: 0 0 20px rgba(255, 255, 0, 0.6),
                    0 0 35px rgba(255, 255, 0, 0.3);
    }
    60% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.6),
                    0 0 35px rgba(0, 255, 0, 0.3);
    }
    80% {
        box-shadow: 0 0 20px rgba(0, 0, 255, 0.6),
                    0 0 35px rgba(0, 0, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.6),
                    0 0 35px rgba(255, 0, 0, 0.3);
    }
}

/* 状态点样式 */
.status-dot {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 14px;
    height: 14px;
    background: #999; /* 默认灰色 */
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.status-dot.active {
    background: #4CAF50; /* 激活时的绿色 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
                0 0 0 4px rgba(76, 175, 80, 0.2); /* 添加发光效果 */
}

/* 优化字样式 */
.intro h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px;
}

.greeting {
    color: #2c3e50;
}

.intro-text {
    color: #2c3e50;
    margin-right: 10px;
}

.name {
    display: inline-block;
    background: linear-gradient(120deg, #bd34fe 30%, #47caff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
    font-weight: 800;
    position: relative;
}

.name::after {
    content: '';
    position: absolute;
    left: -5%;
    bottom: -4px;
    width: 110%;
    height: 4px;
    background: linear-gradient(120deg, #bd34fe 30%, #47caff);
    border-radius: 2px;
    opacity: 0.3;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.motto {
    font-size: 19px;
    color: #5f6368;
    margin: 0 0 35px;
    font-weight: 400;
    opacity: 0.8;
    position: relative;
    padding: 10px;
}

/* 打字效容器 */
#switch-box {
    background: linear-gradient(120deg, #00c6ff 30%, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    position: relative;
    display: inline-block;
    font-family: "Consolas", monospace;
    letter-spacing: 0.5px;
}

/* 添加底部装饰线 */
#switch-box::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

#switch-box:hover::before {
    transform: scaleX(1);
}

/* 打字样式光标 */
#switch-box::after {
    content: "_";
    font-size: 20px;
    display: inline-block;
    vertical-align: bottom;
    font-weight: bold;
    animation: flicker .8s steps(2, start) infinite;
    background: #00b4d8;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 2px;
}

/* 光标闪烁动画 */
@keyframes flicker {
    0% {
        opacity: 0;
    }
    49% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* 社交链接 */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.social-link {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.social-link:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) brightness(1.2);
}

.social-link svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

/* 图标悬停效果 */
.social-link.blog:hover svg path {
    fill: #FF7043;
}

.social-link.github:hover svg path {
    fill: #2b3137;
}

.social-link.bilibili:hover svg path {
    fill: #00B5E5;
}

.social-link.email:hover svg path {
    fill: #DB4437;
}

.social-link.settings:hover svg path {
    fill: #202124;
}

.social-link.settings svg {
    color: #5f6368;
}

/* 加载动画 */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    text-align: center;
}

.loading-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.loading-text span {
    font-size: 24px;
    color: #666;
    animation: bounce 1.5s ease infinite;
}

/* 为每个字母设置不同的动画延迟 */
.loading-text span:nth-child(2) { animation-delay: 0.1s; }
.loading-text span:nth-child(3) { animation-delay: 0.2s; }
.loading-text span:nth-child(4) { animation-delay: 0.3s; }
.loading-text span:nth-child(5) { animation-delay: 0.4s; }
.loading-text span:nth-child(6) { animation-delay: 0.5s; }
.loading-text span:nth-child(7) { animation-delay: 0.6s; }
.loading-text span:nth-child(8) { animation-delay: 0.7s; }
.loading-text span:nth-child(9) { animation-delay: 0.8s; }
.loading-text span:nth-child(10) { animation-delay: 0.9s; }

/* 头像吸动画 */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* 文字弹动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* 淡出动画 */
.loading-container.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hidden {
    display: none;
}

/* 移端适配 */
@media (max-width: 480px) {
    .profile-card {
        padding: 30px 20px;
    }

    .intro h1 {
        font-size: 28px;
    }

    .motto {
        font-size: 16px;
    }
} 

/* 设置按钮 */
.settings-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
}

.settings-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.settings-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8);
}

/* 置面板重新设计 */
.settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2),
                0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 400px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%) scale(0.95);
}

.settings-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.settings-content {
    padding: 25px;
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.settings-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.setting-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
}

.setting-item h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 500;
}

/* 透明度设置样式 */
.opacity-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    outline: none;
    margin-top: 10px;
}

.opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.opacity-value {
    color: #495057;
    font-size: 14px;
}

.opacity-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* 开关组样式优化 */
.switches-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 0;
    padding: 0;
    justify-content: space-between;
}

.switch-container {
    display: flex;
    align-items: center;
    width: calc(50% - 8px);
    min-width: unset;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.switch-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 开关按钮样式优化 */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    flex-shrink: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e9ecef;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.switch-label {
    font-size: 14px;
    color: #495057;
    flex-grow: 1;
    margin: 0 10px 0 0;
    white-space: nowrap;
}

/* 更新博客图标样式 */
.social-link.blog img {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.social-link.blog:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* 设置面板样式补充 */
.setting-item h4 {
    color: rgba(0, 0, 0, 0.85);
    font-size: 16px;
    margin: 0 0 15px;
}

.setting-item + .setting-item {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sound-options {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sound-btn {
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sound-btn:hover {
    background: #e8e8e8;
}

.sound-btn.active {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1976d2;
}

.play-icon {
    font-size: 12px;
    opacity: 0.7;
}

.sound-btn:hover .play-icon {
    opacity: 1;
}

/* 提示框样式 */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 1000;
}

.tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
}

/* 烟花效果 */
@keyframes explode {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.firework {
    position: absolute;
    pointer-events: none;
    animation: explode 0.8s ease-out forwards;
}

.firework-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform-origin: center;
    animation: sparkle 0.8s ease-out forwards;
    filter: blur(1px);
}

.social-link[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
}

/* 蜘蛛网背景 */
.spider-web {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

@keyframes sparkle {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
}

/* 提示框动画 */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* 提示框滑动动画 */
@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
}

/* 头像悬停旋转效果 */
.avatar-circle:hover .avatar {
    transform: rotate(360deg);
}

/* 添加3D效果 */
.avatar-circle::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.5));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-circle:hover::after {
    opacity: 1;
}

/* 开关按钮样式 */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 120px;
}

/* 开关容器 */
.switches-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 15px;
    padding: 0 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

/* 点击文字上浮动画 */
@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-180px) scale(0.8);
        opacity: 0;
    }
}

/* 底部版权栏样式 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(5px);
    text-align: center;
    font-size: 14px;
    color: #555;
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05),
                0 -1px 3px rgba(255, 255, 255, 0.1);
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.copyright .divider {
    color: #888;
    font-size: 12px;
    opacity: 0.6;
}

.copyright span {
    transition: color 0.3s ease;
}

.copyright span:hover,
.copyright a:hover {
    color: #333;
}

.copyright a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

.copyright a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    left: 0;
    bottom: -1px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.copyright a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 按钮组样式 */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 按钮之间的间距 */
}

/* 按钮样式 */
.btn {
    flex: 1; /* 使按钮均匀分布 */
    min-width: 120px; /* 设置按钮的最小宽度 */
    transition: background-color 0.3s, transform 0.2s; /* 添加过渡效果 */
    border-radius: 8px; /* 添加圆角 */
}

.btn:hover {
    transform: translateY(-2px); /* 悬停时轻微上移 */
}

.btn:active {
    transform: translateY(1px); /* 点击时轻微下移 */
}

/* 自定义壁纸按钮 */
.btn-primary {
    background-color: #007bff; /* 蓝色 */
    border: none;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3; /* 深蓝色 */
}

.btn-primary:active {
    background-color: #004085; /* 更深的蓝色 */
}

/* 每日 Bing 和莫哈维动态图按钮 */
.btn-secondary {
    background-color: #6c757d; /* 灰色 */
    border: none;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268; /* 深灰色 */
}

.btn-secondary:active {
    background-color: #4e555b; /* 更深的灰色 */
}

/* 恢复默认壁纸按钮 */
.btn-danger {
    background-color: #dc3545; /* 红色 */
    border: none;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333; /* 深红色 */
}

.btn-danger:active {
    background-color: #bd2130; /* 更深的红色 */
}

/* 提示框样式 */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 1000;
}

/* 模态框样式 */
.modal-content {
    border-radius: 15px; /* 圆角 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* 阴影效果 */
}

/* 模态框标题 */
.modal-header {
    background-color: #007bff; /* 标题背景色 */
    color: white; /* 标题文字颜色 */
}

/* 模态框按钮 */
.modal-footer .btn {
    border-radius: 20px; /* 圆角按钮 */
    padding: 10px 20px; /* 按钮内边距 */
    transition: background-color 0.3s, transform 0.2s; /* 添加过渡效果 */
}

.modal-footer .btn:hover {
    transform: translateY(-2px); /* 悬停时轻微上移 */
}

/* 模态框内容 */
.modal-body {
    font-size: 16px; /* 字体大小 */
    color: #333; /* 字体颜色 */
}

/* 关闭按钮 */
.close {
    color: white; /* 关闭按钮颜色 */
    opacity: 0.8; /* 透明度 */
}

.close:hover {
    opacity: 1; /* 悬停时完全不透明 */
}

/* 添加媒体查询以适应不同屏幕尺寸 */
@media (max-width: 768px) {
    /* 针对小屏幕的样式 */
    body {
        font-size: 14px; /* 调整字体大小 */
    }

    .settings-panel {
        width: 90%; /* 设置面板宽度为90% */
        padding: 20px; /* 添加内边距 */
    }

    .profile-card {
        width: 100%; /* 使个人资料卡宽度为100% */
        margin: 0 auto; /* 居中 */
    }

    /* 其他元素的样式调整 */
}

/* 针对更小屏幕的样式 */
@media (max-width: 480px) {
    body {
        font-size: 12px; /* 进一步调整字体大小 */
    }

    .tooltip {
        font-size: 12px; /* 调整提示框字体大小 */
    }

    /* 其他元素的样式调整 */
}

/* 确保视频背景自适应 */
.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保视频覆盖整个背景 */
}

/* 确保图片自适应 */
img {
    max-width: 100%; /* 确保图片不超出容器 */
    height: auto; /* 保持图片比例 */
}

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

.modal.fade.show {
    animation: fadeIn 0.3s ease forwards; /* 添加淡入动画 */
}
  