body {
    display: flex;
    flex-direction: row;
    margin: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #00c6ff, #0072ff); /* 背景渐变 */
}

.left {
    background-color: #2B0955;
    color: white;
    width: 50%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.right {
    background-color: #2B0955; 
    width: 50%; 
    padding: 30px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ddd; /* 左边框 */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.content {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

/* 卡片样式 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    font-size: 1.2rem;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.feature-title {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
}

.feature-desc {
    color: #e8f4fd;
    line-height: 1.4;
    margin-bottom: 12px;
    font-size: 12px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: #f0f8ff;
    font-size: 11px;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    opacity: 0.9;
}

.clock {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f2f2f2;
    border: 4px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    margin: 0 auto; 
}

.hour, .minute, .second {
    position: absolute;
    background-color: #333;
    border-radius: 5px;
    transform-origin: bottom center; 
    left: 50%; 
    transform: translateX(-50%);
}

.hour {
    width: 5px;
    height: 30px;
    bottom: 50%;
}

.minute {
    width: 3px;
    height: 40px;
    bottom: 50%;
}

.second {
    width: 2px;
    height: 47px;
    background-color: red; 
    bottom: 50%; 
    z-index: 1; 
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column; 
        height: auto;
        min-height: 100vh;
    }

    .left, .right {
        width: 100%; 
    }

    .left {
        min-height: 40vh;
    }

    .right {
        padding: 20px;
        overflow-y: visible;
        height: auto;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 15px;
    }

    .feature-icon {
        font-size: 1rem;
    }

    .right {
        padding: 15px;
    }

    .feature-grid {
        gap: 10px;
    }

    .feature-title {
        font-size: 13px;
    }

    .feature-desc {
        font-size: 11px;
    }

    .feature-list li {
        font-size: 10px;
    }

    .stat-number {
        font-size: 16px;
    }

    .stat-label {
        font-size: 10px;
    }
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #2B0955;
    color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.modal-message {
    font-size: 14px;
    line-height: 1.6;
    color: #e8f4fd;
    margin-bottom: 20px;
}

.modal-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-button:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .right {
        padding: 10px;
    }

    .feature-card {
        padding: 12px;
    }

    .feature-title {
        font-size: 12px;
    }

    .feature-desc {
        font-size: 10px;
    }

    .feature-list li {
        font-size: 9px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-number {
        font-size: 14px;
    }

    .stat-label {
        font-size: 9px;
    }

    .feature-icon {
        font-size: 0.9rem;
    }

    /* 移动端登录按钮优化 */
    #loginBtn {
        padding: 8px 20px !important;
        font-size: 12px !important;
    }
}

ul {
    list-style-type: none; 
    padding: 0; 
    margin: 20px 0; /* 增加上边距 */
}

li {
    font-size: 13px; 
    color: black; 
    margin-bottom: 30px; 
    position: relative; 
    padding-left: 60px; /* 留出空间给勾号，调整为30px */
}

li::before {
    content: '✓'; 
    color: green; 
    position: absolute; 
    left: 40px; /* 勾勾的位置调整为10px，整体向右移动10px */
}

h1, h2 {
    text-align: center;
    color: #2B0955; /* 标题颜色 */
    margin-bottom: 1px; /* 增加下边距 */
}

h1 {
    font-size: 24px; /* 调整标题大小 */
}

h2 {
    font-size: 18px; /* 调整副标题大小 */
    text-align: center; /* 使副标题居中 */
    font-weight: bold; /* 加粗副标题 */
}

p {
    color: #ccc; /* 默认文本颜色 */
    text-align: center; /* 中心对齐 */
}

a {
    color: #00c6ff; /* 链接颜色 */
    text-decoration: none; /* 去掉下划线 */
}

a:hover {
    text-decoration: underline; /* 悬停下划线 */
}
