/* ========================================
   优润泽培训中心 - 首页样式
   全屏响应式设计 + 蓝色渐变背景
   ======================================== */

/* === 1. 全局样式 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-attachment: fixed;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* === 2. 轮播图样式 === */
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-pagination-bullet {
    width: 20px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* === 3. Banner区域 === */
.banner_box {
    width: 100%;
    max-width: 1600px;
    margin: 82px auto 0;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.banner_left,
.banner_right {
    width: 240px;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    transition: all 0.3s ease;
}

.banner_left:hover,
.banner_right:hover {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
}

.banner {
    flex: 1;
    max-width: 1000px;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.banner .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Banner左侧 */
.banner_left {
    cursor: pointer;
}

.banner_left_title {
    font-weight: 700;
    font-size: 16px;
    color: #313131;
    margin-bottom: 14px;
}

.banner_left_content_box {
    height: 275px;
    overflow: hidden;
}

.banner_left_content {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.banner_left_content_name {
    width: 56px;
    font-size: 14px;
    color: #313131;
    font-weight: 500;
}

.banner_left_content_message {
    flex: 1;
    margin-left: 8px;
    font-size: 14px;
    color: #969696;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner_left_more {
    font-size: 14px;
    color: #323232;
    text-align: center;
    margin-top: 10px;
}

.banner_left_more img {
    vertical-align: middle;
    transform: rotate(90deg);
    margin-left: 5px;
}

/* Banner右侧 */
.banner_right_title {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #313131;
    line-height: 20px;
    margin-bottom: 30px;
}

.banner_right_thumb {
    width: 72px;
    height: 72px;
    margin: 0 auto 30px;
}

.banner_right_thumb img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.banner_right_logo,
.banner_right_info .banner_right_href {
    display: block;
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    line-height: 40px;
    text-align: center;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 15px;
}

.banner_right_logo:hover,
.banner_right_info .banner_right_href:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.banner_right_info .banner_right_href:last-child {
    margin-bottom: 0;
}

/* === 4. 广告位 === */
.advert-push1 {
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 40px;
}

.advert-push1 .el-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.advert-push1 .el-image__inner {
    width: calc(33.333% - 14px);
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.advert-push1 .el-image__inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* === 5. 功能展示模块 === */
.hq2018part2 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 0;
    margin: 40px 0;
}

.w1180 {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hq2018part2 .userlink {
    width: 300px;
    min-height: 180px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-wrap: wrap;
    padding: 15px 10px;
    transition: all 0.3s ease;
    align-content: flex-start;
}

.hq2018part2 .userlink:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hq2018part2 .userlink a {
    width: 90px;
    height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px;
}

.hq2018part2 .userlink a:hover {
    color: #764ba2;
    transform: scale(1.05);
}

.hq2018part2 .userlink .icon18 {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
    background-image: url(http://s.hqwx.com/statics/home/mall/images/sprite.png);
    background-repeat: no-repeat;
}

.icon18-link1 { background-position: -140px -80px; }
.icon18-link6 { background-position: -140px 0; }
.icon18-link7 { background-position: -100px 0; }
.icon18-link4 { background-position: -100px -40px; }
.icon18-link5 { background-position: -40px -100px; }
.icon18-link-qt { background-position: -180px -34px; }

.hq2018part2 .link {
    flex: 1;
    margin-left: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hq2018part2 .link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hq2018part2 .link img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

/* === 6. 课程列表区域 === */
.kaiyuan_body {
    width: 100%;
    background: transparent;
}

.kaiyuan_body .zhibo_wrap {
    padding: 45px 0 20px;
}

.kaiyuan_less_list,
.body {
    width: 100%;
    max-width: 1600px;
    margin: 45px auto 50px;
    padding: 0 40px;
}

.body .list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    margin-top: 40px;
}

.body .list .tips {
    height: auto;
    line-height: 1.5;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.body .list .tips > span:nth-child(1) {
    font-size: 24px;
}

.body .list .tips > span:nth-child(2) {
    margin-left: 14px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.body .list .tips a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.body .list .tips a:hover {
    color: #f093fb;
    text-shadow: 0 0 10px rgba(240, 147, 251, 0.5);
}

/* 课程卡片 */
.body .list ul,
.less_list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.body .list ul li,
.less_list ul li {
    width: calc(25% - 15px);
    min-width: 260px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.body .list ul li:nth-child(1) { animation-delay: 0.1s; }
.body .list ul li:nth-child(2) { animation-delay: 0.2s; }
.body .list ul li:nth-child(3) { animation-delay: 0.3s; }
.body .list ul li:nth-child(4) { animation-delay: 0.4s; }

.body .list ul li:hover,
.less_list ul li:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.body .list ul li a,
.less_list ul li a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.body .list ul li .content,
.less_list ul li .content {
    padding: 15px;
}

.body .list ul li .content .top,
.less_list ul li .content .top {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    margin-bottom: 15px;
}

.body .list ul li .content .top .tip,
.less_list ul li .content .top .tip {
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(253, 57, 73, 0.9) 0%, rgba(255, 107, 107, 0.9) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px 0 8px 0;
    box-shadow: 0 2px 8px rgba(253, 57, 73, 0.3);
}

.body .list ul li .content .title,
.less_list ul li .content .title {
    font-size: 15px;
    font-weight: 600;
    color: #313131;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.body .list ul li:hover .content .title,
.less_list ul li:hover .content .title {
    color: #667eea;
}

.body .list ul li .content .information,
.less_list ul li .content .information {
    font-size: 12px;
    color: #969696;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.body .list ul li .content .information .text1,
.less_list ul li .content .information .text1 {
    margin-right: 10px;
}

.body .list ul li .content .information .text2,
.less_list ul li .content .information .text2 {
    color: #38E1AB;
    margin-left: 10px;
}

.body .list ul li .content .information img,
.less_list ul li .content .information img {
    width: 13px;
    margin-left: 10px;
}

.body .list ul li .content .bottom,
.less_list ul li .content .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.body .list ul li .content .bottom .img1,
.less_list ul li .content .bottom .img1 {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 5px;
}

.body .list ul li .content .bottom .name,
.less_list ul li .content .bottom .name {
    font-size: 13px;
    color: #666;
    flex: 1;
}

.body .list ul li .content .bottom .mian,
.less_list ul li .content .bottom .mian {
    padding: 5px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.body .list ul li .content .bottom .mian:hover,
.less_list ul li .content .bottom .mian:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.6);
}

.body .list ul li .content .bottom .money,
.less_list ul li .content .bottom .money {
    color: #ff6b6b;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}

.body .list ul li .content .bottom .mi,
.less_list ul li .content .bottom .mi {
    color: #4facfe;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(79, 172, 254, 0.3);
}

/* === 7. 新闻列表 === */
.new_list .list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    padding: 40px 30px;
}

.item {
    display: flex;
    padding: 35px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding-left: 30px;
    padding-right: 30px;
}

.item_img {
    width: 255px;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.item:hover .item_img {
    transform: scale(1.05);
}

.item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item_content {
    flex: 1;
    margin-left: 26px;
    display: flex;
    flex-direction: column;
}

.item_content_title {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 18px;
}

.item:hover .item_content_title {
    color: #f093fb;
}

.item_content_info {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.item_content_bottom_info {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 15px;
}

.item_content_bottom_info .left,
.item_content_bottom_info .right {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.item_content_bottom_info img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

/* === 8. 底部推广区 === */
._6wZTf {
    padding: 60px 0 50px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    position: relative;
}

._6wZTf::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(http://git.sdwanyue.com/static/default/images/index/superiority_bg.png);
    opacity: 0.1;
    z-index: 0;
}

._6wZTf > * {
    position: relative;
    z-index: 1;
}

._6wZTf ._2_6Zp {
    font-size: 40px;
    color: #fff;
    line-height: 56px;
    text-align: center;
    margin-bottom: 80px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

._6wZTf .uplmK {
    display: flex;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    flex-wrap: wrap;
    gap: 24px;
}

._6wZTf ._3jf9s {
    flex: 1;
    min-width: 500px;
    display: flex;
    align-items: center;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

._6wZTf ._3jf9s:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

._6wZTf ._3sNCh {
    width: 120px;
    height: 120px;
    border: 1px solid #e6e6e6;
    margin-right: 32px;
    flex-shrink: 0;
}

._6wZTf ._2mrZV {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

._6wZTf ._2rSXc {
    display: flex;
    flex-direction: column;
    flex: 1;
}

._6wZTf ._15OFI {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 16px;
}

._6wZTf ._3blI6 {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 18px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

._6wZTf ._3blI6:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* === 9. 右侧悬浮按钮 === */
.right-nav {
    width: 135px;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    right: 2%;
    bottom: 10px;
    z-index: 1000;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 15px;
    transition: all 0.3s ease;
}

.right-nav:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.right-img {
    display: block;
    width: 80%;
    height: auto;
    margin: 11px auto 10px;
}

.right-nav p {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0;
}

/* === 10. 空数据提示 === */
.empty_data {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
}

.empty_data img {
    max-width: 200px;
    opacity: 0.6;
}

.empty_data div {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 16px;
    margin-top: 20px;
}

/* === 11. 动画效果 === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeIn 0.5s ease-in;
}

/* === 12. 滚动条美化 === */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* === 13. 响应式设计 === */
@media screen and (min-width: 1920px) {
    .banner_box,
    .kaiyuan_less_list,
    .body,
    .w1180,
    ._6wZTf .uplmK {
        max-width: 1800px;
    }
}

@media screen and (max-width: 1400px) {
    .body .list ul li,
    .less_list ul li {
        width: calc(33.333% - 14px);
    }
}

@media screen and (max-width: 1024px) {
    .banner_box {
        flex-direction: column;
        align-items: center;
    }
    
    .banner_left,
    .banner_right {
        width: 100%;
        max-width: 600px;
    }
    
    .banner {
        width: 100%;
        max-width: 100%;
    }
    
    .body .list ul li,
    .less_list ul li {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .body .list ul li,
    .less_list ul li {
        width: 100%;
    }
    
    ._6wZTf ._3jf9s {
        min-width: 100%;
    }
    
    .item {
        flex-direction: column;
    }
    
    .item_img {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .item_content {
        margin-left: 0;
    }
}
