/*
 Theme Name:   BlogHash Child
 Theme URI:    http://example.com/bloghash-child
 Description:  BlogHash Child Theme for 5Play Clone
 Author:       Antigravity
 Author URI:   http://example.com
 Template:     bloghash
 Version:      1.0.2
*/

:root {
    --primary-color: #5bb300;
    --dark-bg: #f9f9f9;
    --border-color: #eee;
    /* Defaults if plugin inactive */
    --wpmm-top-bg: #5bb300;
    --wpmm-top-color: #fff;
    --wpmm-list-bg: #f5f5f5;
    --wpmm-list-color: #333;
    --wpmm-list-border: #5bb300;
}

body {
    background-color: #f0f0f0;
}

.mod-page-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mod-header-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.mod-icon .app-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
}

.mod-details {
    flex: 1;
}

.entry-title {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.mod-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    font-size: 14px;
    color: #555;
}

/* Star Rating Styles */
.wpmm-rating-container {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpmm-stars {
    display: flex;
    gap: 4px;
}

.wpmm-star {
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ddd;
}

.wpmm-star.filled {
    color: #ffc107;
    /* Gold */
}

.wpmm-stars.interactive .wpmm-star:hover {
    transform: scale(1.2);
    color: #ffc107;
}

.wpmm-stars.voted .wpmm-star {
    cursor: default;
}

.wpmm-rating-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.wpmm-average {
    font-weight: 700;
    color: #333;
}

.wpmm-votes {
    color: #888;
    font-size: 13px;
}

/* =========================================
   TOP CTA BUTTON STYLES (Namespaced .wpmm-)
   ========================================= */
.button-download-scroll {
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 10px 25px;
    transition: 0.3s;
    font-size: 16px;
    cursor: pointer;
    /* Force override parent theme link color */
    color: var(--wpmm-top-color) !important;
}

.button-download-scroll:hover {
    color: var(--wpmm-top-color) !important;
    text-decoration: none !important;
}

/* Style 1: Simple Rounded */
.wpmm-scroll-style_1 {
    background: var(--wpmm-top-bg);
    color: var(--wpmm-top-color);
    border-radius: 5px;
}

.wpmm-scroll-style_1:hover {
    opacity: 0.9;
}

/* Style 2: Pill Shape + Shadow */
.wpmm-scroll-style_2 {
    background: var(--wpmm-top-bg);
    color: var(--wpmm-top-color);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wpmm-scroll-style_2:hover {
    transform: translateY(-2px);
}

/* Style 3: Outline / Ghost */
.wpmm-scroll-style_3 {
    background: transparent;
    color: var(--wpmm-top-bg) !important;
    border: 2px solid var(--wpmm-top-bg);
    border-radius: 5px;
}

.wpmm-scroll-style_3:hover {
    background: var(--wpmm-top-bg);
    color: var(--wpmm-top-color) !important;
}

/* Style 4: 3D Push Button */
.wpmm-scroll-style_4 {
    background: var(--wpmm-top-bg);
    color: var(--wpmm-top-color);
    border-radius: 8px;
    border-bottom: 4px solid rgba(0, 0, 0, 0.2);
}

.wpmm-scroll-style_4:active {
    border-bottom: 0px solid;
    transform: translateY(4px);
}

/* Style 5: Gradient Glow */
.wpmm-scroll-style_5 {
    background: linear-gradient(45deg, var(--wpmm-top-bg), #88ff00);
    color: var(--wpmm-top-color);
    border-radius: 25px;
    box-shadow: 0 0 10px var(--wpmm-top-bg);
}

/* Style 6: Square Modern */
.wpmm-scroll-style_6 {
    background: var(--wpmm-top-bg);
    color: var(--wpmm-top-color);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Style 7: Soft UI */
.wpmm-scroll-style_7 {
    background: #f0f0f0;
    color: #333 !important;
    border-left: 5px solid var(--wpmm-top-bg);
    border-radius: 4px;
}

/* Style 8: Dark Mode Tech */
.wpmm-scroll-style_8 {
    background: #222;
    color: var(--wpmm-top-bg) !important;
    border: 1px solid var(--wpmm-top-bg);
    font-family: monospace;
}

/* Style 9: Glassmorphism */
.wpmm-scroll-style_9 {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #333 !important;
    border: 1px solid var(--wpmm-top-bg);
    border-radius: 10px;
}

.wpmm-scroll-style_9:hover {
    background: var(--wpmm-top-bg);
    color: #fff;
}

/* Style 10: Retro Pixel */
.wpmm-scroll-style_10 {
    background: var(--wpmm-top-bg);
    color: var(--wpmm-top-color);
    box-shadow: 4px 4px 0px #000;
    border: 2px solid #000;
}

.wpmm-scroll-style_10:hover {
    box-shadow: 2px 2px 0px #000;
    transform: translate(2px, 2px);
}


/* =========================================
   DOWNLOAD LIST BUTTONS (Namespaced .wpmm-)
   ========================================= */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpmm-download-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    color: var(--wpmm-list-color) !important;
    /* Force override parent theme link color */
}

.wpmm-download-item:hover,
.wpmm-download-item:focus {
    color: var(--wpmm-list-color) !important;
    text-decoration: none !important;
}

.wpmm-icon {
    margin-right: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpmm-badge {
    margin-left: auto;
    /* Push to right */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27ae60;
    /* Subtle green */
    background: transparent;
    /* No background by default */
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.wpmm-download-item:hover .wpmm-badge {
    transform: scale(1.2) rotate(5deg);
    /* Zoom and slight rotation */
    color: #2ecc71;
    /* Brighter green on hover */
}

.wpmm-badge svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(39, 174, 96, 0.3));
    transition: filter 0.3s ease;
}

.wpmm-download-item:hover .wpmm-badge svg {
    filter: drop-shadow(0 4px 8px rgba(46, 204, 113, 0.5));
}

.wpmm-info {
    display: flex;
    flex-direction: column;
    color: inherit !important;
    /* Force inherit from parent */
}

.wpmm-label {
    font-weight: 700;
    font-size: 16px;
    display: block;
    color: inherit !important;
    /* Force inherit from parent, not theme link color */
}

.wpmm-sub {
    font-size: 12px;
    opacity: 0.8;
    font-weight: normal;
}

/* List Style 1: Material Card (Classic) */
.wpmm-list-style_1 .wpmm-download-item {
    background: var(--wpmm-list-bg);
    color: var(--wpmm-list-color);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--wpmm-list-border);
}

.wpmm-list-style_1 .wpmm-icon {
    color: var(--wpmm-list-border);
}

.wpmm-list-style_1 .wpmm-download-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* List Style 2: Neon Glow (Dark) */
.wpmm-list-style_2 .wpmm-download-item {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid var(--wpmm-list-border);
    border-radius: 4px;
    box-shadow: 0 0 5px var(--wpmm-list-border);
}

.wpmm-list-style_2 .wpmm-icon {
    color: var(--wpmm-list-border);
    text-shadow: 0 0 10px var(--wpmm-list-border);
}

.wpmm-list-style_2 .wpmm-download-item:hover {
    box-shadow: 0 0 15px var(--wpmm-list-border);
}

/* List Style 3: Glassmorphism (Trend) */
.wpmm-list-style_3 .wpmm-download-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 5px solid var(--wpmm-list-border);
    color: var(--wpmm-list-color);
    border-radius: 12px;
}

.wpmm-list-style_3 .wpmm-download-item:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* List Style 4: Neo-Brutalism (Bold) */
.wpmm-list-style_4 .wpmm-download-item {
    background: var(--wpmm-list-bg);
    color: var(--wpmm-list-color);
    border: 3px solid #000;
    box-shadow: 5px 5px 0px #000;
    border-radius: 0;
}

.wpmm-list-style_4 .wpmm-download-item:hover {
    box-shadow: 2px 2px 0px #000;
    transform: translate(3px, 3px);
}

.wpmm-list-style_4 .wpmm-icon {
    background: #000;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}

/* List Style 5: Gradient Border (Sleek) */
.wpmm-list-style_5 .wpmm-download-item {
    background: #fff;
    color: var(--wpmm-list-color);
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.wpmm-list-style_5 .wpmm-download-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(45deg, var(--wpmm-list-border), #00ddff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.wpmm-list-style_5 .wpmm-icon {
    color: var(--wpmm-list-border);
}

/* List Style 6: Floating 3D Icon */
.wpmm-list-style_6 .wpmm-download-item {
    background: var(--wpmm-list-bg);
    color: var(--wpmm-list-color);
    border-radius: 15px;
    padding-left: 70px;
    /* Space for icon */
    overflow: visible;
}

.wpmm-list-style_6 .wpmm-icon {
    position: absolute;
    left: -10px;
    width: 60px;
    height: 60px;
    background: var(--wpmm-list-border);
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 24px;
}

.wpmm-list-style_6 .wpmm-download-item:hover .wpmm-icon {
    transform: scale(1.1) rotate(-10deg);
    transition: 0.3s;
}

/* List Style 7: Minimalist (Clean) */
.wpmm-list-style_7 .wpmm-download-item {
    background: transparent;
    border-bottom: 2px solid #eee;
    color: var(--wpmm-list-color);
    padding: 20px 0;
    border-radius: 0;
}

.wpmm-list-style_7 .wpmm-icon {
    display: none;
}

.wpmm-list-style_7 .wpmm-label {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wpmm-list-style_7 .wpmm-download-item:hover {
    padding-left: 20px;
    border-color: var(--wpmm-list-border);
}

/* List Style 8: Cyber Tech (Clip Path) */
.wpmm-list-style_8 .wpmm-download-item {
    background: #0f1923;
    color: #fff;
    border: 1px solid var(--wpmm-list-border);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
    padding-left: 30px;
}

.wpmm-list-style_8 .wpmm-download-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--wpmm-list-border);
}

.wpmm-list-style_8 .wpmm-icon {
    color: var(--wpmm-list-border);
}

/* List Style 9: Bubble / Pill (Soft) */
.wpmm-list-style_9 .wpmm-download-item {
    background: var(--wpmm-list-bg);
    color: var(--wpmm-list-color);
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wpmm-list-style_9 .wpmm-icon {
    background: var(--wpmm-list-border);
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 15px;
}

.wpmm-list-style_9 .wpmm-download-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* List Style 10: Comic Book (Pop Art) */
.wpmm-list-style_10 .wpmm-download-item {
    background: #fff;
    color: var(--wpmm-list-color);
    border: 2px solid #000;
    box-shadow: 4px 4px 0 var(--wpmm-list-border);
    border-radius: 0;
}

.wpmm-list-style_10 .wpmm-download-item:hover {
    box-shadow: 2px 2px 0 var(--wpmm-list-border);
    transform: translate(2px, 2px);
}

/* List Style 11: Cyan Gradient Wave */
.wpmm-list-style_11 .wpmm-download-item {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #fff !important;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.wpmm-list-style_11 .wpmm-download-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: wpmm-wave 3s linear infinite;
}

@keyframes wpmm-wave {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.wpmm-list-style_11 .wpmm-icon {
    color: #fff;
}

.wpmm-list-style_11 .wpmm-download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

/* List Style 12: Neon Cyan Pulse */
.wpmm-list-style_12 .wpmm-download-item {
    background: #0a0e27;
    color: #00ffff !important;
    border: 2px solid #00ffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), inset 0 0 10px rgba(0, 255, 255, 0.1);
    animation: wpmm-neon-pulse 2s ease-in-out infinite;
}

@keyframes wpmm-neon-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), inset 0 0 10px rgba(0, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), inset 0 0 15px rgba(0, 255, 255, 0.2);
    }
}

.wpmm-list-style_12 .wpmm-icon {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.wpmm-list-style_12 .wpmm-download-item:hover {
    background: #0f1535;
    transform: scale(1.02);
}

/* List Style 13: Frosted Cyan Glass */
.wpmm-list-style_13 .wpmm-download-item {
    background: rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    color: var(--wpmm-list-color) !important;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.wpmm-list-style_13 .wpmm-icon {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
    /* Prevent squeezing */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .wpmm-list-style_13 .wpmm-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .wpmm-list-style_13 .wpmm-icon svg {
        width: 20px;
        height: 20px;
    }
}

.wpmm-list-style_13 .wpmm-download-item:hover {
    background: rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

/* List Style 14: Holographic Cyan */
.wpmm-list-style_14 .wpmm-download-item {
    background: linear-gradient(135deg, #00ffff 0%, #00d4ff 25%, #0099ff 50%, #00ffff 75%, #00d4ff 100%);
    background-size: 200% 200%;
    animation: wpmm-holographic 4s ease infinite;
    color: #fff !important;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
}

@keyframes wpmm-holographic {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.wpmm-list-style_14 .wpmm-icon {
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.wpmm-list-style_14 .wpmm-download-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 30px rgba(0, 255, 255, 0.6);
}

/* List Style 15: Cyan Neumorphism */
.wpmm-list-style_15 .wpmm-download-item {
    background: #e0f7ff;
    color: #006b8f !important;
    border-radius: 20px;
    box-shadow: 8px 8px 16px rgba(0, 153, 204, 0.15), -8px -8px 16px rgba(255, 255, 255, 0.7);
    border: none;
}

.wpmm-list-style_15 .wpmm-icon {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 4px 4px 8px rgba(0, 153, 204, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.5);
}

.wpmm-list-style_15 .wpmm-download-item:hover {
    box-shadow: inset 4px 4px 8px rgba(0, 153, 204, 0.2), inset -4px -4px 8px rgba(255, 255, 255, 0.5);
}


/* Screenshots Slider */
.mod-screenshots {
    margin-bottom: 20px;
}

.screenshot-slider {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.screenshot-slider img {
    flex: 0 0 300px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: start;
    border: 1px solid #eee;
}

.screenshot-slider::-webkit-scrollbar {
    height: 8px;
}

.screenshot-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.screenshot-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* Tabs */
.mod-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-link {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-link:hover {
    color: var(--primary-color);
}

.tab-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}