/*
Theme Name: Streamy
Theme URI: https://your-website.com/
Author: Your Name
Author URI: https://your-website.com/
Description: A custom WordPress theme for movie and TV show streaming, designed with an Arabic RTL layout. Built with PHP 8.2+ and a clean, modern UI.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streamy
Tags: rtl-language-support, custom-post-types, theme-options, responsive-layout, video, streaming
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0  - Reset & Global Styles
2.0  - Layout & Container
3.0  - Header & Navigation
4.0  - Footer
5.0  - Archive & Grid Layouts
6.0  - ULTRA MODERN SINGLE POST LAYOUT
7.0  - ULTRA MODERN PLAYER & SERVER SECTION
8.0  - Comments & Forms
9.0  - Responsive Design
10.0 - Extra Elements
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset & Global Styles
--------------------------------------------------------------*/


*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*--------------------------------------------------------------
2.0 - Layout & Container
--------------------------------------------------------------*/
.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}


/*--------------------------------------------------------------
3.0 - Header & Navigation
--------------------------------------------------------------*/
.site-header {
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

.site-title a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation ul li {
    margin-right: 20px;
}

.main-navigation a {
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.header-ad-area {
    text-align: center;
    padding: 1rem 0;
    background: #000;
}

/*--------------------------------------------------------------
4.0 - Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-navigation ul li {
    margin: 0 15px;
}

.site-info {
    color: #ffffff;
}

/*--------------------------------------------------------------
5.0 - Archive & Grid Layouts
--------------------------------------------------------------*/
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.grid-item {
    background-color: var(--secondary-color);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.grid-item .post-thumbnail {
    position: relative;
}

.grid-item .post-thumbnail img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.ribbon-badge, .quality-badge {
    position: absolute;
    top: 10px;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    border-radius: 3px;
}

.ribbon-badge {
    background-color: #e74c3c;
    right: 10px;
}

.quality-badge {
    background-color: var(--accent-color);
    left: 10px;
}

.grid-item .entry-header {
    padding: 1rem;
}

.grid-item .entry-title {
    font-size: 1rem;
    margin: 0;
}

.grid-item .entry-title a {
    color: var(--text-color);
}

.grid-item .entry-meta {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/*--------------------------------------------------------------
6.0 - ULTRA MODERN SINGLE POST LAYOUT
--------------------------------------------------------------*/

.entry-header-single {
    position: relative;
    padding: 0;
}

.entry-header-single::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center;
    background-image: var(--bg-image);
    filter: blur(25px) brightness(0.4);
    transform: scale(1.1);
    z-index: 1;
}

.entry-header-single::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to top, var(--primary-color) 0%, rgba(13, 17, 23, 0.7) 50%, rgba(13, 17, 23, 0) 100%);
    z-index: 2;
}



.entry-header-single .poster img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-header-single .poster img:hover {
    transform: scale(1.05) rotateZ(1deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px var(--accent-glow);
}

.entry-header-single .info {
    padding-bottom: 1rem;
}


.parent-series-title a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.meta-details {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}
.meta-details span {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.genres a {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}



/*--------------------------------------------------------------
7.0 - ULTRA MODERN PLAYER & SERVER SECTION
--------------------------------------------------------------*/
.server-tabs {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tab-link {
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    padding: 1rem 0.5rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}
.tab-link::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%; height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}
.tab-link:hover {
    color: #fff;
}
.tab-link.active {
    color: #fff;
}
.tab-link.active::after {
    transform: scaleX(1);
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.video-player-area iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #000;
}


.server-list span {
    font-weight: bold;
    margin-left: 1rem;
    color: #fff;
}


/*--------------------------------------------------------------
8.0 - Comments & Forms
--------------------------------------------------------------*/
#searchform input[type="search"] {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 5px;
}
#searchform input[type="submit"] {
    display: none;
}

/*--------------------------------------------------------------
9.0 - Responsive Design
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .site-header { flex-direction: column; gap: 1rem; }
    
    .entry-header-single .header-content {
        grid-template-columns: 150px 1fr;
        gap: 1.5rem;
    }
    .entry-header-single .entry-title {
        font-size: 2.5rem;
    }
    .posts-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 600px) {
    .entry-header-single .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
    }
    .entry-header-single .poster {
        margin: 0 auto;
        width: 60%;
        max-width: 200px;
    }
    .entry-header-single .info {
        padding-bottom: 0;
    }
    .meta-details, .genres {
        justify-content: center;
    }
    .entry-header-single .entry-title {
        font-size: 2rem;
    }
}

/*--------------------------------------------------------------
10.0 - Extra Elements
--------------------------------------------------------------*/



/*--------------------------------------------------------------
11.0 - Single Series Page
--------------------------------------------------------------*/
.seasons-episodes-section {
    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.seasons-episodes-section h2 {
    font-size: 1.8rem;
    color: #fff;
}

.season-block {
    margin-bottom: 2.5rem;
}

.season-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.episodes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}



.episodes-list .ep-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*--------------------------------------------------------------
Themex - Home
--------------------------------------------------------------*/
	:root {
    --primary-color: #0d1117; /* Dark background */
    --secondary-color: #161b22; /* Lighter background boxes */
    --border-color: #1f1e24;
    --text-color: #c9d1d9; /* Light grey text */
    --text-secondary: #ffffff; /* Darker grey text */
    --accent-color: #58a6ff; /* Blue accent */
    --accent-hover: #1f6feb;
    --font-family: 'Tajawal', sans-serif;
}
	* {
    padding: 0;
    margin: 0;
    position: relative;
    box-sizing: border-box;
}
	.container {
		    max-width: 1350px;
    width: 90%;
    margin: 0 auto;
	}
	.site-header {
		    padding: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
	}
	.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.site-branding {
    order: 1;
    text-align: left;
    padding-right: 10px;
}

.main-navigation {
    order: 2;
    flex: 1;
    text-align: center;
}

.header-search {
    order: 3;
    text-align: left;
    margin-right: auto;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.site-title {
    text-align: right;
    margin: 0;
}
	input.search-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375em;
    color: #8e95a5;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding: .375rem .75rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 100%;
}
	
.search-form {
    position: relative;
    width: 100%;
}

.search-field {
    padding: 8px 12px 8px 36px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
}

.search-submit svg {
    width: 18px;
    height: 18px;
}
.site-title a {
		background: linear-gradient(to right, white 50%, #fcb800 50%);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		font-weight: bold;
	}
label {
    width: 100%;
}
	.search-field:focus {
    outline: none;
    border-color: #0073aa; /* لون التحديد */
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.3);
}

.search-submit:focus {
    outline: none;
    color: #0073aa;
}
/* إخفاء زر X داخل حقل البحث في Chrome و Edge */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}
.site-main {
    min-height: 100vh;
    overflow: hidden;
}
	.site-header {
		    background-color: #00000000;
    border-bottom: 1px solid #00000000;
	}
	.main-navigation a:hover, .main-navigation .current-menu-item > a {
    color: #fcb800;
    border-bottom-color: #fcb800;
}
	/* زر أيقونة البحث */
.search-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
}

/* نافذة البحث */
.search-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 101%;
	height: 100vh;
  background: rgba(13, 17, 23, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* محتوى النافذة */
.search-popup-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: transparent;
}

/* زر الإغلاق */
.close-search {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* حقل البحث */
.search-field {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  outline: none;
}

/* زر الإرسال */
.search-submit {
    margin-top: 10px;
    padding: 6px 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    background: #fcb800;
    color: #000000;
    cursor: pointer;
    font-family: 'Tajawal';
    font-weight: bold;
}
body {
    background-color: #1d1d21;
}
	.site-footer {
    padding: 1rem 0;
    text-align: center;
    background: #0000;
    border-color: #0000;
}
	a {
    color: #fcb800;
}
.BlocksHolder {
    display: flex
;
    flex-wrap: wrap;
    margin: 0 -10px;
    row-gap: 10px;
    padding-bottom: 10px;
}
	.Small--Box a {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 2px;
}
	/* الوضع العادي - 5 عناصر في الصف */
.Small--Box {
    flex: 0 0 calc(100% / 6);
    width: auto;
    overflow: hidden;
    padding: 0 10px;
    transition: all 0.6s;
}
	.slide-item .title,
.Small--Box .title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    font-size: 15px;
    color: #fff;
    z-index: 9;
    background: linear-gradient(to top, #000000db, #0000);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    overflow: hidden;
    font-weight: 700;
    text-shadow: 0 2px 7px #1d1d21;
    line-height: normal;
    margin: 0;
    text-align: center;
}
	.slide-item a .Poster,
	.Small--Box a .Poster {
    display: block;
    padding-bottom: 150%;
    width: 100%;
    transition: .3s all ease;
    overflow: hidden;
}
	.slide-item a .Poster img,
	.Small--Box a .Poster img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
}
	.slide-item:hover img {
		    transform: scale(1.05);
	}
	.imgInit {
    opacity: 0;
    transition: .35s all ease;
}
.imgInit.Loaded {
    opacity: 1;
}

/* شاشات أقل من 970px - 3 عناصر في الصف */
@media only screen and (max-width: 970px) {
    .BlocksHolder > *:not(.loader),
    .PreWidth .Small--Box,
    .Small--Box,
    .row > a,
    ul.Posts--List.SixInRow > div {
        flex: 0 0 calc(100% / 3);
        min-width: auto;
        width: auto;
        max-width: initial;
    }
}

/* شاشات أقل من 480px - تعديل padding */


/* شاشات أقل من 450px - عنصرين في الصف */
@media only screen and (max-width: 450px) {
    .BlocksHolder > *:not(.loader),
    .PreWidth .Small--Box,
    .Small--Box,
    .row > a,
    ul.Posts--List.SixInRow > div {
        flex: 0 0 50%;
        width: auto;
    }
}
.pagination {
    text-align: center;
    display: table;
    margin: 20px auto 20px;
    border-radius: 50px;
    position: relative;
    font-size: 18px;
    line-height: 13px;
}
.pagination li {
    direction: ltr;
    float: right;
}
.pagination > ul > li > * {
    display: block;
    float: right;
    margin: 1px 10px 2px 0;
    text-decoration: none;
    width: 38px;
    height: 38px;
    line-height: 38px;
    color: #000000;
    background: #fcb800;
    border-radius: 10px;
    font-size: 18px;
    letter-spacing: 1px;
}
.pagination > ul > li > span.current {
    background: #ffffff;
    color: #000000;
}
.pagination > ul > li > a:hover{
    background: #ffffff;
    color: #000000;

}
	*::marker {
    display: none;
    color: #0000;
    opacity: 0;}
/* الطبقة السوداء */
.Poster .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* سواد شفاف */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* أيقونة التشغيل */
.Poster .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

/* عند تمرير الماوس */
.Small--Box:hover .overlay,
.Small--Box:hover .play-icon {
    opacity: 1;
}
	.title_head {
    display: table;
    border-right: 2px solid;
    border-color: #fcb800;
    padding-right: 10px;
    margin-bottom: 20px;
}
	.title_head h2 {
    font-size: 20px;
    margin: 0;
    color: #fff;
}
	.title_head p {
    font-size: 13px;
}
	h2.boxes_title {
    text-align: center;
    margin: 1rem 0 1rem 0;
    color: #fff;
}
	.four-boxes {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.four-boxes .box {
    background-color: #222127;
    color: #fff;
    flex: 1 1 calc(25% - 15px);
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.four-boxes .box:hover {
    background-color: #333036;
}

.four-boxes .icon {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.four-boxes .icon svg {
     width: 30px;
    height: 30px;
    fill: #fcb800;
}

.four-boxes .box span {
    font-size: 16px;
    font-weight: bold;
}

.slider-wrapper {
    position: relative;
    direction: rtl;
}

.custom-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -4px;
}
.custom-slider::-webkit-scrollbar {
    display: none;
}

.slide-item {
    scroll-snap-align: start;
    position: relative;
    transition: transform 0.3s ease;
    flex: 0 0 20%;
    width: auto;
    padding: 0 4px;
}

.slider-poster {
    position: relative;
}
.slider-poster img {
    width: 100%;
    display: block;
    border-radius: 10px;
}
.slider-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}
.slider-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.slide-item:hover .slider-overlay,
.slide-item:hover .slider-play-icon {
    opacity: 1;
}

.slider-title {
    color: #fff;
    background-color: #222;
    margin: 0;
    padding: 10px;
    font-size: 16px;
}

/* ✅ أزرار التحكم absolute */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fcb800;
    color: #000000;
    border: none;
    font-size: 25px;
    padding: 10px 12px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}
.slider-btn:hover {
    background: #fff;
}

.slider-btn.prev {
    left: 0px; 
    border-radius: 0% 20% 20% 0%;

	}

.slider-btn.next {
    right: 0px;
    border-radius: 20% 0% 0% 20%;
	}


	/* ✅ زر القائمة */
.mobile-menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1000;
}

/* ✅ القائمة الأساسية */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0px;
}

.main-navigation li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
}

/* ✅ على الشاشات الصغيرة: حول القائمة لقائمة جانبية منسدلة */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    #site-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #111;
        transition: right 0.3s ease;
        padding-top: 60px;
        z-index: 999;
    }

    #site-navigation.open {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li a {
        padding: 15px 20px;
        border-bottom: 1px solid #222;
    }
}

	.site-content {
		padding:0;
	}
.entry-header-single {
    overflow: hidden;
    background: #222127;
    margin-bottom: 20px;
}
	.entry-content {
    max-width: 90%;
}
.entry-header-single .container {
    position: relative;
    z-index: 3;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
	.genres a:hover {
    background: #fcb800;
    color: #000000;
    border-color: transparent;
}
	.single-movie-layout,
.single-episode-layout {
	    --accent-glow: #1f1f25;

    --accent-gradient: #fcb800;
}
.entry-header-single .entry-title {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    margin-bottom: 1rem;
}
	.story-section h2, .trailer-section h2, .player-section h2, .story-section h3, .trailer-section h3, .player-section h3 {
    font-size: 1.2rem;
    color: #fff;
    padding-bottom: 0rem;
    border-bottom: 1px solid rgb(255 255 255 / 0%);
    border-right: 2px solid #fcb800;
    padding-right: 8px;
    margin: 0;
}
	.server-list {
    margin-top: 0rem;
    padding-top: 0rem;
    display: flex
;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
	.server-button.active {
    background: var(--accent-gradient);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 0 15px var(--accent-glow);
}
	.server-button {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    font-family: sans-serif;
}
	.server-button:hover {
    transform: translateY(-2px);
    border-color: #0000;
    color: #000;
}
	.download-list {
    display: grid
;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
    padding-top: 1rem;
}
	.download-button {
    display: block;
    background: var(--accent-gradient);
    color: #000000;
    text-align: center;
    padding: 10px 4px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}
	.download-button:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px var(--accent-glow);
    color: #000;
}
.episodes-list {
    display: flex !important
;
    flex-wrap: wrap !important;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    gap: .5rem !important;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}
	.episodes-list li {
    display: flex
;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    background: #fcb800;
    border-radius: 0.375rem;
    justify-content: space-around;
    padding: 10px 15px;
} 
	.episodes-list li a {
    color: #000;
    font-weight: bold;
}
	.story-section, .trailer-section, .player-section, .seasons-episodes-section {
		    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgb(255 255 255 / 4%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
	}
	
.title_head h3 {
    margin: 0;
}
	

.entry-header-single .header-content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}
	.parent-series-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
}
	.parent-series-title a {
    color: #000000;
    transition: color 0.2s ease;
    background: #fcb800;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 15px;
}
	.parent-series-title a:hover {
		color:#000;
	}
	.info .title_head h3 {
    margin: 0;
    font-size: 15px;
    padding-bottom: 5px;
}
	.episode-navigation {
    display: flex;
    justify-content: space-between;
    padding: 0rem;
    background: #0000;
    margin: 0;
    margin-right: auto;
    border: 0;
    line-height: normal;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: blur(0px);
    align-items: center;
}
	.episode-navigation a {
    color: #c9d1d9;
    font-weight: bold;
    padding: 0rem 1rem;
    border: 1px solid #1f1e2400;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin: 0;
    line-height: normal;
}
	.episode-navigation a:hover {
    background: #0000;
    border-color: transparent;
    color: var(--accent-gradient);
    transform: translateY(0px);
}
		@media (max-width: 1080px) {
.container {
    width: 90%;
}
		.slide-item {
			    flex: 0 0 25%;

		}
	
}
/* Responsive */
@media (max-width: 768px) {
    .four-boxes .box {
        flex: 1 1 46%;
    }
	    .entry-header-single .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
    }
	.entry-header-single .poster {
    max-width: 400px;
    margin: 0 auto;
}
	.entry-header-single .entry-title {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    margin-bottom: 1rem;
}
	    .entry-header-single .info {
        padding-bottom: 0;
        text-align: right;
        padding: 0 10px;
    }
	.tab-link {
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    padding: 0.7rem 0rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}
	.server-list {
    justify-content: center;
}.server-button {
    background-color: rgba(255, 255, 255, 0.05);

    flex: 0 0 45%;

}.story-section h2, .trailer-section h2, .player-section h2, .story-section h3, .trailer-section h3, .player-section h3 {
    font-size: 1rem;
}
	
	.story-section, .trailer-section, .player-section, .seasons-episodes-section {
		    padding: 1.2rem 0.2rem;
	}
	.slide-item .title, .Small--Box .title {
		    padding: 6px;
	}
			.slide-item {
		    flex: 0 0 33.3%;

		}
}

@media (max-width: 480px) {
    .four-boxes .box {
        flex: 1 1 45%;
    }
	    .Small--Box {
        padding: 0 4px;
    }
	.four-boxes {
    gap: 8px;

}
			.slide-item {
			    flex: 0 0 50%;

		}
}
	h1.page-title {
    font-size: 19px;
    background: #fcb800;
    color: #000;
    padding: 5px 10px;
    display: inline-block;
    margin: 0;
    border-radius: 16px 0px 0px 16px;
}
	
	.page-header {
    margin-bottom: 0rem;
}
