/* index.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
}

.home-container {
    text-align: center;
    padding: 50px;
}

h1 {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 30px;
}

.detail-text {
    font-size: 1.0rem;
    color: #333;
    margin-bottom: 30px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.home-button {
    background-color: #4CAF50;
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.home-button:hover {
    background-color: #45a049;
}

.info-container {
    font-size: 1rem;
    color: #333;
    margin-top: 20px;
}

/* 弹窗背景样式 */
.modal {
    display: none;  /* 初始状态是不可见 */
    position: fixed;  /* 固定定位，确保弹窗在屏幕上浮动 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);  /* 深色半透明背景 */
    backdrop-filter: blur(5px);  /* 背景模糊效果 */
    z-index: 1000;  /* 使弹窗位于其他元素之上 */
}

/* 弹窗内容样式 */
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 15px;  /* 圆角 */
    text-align: center;
    width: 90%;
    max-width: 450px;  /* 最大宽度 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 添加阴影 */
    font-family: 'Arial', sans-serif;
    color: #333;
    animation: fadeIn 0.3s ease-out; /* 弹窗进场动画 */
    list-style: none;  /* 确保没有项目符号 */
}

/* 弹窗标题 */
.modal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    list-style: none;  /* 确保没有项目符号 */
}

/* 弹窗内容文本 */
.modal-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;  /* 增加段间距 */
    margin-bottom: 20px;
    color: #555;
    list-style: none;  /* 确保没有项目符号 */
}

/* 确保没有其他形式的列表符号 */
.modal-content ul,
.modal-content ol {
    list-style-type: none;  /* 移除有序和无序列表的项目符号 */
    padding-left: 0;  /* 去除列表的左侧填充 */
    margin-left: 0;  /* 去除列表的左侧外边距 */
    text-align: left; /* 确保文本左对齐 */
}

/* 弹窗按钮 */
.modal button {
    background: linear-gradient(145deg, #4CAF50, #45a049); /* 渐变背景 */
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;  /* 圆角按钮 */
    cursor: pointer;
    transition: all 0.3s ease; /* 按钮动画 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* 按钮阴影 */
}

/* 按钮悬停效果 */
.modal button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* 按钮点击效果 */
.modal button:active {
    transform: scale(0.98);
}

/* 弹窗渐入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
