* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

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

header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.section {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
}

h2 {
    color: #2575fc;
    border-bottom: 3px solid #6a11cb;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 2.2rem;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.image-placeholder {
    height: 300px;
    background: linear-gradient(45deg, #f5f7fa, #c3cfe2);
    border-radius: 10px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
}

.quote {
    background-color: #f0f7ff;
    border-left: 5px solid #2575fc;
    padding: 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2rem;
    border-radius: 0 10px 10px 0;
}

.author {
    text-align: right;
    font-weight: bold;
    margin-top: 10px;
    color: #6a11cb;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #6a11cb;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0;
    text-align: center;
    border-radius: 20px 20px 0 0;
    margin-top: 60px;
}

.scroll-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(106, 17, 203, 0.8);
    color: white;
    padding: 15px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    z-index: 100;
}

.scroll-indicator::after {
    content: "↓ 向下滚动";
    display: block;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* 密码弹窗样式 */
.password-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.modal-content h3 {
    color: #2575fc;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal-content p {
    margin-bottom: 25px;
    color: #666;
}

.password-input {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 3px;
}

.password-input:focus {
    outline: none;
    border-color: #6a11cb;
}

.submit-btn {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

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

.error-message {
    color: #e74c3c;
    margin-top: 10px;
    font-size: 0.9rem;
    min-height: 20px;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    z-index: 999;
    transition: width 0.2s ease;
}

/* 微信小程序提示样式 */
.weapp-tip {
    background-color: #f8f9ff;
    border: 2px dashed #6a11cb;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.weapp-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #07c160, #09e765);
    border-radius: 10px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.weapp-tip h4 {
    color: #07c160;
    margin-bottom: 10px;
}

.weapp-tip p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.password-hint {
    display: none;
    /* 隐藏密码规则说明区域 */
}

.copy-btn {
    background-color: #f0f7ff;
    border: 2px solid #2575fc;
    color: #2575fc;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s;
}

.copy-btn:hover {
    background-color: #2575fc;
    color: white;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 25px;
    }

    .scroll-indicator {
        display: none;
    }

    .modal-content {
        padding: 25px;
    }
}