
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Vazirmatn",Tahoma,sans-serif;
}

body{
    background:#080808;
    color:#fff;
    direction:rtl;
}

a{
    color:white;
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

html{
    scroll-behavior:smooth;
}

/*  HEADER  */

.site-header{
    position:fixed;
    top:0;
    right:0;
    width:100%;
    height:80px;
    z-index:1000;
    background:linear-gradient( rgba(0,0,0,.95),transparent);
}

.header-content{
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.main-navigation{
    display:flex;
    align-items:center;
}
.logo{

    color:#e50914;
    font-size:35px;
    font-weight:900;
}

.navigation-list{
    display:flex;
    gap:35px;
    list-style:none;
    margin:0;
    padding:0;
}

.navigation-list li a{
    display:block;
    color:#ddd;
    text-decoration:none;
    transition:all .3s ease;
}

.navigation-list li a:hover{
    color:#e50914;
    transform:translateY(-3px);
}

.login-button{
    background:#e50914;
    color:white;
    border:none;
    padding:1px;
    border-radius:10px;
    cursor:pointer;
}

/*  HERO  */

.hero-section{
    height:95vh;
}

.hero-container{
    width:100%;
    height:100%;
}

.hero-slider{
    width:90%;
    height:85vh;
    margin:auto;
    padding-top:100px;
    position:relative;
    overflow:hidden;
    border-radius:25px;
}

.hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:1.2s;
}

.hero-slide.active{
    opacity:1;
}

.hero-image{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient( 90deg, rgba(0,0,0,.9), rgba(0,0,0,.2));
}

.hero-content{
    position:absolute;
    top:45%;
    right:7%;
    transform:translateY(-50%);
    max-width:550px;
}

.hero-title{
    font-size:70px;
    margin-bottom:25px;
}

.hero-meta{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-meta span{
    background:#ffffff25;
    padding:8px 15px;
    border-radius:20px;
}

.hero-description{
    margin:25px 0;
    line-height:2;
    color:#ddd;
    font-size:18px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

.primary-button,.secondary-button{
    border:none;
    padding:15px 35px;
    border-radius:10px;
    cursor:pointer;
}

.primary-button{
    background:#e50914;
    color:white;
}

.secondary-button{
    background:#333;
    color:white;
}

.hero-pagination{
    position:absolute;
    bottom:30px;
    width:100%;
    text-align:center;
}

.hero-pagination span{
    display:inline-block;
    width:12px;
    height:12px;
    background:#777;
    border-radius:50%;
    margin:5px;
}

.hero-pagination .active{
    background:#e50914;
}

/*  MOVIES  */

.movie-section{
    padding:50px 0;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.section-title{
    font-size:32px;
}

.section-link{
    color:#aaa;
}

.movie-list{
    display:flex;
    gap:25px;
    overflow-x:auto;
}

.movie-list::-webkit-scrollbar{
    display:none;
}

.movie-card{
    min-width:240px;
    background:#111;
    border-radius:18px;
    overflow:hidden;
}

.movie-poster{
    height:350px;
    position:relative;
    overflow:hidden;
}

.movie-poster img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.movie-card:hover img{
    transform:scale(1.1);
}

.movie-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(transparent, rgba(0,0,0,.95));
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    opacity:0;
    transition:.4s;
}

.movie-card:hover .movie-overlay{
    opacity:1;
}

.play-button{
    position:absolute;
    top:45%;
    border:none;
    background:#e50914;
    color:white;
    width:55px;
    height:55px;
    border-radius:50%;
    cursor:pointer;
}

.movie-information{
    display:flex;
    gap:10px;
    padding:20px;
}

.movie-information span{
    font-size:14px;
}

.movie-rating{
    color:#ffd700;
}

.movie-content{
    padding:15px;
}

.movie-title{
    font-size:20px;
}

.movie-genre{
    color:#aaa;
    margin-top:8px;
}

/*  PREMIUM  */

.premium-section{
    padding:70px 0;
}

.premium-box{
    background:#151515;
    padding:70px;
    text-align:center;
    border-radius:25px;
}

.premium-box h2{
    color:#e50914;
    font-size:45px;
}

.premium-box p{
    margin:25px;
    color:#ddd;
}

/*  ABOUT SECTION  */

.about-section{
    padding:100px 0;
    position:relative;
}

.about-section::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:1px;
    background:
    linear-gradient( 90deg,transparent,#e50914,transparent);
}

.about-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
}

.about-text{
    flex:1;
    background:#111;
    padding:45px;
    border-radius:25px;
    border:1px solid #222;
    transition:.4s;
}

.about-text:hover{
    transform:translateY(-8px);
    border-color:#e50914;
}

.about-text h2{
    font-size:40px;
    margin-bottom:25px;
    color:white;
}

.about-text p{
    color:#aaa;
    line-height:2.2;
    font-size:18px;
}

/* Statistics */

.about-statistics{
    flex:1;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.stat-item{
    background:#151515;
    padding:35px 20px;
    border-radius:20px;
    text-align:center;
    border:1px solid #222;
    transition:.4s;
}

.stat-item:hover{
    transform:translateY(-10px);
    background:#181818;
}

.stat-item strong{
    display:block;
    font-size:45px;
    color:#e50914;
    margin-bottom:15px;
}
.stat-item span{
    color:#aaa;
    font-size:16px;
}

/*  FOOTER  */

.site-footer{
    margin-top:80px;
    padding:70px 0 25px;
    background:#0d0d0d;
    border-top:1px solid #252525;
}

.footer-content{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:60px;
    align-items:start;
}

/* Brand */

.footer-brand h2{
    color:#e50914;
    font-size:45px;
    font-weight:900;
    margin-bottom:20px;
}

.footer-brand p{
    color:#aaa;
    line-height:2;
    max-width:350px;
}

/* Links */

.footer-links h3{
    font-size:22px;
    margin-bottom:25px;
}

.footer-links a{
    display:block;
    color:#aaa;
    margin-bottom:15px;
    transition:.3s;
}

.footer-links a:hover{
    color:#e50914;
    transform:translateX(-8px);
}

/* Developer */

.footer-developer h3{
    font-size:22px;
    margin-bottom:25px;
}

.footer-developer a{
    display:inline-block;
    background:#0088cc;
    color:white;
    padding:12px 30px;
    border-radius:12px;
    font-size:20px;
    transition:.3s;
}

.footer-developer a:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,136,204,.35);
}

/* Bottom */

.footer-bottom{
    margin-top:50px;
    padding-top:25px;
    border-top:1px solid #222;
    text-align:center;
    color:#777;
}

/*  LOGIN PAGE  */

.login-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#080808;
    padding:30px;
}

.login-card{
    width:100%;
    max-width:450px;
    background:#111;
    border:1px solid #222;
    border-radius:24px;
    padding:40px;
}

.login-header{
    text-align:center;
    margin-bottom:35px;
}

.login-logo{
    color:#e50914;
    font-size:42px;
    margin-bottom:15px;
}

.login-header p{
    color:#aaa;
}

.login-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.form-group label{
    color:#ddd;
}

.form-group input{
    background:#1a1a1a;
    border:1px solid #333;
    color:white;
    padding:14px;
    border-radius:12px;
    outline:none;
}

.form-group input:focus{
    border-color:#e50914;
}

.login-submit{
    background:#e50914;
    color:white;
    border:none;
    padding:15px;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
}

.login-submit:hover{
    background:#ff1e2d;
}

.login-footer{
    text-align:center;
    margin-top:25px;
}

.login-footer span{
    color:#aaa;
}

.login-footer a{
    color:#e50914;
    margin-right:5px;
}

/*  REGISTER PAGE  */

.register-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#080808;
    padding:40px;
}

.register-card{
    width:100%;
    max-width:550px;
    background:#111;
    border:1px solid #222;
    border-radius:24px;
    padding:40px;
}

.register-header{
    text-align:center;
    margin-bottom:35px;
}

.register-logo{
    color:#e50914;
    font-size:42px;
    font-weight:900;
    margin-bottom:15px;
}

.register-header h2{
    margin-bottom:10px;
}

.register-header p{
    color:#aaa;
}

.register-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.register-submit{
    background:#e50914;
    color:white;
    border:none;
    padding:15px;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.register-submit:hover{
    background:#ff1e2d;
}

.register-footer{
    text-align:center;
    margin-top:25px;
}

.register-footer span{
    color:#aaa;
}

.register-footer a{
    color:#e50914;
    margin-right:5px;
}

.message{
    width:100%;
    padding:15px;
    border-radius:10px;
    text-align:center;
    margin-bottom:20px;
    font-size:15px;
}

.success{
    background:#123d29;
    color:#35e88a;
    border:1px solid #1b7a4b;
}

.error{
    background:#421919;
    color:#ff6b6b;
    border:1px solid #8b3030;
}

/* Profile Dropdown */

.user-area{
    position:relative;
    display:flex;
    align-items:center;
}

.guest-buttons{
    display:flex;
    gap:15px;
}

.login-btn,.register-btn{
    text-decoration:none;
    color:#fff;
    padding:10px 22px;
    border-radius:8px;
    font-size:15px;
    transition:.3s;
}

.login-btn{
    background:transparent;
    border:1px solid #3a3a3a;
}

.login-btn:hover{
    background:#1f1f1f;
}

.register-btn{
    background:#e50914;
}

.register-btn:hover{
    background:#c10812;
}

.profile-dropdown{
    position:relative;
}

.profile-btn{
    display:flex;
    align-items:center;
    gap:12px;
    cursor:pointer;
    color:#fff;
    padding:8px 14px;
    border-radius:12px;
    transition:.3s;
}

.profile-btn:hover{
    background:#1d1d1d;
}

.profile-btn img{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #e50914;
}

.profile-btn span{
    font-size:15px;
    font-weight:600;
}

.profile-btn i{
    font-size:13px;
    transition:.3s;
}

.profile-menu{
    position:absolute;
    top:65px;
    left:0;
    width:300px;
    background:#181818;
    border:1px solid #2f2f2f;
    border-radius:18px;
    overflow: hidden;
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:.35s;
    box-shadow:0 15px 40px rgba(0,0,0,.55);
    z-index:999;
}

.profile-dropdown:hover .profile-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.profile-dropdown:hover .profile-btn i{
    transform:rotate(180deg);
}

.subscription-box{
    padding:25px;
    background:#202020;
    text-align:center;
    border-bottom:1px solid #2d2d2d;
}

.subscription-box h3{
    color:#fff;
    margin-bottom:18px;
    font-size:17px;
}

.subscription-box a{
    display:inline-block;
    text-decoration:none;
    color:#fff;
    background:#e50914;
    padding:11px 22px;
    border-radius:8px;
    transition:.3s;
}

.subscription-box a:hover{
    background:#c10812;
}

.menu-items{
    padding:10px 0;
}

.menu-items a{
    display:flex;
    align-items:center;
    gap:15px;
    padding:16px 25px;
    text-decoration:none;
    color:#ddd;
    transition:.25s;
}

.menu-items a i{
    width:22px;
    text-align:center;
    color:#bdbdbd;
}

.menu-items a:hover{
    background:#262626;
    color:#fff;
}

.menu-items a:hover i{
    color:#e50914;
}

.menu-toggle{
    display:none;
    width:35px;
    height:28px;
    flex-direction:column;
    justify-content:space-between;
    cursor:pointer;
    z-index: 1;
    position: relative;

}

.menu-toggle span{
    width:100%;
    height:4px;
    background:#fff;
    border-radius:20px;
}


