/* 全局样式 */


.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    justify-content:center;\
    padding: 20px;
    align-items: center;
    gap: 5px;
    margin: 5px 0px 39px 0;
}
.pagination li {
    margin: 0 5px;
}
.pagination .active{
	position: relative;
    display: block;
    padding:  0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25
    color: #fff;
    background-color: #007bff;
    border: 1px solid #dee2e6;

}
.pagination a {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.nureli{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 15px;
    width: 80%;
    padding: 20px 0;
    margin: auto;
    top: 20px;
}
.nureli div{
    width: 30%;
    display: flex;
    padding-left: 30px;
    gap: 15px;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    border-left: 5px solid #ddd;
}
.nureli div:nth-last-child(1){
    border-left:none;
}
.nureli div a{
    text-align: center;
    width: 80px;
    font-size: 14px;
}
.nureli div a:hover{
    color: #2489dd;
}
.userinfo{
    margin-left: 100px;
}
.userinfo:hover .popup{
    display: block!important;
}
.popup{
    position: fixed;
    z-index: 999333;
    top: 100px;
    left: 50px;
    width: 500px;
    display:none;
    padding: 30px 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 10px 2px #808080;
    color: black;
}
.iicon{
    text-align: center;
    color: #dc3545;
}
.iicon i{
    font-size: 36px;
    color: #dc3545;
}


body {
    font-family: 'UKIJTor'!important;
    margin: 0;
    padding: 0;
}

header {
    background-color: #02020f;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    flex-direction: row-reverse;
    height: 80px;
}
.rtl{
    direction: rtl;
}


/* starts */


.ion-icon {
    width: 35px;
    height: 35px;
    filter: invert(100%) sepia(1%) saturate(1%) hue-rotate(1deg) brightness(100%) contrast(100%);
}
.play-icon{
    width: 50px;
    height: 50px;
    display: none;
    position: absolute;
    left: 50%!important;
    top: 50%!important;
    transform: translate(-50%, -50%);
}
.movie-img-container:hover .play-icon{
    display: block;
}
.tag{
    position: absolute;
    top: 0;
    right: 0;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 60px;
    border-bottom-left-radius: 10px;
    font-weight: bold;
}
.yellow{
    background: #ffeb3b;
    color: #000000;
}
.green{
    background: #4caf50;
    color: #ffffff;
}
.layer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}
.layui-layer-title{
    padding: 0 16px 0 16px!important;
    text-align: right;
}
.layui-layer-setwin{
    right: revert!important;
    left: 15px;
}

.no-data-alert {
    font-size: 18px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin: 20px;
    text-align: center;
}

/* end  */
.logo {
    font-size: 24px;
}
.logo a{
    color: white;
}
nav{
    direction: rtl;
    padding: 10px 0;
}
.nav-active a{
    color: #dc3545;
}
.nav-active::before {
    content: "";
    position: absolute;
    bottom: -10px;
    height: 5px;
    border-radius: 5px;
    width: 100%;
    background: repeating-linear-gradient(
        -45deg,
        #dc3545,
        #dc3545 5px,
        #ff717e 5px,
        #ff717e 10px
    );
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.3);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
}
input,button{
    font-family: 'UKIJTor';
}
.search{
    display: flex;
    flex-direction: row-reverse;
    min-height: 40px;
    line-height: 35px;
}
.search input {
    padding: 5px 10px;
    border: none;
    width: 320px;
    text-align: center;
    direction: rtl;
    border-radius: 0 5px 5px 0;
}

.search button {
    padding: 5px 10px;
    background-color: #dc3545;
    color: white;
    width: 100px;
    border: none;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
}


.slider {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-info {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    width: 500px;
    direction: rtl;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.slide-info h2 {
    text-align: right;
    margin: 0;
}


.btn {
    display: inline-block;
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    display: inline-block;
    width: 40px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.arrow {
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex!important;
    align-items: center;
    cursor: pointer;
}

.movie-list h2{
    color: #dc3545;
    text-align: right;
    position: relative;
    margin: 0 10px;
    padding-right: 15px;
}
.movie-list h2::before {
    content: "";
    position: absolute;
    bottom: 3px;
    height: 30px;
    right: 0px;
    border-radius: 5px;
    width: 8px;
    background: repeating-linear-gradient(
        -45deg,
        #dc3545,
        #dc3545 5px,
        #ff717e 5px,
        #ff717e 10px
    );
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.movie-list {
    padding: 15px 20px;
        width: 80%;
    margin: auto;
}

.movies {
grid-template-columns: repeat(6, 1fr);
    justify-items: center;
    direction: rtl;
    display: flex
;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.movie {
    margin: 10px;
    width: 226px;
    height: 400px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}
.movie h3{
    font-size: 16px;
    height: 40px;
    text-align: justify;
    direction: rtl;
    margin: 0 10px;
    line-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-img-container {
    position: relative;
}

.movie-img-container .movie-img {
    width: 100%;
    height: 350px
}

.movie:hover{
    transform: scale(1.05);
}


footer {
    background-color: #02020f;
    color: white;
    text-align: center;
    padding: 10px;
}

footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

footer ul li {
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}