/* Custom Styles for Moviz Theme */

/*:root {
    --main: #7b61ff;
    --secondary: #a3714e;
    --light: #ffffff;
    --dark: #000000;
    --heading: #ffffff;
    --body: #cccdd2;
    --body2: #a1a0a1;
    --bodybg: #00031c;
    --btn-bgcolor: #9e61ff;
    --btn-color: #ffffff;
    --btn-bgcolor2: #619bff;
    --btn-color2: #ffffff;
    --btn-bgcolor3: #6c52ee;
    --font-size-sm: 14px;
    --line-height-sm: 19.6px;
    --input-background: #191c33;
    --input-background2: #31344b;
    --background-item: #191c33;
    --background-body: #00031c;
    --border-color: #292c41;
    --border-color2: #80818d;
    --full-fd: 70px;
}*/
body {
    line-height: 24px;
    font-weight: 400;
    font-size: 16px;
    color: var(--heading);
    background-color: var(--bodybg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



.watchlist-add i.fa-bookmark {
    margin-left: 8px;
    color: var(--main);
    transition: color 0.3s ease;
}


.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 ;
}

a {
    text-decoration: none !important;
}

#content {
    margin-top: 120px;
    padding: 0 60px;
}



.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 28px;
    font-weight: bold;
    color: var(--main);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav ul li a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.main-nav ul li a:hover {
    color: var(--main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    background: #333;
    border: none;
    padding: 8px;
    color: #fff;
    border-radius: 4px 0 0 4px;
}

.search-form button {
    background: var(--main);
    border: none;
    padding: 8px 12px;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.account-btn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.account-btn i {
    margin-right: 5px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(248.28deg,var(--btn-bgcolor) 9.539999999999999%,rgba(142,97,255,0) 32.8%),
    radial-gradient(81.70999999999999% 279.87% at -16.57% -92%,var(--btn-bgcolor2) 28.69%,rgba(205,219,248,0) 69.54000000000001%),
    var(--btn-bgcolor3);
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    box-shadow: 0 15px 40px -8px rgba(158, 97, 255, .5);
    transform: translateY(-3px);
    color: var(--btn-color2);
}

.btn-secondary {
    background-color: #333;
    border: none;
    padding: 10px 20px;
    color: #fff;
    margin: 5px;
    transition: background-color 0.2s;
}

.btn-secondary:hover, .btn-secondary.active {
    box-shadow: 0 15px 40px -8px rgba(158, 97, 255, .5);
    transform: translateY(-3px);
    color: var(--btn-color2);
}

/* Slider */
.slider-section {
    margin: 100px 0 40px;
}

.slider-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.slider::-webkit-scrollbar {
    height: 8px;
}

.slider::-webkit-scrollbar-thumb {
    background: var(--main);
    border-radius: 4px;
}

.slider .item {
    flex: 0 0 200px;
    transition: transform 0.3s ease;
}

.slider .item:hover {
    transform: scale(1.08);
}

.slider .item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Content Details */
.content-details .row {
    margin: 20px 0;
}

.content-details img {
    max-width: 300px;
    border-radius: 8px;
}

.content-details p {
    font-size: 16px;
    line-height: 1.6;
}

/* Grid */
.movies-grid, .series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.movie-item, .series-item {
    transition: transform 0.3s ease;
}

.movie-item:hover, .series-item:hover {
    transform: scale(1.08);
}

.movie-item img, .series-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Watch Page */
.watch-page {
    margin-top: 80px;
}

.watch-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
}

.server-selector h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.server-btn {
    margin: 5px;
}

.episode-info, .season-episode-selector {
    background: #1c1c1c;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.season-episode-selector select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
}

.seasons-selector select {
    width: 200px;
    /* padding: 10px; */
    /* background: #333; */
    /* color: #fff; */
    /* border: none; */
    /* border-radius: 4px; */
    margin-bottom: 20px;
    background: rgba(25, 28, 51, 0.9);
    color: var(--heading);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Metropolitano', 'Arial', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.episodes-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.episode-btn {
    flex: 1 1 auto;
}

/* Footer */
.site-footer {
    background: #161934;
    padding: 20px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--main);
    text-decoration: none;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: var(--main);
}

.footer-social a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 20px;
}

.footer-social a:hover {
    color: var(--main);
}

.footer-copyright {
    text-align: center;
    color: #ffffff;
    margin: 0;
}

body, p, a, li, span, div {
    font-family: 'Cairo', sans-serif !important; /* للنصوص العربية */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif !important; /* للعناوين بالإنجليزية أو العربية */
}
/* للنصوص الإنجليزية تحديدًا */
[lang="en"], .lang-en {
    font-family: 'Inter', sans-serif !important;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li a {
        margin: 5px 0;
    }

    .search-form {
        width: 100%;
        max-width: 300px;
    }

    .slider-section {
        margin: 80px 0 30px;
    }

    .slider .item {
        flex: 0 0 150px;
    }

    .movies-grid, .series-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .watch-iframe {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        align-items: center;
    }

    
}