body {
    /* 设置页面的字体为 Arial 或无衬线字体，背景色为浅灰色，去除边距和内边距 */
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.page-container {
    /* 限制页面容器的最大宽度为 1200px，水平居中，设置白色背景、内边距、圆角和阴影 */
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.registration-container,
.login-container {
    /* 注册和登录容器的样式，白色背景、内边距、圆角、阴影、宽度和水平居中 */
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 204, 204, 1.8);
    width: 1200px;
    margin: 0 auto;
}

.animated-title,
.login-title,
.title-animation,
.enhanced-title,
.glowy-text {
    /* 标题相关的样式，居中、填充、字体大小、加粗、颜色、动画和文本阴影 */
    color: #333;
    text-align: center;
    padding: 20px 0;
    font-size: 24px;
    font-weight: bold;
    animation: fadeInUp 1s ease;
    text-shadow: 0 0 5px #ff00ff;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    /* 定义文本发光的动画效果，从较弱的阴影到较强的阴影 */
    from {
        text-shadow: 0 0 5px #ff00ff;
    }

    to {
        text-shadow: 0 0 10px #ff00ff;
    }
}

@keyframes fadeInUp {
    /* 定义淡入和上移的动画效果，从透明度为 0 和向下偏移到透明度为 1 和正常位置 */
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 欢迎动画 */
.welcome-animation {
    /* 定义欢迎动画，淡入效果，持续时间为 2 秒，缓入缓出 */
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    /* 定义淡入动画的关键帧，从透明度为 0 到透明度为 1 */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.input-field,
.form-group {
    /* 输入字段和表单组的样式，设置底部边距 */
    margin-bottom: 15px;
}

label {
    /* 标签的样式，显示为块级元素、加粗、设置底部边距 */
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    /* 文本、邮箱和密码输入框的样式，设置宽度、内边距、边框、圆角 */
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.submit-button,
.login-button,
.enhanced-button {
    /* 提交、登录和增强按钮的样式，设置背景色、颜色、无边框、内边距、圆角、鼠标指针为指针、过渡效果 */
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover,
.login-button:hover,
.enhanced-button:hover {
    /* 按钮悬停时的样式，改变背景色 */
    background-color: #0056b3;
}

.price-list p,
.enhanced-price-list p {
    /* 价格列表段落的样式，设置颜色、边距、字体大小 */
    color: #555;
    margin: 10px 0;
    font-size: 18px;
}

.time-period,
.enhanced-time-period {
    /* 时间段的样式，加粗、设置颜色 */
    font-weight: bold;
    color: #007bff;
}

.description,
.enhanced-description {
    /* 描述的样式，设置颜色、字体大小、居中 */
    color: #777;
    font-size: 14px;
    text-align: center;
}

.image-container,
.enhanced-image-container {
    /* 图像容器的样式，文本居中、设置顶部边距 */
    text-align: center;
    margin-top: 20px;
}

.button-container,
.enhanced-button-container {
    /* 按钮容器的样式，使用 flex 布局实现水平居中、设置顶部边距 */
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

button {
    /* 通用按钮的样式，设置背景色、颜色、无边框、内边距、圆角、鼠标指针为指针、过渡效果、字体大小 */
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}

button:hover {
    /* 按钮悬停时的样式，改变背景色 */
    background-color: #0056b3;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .page-container {
        /* 在屏幕宽度小于等于 768px 时，页面容器的内边距保持不变 */
        padding: 20px;
    }

  .enhanced-title {
        /* 在屏幕宽度小于等于 768px 时，增强标题的字体大小变为 24px */
        font-size: 24px;
    }

  .enhanced-price-list p {
        /* 在屏幕宽度小于等于 768px 时，增强价格列表段落的字体大小变为 16px */
        font-size: 16px;
    }

  .enhanced-button {
        /* 在屏幕宽度小于等于 768px 时，增强按钮的内边距变为 8px 16px */
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
  .registration-container,
  .login-container {
        /* 在屏幕宽度小于等于 480px 时，注册和登录容器的宽度变为 90% */
        width: 90%;
    }
}

/* 文字自动变换效果 */
.glowy-text {
    /* 定义发光文本的动画效果，持续时间为 3 秒，无限交替播放 */
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    /* 定义文字发光动画的关键帧，颜色和文本阴影在不同阶段变化 */
    0% {
        color: #ff00ff;
        text-shadow: 0 0 5px #ff00ff;
    }

    50% {
        color: #00ff00;
        text-shadow: 0 0 10px #00ff00;
    }

    100% {
        color: #0000ff;
        text-shadow: 0 0 15px #0000ff;
    }
}