* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f5f9;
    color: #333;
    line-height: 1.6;
    height: 100vh;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px 0;
}

.container {
    width: 100%;
    max-width: 900px; /* 修改为较窄的最大宽度 */
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-left {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.language-switch {
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.language-switch:hover {
    color: #f0f0f0;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 200px;
}

#language-select {
    width: 120px;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    cursor: pointer;
}

#language-select:hover {
    border-color: #888;
}

.main-content {
    margin-top: 40px;
}

.box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.box-header {
    background-color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    color: #444;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.entry-box {
    background-color: rgba(0, 123, 255, 0.85);
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 15px;
    width: 48%;
}

.entry-box a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.entry-box:hover {
    background-color: rgba(0, 123, 255, 1);
}

.entry-box a:hover {
    text-decoration: underline;
}

.boxes {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.box-footer {
    background-color: rgba(0, 0, 0, 0.05);
    font-size: 14px; /* 更小的字体 */
    color: #666;
}

footer {
    margin-top: 40px;
    text-align: center;
    font-size: 16px;
    color: #888;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
}

footer p {
    margin: 0;
}

/* 充值教程部分样式 */
#recharge-tutorial {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 确保左对齐 */
}

#recharge-title {
    font-size: 18px;  /* 更小的字体 */
    font-weight: bold;
    color: #444;
    margin-bottom: 15px;
    text-align: left; /* 标题左对齐 */
}

#recharge-list {
    list-style-type: decimal;
    margin-top: 3px;
    padding-left: 0;
    font-size: 14px;  /* 更小的字体 */
    width: 100%;
    max-width: 500px;
    text-align: left;
    padding-left: 20px;
}

#recharge-list li {
    font-size: 14px;  /* 更小的字体 */
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
    text-align: left;
}

/* 本网站简介部分样式 */
#website-intro {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 确保左对齐 */
}

#website-title {
    font-size: 18px;  /* 更小的字体 */
    font-weight: bold;
    color: #444;
    margin-bottom: 14px;
    text-align: left; /* 标题左对齐 */
}

#website-list {
    list-style-type: decimal;
    margin-top: 3px;
    padding-left: 0;
    font-size: 14px;  /* 更小的字体 */
    width: 100%;
    max-width: 500px;
    text-align: left;
    padding-left: 20px;
}

#website-list li {
    font-size: 14px;  /* 更小的字体 */
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
    text-align: left;
}
