@import "font.css";
@import "materialdesignicons.min.css";

:root {
    --black: #111;
    --white: #fff;
    --body-bg-kizil: linear-gradient(45deg, #ffe9eb, #d0e6f8);
    --body-bg-kok: linear-gradient(45deg, #fafdfe, #e7f7f9);
    --btn-kizil: linear-gradient(96.34deg, #fe2c55, #fe2c91);
    --btn-kok: linear-gradient(98.71deg, #4159f6 7.23%, #417ff6 83.38%);
    --bg-sos-kizil: #ffeaf2;
    --bg-sos-kok: #d1e4fa;
    --bg-sos-kok50: #a3b0ff;
    --bg-text-kizil: #ff2d62;
    --bg-text-kok: #425bf7;

}

* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    text-decoration: none;
    color: inherit;
    font-weight: normal;
    box-sizing: border-box;
    font-style: normal;
    outline: none;
    font-family: 'UKIJ Tor';
    -webkit-tap-highlight-color: transparent;
    font-size: 14px;
}

body {
    width: 100%;
    overflow-x: hidden;
    background: var(--bg-sos-kok);
}

img {
    vertical-align: middle;
    max-width: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    outline: 0
}

p {
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: rtl;
}

.flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-direction-row-reverse {
    flex-direction: row-reverse;
}

.justify-content-space-between {
    justify-content: space-between;
}

.fr {
    float: right
}

.fl {
    float: left
}

.claer {
    clear: both;
}

.margin-10 {
    margin: 10px;
}

.margin-20 {
    margin: 20px;
}

.padding-10 {
    padding: 10px;
}

.padding-10-0 {
    padding: 10px 0;
}

.border-radius-5 {
    border-radius: 5px;
}

.border-radius-7 {
    border-radius: 7px;
}

.border-radius-10 {
    border-radius: 10px;
}

i.mdi {
    display: inline-block;
}

i.mdi:before,
i.mdi:after {
    vertical-align: bottom;
}

/** header **/
header {
    background: var(--white);
    height: 60px;
    border-bottom: 1px solid var(--bg-sos-kok);
}

header .title {
    color: var(--bg-text-kok);
}

/** player */
#player {
    background: var(--black);
    height: 260px;
    width: 100%;
    overflow: hidden;
}

/** info title */
.info_title {
    background: var(--white);
    gap: 5px;
}

.info_title i {
    color: var(--bg-text-kok);
    font-size: 16px;
}

.info_content .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info_content .item i {
    color: var(--bg-text-kok);
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}

.info_content .item span {
    color: var(--bg-text-kok);
}

/** vip */
#vip-content {
    border: 1px solid var(--bg-sos-kok50);
    background: var(--white);
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    color: var(--bg-text-kok);
}

#vip-content .title {
    background: var(--bg-sos-kok50);
    color: var(--bg-text-kok);
    padding: 5px 7px;
    font-size: 12px;
    border-bottom-left-radius: 7px;
    position: absolute;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    right: 0;
    top: 0;
}

#vip-content .content {
    padding-top: 20px;
    text-align: center;
}

#vip-content .btn {
    background: var(--btn-kok);
    color: var(--white);
    margin-top: 20px;
    height: 45px;
    gap: 5px;
    direction: rtl;
    border-radius: 7px;
}

.vip-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 60px;
    position: relative;
}

#vip-close {
    position: absolute;
    font-size: 20px;
    color: var(--white);
    cursor: pointer;
    width: 40px;
    bottom: -53px;
    height: 40px !important;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 50% !important;
    line-height: 40px;
}

.vip-list .item {
    width: 45%;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid var(--bg-sos-kok);
}

.vip-list .item .day {
    width: 100%;
    height: 40px;
    line-height: 40px;
}

.vip-list .item .price {
    height: 30px;
    line-height: 19px;
    padding: 8px;
    border-radius: 26px;
}

.vip-list .item .titles {
    height: 40px;
}

.vip-list .item .btns {
    width: 90%;
    height: 40px;
    margin-bottom: 10px;
    line-height: 40px;
    background: var(--bg-text-kok);
    color: #fff;
    border-radius: 6px;
    margin-top: 10px;
}

.vip-list .item .btns i {
    width: 18px;
    height: 18px;
    line-height: 18px;
    background: #fff;
    border-radius: 50%;
    color: var(--bg-text-kok);
}

.vip-list .active {
    background: var(--bg-text-kok);
    color: #fff;
}

.vip-list .active .btns {
    background: var(--white);
    color: var(--bg-text-kok);
}

.vip-list .active .btns i {
    background: var(--white);
}

/** navbar */
.navbar {
    background: var(--white);
}

.navbar .item {
    display: flex;
    flex-direction: column;
    width: 33%;
    align-items: center;
    text-align: center;
}

.navbar .item i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}

.navbar .item span {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

.video-list {
    background: var(--white);
}

.video-list .title {
    height: 45px;
    border-bottom: 1px solid #f1f1f1;
    gap: 5px;
    color: var(--bg-text-kok);
}

.video-list .title i {
    color: var(--bg-text-kok);
}

.video-list .item_ul {
    display: flex;
    flex-direction: column;
}

.video-list .item {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    height: 40px;
    line-height: 40px;
}

.video-list .item .num {
    color: #666;
    width: 30px;
    text-align: center;
    font-size: 12px;
    height: 30px;
    margin: 0 5px;
}

.video-list .item .info {
    color: var(--bg-text-kok);
    width: calc(100% - 120px);
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    direction: rtl;
}

.video-list .item .view {
    color: #999;
    width: 80px;
    font-size: 12px;
}

.layui-layer-shade, .layui-layer-msg {
    width: 100% !important;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0 !important;
    right: 0 !important;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
}
.layui-layer-dialog{
    text-align: center;
    display: flex;
    align-items: center;
}
.layui-layer-content{
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.layui-layer-setwin{
    display: none;
}


/* 自定义弹窗背景遮罩 */
.custom-alert-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 自定义弹窗主体 */
.custom-alert {
    background: #fff;
    border-radius: 12px;
    width: 320px;
    max-width: 90%;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
    z-index: 9999;
    text-align: center;
}

/* 弹窗标题 */
.custom-alert h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* 弹窗内容 */
.custom-alert p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* 按钮容器 */
.custom-alert .btn-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

/* 按钮基础样式 */
.custom-alert button {
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

/* 登录按钮 */
.custom-alert .btn-login {
    background: var(--btn-kok);
    color: white;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 480px) {
    .custom-alert {
        width: 280px;
        padding: 20px;
    }

    .custom-alert .btn-group {
        flex-direction: column;
        gap: 10px;
    }
}

.gomai {
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    margin: 5%;
    border-radius: 5px;
    margin-top: 8%;
}

.gomai .gomai-title {
    text-align: center;
    color: var(--bg-text-kok);
    font-size: 20px;
    font-weight: 600;
    margin: 10px;
    border-bottom: 1px solid #eee;
    width: 100%;
    padding-bottom: 20px;
}

.gomai .gomai-content {
    text-align: center;
    color: var(--bg-text-kok);
    font-size: 16px;
    font-weight: 500;
    padding-top: 10px;
    margin-bottom: 20px;
}

.gomai .gomai-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: center;
    flex-direction: row-reverse;
}

.gomai .gomai-btn .btn_vip {
    width: 45%;
    height: 45px;
    line-height: 45px;
    background: var(--bg-text-kok);
    color: #fff;
    border-radius: 5px;
}
.gomai .gomai-btn .money-kai {
    background: var(--bg-text-kizil);
}

.gomai .gomai-btn .money-kai i {
    color: #fff;
}

.scroll-loader {
    text-align: center;
    padding: 15px;
    color: #4285f4;
    display: none;
}

.scroll-error {
    text-align: center;
    padding: 15px;
    color: #ff4444;
    background-color: #ffeeee;
    border-radius: 5px;
    margin: 10px;
    display: none;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(66, 133, 244, 0.3);
    border-radius: 50%;
    border-top-color: #4285f4;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-more-data {
    text-align: center;
    padding: 15px;
    color: #888;
    display: none;
}

.pla{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pla .btns{
    background: white;
    text-align: center;
    height: 40px;
    border-radius: 8px;
    line-height: 40px;
    width: 150px;
}