@charset "utf-8";

* {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    margin: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    font-family: serif;
}

html,
body {
    width: 100%;
    margin: 0;
    font-family: pala, sans-serif;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    overflow-x: hidden;
    color: rgb(51, 51, 51);
}

a {
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    color: white;
}

.gptslot {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    min-height: 250px;
    /* background-color: #00000073; */

    width: 300px;
    margin: 0 auto 8px;
}

.ad-label {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    position: relative;
    padding: 5px 0px 2px 0px;
    font-size: 14px;
    color: rgb(255, 255, 255);
}

.fav {
    width: 160px;
    height: 100%;
    margin-right: auto;
}

.fav .rootbg {
    display: inline-block;
    width: 160px;
    height: 100%;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.bgi {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../../images/loading.e29b847.gif);
}

.title {
    background-color: #fff;
    padding: 8px;
    border-radius: 6px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: #333;
    white-space: nowrap;
}

.trending-bar {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
}

.highlight {
    background-image: -webkit-gradient(linear, left top, right top, from(#4ad4e9), color-stop(80%, #4ad4e9), color-stop(70%, transparent));
    background-image: -webkit-linear-gradient(left, #4ad4e9 0%, #4ad4e9 80%, transparent 70%);
    background-image: linear-gradient(to right, #4ad4e9 0%, #4ad4e9 80%, transparent 70%);
    background-repeat: no-repeat;
    background-size: 100% 9px;
    background-position: 10px 85%;
    padding-bottom: 2px;
    padding-left: 10px;
}

.more-btn {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 14px;
}

.more-btn:hover {
    text-decoration: underline;
}

.orange {
    width: 98%;
    background-color: #fc920a;
    color: #fff;
    padding: 5px 30px;
}

header {
    position: relative;
    width: 100%;
    padding: 0 5px;
    color: #fff;
}

.header-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    height: 60px;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
       -moz-box-pack: start;
            justify-content: flex-start;
    padding-right: 30px;
    border-radius: 0 0 0 30px;
}

.header-left {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    height: 60px;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
       -moz-box-pack: end;
            justify-content: flex-end;
    border-radius: 0 0 30px 0;
}

.header-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.header-menu .about-box .about,
.header-menu .about-box #Home {
    position: relative;
    padding: 0 10px;
    border: 0;
    background-color: transparent;
}

.header-menu .about-box .about span,
.header-menu .about-box #Home span {
    width: 25px;
    aspect-ratio: 1;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 5px;
}

.about-list {
    position: absolute;
    top: 30px;
    right: 0;
    height: auto;
    width: auto;
    background-color: #353535;
    z-index: 999;
    display: none;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    padding: 5px;
    border-radius: 10px;
    padding: 20px 40px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

.header-category-box .play-item,
.about-list .play-item {
    margin: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    height: 30px;
    line-height: 30px;
    padding: 3px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    border: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid #000;
}

.play-item:hover {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
}

.about-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.play-item p {
    margin: 0 20px
}

.play-item .icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: auto 0;
    margin-right: 5px;
    background-size: cover;
    background-position: center;
}

.search-box {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    position: fixed;
    top: 30%;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    display: none;
    width: 60%;
    height: 40px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    margin: 0;
}

.search-btn-box {
    width: 50px;
    margin-right: 2px;
    margin-left: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    /* padding: 10px 20px; */
    height: 90%;
    background-color: #fc920a;
    border-radius: 20px;
}

.search-btn,
.search-button {
    width: 25px;
    aspect-ratio: 1;
    background-image: url(../../images/search.ae09478.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.search-button {
    margin: 0 10px;
}

.ricle-icon {
    width: 30px;
    aspect-ratio: 1;
    background-color: #fff;
    border-radius: 20px;
    margin: 0 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 130%;
}

.history {
    background-image: url(../../images/history.526f95e.png);
}

.like {
    background-image: url(../../images/favorite.d7cc8e8.png);
}

.myInput {
    color: #000;
    height: 30px;
    outline: 0;
    font-size: 1rem;
    border: 0;
    display: inline-block;
    margin: 0 1em;
    text-decoration: none;
    width: 80%;
}

.aside-menu {
    display: none;
    width: 40px;
    height: 40px;
    background-image: url(../../images/menu.37ced67.png);
    background-position: center;
    background-size: 100%;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.945);
    z-index: 998;
    display: none;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100vh;
    background: #fff;
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
    z-index: 999;
    overflow: scroll;
}

.sidebar-container {
    padding: 20px;
}

.sidebar-container .fav {
    height: 60px;
}

.close-btn-box {
    position: absolute;
    top: 5px;
    right: 35px;
}

.close-btn {
    width: 30px;
    height: 30px;
    background-image: url(../../images/close-white.27d0d87.png);
    cursor: pointer;
}

.sidebar-container .list-canvas {
    width: 95%;
    margin: 10px auto;
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
}

.list-canvas .menu-tag,
.list-canvas .item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    height: 45px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.514);
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px 0px;
}

.list-canvas .menu-tag p,
.list-canvas .item .icon-name {
    padding-left: 20px;
}

.bottom {
    padding: 20px;
    margin-top: 30px;
}

.bottom-container {
    width: 90%;
    padding: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 0 auto;
}

.bottom .fav {
    height: 60px;
    margin: 0 auto;
}

.purpose-box {
    background-color: #fff;
    padding: 10px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: justify;
}

.page-footer {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    gap: 30px;
    padding: 10px 0;
    color: #666;
    font-size: 14px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin: 0;
}

.main {
    width: 90%;
    min-height: -webkit-calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    margin: 10px auto 0;
}

.main-video-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    border-radius: 15px;
    padding: 10px;
    margin-top: 10px;
}

.main-video-list .video-card {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

.video-card {
    position: relative;
    min-height: 134px;
    width: 100%;
    aspect-ratio: 1.5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    background-color: #000;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    background-image: url(../../images/loading.e29b847.gif);
    background-position: center;
    background-size: 30%;
    background-repeat: no-repeat;
    -webkit-transition: box-shadow 0.25s ease, -webkit-transform 0.25s ease;
    transition: box-shadow 0.25s ease, -webkit-transform 0.25s ease;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transition: transform 0.25s ease, box-shadow 0.25s ease, -webkit-transform 0.25s ease;
}

.video-card:hover {
    -webkit-transform: scale(1.03);
            transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.video-card .video-card__thumbnail {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.video-card .video-card__play-overlay {
    position: absolute;
    inset: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    pointer-events: none;
    background-position: center;
    background-size: 30%;
    background-repeat: no-repeat;
    background-image: url(../../images/play_1.63f804c.png);
}

.video-card:hover .video-card__play-overlay::before {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: -webkit-transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.video-card .video-card__author-duration {
    display: none;
}

.video-card .video-card__duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.video-card .video-card__info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 3px 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.3);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    gap: 2px;
}

.video-card .video-card__title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    overflow: hidden;
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-rows: auto;
    max-height: 24px;
}

.video-card .video-card__title::after {
    content: '...';
    -webkit-align-self: end;
            align-self: end;
    padding-left: 5px;
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width:900px) {
    body {
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100vw;
    }

    .main,
    .bottom-container {
        width: 98%;
        margin: 5px auto;
        padding: 0;
    }

    .header-box .header-menu {
        display: none;
    }

    .aside-menu {
        display: block;
    }

    .video-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width:480px) {
    .video-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .aside,
    .search-box {
        width: 90%;
    }

    .bottom .fav {
        height: 60px;
    }

    .sidebar {
        width: 90%;
    }
}
.video-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    border-radius: 15px;
    padding: 10px;
}

.video-list-box>.video-card:nth-child(1),
.video-list-box>.video-card:nth-child(4) {
    min-height: 275.5px;
    grid-row: span 2;
    grid-column: span 2;
}

@media screen and (max-width:900px) {
    .video-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width:480px) {
    .video-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
