.title {
    text-align: center;
    font-family: 'Arial', sans-serif;
    background: #FF932D;
    padding: 20px 0;
}

.title h1 {
    color: #E03D00;
    font-size: 24px;
    margin: 0;
    padding: 0;
    font-weight: bold;
    text-shadow: 2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff;
}

.subtitle {
    font-size: 14px;
    margin-top: 1vw;
    color: #fff;
}

/* 注册按钮 */
.button-container {
    text-align: center;
}

.register-button {
    background: linear-gradient(90deg, #ff4d4f, #ff0000);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.5s ease;
    margin:10px 0px;
}
.register-button svg{
    vertical-align: middle;
}

.register-button:hover {
    background: linear-gradient(90deg, #ff0000, #ff4d4f);
}

.button-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
.bgc{
    background-color: #f1f1f1;
}

/* 优惠券 */
.coupon-container {
    text-align: center;
    padding: 20px;
    width: 90%;
    margin: 0 auto;
}

.coupon-container h1,
.gift-container h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.coupons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.coupon {
    display: flex;
    width: 100%;
    max-width: 33.33%;
    margin: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.33% - 20px);
    justify-content: space-around;
}

.coupon-left {
    background-color: #ff4d4f;
    color: #fff;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.amount {
    font-size: 24px;
    margin: 0;
}

.coupon-right {
    background-color: #fff;
    color: #333;
    width: 50%;
    padding: 10px;
    text-align: left;
}

.coupon-right p {
    margin: 5px 0;
    font-size: 14px;
}

.status {
    width:65px;
    text-align: center;
    padding:10px;
    cursor: pointer;
    border-radius: 5px;
    color:#fff;
    background: #ff4d4f;
    font-weight: bold;
}

/* 友情提示 */
.disclaimer {
    color: #333;
    font-size: 14px;
    margin: 20px 0;
}

.disclaimer b {
    color: red;
}
/* 消费金 */
.gift-container {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    margin:0 auto;
}

.gift-icon img {
    width: 60px;
    height: auto;
}

.gift-title {
    font-size: 24px;
    color: #333;
    margin-top: 10px;
    font-weight: bold;
}

.divider {
    width: 50px;
    height: 2px;
    background-color: #333;
    margin: 10px auto;
}

.gift-description p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

@media (max-width: 600px) {
    .gift-icon img {
        width: 50px;
    }

    .gift-title {
        font-size: 20px;
    }

    .divider {
        width: 40px;
    }

    .gift-description p {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .register-button {
        font-size: 14px;
        padding: 5px 10px;
    }

    .button-icon {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }
    .coupon {
        max-width: 100%;
        flex: 1 1 calc(100% - 20px);
    }
    .coupon-right p {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    h1 {
        color: #333;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .amount {
        font-size: 28px;
    }

    .coupon-right p {
        font-size: 14px;
    }
    
}

@media (min-width: 1024px) {
    h1 {
        color: #333;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .amount {
        font-size: 32px;
    }

    .coupon-right p {
        font-size: 14px;
    }
    .title h1 {
        font-size: 5vw;
    }
    
    .subtitle {
        font-size: 2vw;
    }
    
}
/* 电子书 */
/* 大会员课程 */
.course-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.containerb {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
}
.cardb {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(20% - 20px);
    box-sizing: border-box;
    overflow: hidden;
    margin:10px;
}
.cardb img {
    width: 100%;
    height: 190px;
}
.cardb-content {
    padding: 15px;
}
.cardb-title {
    font-size: 18px;
    margin: 0 0 10px;
}
.cardb-price {
    color: #ff5722;
    margin: 10px 0;
}
.cardb-old-price {
    text-decoration: line-through;
    color: #999;
}
.cardb-membership {
    background-color: #ff9800;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}
.cardb .tag{
    border: 1px solid #ff2832;
    color: #ff2832 !important;
    background-color: #ffedee;
    font: 16px/36px "Microsoft Yahei";
    overflow: hidden;
    padding: 0 15px;
    border-radius: 3px;
    text-decoration: none;
}

@media (min-width: 768px) {
    h1 {
        color: #333;
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }

    .note {
        font-size: 14px;
    }

    .course-section h2 {
        font-size: 24px;
    }
    .course-card h3 {
        font-size: 18px;
    }

    .course-card p {
        font-size: 16px;
    }
}

/* 分页样式代码 */
.pagination-container {
    text-align: center;
}
/* 规则 */
.rules {
    background: #fff;
    box-sizing: border-box;
    padding: 64px 0 80px;
}
.rules .titles {
    text-align: center;
    margin-bottom: 22px;
}
.rules .box {
    width: 550px;
    margin: 0 auto;
    font-size: 12px;
    color: #545c63;
    line-height: 24px;
}
.rules .box ul li{
    word-wrap: break-word;
}
@media screen and (max-width: 1024px) {
    .cardb {
        flex: 1 1 calc(50% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .cardb {
        flex: 1 1 calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .cardb {
        flex: 1 1 calc(100% - 20px);
    }
    
    .course-card{
        flex: 1 1 calc(100% - 20px);
    }

    .rules .box {
        width: 100%;
        margin: 0 auto;
        font-size: 12px;
        color: #545c63;
        line-height: 24px;
    }
}

