/*
 Theme Name:   DooPlay Child
 Theme URI:    https://doothemes.com/items/dooplay/
 Description:  DooPlay Child Theme
 Author:       DooThemes
 Author URI:   https://doothemes.com/
 Template:     dooplay
 Version:      2.1.3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         DooPlay child theme
 Text Domain:  mtms
*/

/* ========================================
   MODERN UI/UX ENHANCEMENTS
   ======================================== */

/* ROOT VARIABLES - Modern Styling */
:root {
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   HEADER MODERNIZATION
   ======================================== */

header.main {
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

header.main .hbox .logo {
    background: transparent !important;
}

header.main .hbox .logo img {
    transition: var(--transition);
}

/* Search Bar Enhancement */
header.main .hbox .search form {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

/* ========================================
   CONTENT CARDS - MODERN DESIGN
   ======================================== */

.module .content .items .item .poster {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.module .content .items .item .poster:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.module .content .items .item .poster img {
    transition: var(--transition);
}

.module .content .items .item .poster:hover img {
    transform: scale(1.08);
}

/* Rating Badge */
.module .content .items .item .poster .rating {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 4px 10px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Quality Badge */
.mepo span.quality,
span.quality {
    backdrop-filter: blur(10px);
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ========================================
   SLIDER MODERNIZATION
   ======================================== */

.slider article.item .image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.slider article.item .image .data {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    backdrop-filter: blur(8px);
    padding: 20px;
}

.slider article.item .image .data h3.title {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ========================================
   BUTTONS & INTERACTIONS
   ======================================== */

a, button {
    transition: var(--transition);
}

.pagination a,
.pagination span {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.pagination a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* See All Button - No hover effect */
a.see-all {
    border-radius: 4px;
    border: none !important;
    transition: none !important;
}

a.see-all:hover {
    transform: none !important;
}

/* See All (alternate class) - NO BACKGROUND */
a.see_all {
    background: transparent !important;
    border: none !important;
    transition: var(--transition);
}

a.see_all:hover {
    background: transparent !important;
    opacity: 0.8;
}

/* ========================================
   SIDEBAR MODERNIZATION
   ======================================== */

.sidebar {
    backdrop-filter: blur(10px);
}

.sidebar aside.widget {
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar aside.widget h2.widget-title {
    font-weight: 600;
    letter-spacing: -0.02em;
    padding-bottom: 12px;
}

.sidebar aside.widget ul li {
    transition: var(--transition);
}

.sidebar aside.widget ul li:hover {
    padding-left: 8px;
}

/* Widget Search */
.sidebar aside.widget_search,
.sidebar aside#block-2 {
    box-shadow: var(--shadow-sm) !important;
    padding: 20px !important;
    border-radius: var(--border-radius);
}

/* Latest Comments Widget */
.no-comments.wp-block-latest-comments {
    padding: 20px !important;
    border-radius: var(--border-radius);
    text-align: center;
}

/* ========================================
   ALPHABET NAVIGATION - SIMPLE
   ======================================== */

.letter_home ul.glossary li a {
    background: transparent !important;
    border: none !important;
}

.letter_home ul.glossary li a.active {
    font-weight: 700 !important;
}

/* ========================================
   PLAYER AREA
   ======================================== */

.dooplay_player {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.dooplay_player .options ul li {
    transition: var(--transition);
    border-radius: 6px;
    margin: 2px 0;
}

.dooplay_player .options ul li:hover {
    transform: translateX(4px);
}

/* ========================================
   FOOTER
   ======================================== */

footer.main {
    backdrop-filter: blur(10px);
}

footer.main .fbox .fmenu ul li a {
    transition: var(--transition);
}

footer.main .fbox .fmenu ul li a:hover {
    transform: translateY(-2px);
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
}

/* ========================================
   LOADING STATES
   ======================================== */

.load_modules {
    opacity: 0.7;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

/* ========================================
   RESPONSIVE ENHANCEMENTS
   ======================================== */

@media (max-width: 768px) {
    :root {
        --border-radius: 6px;
        --border-radius-lg: 10px;
    }
    
    .module .content .items .item .poster:hover {
        transform: none;
    }
}

/* ========================================
   CONTENT HEADERS
   ======================================== */

.module .content header {
    padding: 20px 10px;
}

.module .content header h1,
.module .content header h2 {
    font-weight: 600;
    letter-spacing: -0.03em;
    position: relative;
    border-left: none !important;
}

.module .content header h1:after,
.module .content header h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10px;
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

/* ========================================
   IMPROVED HOVER STATES
   ======================================== */

.module .content .items .item .data h3 a {
    transition: var(--transition);
}

.module .content .items .item .data h3 a:hover {
    text-shadow: 0 0 8px rgba(229, 9, 20, 0.3);
}

/* ========================================
   SEASON/EPISODE ITEMS
   ======================================== */

#seasons .se-c .se-q {
    border-radius: var(--border-radius);
    margin-bottom: 8px;
    transition: var(--transition);
}

#seasons .se-c .se-q:hover {
    transform: translateX(4px);
}

#seasons .se-c .se-a ul.episodios li {
    border-radius: 6px;
    margin: 4px 0;
    transition: var(--transition);
}

#seasons .se-c .se-a ul.episodios li:hover {
    transform: translateX(4px);
}

/* ========================================
   GLOSSARY ITEMS
   ======================================== */

.items_glossary .items .item {
    transition: var(--transition);
}

.items_glossary .items .item:hover {
    transform: scale(1.05);
}

/* ========================================
   TOP NAVIGATION ARROWS
   ======================================== */

.nav_items_module a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    margin: 0 6px !important;
}

.nav_items_module a.btn i {
    padding: 0 !important;
    line-height: 1 !important;
}

/* ========================================
   FINE-TUNING
   ======================================== */

/* Smooth text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* ========================================
   ADDITIONAL OVERRIDES
   ======================================== */

/* Year text in wextra - larger font */
.w_item_b .data .wextra span.year {
    font-size: 14px !important;
}

/* Tabs Menu - Keep white text on hover */
ul.smenu li a {
    transition: var(--transition);
}

/* Link Tabs - White background for selected */
.linktabs ul li a.selected {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000 !important;
}

/* Page User Nav - White background for selected */
.page_user nav.user ul li a.selected {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000 !important;
}

/* Releases - No hover effect */
.dt_mainmeta nav.releases ul li a:hover {
    background: transparent !important;
}

/* Social Share Buttons - No color change on hover */
.dt_social_single a:hover {
    opacity: 0.8;
}

/* Top IMDB - Remove left border */
.top-imdb-list h3 {
    border-left: none !important;
}

/* Add Request Button - No hover effect */
a.add_request:hover {
    opacity: 1 !important;
}