
/*===============================================================================================
                       OPTHEME BODY MAIN CSS START FORM HERE
=================================================================================================*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #2c3338;
    color: #ccc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    box-sizing: border-box;
}

#page {
    max-width: 1100px;
    margin: auto;
    background: #212121;
}

main {
    padding: 0 10px;
}


.videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

a.video {
    list-style: none;
    max-width: 400px;
    width: 300px;
    background: #565D69;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    flex: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.time {
    position: absolute;
    top: 5px;
    left: 10px;
    color: #f2f2f2;
    background: #0000008c;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 5px;
}

.ago {
    right: 10px;
    top: 5px;
    position: absolute;
    opacity: 0.9;
    font-weight: normal;
    text-shadow: 0px 0px 4px #000;
    color: #f2f2f2;
    background: #0000008c;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 5px;
}

h2.vtitle {
    color: #fff;
    padding: 5px;
    position: absolute;
    background: #0000007a;
    margin: 0px;
    bottom: 0px !important;
    width: -webkit-fill-available;
    font-weight: 400;
    transition: all .25s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 110%;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
}

header {}

.logo {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.logo a {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    padding: 0 5px;
}

form.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2d3338;
    border-radius: 5px;
    color: #fff;
}

input.search-field {
    margin: 0px;
    background: transparent;
    border: 0;
    padding: 0;
    line-height: unset;
    outline: 0px;
    padding-left: 20px;
    color: #fff;
    height: 36px;
}

button.search-submit {
    background: transparent;
    border: 0;
    margin: 0;
    line-height: unset;
    color: #ffffff7a;
    border-left: 1px solid #ffffff42;
    padding: 8px 13px 3px;
    font-size: 18px;
    cursor: pointer;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #ffffff;
}

input:-internal-autofill-selected {
    background-color: transparent;
}

.menu {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #171717;
    margin-bottom: 10px;
    overflow-x: scroll;
    scrollbar-width: none;
}

.menu a {
    color: #fff;
    font-size: 17px;
    padding: 10px;
    white-space: nowrap;
}

footer {
    padding: 10px 0;
    text-align: center;
    margin-top: 20px;
    background: #171717;
    color: #cccccc;
}

@media only screen and (max-width: 600px) {
    .menu {
        scrollbar-width: thin;
    }
}


/* Buttons */

.button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #555;
}


/* Form Styles */

input,
textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

video {
    outline: 0;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
    margin-top: 10px;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    flex: 1 0 50%;
    text-align: end;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin-top: 0px;
    margin-bottom: 5px;
    font-weight: 500;
}

h1 {
    font-size: 22px;
}

h2.h {
    font-size: 18px;
    background: #171717;
    padding: 5px;
    margin: 0 -10px 10px -10px;
    text-align: center;
}

p {
    margin-bottom: 10px;
    margin-top: 0;
}


a {
    background-color: transparent;
}

a {
    text-decoration: none;
    color: #8daaff;
}




a:hover,
a:focus,
a:active {
    color: #255cff;
}



b, strong

 {
    font-weight: bolder;
 }


/* Single Post */

.taxonomy {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: scroll;
    scrollbar-width: none;
    margin-bottom: 10px;
}

.taxonomy a {
    border: 1px solid #0069ff;
    flex: auto;
    color: #ccc;
    padding: 3px 15px;
    border-radius: 23px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.cat:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4.616 19q-.691 0-1.153-.462T3 17.384V6.616q0-.691.463-1.153T4.615 5h4.981l2 2h7.789q.69 0 1.153.463T21 8.616v8.769q0 .69-.462 1.153T19.385 19z'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    margin-right: 2px;
}

.tag:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 256 256'%3E%3Cpath fill='white' d='M243.31 136L144 36.69A15.86 15.86 0 0 0 132.69 32H40a8 8 0 0 0-8 8v92.69A15.86 15.86 0 0 0 36.69 144L136 243.31a16 16 0 0 0 22.63 0l84.68-84.68a16 16 0 0 0 0-22.63m-96 96L48 132.69V48h84.69L232 147.31ZM96 84a12 12 0 1 1-12-12a12 12 0 0 1 12 12'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    margin-right: 2px;
}

.tag-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.tag-list a {
    min-width: 135px;
    background: #2e3338;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    text-align: center;
    flex: auto;
}

.tag-list a:hover {
    background: #000000;
}

span.num {
    font-size: 14px;
    padding-left: 5px;
    color: #7c7c7c;
}

.breadcrumb {
    padding: 0px 0px 10px 10px;
    white-space: nowrap;
    overflow: hidden;
}

.taxonomy-meta {
    margin-bottom: 10px;
}

a.btnx {
    padding: 8px;
    display: block;
    width: 150px;
    border-radius: 99px;
    margin: auto;
    margin-top: 15px;
    border: 1px solid #0069ff;
    white-space: nowrap;
    text-align: center;
}

span.name {
    font-size: 20px;
}

span.count {
    background: #00000047;
    padding: 5px 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 12px;
}

a.blk {
    aspect-ratio: 16 / 4;
}

span.blur {
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    background: #33333373;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

span.blur:hover {
    backdrop-filter: blur(55px);
}

a.video.blk:hover {
    color: #fff;
}

h1.page-title {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ffffff3d;
}

h1.stitle {
    overflow-x: scroll;
    white-space: nowrap;
    scrollbar-width: none;
}

.nav-previous a {
    color: #fff;
    background: #0049b1;
    padding: 5px 10px;
    display: block;
    text-align: center;
}

.nav-next a {
    color: #fff;
    background: #028b1d;
    padding: 5px 10px;
    display: block;
    text-align: center;
}


.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}



/* ==============================================================================================
                      SINGLE PAGE DESING FOR SERIES FORM EPISODE 
=============================================================================================== */

video {
    outline: 0;
    aspect-ratio: 16 / 9;
    background: #000000;
}


/* ==============================
   VIDEO CONTAINER (VIDEO + IFRAME)
================================ */

.video-container {
    position: relative;
    width: 100%;
    /*background: #000;*/
    overflow: hidden;
}


/* Force SAME behavior as <video> */
.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    /*background: #000;*/
    border: 0;
}


.video-zoom {
    width: 100%;
    height: 100%;
    transform: scale(1.01); 
    transform-origin: center;
}



.series-episodes .episodes-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
}



.series-episodes .episodes-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
}


.series-episodes .episodes-grid {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.45) rgba(255, 255, 255, 0.08);
}


.series-episodes .episode-item {
    flex: 0 0 auto;
    width: 260px;
    background: #141414;
    border-radius: 8px;
    overflow: hidden;
}


@media (max-width: 768px) {
    .series-episodes .episode-item {
        width: 70vw;
    }
}


img {
    border-style: none;
}


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


.series-episodes .episode-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}


.series-episodes .episode-title {
    font-size: 13px;
    padding: 6px 8px;
    color: #ccc;
    text-align: left;
}



/*Taxonomy Styles*/

.taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.taxonomy-card {
    background: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.taxonomy-card:hover {
    transform: translateY(-2px);
    background: #171717;
}

.taxonomy-link {
    text-decoration: none;
    color: var(--text-white);
    padding: 15px;
    display: block;
}

.taxonomy-info h2 {
    font-size: 16px;
    margin: 0 0 5px 0;
    color: #fff;
}

.taxonomy-count {
    font-size: 14px;
    color: #c7c7c7;
}

.taxo-search {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.taxo-search input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid var(--dark-hover);
    border-radius: 8px;
    background: #2e3338;
    color: var(--text-white);
}

.taxo-search input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Alphabet Filter */

.alphabet-filter {
    padding-bottom: 1rem;
    justify-content: center;
    display: grid;
    gap: .2rem;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
}

.letter-btn {
    padding: 8px;
    border: none;
    background: #171717;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.letter-btn:hover {
    background: #255cff;
}

.letter-btn.active {
    background: #255cff;
}




/* ===============================
   SERVER SWITCH
================================ */

.player-actions {
    margin: 12px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.server-btn {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;

    border-radius: 5px;
    border: 1px solid #0069ff;

    background: transparent;
    color: #ccc;
    cursor: pointer;

    transition: all 0.25s ease;
}

.server-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.server-btn:hover {
    background: #0069ff;
    color: #000;
}

.server-btn.active {
    background: #0069ff;
    color: #000;
    box-shadow: 0 0 0 3px rgba(0,105,255,0.25);
}


/* ===============================
   DOWNLOAD MODAL
================================ */

.download-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;

    z-index: 9999;
    backdrop-filter: blur(8px);
}

.download-modal.show {
    opacity: 1;
    visibility: visible;
}

.download-box {
    width: 95%;
    max-width: 500px;

    background: #1f202b;
    border-radius: 12px;
    border: 1px solid #0069ff;

    padding: 15px;
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.download-box h3 {
    text-align: center;
    color: #0069ff;
    margin-bottom: 12px;
    font-size: 18px;
}

.download-scroll {
    max-height: 300px;
    overflow-y: auto;
}


.download-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* MOST IMPORTANT */
}


.download-table tr {
    /*background: #2e3338;*/
    border-radius: 8px;
}

.download-table td {
    padding: 8px 6px;
    font-size: 13px;
    color: #fff;
    vertical-align: middle;
    line-height: 1.2;
}

/* Server column */
.download-table .srv {
    font-weight: 600;
    color: #0069ff;
    white-space: nowrap;
}

/* URL column */
.download-table .url {
    font-size: 12px;
    color: #cfcfcf;

    max-width: 230px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.download-table .act {
    width: 90px;
    text-align: right;
    white-space: nowrap;
}


.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 80px;
    padding: 6px 10px;

    font-size: 12px;
    font-weight: 600;

    background: #0069ff;
    color: #ccc;
    border-radius: 6px;
    text-decoration: none;

    white-space: nowrap;
    transition: all 0.25s ease;
}



.download-btn:hover {
    background: #ffffff;
    color: #000;
}



/* Close button */
.modal-close {
    margin-top: 12px;
    text-align: center;
    cursor: pointer;

    padding: 8px;
    background: #0069ff;
    color: #000;

    border-radius: 6px;
    font-weight: 600;

    transition: all 0.25s ease;
}

.modal-close:hover {
    background: #ffffff;
}



@media (max-width: 600px) {
    .server-btn {
        font-size: 12px;
        padding: 5px 12px;
    }

    .download-box {
        max-width: 95%;
    }
}


@media (max-width: 600px) {

    .download-table .url {
        max-width: 130px;
        font-size: 11px;
    }

    .download-btn {
        min-width: 70px;
        font-size: 11px;
        padding: 5px 8px;
    }
}


/* Tight Server column spacing */
.download-table .srv {
    padding: 4px 6px !important;
    font-size: 12px;
    width: 70px;
    text-align: left;
}



/* ===============================
   FINAL ACTION BUTTON STYLE
================================ */

.action-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
}


/* BUTTON */
.download-main-btn,
.share-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 20px;
    width: auto;        
    min-width: unset;   
    
    background: transparent;
    border: 1px solid #0069ff;
    border-radius: 8px;

    color: #ccc;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.25s ease;
}

/* ICON */
.download-main-btn svg,
.share-main-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* HOVER */
.download-main-btn:hover,
.share-main-btn:hover {
    background: #0069ff;
    color: #000;
}



/* ===============================
   404 PAGE
================================ */

.page-404 {
    max-width: 480px;
    margin: 40px auto;
    padding: 25px;
    background: #171717;
    border-radius: 12px;
    border: 1px solid #ffffff1f;
    text-align: center;
}

.page-404-code {
    font-size: 80px;
    font-weight: 700;
    color: #0069ff;
    margin-bottom: 5px;
}

.page-404-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.page-404-desc {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}

.page-404-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #0069ff;
    color: #ccc;
    font-weight: 600;
    transition: all 0.25s ease;
}

.page-404-btn:hover {
    background: #0069ff;
    color: #000;
}

.page-404-search {
    justify-content: center;
    margin-top: 10px;
}


/*CUSTOM CSS*/

            .h1 {
                text-align: center;
                color: silver;
                font-size: 30px;
            }

            .p1 {
                text-align: center;
            }

            .video .play-btn {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
                width: 70px;
                height: 70px;
                display: flex;
                align-items: center;
                justify-content: center;
                pointer-events: none;
                /* click goes to post link */
            }

            /* SVG ICON */
            .video .play-btn svg {
                width: 34px;
                height: 34px;
                color: white;
                filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
                /* visibility on bright images */
                transition: .25s;
            }

            /* HOVER ANIMATION */
            .video:hover .play-btn svg {
                transform: scale(1.2);
                filter: drop-shadow(0 4px 12px rgba(0,0,0,1));
            }

            /* MOBILE */
            @media(max-width: 768px) {
                .video .play-btn {
                    width:52px;
                    height: 52px;
                }

                .video .play-btn svg {
                    width: 36px;
                    height: 36px;
                }
            }

            /* breadcrumb */
            .breadcrumb {
                font-size: 13px;
                margin: 15px 0 20px;
                padding: 10px 15px;
                background: linear-gradient(90deg, #111, #1a1a1a);
                border-left: 3px solid #ff2e63;
                border-radius: 8px;
                color: #bbb;
            }

            .breadcrumb a {
                color: #ff2e63;
                text-decoration: none;
                font-weight: 500;
            }

            .breadcrumb a:hover {
                color: #fff;
            }

            .breadcrumb span {
                color: #fff;
                font-weight: 600;
            }
            
            

.action-row {
    display: flex;
    gap: 12px;
    /*margin: 15px 0;*/
}



.action-row button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}



.share-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0073ff;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}




.download-main-btn {
    background: #2d8cff;
    color: #fff;
}





.server-switch {
    display: flex;
    gap: 12px;
    /*margin: 15px 0;*/
}



.server-switch button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: none;
    font-size: 13px;
    cursor: pointer;
}



.server-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0073ff;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}


 .action-row button:hover
               {
                opacity: .9;
            }

.server-switch button:hover 
              {
                opacity: .9;
            }






