/*
Theme Name: AnimeFLV Clone
Theme URI: https://example.com/
Author: Antigravity
Author URI: https://example.com/
Description: A clone of the AnimeFLV website with dashboard options.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: animeflv
*/

body {
    background-color: #f1f2f3;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}
header.Header {
    background: #fff;
    border-top: 4px solid #28a745;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.Logo img { max-height: 50px; }
body.header-layout-centered .Header .Logo { text-align: center; margin: 0 auto 10px; }
body.header-layout-centered .Header .row.align-items-center { flex-direction: column; text-align: center; }
.Wrapper { max-width: 1200px; margin: 0 auto; padding: 20px; }
.Title.Page { border-bottom: 2px solid #ccc; margin-bottom: 20px; padding-bottom: 10px; }
.nav li a { color: #333; padding: 10px 15px; display: block; font-weight: bold; }
.nav li a:hover { background-color: #f8f9fa; border-radius: 4px; text-decoration: none; }
.widget { border-radius: 4px; }
.list-unstyled li { padding: 5px 0; border-bottom: 1px solid #eee; }
.list-unstyled li:last-child { border-bottom: none; }
.list-unstyled li a { color: #555; text-decoration: none; }
.list-unstyled li a:hover { color: #28a745; }
.card-title a { color: #333; text-decoration: none; font-size: 14px; font-weight: bold; }
.card-title a:hover { color: #28a745; }

/* Professional Video Player Container */
.responsive-video-wrapper {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}
.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}
.responsive-video iframe, 
.responsive-video object, 
.responsive-video embed, 
.responsive-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Premium Single Post Design */
.premium-single-header {
    background: #1e1e24;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    gap: 30px;
}
.premium-single-thumb {
    flex-shrink: 0;
}
.premium-single-thumb img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    max-width: 250px;
    width: 100%;
    height: auto;
}
.premium-single-meta {
    flex-grow: 1;
}
.premium-single-meta h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}
.premium-single-meta .alt-title {
    color: #a1a1aa;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}
.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.meta-item {
    background: #27272f;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #e4e4e7;
}
.meta-item i {
    color: #28a745;
    margin-right: 8px;
}
.meta-item span.badge {
    font-size: 0.85rem;
    vertical-align: text-bottom;
}
.btn-premium-download {
    background: linear-gradient(135deg, #28a745 0%, #208637 100%);
    color: #fff !important;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}
.btn-premium-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
    text-decoration: none;
}
.premium-content-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .premium-single-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Related Posts Hover */
.related-card-inner:hover .card-img-top {
    transform: scale(1.05);
    opacity: 1 !important;
}
.related-post-card:hover {
    text-decoration: none;
}

/* Homepage Cards Hover */
.home-card-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(40, 167, 69, 0.7); /* Success color with opacity */
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.home-card-link:hover .play-overlay {
    opacity: 1;
}
.home-card-link:hover .home-card-img {
    transform: scale(1.1);
}
.thumb-wrapper {
    overflow: hidden;
}

/* Horizontal Scrollable Related Posts */
.related-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
}
.related-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.related-scroll-container::-webkit-scrollbar-thumb {
    background-color: #28a745;
    border-radius: 4px;
}
.related-post-card {
    flex: 0 0 200px;
}
.related-img {
    height: 120px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}

/* Totally Black Theme Overrides */
body {
    background-color: #000000 !important;
    color: #e0e0e0 !important;
}
.bg-white {
    background-color: #0a0a0a !important;
    border: 1px solid #1a1a1a !important;
    color: #fff !important;
}
.card, .widget, .premium-content-box, header.Header, .premium-single-meta {
    background-color: #0a0a0a !important;
    color: #e0e0e0 !important;
    border: 1px solid #1a1a1a !important;
}
.card-body.bg-dark {
    background-color: #0a0a0a !important;
}
.Title.Page h2, .Title.Page h1, h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}
.list-unstyled li a {
    color: #cccccc !important;
}
.border-bottom {
    border-bottom-color: #222222 !important;
}
