* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    width: 100%;
    min-height: 100vh; /* 改为 min-height */
    overflow: auto; /* 允许滚动 */
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(8px);
    z-index: -1;
}

/* 页面容器 */
.page-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative;
}

/* 单个页面 */
/* 确保页面正确显示 */
.page {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex; /* 添加这行 */
}

/* 确保第二页内容可见 */
#page2 .container {
    opacity: 1;
    visibility: visible;
}

/* 修复可能的z-index问题 */
#page2 {
    z-index: 1;
}

/* 第一页背景 - 修复移动端背景问题 */
#page1 {
    background: url('cover.png') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

/* 第二页背景 - 使用与第一页相同的逻辑 */
#page2 {
    background: url('cover2.png') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

/* 为移动设备添加特殊处理 */
@media (max-width: 768px) {
    #page1, #page2 {
        background-attachment: scroll;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .page {
        min-height: 100vh;
        position: relative;
    }
    
    /* 防止滑动时背景跳动 */
    .page-container {
        -webkit-overflow-scrolling: touch;
    }
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    z-index: 1;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
}

.content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    width: 600px;
}

/* 保持原有样式不变，在适当位置添加以下样式 */

/* 计时器容器样式 */
.time-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding: 0 1rem;
}

/* 时间显示区域 */
.time-display {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.5s ease;
    opacity: 1;
    width: 100%;
}

/* 渐变动画类 */
.time-display.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.time-display.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* 时间块样式 */
.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

/* 隐藏为0的时间块 */
.time-block.hidden {
    display: none;
}

.time-block span {
    font-size: 2.5rem;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-block p {
    margin-top: 0.5rem;
    font-size: 1rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
}

/* 特殊显示模式样式 */
.time-container.mode-days .time-display {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
}

.time-container.mode-date .time-display {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.time-container.mode-weeks .time-display {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
}

/* 特殊模式下的时间块样式 */
.time-container.mode-days .time-block,
.time-container.mode-date .time-block,
.time-container.mode-weeks .time-block {
    min-width: 70px;
}

.time-container.mode-days .time-block span,
.time-container.mode-date .time-block span,
.time-container.mode-weeks .time-block span {
    min-width: 70px;
    font-size: 2.2rem;
}

/* 响应式设计 - 平板 */
@media (max-width: 768px) {
    .time-container {
        gap: 0.8rem;
        margin: 1.5rem 0;
        padding: 0 0.5rem;
    }
    
    .time-display {
        gap: 0.8rem;
    }
    
    .time-block {
        min-width: 70px;
    }
    
    .time-block span {
        font-size: 2.2rem;
        min-width: 70px;
        padding: 0.4rem;
    }
    
    .time-block p {
        font-size: 0.95rem;
    }
    
    /* 特殊模式在平板上的样式 */
    .time-container.mode-days .time-block,
    .time-container.mode-date .time-block,
    .time-container.mode-weeks .time-block {
        min-width: 65px;
    }
    
    .time-container.mode-days .time-block span,
    .time-container.mode-date .time-block span,
    .time-container.mode-weeks .time-block span {
        min-width: 65px;
        font-size: 2rem;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 480px) {
    .time-container {
        gap: 0.6rem;
        margin: 1rem 0;
        padding: 0 0.5rem;
    }
    
    .time-display {
        gap: 0.6rem;
    }
    
    .time-block {
        min-width: 60px;
    }
    
    .time-block span {
        font-size: 1.8rem;
        min-width: 60px;
        padding: 0.35rem;
        border-radius: 6px;
    }
    
    .time-block p {
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }
    
    /* 特殊模式在手机上的优化 */
    .time-container.mode-days .time-display,
    .time-container.mode-date .time-display,
    .time-container.mode-weeks .time-display {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .time-container.mode-days .time-block,
    .time-container.mode-date .time-block,
    .time-container.mode-weeks .time-block {
        min-width: 55px;
        margin-bottom: 0.3rem;
    }
    
    .time-container.mode-days .time-block span,
    .time-container.mode-date .time-block span,
    .time-container.mode-weeks .time-block span {
        min-width: 55px;
        font-size: 1.6rem;
        padding: 0.3rem;
    }
    
    .time-container.mode-days .time-block p,
    .time-container.mode-date .time-block p,
    .time-container.mode-weeks .time-block p {
        font-size: 0.8rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .time-container {
        gap: 0.4rem;
        padding: 0 0.3rem;
    }
    
    .time-display {
        gap: 0.4rem;
    }
    
    .time-block {
        min-width: 50px;
    }
    
    .time-block span {
        font-size: 1.5rem;
        min-width: 50px;
        padding: 0.25rem;
    }
    
    .time-block p {
        font-size: 0.75rem;
    }
    
    /* 特殊模式在超小屏幕上的优化 */
    .time-container.mode-days .time-block,
    .time-container.mode-date .time-block,
    .time-container.mode-weeks .time-block {
        min-width: 45px;
    }
    
    .time-container.mode-days .time-block span,
    .time-container.mode-date .time-block span,
    .time-container.mode-weeks .time-block span {
        min-width: 45px;
        font-size: 1.3rem;
    }
}

/* 保持原有的其他样式... */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
}

.message {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    font-style: italic;
}

@media (max-width: 480px) {
    .message {
        font-size: 1rem;
    }
}

/* 链接按钮容器 */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    max-height: 60vh;
    overflow-y: auto;
    padding: 0 1rem;
}

/* 链接按钮样式 */
.link-button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.link-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 音乐控制按钮容器 */
.music-controls-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

/* 音乐控制按钮样式 */
.music-control {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 30px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.music-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
    transform: scale(1.1);


.music-icon {
    font-size: 1.5rem;
    margin-right: 5px;
}

.music-tip {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.music-control.paused {
    opacity: 0.7;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
    100% { opacity: 0.7; }
}

.music-control.paused .music-icon {
    opacity: 0.5;
}

/* 加载动画 */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-container p {
    color: white;
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .time-block {
        min-width: 60px;
    }
    
    .time-block span {
        font-size: 2rem;
        min-width: 60px;
    }
    
    .content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .time-block {
        min-width: 50px;
    }
    
    .time-block span {
        font-size: 1.5rem;
        min-width: 50px;
    }
    
    .message {
        font-size: 1rem;
    }
    
    .content {
        padding: 1rem;
    }
}

/* 在现有样式基础上添加以下样式 */

/* 截图控制按钮容器 */
.screenshot-controls-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* 截图控制按钮样式 - 圆形小按钮 */
.screenshot-control {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.screenshot-control:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.screenshot-icon {
    font-size: 20px;
    margin: 0;
}

/* 隐藏文字提示，只显示图标 */
.screenshot-tip {
    display: none;
}

/* 添加悬停时的文字提示 */
.screenshot-control::after {
    content: '截图分享';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.screenshot-control:hover::after {
    opacity: 1;
}

/* 分享弹窗样式 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.share-modal.show {
    display: flex;
}

.share-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.share-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.share-preview {
    text-align: center;
    margin-bottom: 20px;
}

.share-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.share-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.share-btn span:first-child {
    font-size: 24px;
}

.share-btn span:last-child {
    font-size: 12px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .screenshot-controls-container {
        bottom: 15px;
        right: 15px;
    }
    
    .screenshot-control {
        width: 45px;
        height: 45px;
    }
    
    .screenshot-icon {
        font-size: 18px;
    }
    
    .screenshot-control::after {
        right: 55px;
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .share-content {
        margin: 20px;
        padding: 15px;
    }
    
    .share-actions {
        gap: 10px;
    }
    
    .share-btn {
        min-width: 80px;
        padding: 12px 15px;
    }
    
    .share-btn span:first-child {
        font-size: 20px;
    }
    
    .share-btn span:last-child {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .screenshot-controls-container {
        bottom: 10px;
        right: 10px;
    }
    
    .screenshot-control {
        width: 40px;
        height: 40px;
    }
    
    .screenshot-icon {
        font-size: 16px;
    }
    
    .screenshot-control::after {
        right: 50px;
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .share-content {
        margin: 10px;
        padding: 12px;
    }
    
    .share-preview img {
        max-height: 300px;
    }
    
    .share-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* 更多选项弹窗样式 */
.more-options-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
}

.more-options-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 20px;
    max-width: 500px;
    width: 90vw;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.more-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.more-options-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-more-options {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-more-options:hover {
    background: rgba(255, 255, 255, 0.2);
}

.option-group {
    margin-bottom: 25px;
}

.option-group h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.bg-options,
.ratio-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bg-option,
.ratio-option {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.bg-option:hover,
.ratio-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bg-option.active,
.ratio-option.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.apply-options-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.apply-options-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
}

/* 图片加载失败状态 - 保留作为备用 */
#page2.background-error {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #1a1a2e 100%);
}

#page2.background-error::before {
    opacity: 0;
}

/* 为移动设备添加特殊处理 */
@media (max-width: 768px) {
    #page1, #page2 {
        background-attachment: scroll;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .page {
        min-height: 100vh;
        position: relative;
    }
    
    /* 防止滑动时背景跳动 */
    .page-container {
        -webkit-overflow-scrolling: touch;
    }
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    z-index: 1;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
}

.content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    width: 600px;
}

/* 保持原有样式不变，在适当位置添加以下样式 */

/* 计时器容器样式 */
.time-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding: 0 1rem;
}

/* 时间显示区域 */
.time-display {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.5s ease;
    opacity: 1;
    width: 100%;
}

/* 渐变动画类 */
.time-display.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.time-display.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* 时间块样式 */
.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

/* 隐藏为0的时间块 */
.time-block.hidden {
    display: none;
}

.time-block span {
    font-size: 2.5rem;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-block p {
    margin-top: 0.5rem;
    font-size: 1rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
}

/* 特殊显示模式样式 */
.time-container.mode-days .time-display {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
}

.time-container.mode-date .time-display {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.time-container.mode-weeks .time-display {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
}

/* 特殊模式下的时间块样式 */
.time-container.mode-days .time-block,
.time-container.mode-date .time-block,
.time-container.mode-weeks .time-block {
    min-width: 70px;
}

.time-container.mode-days .time-block span,
.time-container.mode-date .time-block span,
.time-container.mode-weeks .time-block span {
    min-width: 70px;
    font-size: 2.2rem;
}

/* 响应式设计 - 平板 */
@media (max-width: 768px) {
    .time-container {
        gap: 0.8rem;
        margin: 1.5rem 0;
        padding: 0 0.5rem;
    }
    
    .time-display {
        gap: 0.8rem;
    }
    
    .time-block {
        min-width: 70px;
    }
    
    .time-block span {
        font-size: 2.2rem;
        min-width: 70px;
        padding: 0.4rem;
    }
    
    .time-block p {
        font-size: 0.95rem;
    }
    
    /* 特殊模式在平板上的样式 */
    .time-container.mode-days .time-block,
    .time-container.mode-date .time-block,
    .time-container.mode-weeks .time-block {
        min-width: 65px;
    }
    
    .time-container.mode-days .time-block span,
    .time-container.mode-date .time-block span,
    .time-container.mode-weeks .time-block span {
        min-width: 65px;
        font-size: 2rem;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 480px) {
    .time-container {
        gap: 0.6rem;
        margin: 1rem 0;
        padding: 0 0.5rem;
    }
    
    .time-display {
        gap: 0.6rem;
    }
    
    .time-block {
        min-width: 60px;
    }
    
    .time-block span {
        font-size: 1.8rem;
        min-width: 60px;
        padding: 0.35rem;
        border-radius: 6px;
    }
    
    .time-block p {
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }
    
    /* 特殊模式在手机上的优化 */
    .time-container.mode-days .time-display,
    .time-container.mode-date .time-display,
    .time-container.mode-weeks .time-display {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .time-container.mode-days .time-block,
    .time-container.mode-date .time-block,
    .time-container.mode-weeks .time-block {
        min-width: 55px;
        margin-bottom: 0.3rem;
    }
    
    .time-container.mode-days .time-block span,
    .time-container.mode-date .time-block span,
    .time-container.mode-weeks .time-block span {
        min-width: 55px;
        font-size: 1.6rem;
        padding: 0.3rem;
    }
    
    .time-container.mode-days .time-block p,
    .time-container.mode-date .time-block p,
    .time-container.mode-weeks .time-block p {
        font-size: 0.8rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .time-container {
        gap: 0.4rem;
        padding: 0 0.3rem;
    }
    
    .time-display {
        gap: 0.4rem;
    }
    
    .time-block {
        min-width: 50px;
    }
    
    .time-block span {
        font-size: 1.5rem;
        min-width: 50px;
        padding: 0.25rem;
    }
    
    .time-block p {
        font-size: 0.75rem;
    }
    
    /* 特殊模式在超小屏幕上的优化 */
    .time-container.mode-days .time-block,
    .time-container.mode-date .time-block,
    .time-container.mode-weeks .time-block {
        min-width: 45px;
    }
    
    .time-container.mode-days .time-block span,
    .time-container.mode-date .time-block span,
    .time-container.mode-weeks .time-block span {
        min-width: 45px;
        font-size: 1.3rem;
    }
}

/* 保持原有的其他样式... */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
}

.message {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    font-style: italic;
}

@media (max-width: 480px) {
    .message {
        font-size: 1rem;
    }
}

/* 链接按钮容器 */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    max-height: 60vh;
    overflow-y: auto;
    padding: 0 1rem;
}

/* 链接按钮样式 */
.link-button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.link-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 音乐控制按钮容器 */
.music-controls-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

/* 音乐控制按钮样式 */
.music-control {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 30px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.music-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
    transform: scale(1.1);


.music-icon {
    font-size: 1.5rem;
    margin-right: 5px;
}

.music-tip {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.music-control.paused {
    opacity: 0.7;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
    100% { opacity: 0.7; }
}

.music-control.paused .music-icon {
    opacity: 0.5;
}

/* 加载动画 */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-container p {
    color: white;
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .time-block {
        min-width: 60px;
    }
    
    .time-block span {
        font-size: 2rem;
        min-width: 60px;
    }
    
    .content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .time-block {
        min-width: 50px;
    }
    
    .time-block span {
        font-size: 1.5rem;
        min-width: 50px;
    }
    
    .message {
        font-size: 1rem;
    }
    
    .content {
        padding: 1rem;
    }
}

/* 在现有样式基础上添加以下样式 */

/* 截图控制按钮容器 */
.screenshot-controls-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* 截图控制按钮样式 - 圆形小按钮 */
.screenshot-control {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.screenshot-control:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.screenshot-icon {
    font-size: 20px;
    margin: 0;
}

/* 隐藏文字提示，只显示图标 */
.screenshot-tip {
    display: none;
}

/* 添加悬停时的文字提示 */
.screenshot-control::after {
    content: '截图分享';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.screenshot-control:hover::after {
    opacity: 1;
}

/* 分享弹窗样式 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.share-modal.show {
    display: flex;
}

.share-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.share-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.share-preview {
    text-align: center;
    margin-bottom: 20px;
}

.share-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.share-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.share-btn span:first-child {
    font-size: 24px;
}

.share-btn span:last-child {
    font-size: 12px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .screenshot-controls-container {
        bottom: 15px;
        right: 15px;
    }
    
    .screenshot-control {
        width: 45px;
        height: 45px;
    }
    
    .screenshot-icon {
        font-size: 18px;
    }
    
    .screenshot-control::after {
        right: 55px;
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .share-content {
        margin: 20px;
        padding: 15px;
    }
    
    .share-actions {
        gap: 10px;
    }
    
    .share-btn {
        min-width: 80px;
        padding: 12px 15px;
    }
    
    .share-btn span:first-child {
        font-size: 20px;
    }
    
    .share-btn span:last-child {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .screenshot-controls-container {
        bottom: 10px;
        right: 10px;
    }
    
    .screenshot-control {
        width: 40px;
        height: 40px;
    }
    
    .screenshot-icon {
        font-size: 16px;
    }
    
    .screenshot-control::after {
        right: 50px;
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .share-content {
        margin: 10px;
        padding: 12px;
    }
    
    .share-preview img {
        max-height: 300px;
    }
    
    .share-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* 更多选项弹窗样式 */
.more-options-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
}

.more-options-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 20px;
    max-width: 500px;
    width: 90vw;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.more-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.more-options-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-more-options {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-more-options:hover {
    background: rgba(255, 255, 255, 0.2);
}

.option-group {
    margin-bottom: 25px;
}

.option-group h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.bg-options,
.ratio-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bg-option,
.ratio-option {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.bg-option:hover,
.ratio-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bg-option.active,
.ratio-option.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.apply-options-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.apply-options-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
}