html {
    font-size: 16px;
}

body {
    margin: auto;
    display: flex;
    flex-direction: column;
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    cursor: default;
    width: auto;
    box-sizing: border-box;
    background-color: #f4f5f7;
}

/*主体内容*/
.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 800px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #ffffff;
}

/*************************** 顶部卡片区域 */
.kapian {
    position: relative;
    background-color: #276749;
    color: #fff;
    text-align: center;
    padding: 30px 20px 50px;
    overflow: hidden;
}

.kapianA {
    display: flex;
    flex-direction: row;
    /* 图标和文字一行显示 */
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.kapianA .icon {
    width: 72px;
    height: 72px;
}

.kapian_text {
    font-size: 32px;
    font-weight: bold;
}

.wangzhan_yuming {
    margin: 18px auto 0;
    display: inline-block;
    padding: 10px 48px;
    background-color: #3b8f45;
    /* 绿色底 */
    border-radius: 999px;
    /* 胶囊圆角 */
    color: #ffffff;
    /* 白色文字 */
    font-size: 28px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.wangzhan_wenzi {
    margin-top: 12px;
    font-size: 26px;
    color: #333333;
    position: relative;
    z-index: 1;
    font-weight: bold;
}

/***************************三开彩区域 */
.sankaijiangquyu {
    display: flex;
    flex-direction: column;
}

.mingcheng {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
}

.mingcheng button {
    flex: 1;
    border: none;
    background-color: #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
}

.mingcheng button+button {
    margin-left: 10px;
    /* 按钮之间留一点间距 */
}

/* 按钮激活状态颜色：绿 / 红 / 蓝
   提高选择器优先级，覆盖上面的 .mingcheng button 背景色 */
.mingcheng button.btn-xgwy-active {
    background-color: #2f855a;
    color: #fff;
}

.mingcheng button.btn-am-active {
    background-color: #e53e3e;
    color: #fff;
}

.mingcheng button.btn-xglh-active {
    background-color: #3182ce;
    color: #fff;
}

.gongyong_kaijiangquyu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background-color: #fee2e2;
}

/**********开奖区域的下方导航栏****************/
.daohang_tu {
    background-color: #276749;
    /* 整条绿色背景 */
    color: #fff;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.daohang_tuA {
    display: flex;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
}

/* 左侧黄色竖条 */
.daohang_tuA::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 36px;
    background-color: #ffe800;
    margin-right: 10px;
}

.wenzi_A {
    color: #f6e05e;
}

.daohang_tuB a {
    color: #fff;
    font-size: 32px;
    text-decoration: none;
}

.daohang_tuB a:hover {
    text-decoration: underline;
}

/***********************4个网页的进入区域*/
.tupian_wangzhiquyu {
    display: flex;
    justify-content: space-between;
    padding: 10px 40px;
    box-sizing: border-box;
    background-color: #ffffff;
}

.tupian_item {
    width: 220px;
    height: 120px;
    /* 根据你图片大小可调 */
    text-align: center;
}

.tupian_item a {
    display: block;
    text-decoration: none;
    color: #333;
}

.tupian_item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.tupian_text {
    margin-top: 8px;
    font-size: 30px;
    font-weight: bold;
    color: #333333;
}

/*********文字入口****************/
.beiyong_zhaozu {
    margin-top: 20px;
    background-color: #f7fafc;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    /* 允许换行 */
    gap: 10px 20px;
    /* 行间 / 列间间距 */
}

.beiyong_zhaozu span {
    flex: 0 0 calc(25% - 20px);
    /* 一行 4 个，平均分配 */
    background-color: #ffffff;
    border-radius: 6px;
    padding: 12px 0;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
}