@CHARSET "UTF-8";

/* ===== 原有基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #0ef;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden; /* 允许垂直滚动 */
    min-height: 100vh;
    position: relative;
    padding-top: 90px;
}


/* 背景网格、粒子、发光元素保持不变 */
.grid {
    position: fixed; /* 改为fixed，覆盖整个视口 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 238, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 238, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.glow-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* 发光圆元素样式不变 */
.glow-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 238, 255, 0.2);
    box-shadow: 0 0 40px 10px rgba(0, 238, 255, 0.5);
    animation: glow 5s infinite alternate;
}
.element1 { width: 300px; height: 300px; top: 10%; left: 5%; animation-delay: 0s; }
.element2 { width: 200px; height: 200px; bottom: 10%; right: 10%; animation-delay: 2.5s; }
.element3 { width: 150px; height: 150px; top: 50%; left: 80%; animation-delay: 1s; }

/* 动画保持不变 */
@keyframes pulse { /* ... */ }
@keyframes gridMove { /* ... */ }
@keyframes glow { /* ... */ }
.live-box {
    position: relative;
    align-items: center;
    z-index: 10;
    padding-top: 25px;
}
.sy-slide::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.navbar{
    background-color: #000;
    color: #0ef;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 238, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
}
.navbar-brand {
    color: #0ef !important;
    font-weight: bold;
    text-shadow: 0 0 10px #0ef;
}
.navbar-nav .nav-link {
    margin: 25px 15px 0 15px;
    padding: 0 0 10px 0;
    
}
.navbar-nav .nav-link-foot, .navbar-nav .nav-link{
    color: #0ef !important;
    text-shadow: 0 0 5px #0ef;
}
.navbar-nav li a:hover::after, .navbar-nav li.active a::after
 {
    width: 100%;
}
.navbar-nav a::after
 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ef;
    box-shadow: 0 0 10px #0ef;
    transition: 0.3s;
}

.navbar-fixed-top, .navbar-fixed-bottom {
    position: fixed;
}

.navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
    margin-right: 0px;
    margin-left: 0px;
}

.navbar .nav .user {
    padding: 0;
    line-height: 70px;
    color:#0ef;
}

.navbar .nav .user .headicon {
    margin: 0 5px;
    height: 30px;
    border-radius: 15px;
}

.navbar .nav .user .caret {
    vertical-align: middle;
    margin: 0 5px;
}
.search-box{
    display: flex;
    align-items: center;
    background: rgba(0, 238, 255, 0.1);
    border: 1px solid #0ef;
    border-radius: 10px;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
}
.search-box-input{  
    background: transparent;
    border: none;
    color: #0ef;
    outline: none;
    width: 180px;
    font-size: 0.9rem;
}
.search-box-btn{
    margin:0;
    background: transparent;
    border: none;
    color: #0ef;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: 0.3s;
    font-size: 1rem;
}
.search-box-btn:hover{
    background:#0ef;
    color:#FFF;
}
.dropdown-menu{
    background-color:#1a1a1a ;
}
.dropdown-menu>li>a,.list-inline>li>a{
    color:#0ef;
}
.dropdown-menu>li>a:hover{
    background-color:#0ef;
    color:#fff;
}
.btn-block,.get-tel-code{
    background-color:#0ef;
    border-radius: 5px;
}
.js-ajax-form input{
    border-radius: 5px;
}
#footer{
    text-align: center;
}
.nav-foot-div{
    display: flex;
    justify-content: center;
}
.nav-foot{
    display: flex;
    list-style: none;
}
.nav-foot a{
    color:#0ef !important;
    padding: 3px 10px !important;
}
.nav-foot a:hover{
    background: #0ef !important;
    color:#FFF !important;
}

/* 固定广播栏容器 */
.broadcast-bar-fixed {
    position: fixed;
    top: 0; /* 初始值，JS会动态调整为导航栏高度 */
    left: 0;
    right: 0;
    background: rgba(0, 20, 30, 0.7);
    backdrop-filter: blur(5px);
    border: none; /* 无边框 */
    padding: 6px 0;
    box-shadow: 0 2px 10px rgba(0, 238, 255, 0.1);
    transition: top 0.2s ease;
}

/* 内部内容布局（宽度自动由 .container 控制） */
.broadcast-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #aaf;
}

/* 喇叭图标 */
.broadcast-icon {
    flex-shrink: 0;
    font-size: 18px;
    color: #0ef;
    text-shadow: 0 0 5px #0ef;
}

/* 滚动文字区域 */
.broadcast-text {
    flex: 1;
    white-space: nowrap;
    background: transparent;
    border: none;
    color: #0ef;
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .broadcast-bar-fixed {
        padding: 4px 0;
    }
    .broadcast-content {
        gap: 10px;
        font-size: 12px;
    }
    .broadcast-icon {
        font-size: 14px;
    }
}


/* ===== 轮播图自定义样式 ===== */
#mainCarousel {
    max-width: 1200px;        /* 限制最大宽度，适合大屏 */
    margin: 20px auto;         /* 居中并增加上下边距 */
    border-radius: 8px;        /* 可选：圆角效果 */
    overflow: hidden;          /* 保证圆角裁剪 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 轻微阴影 */
}
/*#mainCarousel .item::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none; 
}*/

/* 图片默认占满容器宽度，高度自动 */
#mainCarousel .carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;         /* 保持比例，可能裁剪部分区域，可根据需要改为contain */
}

/* 文字说明样式 */
#mainCarousel .carousel-caption {
    /*background: rgba(0, 0, 0, 0.5); /* 半透明黑底 */
    border-radius: 4px;
    padding: 10px 20px;
    bottom: 10%;               /* 调整垂直位置 */
    text-shadow: 1px 1px 2px #000;
}

#mainCarousel .carousel-caption p {
    font-size: 18px;
    margin: 0;
    color: #fff;
    font-weight: 500;
}

/* 左右控制按钮颜色和大小调整 */
#mainCarousel .carousel-control {
    background: none;          /* 移除默认渐变背景，保持简洁 */
    width: 5%;                 /* 控制按钮宽度 */
    opacity: 0.8;
}

#mainCarousel .carousel-control .glyphicon-chevron-left,
#mainCarousel .carousel-control .glyphicon-chevron-right {
    font-size: 30px;           /* 调整箭头大小 */
    width: 30px;
    height: 30px;
    margin-top: -15px;
}

/* 指示器样式微调 */
#mainCarousel .carousel-indicators li {
    border-color: #fff;
    background-color: rgba(255,255,255,0.3);
    width: 12px;
    height: 12px;
    margin: 0 4px;
}

#mainCarousel .carousel-indicators li.active {
    background-color: #fff;
    width: 14px;
    height: 14px;
}
/*轮播页下面的样式*/
.modules {
    display: flex;
    flex-direction: column;  /* 改为纵向排列 */
    align-items: center;
    gap: 4rem;
    padding: 3rem 2rem;
    max-width: 1200px;       /* 限制最大宽度，居中 */
    margin: 0 auto;
    width: 100%;
}
.module-panel {
    background: rgba(0, 20, 30, 0.7);
    border: 1px solid #0ef;
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.2);
    width: 100%;              /* 占满容器宽度 */
    transition: 0.3s;
}

.module-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px #0ef;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #0ef;
    padding-bottom: 0.5rem;
}

.module-header h3 {
    color: #0ef;
    font-size: 2.5em;
    margin: 0;
    text-shadow: 0 0 5px #0ef;
}

.module-header .more-link {
    color: #aaf;
    text-decoration: none;
    font-size: 1.5rem;
    border-bottom: 1px solid #0ef;
    border-radius: 20px;
    padding: 0.3rem 1.2rem;
    transition: 0.3s;
}

.module-header .more-link:hover {
    background: rgba(0, 238, 255, 0.2);
    box-shadow: 0 0 10px #0ef;
}

.module-desc {
    color: #aaf;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.5rem;
    border-left: 3px solid #0ef;
    padding-left: 1rem;
    background: rgba(0, 238, 255, 0.05);
    border-radius: 0 5px 5px 0;
}

.module-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.module-list li a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(0, 238, 255, 0.3);
    color: #aaf;
    font-size: 1.5rem;
}

.module-list li:last-child {
    border-bottom: none;
}

.module-list .item-name {
    color: #0ef;
    font-weight: bold;
    flex: 2;
}

.module-list .item-detail {
    flex: 3;
    color: #aaf;
}

.module-list .item-meta {
    flex: 1;
    text-align: right;
    color: #0ef;
}

/****课堂页面****/
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* 卡片样式 - 固定高度，图片和内容各占50% */
.course-card {
    background: rgba(0, 20, 30, 0.7);
    border: 1px solid #0ef;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.2);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px #0ef;
}

.card-image {
    height: 50%;
    background-size: cover;
    background-position: center;
}
.card-image img{
    width:100%;
    height: 100%;
}

.card-content {
    height: 50%;
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    color: #0ef;
    font-size: 2rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 3px #0ef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-teacher {
    color: #aaf;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-desc {
    color: #ccc;
    line-height: 1.3;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 状态和人数标签放在同一行 */
.status-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.course-status {
    color: #0ef;
    display: inline-block;
    padding: 0.1rem 0.5rem;
}

.participants-count {
    color: #aaf;
}

.card-meta {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    margin-bottom: 0.4rem;
    color: #0ef;
    gap:1rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}

.card-actions .btn {
    background: transparent;
    border: 1px solid #0ef;
    color: #0ef;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-right: 0.5rem;
}

.card-actions .btn:hover {
    background: rgba(0, 238, 255, 0.2);
    box-shadow: 0 0 8px #0ef;
}

/* 平板端 */
@media (max-width: 1048px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .course-card {
        height: 380px;
    }
}

/* 手机端 */
@media (max-width: 570px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .course-card {
        height: 360px;
    }
    .card-content {
        padding: 0.6rem 0.8rem;
    }
    .status-row {
        gap: 0.4rem;
    }
    .card-actions .btn {
        padding: 0.5rem 1rem;
    }
}

/* 购买页面 */
.buy-box {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}
.buy-box .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.buy-box .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(60, 60, 70, 0.4);
    backdrop-filter: blur(2px);
    padding: clamp(20px, 5vw, 40px) clamp(16px, 4vw, 48px);
    color: white;
    border-radius: 24px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.5);
    z-index: 999;
}
.buy-box .header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: clamp(24px, 6vw, 48px);
}
.buy-box .course-name {
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.buy-box .teacher {
    font-size: clamp(18px, 3.5vw, 28px);
    font-weight: 400;
    color: #ccccff;
    border-left: 2px solid #0ef;
    padding-left: 12px;
    line-height: 1.2;
}
.buy-box .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.buy-box .close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}
.buy-box .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.buy-box .list-item {
    background: #0ef;
    color: white;
    border-radius: 20px;
    padding: clamp(8px, 2vw, 16px) clamp(10px, 3vw, 20px);
    text-align: center;
    box-shadow: 0 10px 20px -5px rgba(0, 238, 255, 0.4);
    transition: transform 0.2s ease;
    min-width: 170px;
    flex: 0 1 auto;
}
.buy-box .list-item:hover {
    transform: scale(1.03);
    cursor: pointer;
}
.buy-box .list-item.active {
    /* 示例：加深背景色，添加边框 */
    background: #0cf; /* 比#0ef稍深 */
    box-shadow: 0 0 0 2px white, 0 15px 25px -5px rgba(0,238,255,0.8);
    transform: scale(1.05); /* 轻微放大 */
}
.buy-box .days {
    font-size: clamp(22px, 5vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    white-space: nowrap;
}
.buy-box .price {
    font-size: clamp(20px, 4.5vw, 32px);
    font-weight: 600;
    opacity: 0.95;
    white-space: nowrap;
}
.buy-box .btn-container {
    text-align: center;
}
.buy-box .buy-btn {
    background: transparent;
    border: none;
    color: #0ef;
    font-size: clamp(20px, 5vw, 36px);
    font-weight: 700;
    padding: 12px 40px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(0, 238, 255, 0.3) inset;
    background: rgba(0, 238, 255, 0.05); 
}
.buy-box .buy-btn:hover {
    background: rgba(0, 238, 255, 0.15);
    box-shadow: 0 0 15px #0ef;
}
/*课程购买*/
.pay-box,.info-box {
    position: fixed;
    top: 79px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}
.pay-box .pay-mask,.info-box .info-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000009c;
    z-index: 1;
}
.pay-box .pay-content,.info-box .info-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: rgba(60, 60, 70, 0.4);
    backdrop-filter: blur(2px);
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.5);
    color: #0ef;
    z-index: 2;
}
.pay-box .pay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.pay-box .pay-title {
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 600;
    color: #0ef;
}
.pay-box .pay-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #0ef;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.pay-box .pay-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}
.pay-box .pay-message-box,.info-box .info-message-box {
    background: #000000b0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    color: #0ef;
    font-size: clamp(16px, 4vw, 20px);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}
.info-box a{
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    background: #0ef;
}
/* 课程介绍区域 */
/* 课堂基本信息卡片 */
.info-card {
    background: rgba(0, 20, 30, 0.7);
    border: 1px solid #0ef;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.2);
    overflow: hidden;
    margin: 2rem 0;
}

/* 左右布局 (默认) */
.info-layout {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

/* 左侧信息区 */
.info-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.course-name {
    color: #0ef;
    text-shadow: 0 0 5px #0ef;
}

.course-teacher {
    color: #aaf;
}

.course-intro {
    color: #ccc;
    line-height: 1.5;
}

.type-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.course-type {
    border-radius: 20px;
    display: inline-block;
}

.participants {
    color: #aaf;
}

.live-time {
    color: #0ef;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.action-buttons .btn {
    background: transparent;
    border: 1px solid #0ef;
    color: #0ef;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.action-buttons .btn:hover {
    background: rgba(0, 238, 255, 0.2);
    box-shadow: 0 0 12px #0ef;
}

/* 右侧图片区 */
.info-right {
    flex: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #0ef;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.3);
}

/* 小屏幕时改为上下布局：图片在上，信息在下 */
@media (max-width: 768px) {
    .info-layout {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .info-right {
        order: -1; /* 图片移到上方 */
        flex: auto;
    }
    .course-name {
        font-size: 1.5rem;
    }
    .action-buttons .btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
}
.course-container{
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
}
.course-detail {
    background: rgba(0, 20, 30, 0.7);
    border: 1px solid #0ef;
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.2);
}

.course-detail h2 {
    color: #0ef;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px #0ef;
}

.course-detail .content {
    color: #aaf;
    line-height: 1.8;
}
.course-detail .content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*开户链接*/
/* ===== MT4开户页 ===== */
.mt4-container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
}

.mt4-platform {
    margin-bottom: 2rem;
    background: rgba(0, 20, 30, 0.7);
    border: 1px solid #0ef;
    border-radius: 15px;
    padding: 1.5rem;
}

.mt4-platform h2 {
    color: #0ef;
    margin-bottom: 1rem;
    border-bottom: 1px solid #0ef;
    padding-bottom: 0.5rem;
}

.account-type {
    margin-top: 1rem;
}

.account-type h3 {
    color: #aaf;
    margin-bottom: 0.5rem;
}

.account-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.account-links a {
    color: #0ef;
    text-decoration: none;
    padding: 0.3rem 1rem;
    border: 1px solid #0ef;
    border-radius: 6px;
    transition: 0.3s;
}
.account-links a:hover{
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px #0ef, 0 0 60px rgba(0, 238, 255, 0.3);
}
.account-links a:hover {
    background: rgba(0, 238, 255, 0.2);
    box-shadow: 0 0 10px #0ef;
}
/*用户中心*/
.col-md-3 .list-group,.form-group .btn-yx{
    border-width: 0 0 var(--bs-list-group-border-width);
    border:1px solid #0ef;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.col-md-3 .list-group-item,.form-group>a{
    background: transparent;
    color:#0ef;
    border: 1px solid #0ef;
}
.form-group input,.form-group select,.form-group select option,.form-group textarea{
    border: 1px solid #0ef !important;
    background: transparent;
    color:#0ef;
}
.col-md-3 .list-group-item:hover,.col-md-3 .active-item,.form-group .btn-yx:hover{
    background: #0ef;
    color:#FFF;
}
.col-md-9 .nav-tabs li.active>a{
    background: #0ef !important;
    color:#FFF !important;
    font-weight: 600;
}
.col-md-9 .nav-tabs li>a{
    background: transparent !important;
    color:#0ef !important;
    font-weight: 600;
    cursor: pointer;
}
.col-md-9 .nav-tabs li>a:hover{
    border: none;
}
.col-md-9 .table-hover th,.col-md-9 .table-hover td{
    border: 1px solid #447073 !important;
}
.btn-tech {
    background: transparent;
    border: 1px solid #0ef;
    color: #0ef;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}
.form-group .btn-yx{
    padding: 8px 12px;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    background: transparent;
    color:#0ef;
}
.custom-file-upload {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    color: #0ef;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #0ef;
    transition: background 0.2s;
}
.custom-file-upload:hover {
    background-color: #0ef;
    color: white;
}
.pagination li>span, .pagination li>a{
    background: transparent !important;
    color:#0ef !important;
}
.pagination li>span:hover, .pagination li>a:hover{
    background-color: #0ef !important;
    color: white !important;
}

/** 注册登录等滑块*/
#drag {
    position: relative;
    background-color: #fff;
    height: 38px;          /* 稍微增高便于手指操作 */
    line-height: 38px;
    text-align: center;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    width: 100%;
}

/* 滑块背景进度条 */
#drag .drag_bg {
    background-color: #7ac23c;
    height: 38px;
    width: 0px;
    border-radius: 4px;
    transition: width 0.05s linear; /* 平滑过渡，提升跟手性 */
}

/* 提示文字 */
#drag .drag_text {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #5a6874;
    line-height: 38px;
    pointer-events: none;   /* 让文字不干扰拖拽事件 */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 滑块把手 (移动端触摸区域优化) */
#drag .handler {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 48px;            /* 宽度稍大，方便手指按压 */
    height: 38px;           /* 与容器高度匹配，留1px边距 */
    border-radius: 4px;
    cursor: grab;
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    transition: left 0.05s ease-out;
    /* 关键：移动端禁止滚动/缩放，完全由触摸控制滑动 */
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

/* 移动端增大点击区域视觉反馈 (可选) */
#drag .handler:active {
    background-color: #f5f5f5;
    transform: scale(0.98);
}

/* 默认滑块图标 (箭头) */
.handler_bg {
    background: #0ef url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0ZDhlNWY5My05NmI0LTRlNWQtOGFjYi03ZTY4OGYyMTU2ZTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTEyNTVEMURGMkVFMTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTEyNTVEMUNGMkVFMTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2MTc5NzNmZS02OTQxLTQyOTYtYTIwNi02NDI2YTNkOWU5YmUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NGQ4ZTVmOTMtOTZiNC00ZTVkLThhY2ItN2U2ODhmMjE1NmU2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+YiRG4AAAALFJREFUeNpi/P//PwMlgImBQkA9A+bOnfsIiBOxKcInh+yCaCDuByoswaIOpxwjciACFegBqZ1AvBSIS5OTk/8TkmNEjwWgQiUgtQuIjwAxUF3yX3xyGIEIFLwHpKyAWB+I1xGSwxULIGf9A7mQkBwTlhBXAFLHgPgqEAcTkmNCU6AL9d8WII4HOvk3ITkWJAXWUMlOoGQHmsE45ViQ2KuBuASoYC4Wf+OUYxz6mQkgwAAN9mIrUReCXgAAAABJRU5ErkJggg==") no-repeat center;
    background-size: 20px 20px;
}

/* 成功状态图标 (对勾) */
.handler_ok_bg {
    background: #fff url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0ZDhlNWY5My05NmI0LTRlNWQtOGFjYi03ZTY4OGYyMTU2ZTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDlBRDI3NjVGMkQ2MTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDlBRDI3NjRGMkQ2MTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphNWEzMWNhMC1hYmViLTQxNWEtYTEwZS04Y2U5NzRlN2Q4YTEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NGQ4ZTVmOTMtOTZiNC00ZTVkLThhY2ItN2U2ODhmMjE1NmU2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+k+sHwwAAASZJREFUeNpi/P//PwMyKD8uZw+kUoDYEYgloMIvgHg/EM/ptHx0EFk9I8wAoEZ+IDUPiIMY8IN1QJwENOgj3ACo5gNAbMBAHLgAxA4gQ5igAnNJ0MwAVTsX7IKyY7L2UNuJAf+AmAmJ78AEDTBiwGYg5gbifCSxFCZoaBMCy4A4GOjnH0D6DpK4IxNSVIHAfSDOAeLraJrjgJp/AwPbHMhejiQnwYRmUzNQ4VQgDQqXK0ia/0I17wJiPmQNTNBEAgMlQIWiQA2vgWw7QppBekGxsAjIiEUSBNnsBDWEAY9mEFgMMgBk00E0iZtA7AHEctDQ58MRuA6wlLgGFMoMpIG1QFeGwAIxGZo8GUhIysmwQGSAZgwHaEZhICIzOaBkJkqyM0CAAQDGx279Jf50AAAAAABJRU5ErkJggg==") no-repeat center;
    background-size: 20px 20px;
}

/* 移动端点击高亮移除 */
#drag .handler:focus {
    outline: 0;
}

/* 验证成功时整体色调变化 */
#drag.drag-success .drag_text {
    color: #fff;
}

/* 简易响应式 */
@media (max-width: 480px) {
    #drag {
        height: 38px;
        line-height: 48px;
    }
    #drag .drag_bg, #drag .handler {
        height: 38px;
    }
    #drag .handler {
        width: 52px;
    }
    #drag .drag_text {
        font-size: 14px;
    }
}


/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .navbar-menu { display: none; } 
}

/*tc widget*/
.tc-main {
    margin-top: 20px;
}

/*tc-box*/
.tc-box {
    background: #fff;
    padding: 5px 10px;
    margin: 0 0 10px 0;
}

.body-white .tc-box{
    border: solid 1px #eee;
}

.tc-box.first-box {
    margin: 0 0 10px 0;
}

.tc-box.article-box {
    padding: 5px 20px;
}

/*tc-box end */

/* The blog boxes */
/*.tc-gridbox {
  background-color: #ececec;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: 0px 1px 1px #a8a8a8;
  -moz-box-shadow: 0px 1px 1px #a8a8a8;
  box-shadow: 0px 1px 1px #a8a8a8;
  margin-bottom: 40px;
}*/
.tc-gridbox-container {
    width: 25%;
    float: left;
}

.tc-gridbox {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: solid 1px #eee;
    background: #fff;
    cursor: pointer;
}

.tc-gridbox {
    margin: 0 10px 20px 10px;
}

.tc-gridbox:hover {
    -webkit-box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
    -moz-box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
    box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
}

.tc-gridbox a {
    text-decoration: none;
}

@media ( min-width: 768px) and (max-width: 979px) {
    .tc-gridbox {
        display: block;
        float: none;
        width: 95%;
    }
}

@media ( max-width: 979px) {
    .tc-gridbox-container {
        display: block;
        float: none;
        width: 100%;
    }

    .tc-gridbox {
        margin: 0 0 10px 0;
    }
}

.tc-gridbox .header {
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    text-align: center;
    background: #fff;
}

.tc-gridbox .footer {
    padding: 5px 14px 5px 14px;
    text-align: right;
    background: #fff;
}

.tc-gridbox .header .item-image {
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}

.tc-gridbox .header img {
    margin-bottom: 5px;
    /*-webkit-transition: all 0.8s ease-in-out;*/
    /*-moz-transition: all 0.8s ease-in-out;*/
    /*-o-transition: all 0.8s ease-in-out;*/
    /*-ms-transition: all 0.8s ease-in-out;*/
    /*transition: all 0.8s ease-in-out;*/
}

.tc-gridbox .header img:hover {

    /*-webkit-transform: scale(1.2) rotate(2deg);*/
    /*-moz-transform: scale(1.2) rotate(2deg);*/
    /*-o-transform: scale(1.2) rotate(2deg);*/
    /*-ms-transform: scale(1.2) rotate(2deg);*/
    /*transform: scale(1.2) rotate(2deg);*/
}

.tc-gridbox .header h3 {
    color: #454a4e;
    margin: 0 5px;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 24px;
}

.tc-gridbox .header h3 a,
.tc-gridbox .header h3 a:focus,
.tc-gridbox .header h3 a:hover {
    color: #454a4e;
    white-space: nowrap;
}

.tc-gridbox .header .meta {
    color: #5a6065;
}

.tc-gridbox .header hr {
    border-top-color: #eee;
    border-bottom: none;
    margin: 5px 0;
}

.tc-gridbox .body {
    padding-right: 14px;
    padding-left: 14px;
    margin-bottom: 14px;
    color: #343a3f;
}

.tc-gridbox .body a {
    color: #666;
}

.tc-gridbox .body a:hover {
    color: #428bca;
}

.tc-gridbox .btn {
    float: right;
    margin-right: 10px;
    margin-bottom: 18px;
}

/*masonary*/

.masonary-container .item {
    margin-bottom: 20px;
}

.masonary-container .item h3 {
    line-height: 100%;
}

.masonary-container .grid-sizer, .masonary-container .item {
    width: 24.9%;
    margin: 10px 0.05%;
    float: left;
    zoom: 1;
}

@media ( max-width: 479px) {
    .masonary-container .grid-sizer, .masonary-container .item {
        width: 98%;
        margin: 10px 1%;
        float: left;
        zoom: 1;
    }
}

@media ( min-width: 480px) and (max-width: 767px) {
    .masonary-container .grid-sizer, .masonary-container .item {
        width: 48%;
        margin: 10px 1%;
        float: left;
        zoom: 1;
    }
    .container{
        margin-left: 0px !important;
    }
}

/*list Boxes
------------------------------------*/
.list-boxes {
    overflow: hidden;
    padding: 15px 20px;
    margin-bottom: 25px;
    background: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    word-wrap: break-word;
    word-break: break-all;
    border: solid 1px #eee;
}

.list-boxes:hover {
    border: solid 1px #ddd;
}

.list-boxes h2 a {
    color: #555;
}

.list-boxes:hover h2 a {
    color: #f90;
}

.list-boxes .list-actions a {
    font-size: 16px;
    text-decoration: none;
}

.list-boxes p a {
    color: #72c02c;
}

.list-boxes .list-boxes-img li i {
    color: #72c02c;
    font-size: 12px;
    margin-right: 5px;
}

.list-boxes .list-boxes-img img {
    display: block;
    margin: 5px 10px 10px 0;
}

.list-boxes h2 {
    margin-top: 0;
    font-size: 20px;
    line-height: 20px;
}

.list-boxes ul.list-boxes-rating li {
    display: inline;
}

.list-boxes ul.list-boxes-rating li i {
    color: #f8be2c;
    cursor: pointer;
    font-size: 16px;
}

.list-boxes ul.list-boxes-rating li i:hover {
    color: #f8be2c;
}

/*list Colored Boxes*/
.list-boxes-colored p,
.list-boxes-colored h2 a,
.list-boxes-colored .list-boxes-img li,
.list-boxes-colored .list-boxes-img li i {
    color: #fff;
}

/*Red list Box*/
.list-boxes-red {
    background: #e74c3c;
}

/*Blue list Box*/
.list-boxes-blue {
    background: #3498db;
}

/*Grey list Box*/
.list-boxes-grey {
    background: #95a5a6;
}

/*Turquoise list Box*/
.list-boxes-sea {
    background: #1abc9c;
}

/*Turquoise Top Bordered list Box*/
.list-boxes-top-sea {
    border-top: solid 2px #1abc9c;
}

.list-boxes-top-sea:hover {
    border-top-color: #16a085;
}

/*Yellow Top Bordered list Box**/
.list-boxes-top-yellow {
    border-top: solid 2px #f1c40f;
}

.list-boxes-top-yellow:hover {
    border-top-color: #f39c12;
}

/*Orange Left Bordered list Box**/
.list-boxes-left-orange {
    border-left: solid 2px #e67e22;
}

.list-boxes-left-orange:hover {
    border-left-color: #d35400;
}

/*Green Left Bordered list Box**/
.list-boxes-left-green {
    border-left: solid 2px #72c02c;
}

.list-boxes-left-green:hover {
    border-left-color: #5fb611;
}

/*Green Right Bordered list Box**/
.list-boxes-right-u {
    border-right: solid 2px #72c02c;
}

.list-boxes-right-u:hover {
    border-right-color: #5fb611;
}

/*comments*/
.comment {
    margin-bottom: 10px;
}

.comment .avatar {
    height: 40px;
    width: 40px;
}

.comment-body {
    overflow: hidden;
}

.comment-content {
    padding-bottom: 2px;
    word-break: break-all;
    word-wrap: break-word;
}

.comment > .pull-left {
    margin-right: 10px;
}

.comment .time {
    color: #ccc;
    font-size: 12px;
    line-height: 14px;
}

.comment-postbox-wraper {

}

.comment-postbox {
    width: 100%;
    padding: 10px;
}

.comment-reply-box {
    position: relative;
}

.comment-reply-box .textbox {
    width: 100%
}

.comment-reply-submit .btn {
    margin-top: 20px;
}

/*ranking box*/

.ranking ul li {
    padding: 5px 0;
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px dashed #f0f0f0;
}

.ranking ul.unstyled li i {
    margin-right: 5px;
}

.ranking li i {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-right: 15px;
    font-style: normal;
    font-weight: bold;
    color: #FFF;
    text-align: center;
    vertical-align: middle;
    background-color: #aaa;
}

.ranking li.top3 i {
    background: #FC9B0B;
}

/*comment ranking box*/
.comment-ranking .comment-ranking-inner {
    padding: 10px;
    background: #f7f7f7;
    position: relative;
    margin-bottom: 10px;
    /*border-top: solid 2px #eee;*/
}

.comment-ranking .comment-ranking-inner,
.comment-ranking .comment-ranking-inner:after,
.comment-ranking .comment-ranking-inner:before {
    transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.comment-ranking .comment-ranking-inner:after,
.comment-ranking .comment-ranking-inner:before {
    width: 0;
    height: 0;
    right: 0px;
    bottom: 0px;
    content: " ";
    display: block;
    position: absolute;
}

.comment-ranking .comment-ranking-inner:after {
    border-top: 15px solid #eee;
    border-right: 15px solid transparent;
    border-left: 0px solid transparent;
    border-left-style: inset; /*FF fixes*/
    border-right-style: inset; /*FF fixes*/
}

.comment-ranking .comment-ranking-inner:before {
    border-bottom: 15px solid #fff;
    border-right: 0 solid transparent;
    border-left: 15px solid transparent;
    border-left-style: inset; /*FF fixes*/
    border-bottom-style: inset; /*FF fixes*/
}

.comment-ranking .comment-ranking-inner:hover {
    border-color: #FC9B0B;
    border-top-color: #FC9B0B;
    background: #f0f0f0;
}

.comment-ranking .comment-ranking-inner:hover:after {
    border-top-color: #FC9B0B;
}

.comment-ranking .comment-ranking-inner span.comment-time {
    color: #777;
    display: block;
    font-size: 11px;
}

.comment-ranking .comment-ranking-inner a {
    text-decoration: none;
}

.comment-ranking .comment-ranking-inner a:hover {
    text-decoration: underline;
}

.comment-ranking .comment-ranking-inner i.fa {
    top: 2px;
    color: #bbb;
    font-size: 18px;
    position: relative;
}

/*ThinkCMF Photos*/
ul.tc-photos {
    margin: 0;
}

.tc-photos li {
    display: inline;
}

.tc-photos li a {
    text-decoration: none;
}

.tc-photos li img {
    opacity: 0.6;
    width: 50px;
    height: 50px;
    margin: 0 2px 8px;
    border: 1px solid #ddd;
}

.tc-photos li img:hover {
    opacity: 1;
    border: 1px solid #f90;
    /* box-shadow: 0 0 0 1px #f90; */
}

/**/

/*Blog Posts
------------------------------------*/
.posts .dl-horizontal a {
}

.posts .dl-horizontal {
    margin-bottom: 15px;
    overflow: hidden;
}

.posts .dl-horizontal dt {
    width: 60px;
    float: left;
}

.posts .dl-horizontal dt .img-wraper {
    display: block;
    width: 55px;
    height: 55px;
    padding: 1px;
    margin-top: 2px;
    border: solid 1px #ddd;
}

.posts .dl-horizontal dt img {
    width: 100%;
    height: 100%;
    /* width: 55px;
    height: 55px;
    padding: 1px;
    margin-top: 2px;
    border: solid 1px #ddd; */
}

.posts .dl-horizontal dd {
    margin-left: 70px;
}

.posts .dl-horizontal dd p {
    margin: 0;
}

.posts .dl-horizontal dd a {
    font-size: 14px;
    line-height: 16px !important;
}

.posts .dl-horizontal dd a:hover {
    text-decoration: none;
}

.posts .dl-horizontal:hover dt img,
.posts .dl-horizontal:hover dd a {
    color: #FC9B0B;
    border-color: #FC9B0B !important;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
#footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ===== 响应式调整 ===== */
/* 平板 (宽度小于 992px) */
@media (max-width: 991px) {
    #mainCarousel .carousel-caption p {
        font-size: 16px;
    }
    #mainCarousel .carousel-caption {
        padding: 8px 16px;
        bottom: 15%;
    }
    #mainCarousel .carousel-control .glyphicon-chevron-left,
    #mainCarousel .carousel-control .glyphicon-chevron-right {
        font-size: 24px;
    }
}

/* 手机 (宽度小于 768px) */
@media (max-width: 767px) {
    #mainCarousel {
        margin: 10px auto;
        border-radius: 0;       /* 手机端可去除圆角，全屏显示 */
    }
    #mainCarousel .carousel-caption {
        bottom: 10%;
        padding: 5px 10px;
    }
    #mainCarousel .carousel-caption p {
        font-size: 14px;
    }
    #mainCarousel .carousel-control .glyphicon-chevron-left,
    #mainCarousel .carousel-control .glyphicon-chevron-right {
        font-size: 20px;
    }
    #mainCarousel .carousel-indicators li {
        width: 10px;
        height: 10px;
    }
    #mainCarousel .carousel-indicators li.active {
        width: 12px;
        height: 12px;
    }
    /* 光晕元素平板适配 */
    .element1 {
        width: 200px;
        height: 200px;
        top: 5%;
        left: 5%;
    }
    
    .element2 {
        width: 150px;
        height: 150px;
        bottom: 5%;
        right: 5%;
    }
    
    .element3 {
        width: 100px;
        height: 100px;
        top: 40%;
        left: auto;
        right: 5%;
    }
    .form-group{
        width: 90%;
        margin:0 auto;
        margin-bottom: 20px;
    }
}

/* 手机设备 (宽度 ≤ 480px) */
@media (max-width: 480px) {
    .element1 {
        width: 120px;
        height: 120px;
        /* 保持原有top/left，已足够小不遮挡 */
    }
    
    .element2 {
        width: 100px;
        height: 100px;
    }
    
    .element3 {
        width: 80px;
        height: 80px;
        top: 35%;   /* 稍微上移避免与卡片重叠 */
        /* 继承平板的 left: auto; right:5% 无需重复 */
    }
    .container.active{
        margin-left: 0px !important;
    }

    /*首页课堂等模块字体换行解决*/
    .module-list li {
        font-size: 12px;
        gap: 0.5rem;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        white-space: nowrap;
    }
    .module-list .item-name,
    .module-list .item-detail,
    .module-list .item-meta {
        flex-shrink: 0;
    }
    .module-list .item-detail {
        /*max-width: 40%;*/
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .module-list .item-meta {
        margin-left: auto;
        flex-shrink: 0;
    }

    /*课程购买页*/
    .buy-box {
        border-radius: 16px;
    }
    .buy-box .content {
        padding: 15px;
        border-radius: 16px;
    }
    .buy-box .header {
        margin-bottom: 20px;
    }
    .buy-box .header .course-name{
        font-size: 16px;
    }
    .buy-box .header .teacher{
        font-size: 14px;
    }
    .buy-box .list .list-item{
        width:120px;
        min-width: 100px;
    }
    .buy-box .list .list-item .days{
        font-size: 20px;
    }
    .buy-box .list .list-item .price{
        font-size: 22px;
    }
    .buy-box .buy-btn {
        padding: 10px 30px;
    }
    .buy-box .close-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }
    .pay-box .pay-content,.info-box .info-content {
        padding: 20px 16px;
        border-radius: 20px;
    }
    .pay-box .pay-close-btn {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }
    .pay-box .pay-message-box,.info-box .info-message-box {
        padding: 20px 15px;
    }
    .fa-weixin,.fa-arrow-circle-up{
        display: inline-block;
        width: 30px;
        text-align: center;
        font-size: 30px;
    }
}

/* 如果图片高度在手机上需要固定，可以取消下面的注释并调整数值 */
/*
@media (max-width: 767px) {
    #mainCarousel .carousel-inner img {
        height: 200px;   // 根据需要设定固定高度
    }
}
*/
		