﻿:root {
    --bg-default: #121418;
    --bg-default-2: #1d1e22;
    --bg-minor: #31353d;
    --bg-main: #ffae00;
    --pg-main: #ffae00;
    --pg-secondary: rgba(220, 53, 69, 1);
    --bg-tag-minor: #333;
    --fg-light1: rgba(255, 255, 255, 0.8);
    --fg-light2: rgba(255, 255, 255, 0.7);
    --fg-light3: rgba(255, 255, 255, 0.6);
    --fg-light4: rgba(255, 255, 255, 0.5);
    --fg-light5: rgba(255, 255, 255, 0.4);
    --fg-black: black;
}

.mt-10 {
    margin-top: 6rem;
}

html {
    position: relative;
    min-height: 100vh;
    /* font-size: 14px; */
    /* 小不低于 8 px，大不超过 16 px，其他按视口线性缩放 */
    font-size: clamp(8px, 3.2vw, 16px);
}

body {
    display: flex;
    flex-direction: column;
    color: white;
    font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

/*
    颜色样式
*/


/*  背景颜色 */

.bg-default {
    background-color: var(--bg-default);
}

.bg-default-2 {
    background-color: var(--bg-default-2);
}

.bg-minor {
    background-color: var(--bg-minor);
}

.bg-black {
    background-color: var(--fg-black);
}

.bg-main {
    background-color: var(--bg-main);
    /*background-color: #ad7600!important;*/
    color: #fff;
    border: 0;
}

.bg-secondary {
    background-color: var(--pg-secondary) !important;
    color: #fff !important;
}

.bg-lightyellow {
    background-color: var(--bg-main) !important;
}

.badge-outline {
    background-color: transparent !important;
    color: #ffae00;
    border: 1px solid rgba(255, 174, 0, 0.6);
    border-radius: 1.25rem;
    padding: 0.25rem 0.7rem;
    font-weight: 500;
}

.bg-opacity-2 {
    background-color: #16181c;
}

.bgOpacity {
    width: 100vw;
    /*height: 100vh;*/
    height: 100%;
    position: fixed;
    background: -webkit-linear-gradient(90deg, #1c1d21 40%, rgba(28, 29, 33, 0.8) 68%);
}

.pb-box {
    padding-bottom: 10rem;
}

.body-container {
    z-index: 100;
    position: relative;
    padding-left: 5rem;
    padding-right: 5rem;
}

.fg-main {
    color: #ffae00;
}

.fg-black {
    color: black;
}

.fg-black-1 {
    color: rgba(0, 0, 0, 0.8) !important;
}

.fg-light1 {
    color: var(--fg-light1);
}

.fg-light2 {
    color: var(--fg-light2);
}

.fg-light3 {
    color: var(--fg-light3);
}

.fg-light4 {
    color: var(--fg-light4);
}

.fg-light5 {
    color: var(--fg-light5);
}

.hover-box:hover {
    cursor: pointer;
}

.whitehover:hover {
    color: white !important;
    cursor: pointer;
}


/*
    输入框及按钮
*/

.input-group-header {
    width: 15rem;
    max-width: 15rem;
    min-width: 8rem;
}

.btn-primary {
    height: 100%;
    width: 100%;
    border: 0;
    border-radius: 0.5rem;
}

.btn-primary:hover {
    cursor: pointer;
    background-color: #ffd618;
}

.btn-half-radius {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.round-radius {
    border-radius: 0.5rem;
}


/*
    標簽
*/


/*
    文本控制 
*/

.two-line-truncate {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.three-line-truncate {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/*
    SVG样式
*/

.svg-icon {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.svg-icon:hover {
    cursor: pointer;
    color: #ffd618;
}

.svg-icon-favorite {
    color: red;
}


/*
    重点行
*/

.title-line {
    border-left: 5px solid red;
    font-size: 1.5rem;
}

.text-line-height {
    line-height: 1.7;
}

.box-top {
    display: flex;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}


/*
    分頁
*/

.pagination {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    list-style: none;
    border-radius: 0.25rem;
}

.page-link {
    cursor: pointer;
    color: inherit;
    background-color: transparent;
    border: none;
    padding: 0.2rem 0.5rem;
    margin: 0 0.25rem;
    transition: all .3s ease;
    position: relative;
    display: block;
    line-height: 1.25;
    border-radius: 0.5rem;
}

.page-link.active {
    background-color: #ffc107;
    color: black;
}

/*
    列表
*/


.list-main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 2rem;
    /* min-height: 80rem; */
    position: relative;
    gap: 3rem;
    max-width: 100%;
}

.list-main>.left {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.list-main>.right {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    width: 450px;
}

.list-full {
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
    min-height: 80rem;
    position: relative;
    ;
    max-width: 100%;
}

.page-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

@media(max-width: 1535px) {
    .list-main>.right {
        display: none;
    }
}


/**/


/*
    影片
*/

.movie-box-default {
    display: flex;
    position: relative;
    height: auto !important;
    /*height:16rem;*/
}

.movie-box-default>img {
    /*height:16rem;*/
}

.movie-time-span {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 0.4rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.movie-play-layer {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}

/*
    Filter
*/

.list-filter {}

.list-filter:hover {
    cursor: pointer;
    background-color: #ad7600;
}

.list-filter-selected {
    background-color: #ad7600 !important;
}


/*
    條款
*/

.terms-h5 {
    font-size: 1rem;
    color: #999;
    margin-top: 0.2rem;
    margin-bottom: 2rem;
}

.terms-content {
    font-size: 1rem;
    color: #999;
    margin-top: 0.2rem;
    margin-bottom: 2rem;
    line-height: 2rem;
}


/*
    底部查找按鈕
*/

.bottom-search-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    left: auto !important;
    width: 3rem;
    height: 3rem;
    border-radius: 5rem;
    z-index: 100;
}

@media (max-width:479px) {

    .body-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

}

@media (min-width:480px) {

    .body-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width:768px) {

    html {
        font-size: 16px;
    }

    .body-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width:1024px) {

    .body-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width:1200px) {

    .body-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width:1536px) {
    .body-container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width:1920px) {
    .body-container {
        padding-left: 10rem;
        padding-right: 10rem;
    }
}

@media (min-width:2560px) {
    .body-container {
        padding-left: 20rem;
        padding-right: 20rem;
    }
}
