/*
Theme Name: GreenAPK Modern
Theme URI: https://liteapks.com
Author: APK Team
Author URI: https://liteapks.com
Description: A clean and modern WordPress theme perfect for APK download sites. Features gradient design, responsive layout, beautiful cards, and enhanced user experience.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greenapk-modern
Tags: apk, android, download, apps, games, modern, clean, responsive, mobile-friendly, green

Modern APK download theme with beautiful green design.
*/

/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
body {
    font-family: 'Segoe UI', 'Open Sans', -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

a {
    color: #7bbf3a;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #6ab030;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7bbf3a 0%, #6ab030 100%);
}

.site-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.site-title a {
    color: #212529;
    transition: all 0.3s ease;
}

.site-title a:hover {
    color: #7bbf3a;
    transform: scale(1.02);
}

.site-title .text-primary {
    color: #7bbf3a !important;
    font-weight: 900;
}

.site-description {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/*--------------------------------------------------------------
# Search Form
--------------------------------------------------------------*/
.search-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 25px 0 0 25px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    height: 40px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    border-color: #7bbf3a;
    box-shadow: 0 0 0 3px rgba(123, 191, 58, 0.1);
    background-color: #fff;
    outline: none;
}

.search-form .form-control::placeholder {
    color: #999;
    font-size: 0.875rem;
}

.search-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #7bbf3a;
    height: 40px;
    transition: all 0.3s ease;
}

.search-form .btn:hover {
    background-color: #7bbf3a;
    border-color: #7bbf3a;
    color: #fff;
    transform: translateX(2px);
}

.search-form .btn svg {
    transition: transform 0.3s ease;
}

.search-form .btn:hover svg path {
    fill: #fff;
}

.search-form .input-group {
    width: 280px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 25px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    color: #333;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: capitalize;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #7bbf3a 0%, #6ab030 100%);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: #7bbf3a;
}

.main-navigation a:hover::after {
    width: 80%;
}

.main-navigation li.current-menu-item a,
.main-navigation li.current_page_item a {
    color: #7bbf3a;
}

.main-navigation li.current-menu-item a::after,
.main-navigation li.current_page_item a::after {
    width: 80%;
}

/*--------------------------------------------------------------
# App Cards
--------------------------------------------------------------*/
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-color: #7bbf3a;
}

.card-img-top {
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #2d2d2d;
}

.card-title a {
    color: #2d2d2d;
}

.card-title a:hover {
    color: #7bbf3a;
}

.card-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.card .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    font-weight: 600;
}

.badge-primary {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    color: #fff;
}

/*--------------------------------------------------------------
# Category Navigation
--------------------------------------------------------------*/
.btn-outline-primary {
    color: #7bbf3a;
    border-color: #7bbf3a;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    border-color: #7bbf3a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 191, 58, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 191, 58, 0.4);
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination .page-link {
    color: #7bbf3a;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    padding: 0.6rem 1rem;
    margin: 0;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    border-color: #7bbf3a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 191, 58, 0.3);
}

.pagination .current,
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    border-color: #7bbf3a;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(123, 191, 58, 0.3);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7bbf3a 0%, #6ab030 50%, #7bbf3a 100%);
}

.site-footer h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer a {
    color: #b8b8b8;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.site-footer a:hover {
    color: #7bbf3a;
    padding-left: 5px;
}

.site-footer .menu li {
    margin-bottom: 0.75rem;
}

.site-footer .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(123, 191, 58, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.site-footer .socials a:hover {
    background-color: #7bbf3a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 191, 58, 0.3);
}

.site-footer .socials svg path {
    fill: #fff;
    transition: fill 0.3s ease;
}

.site-footer .bg-secondary {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%) !important;
    border-radius: 10px;
    padding: 1.5rem !important;
    box-shadow: 0 4px 15px rgba(123, 191, 58, 0.2);
}

.site-footer .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .search-form .input-group {
        width: 100%;
    }
    
    .site-header .container {
        padding: 0.5rem 15px;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.6rem;
    }
    
    .site-description {
        font-size: 0.75rem;
    }
    
    .recent-post-image {
        flex: 0 0 70px;
        height: 70px;
    }
    
    .recent-post-title {
        font-size: 0.95rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .site-footer h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    .recent-posts-section {
        padding: 15px;
    }
    
    .recent-post-item {
        flex-direction: column;
    }
    
    .recent-post-image {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
.text-primary {
    color: #7bbf3a !important;
}

.bg-primary {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%) !important;
}

.text-secondary {
    color: #f25132 !important;
}

.bg-secondary {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%) !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.object-fit-cover {
    object-fit: cover;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.gradient-text {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-primary {
    border-color: #7bbf3a !important;
}

.text-muted {
    color: #6c757d !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/*--------------------------------------------------------------
# Category Sections
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 1rem;
}

h2.h5,
.section-title {
    font-size: 1.5rem;
    border-bottom: 3px solid #7bbf3a;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

h2.h5::after,
.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #7bbf3a 0%, transparent 100%);
}

.btn-sm {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.section-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.recent-posts-section:hover {
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.recent-posts-section h2,
.recent-posts-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #7bbf3a;
    position: relative;
}

.recent-posts-section h2::after,
.recent-posts-section h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7bbf3a 0%, transparent 100%);
}

.recent-post-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-item:hover {
    padding-left: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.recent-post-image {
    flex: 0 0 80px;
    height: 80px;
    margin-right: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-image img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d2d2d;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post-title a {
    color: #2d2d2d;
    text-decoration: none;
}

.recent-post-title a:hover {
    color: #7bbf3a;
}

.recent-post-meta {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.recent-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.recent-post-meta .date {
    color: #7bbf3a;
    font-weight: 500;
}

/*--------------------------------------------------------------
# Widgets & Sidebar
--------------------------------------------------------------*/
.widget-area {
    padding-left: 20px;
}

/* Hide search widget in content area - keep only in sidebar */
.content-area .widget_search,
.site-content > .widget_search,
main .widget_search {
    display: none !important;
}

/* Hide standalone search boxes below content */
.site-content form[role="search"]:not(.search-form),
.entry-content form[role="search"],
article + form[role="search"] {
    display: none !important;
}

/* Keep only sidebar search visible */
.widget-area .widget_search {
    display: block !important;
}

.widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.widget:hover {
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.widget-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #7bbf3a;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7bbf3a 0%, transparent 100%);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li:hover {
    padding-left: 10px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.widget ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.widget ul li a:hover {
    color: #7bbf3a;
}

/* Search Widget */
.widget_search .search-form {
    position: relative;
}

.widget_search .search-field {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.widget_search .search-field:focus {
    border-color: #7bbf3a;
    box-shadow: 0 0 0 3px rgba(123, 191, 58, 0.1);
    outline: none;
}

.widget_search .search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.widget_search .search-submit:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(123, 191, 58, 0.3);
}

/* Categories Widget */
.widget_categories ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_categories ul li .count {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud a {
    display: inline-block;
    background: #f8f9fa;
    color: #333;
    padding: 6px 14px;
    margin: 4px;
    border-radius: 20px;
    font-size: 0.85rem !important;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.widget_tag_cloud .tagcloud a:hover {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    color: #fff;
    border-color: #7bbf3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(123, 191, 58, 0.2);
}

/* Archives Widget */
.widget_archive select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.widget_archive select:focus {
    border-color: #7bbf3a;
    box-shadow: 0 0 0 3px rgba(123, 191, 58, 0.1);
    outline: none;
}

/* Calendar Widget */
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
}

.widget_calendar th,
.widget_calendar td {
    text-align: center;
    padding: 8px;
    border: 1px solid #f0f0f0;
}

.widget_calendar th {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    color: #fff;
    font-weight: 600;
}

.widget_calendar td a {
    color: #7bbf3a;
    font-weight: 600;
}

.widget_calendar td a:hover {
    background: #7bbf3a;
    color: #fff;
    border-radius: 50%;
    display: block;
}

@media (max-width: 991px) {
    .widget-area {
        padding-left: 0;
        margin-top: 30px;
    }
}

/*--------------------------------------------------------------
# Download Buttons & App Info
--------------------------------------------------------------*/
.download-button,
.btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 191, 58, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.download-button::before,
.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.download-button:hover::before,
.btn-download:hover::before {
    left: 100%;
}

.download-button:hover,
.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 191, 58, 0.4);
    color: #fff;
}

.download-button svg,
.btn-download svg {
    margin-right: 10px;
    vertical-align: middle;
}

.app-info-table,
.post-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.app-info-table tr,
.post-info-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.app-info-table tr:last-child,
.post-info-table tr:last-child {
    border-bottom: none;
}

.app-info-table td,
.post-info-table td {
    padding: 15px 20px;
    font-size: 0.95rem;
}

.app-info-table td:first-child,
.post-info-table td:first-child {
    font-weight: 700;
    color: #2d2d2d;
    width: 35%;
    background: #f9f9f9;
}

.app-info-table td:last-child,
.post-info-table td:last-child {
    color: #666;
}

/*--------------------------------------------------------------
# Single Post Page
--------------------------------------------------------------*/
.single-post .entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #7bbf3a;
}

.single-post .entry-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 15px;
    line-height: 1.3;
}

.single-post .entry-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #777;
}

.single-post .entry-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-post .entry-meta svg {
    width: 14px;
    height: 14px;
}

.single-post .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.single-post .entry-content p {
    margin-bottom: 1.5rem;
}

.single-post .entry-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2d2d2d;
    font-weight: 700;
}

.single-post .entry-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #2d2d2d;
    font-weight: 700;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-post .entry-content ul li,
.single-post .entry-content ol li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.single-post .entry-content ul li::marker {
    color: #7bbf3a;
}

.single-post .entry-content img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 25px 0;
}

.single-post .entry-content blockquote {
    background: #f9f9f9;
    border-left: 4px solid #7bbf3a;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
    color: #555;
}

/* Hide search box below single post content */
.single article ~ form[role="search"],
.single .entry-content ~ form[role="search"],
.single main > form[role="search"],
.content-area > form[role="search"] {
    display: none !important;
}

/* Hide any standalone search section after article */
.single article + div:has(form[role="search"]),
.single article + section:has(form[role="search"]) {
    display: none !important;
}

/*--------------------------------------------------------------
# MOD Info Badges
--------------------------------------------------------------*/
.mod-info,
.premium-features {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 5px 5px 5px 0;
}

.mod-info svg,
.premium-features svg {
    width: 16px;
    height: 16px;
}

/*--------------------------------------------------------------
# Recommended Section
--------------------------------------------------------------*/
.recommended-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.recommended-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #7bbf3a;
    position: relative;
}

.recommended-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #7bbf3a 0%, transparent 100%);
}

/*--------------------------------------------------------------
# Comments Section
--------------------------------------------------------------*/
.comments-area {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comments-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #7bbf3a;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    border-color: #7bbf3a;
    box-shadow: 0 0 0 3px rgba(123, 191, 58, 0.1);
    outline: none;
}

.comment-form button[type="submit"],
.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form button[type="submit"]:hover,
.comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 191, 58, 0.3);
}

/*--------------------------------------------------------------
# Loading Animation
--------------------------------------------------------------*/
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/*--------------------------------------------------------------
# Scroll to Top Button
--------------------------------------------------------------*/
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(123, 191, 58, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(123, 191, 58, 0.4);
}

/*--------------------------------------------------------------
# Homepage Layout (Like liteapks.com)
--------------------------------------------------------------*/
.homepage-layout {
    background-color: #f5f7fa;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2d2d2d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* App Card Styles (Vertical) */
.app-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.app-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.app-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-meta {
    font-size: 0.75rem;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-meta svg {
    margin-right: 4px;
    vertical-align: middle;
}

.app-meta .version,
.app-meta .mod-features {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* App Card Horizontal (For Editor's Choice & Games) */
.app-card-horizontal {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.app-card-horizontal:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.app-icon-small {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 15px;
}

.app-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.app-icon-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-info-horizontal {
    flex: 1;
}

.app-title-horizontal {
    font-size: 1rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-meta-horizontal {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.app-meta-horizontal svg {
    margin-right: 4px;
    vertical-align: middle;
}

.mod-badge {
    display: inline-flex;
    font-size: 0.75rem;
    color: #ff6b6b;
    font-weight: 600;
}

.mod-badge svg {
    margin-right: 4px;
}

/* Section Styles */
.featured-section,
.editors-choice-section,
.games-latest-section,
.premium-latest-section,
.games-categories-section,
.apps-categories-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Category Buttons Grid */
.category-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.category-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-btn:hover {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    color: #fff;
    border-color: #7bbf3a;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(123, 191, 58, 0.3);
}

@media (max-width: 768px) {
    .category-buttons-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* View All Button */
.btn-success {
    background: linear-gradient(135deg, #7bbf3a 0%, #6ab030 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 191, 58, 0.3);
    color: #fff;
}

/* Responsive Homepage */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.4rem;
    }
    
    .app-card {
        padding: 12px;
    }
    
    .app-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .app-title {
        font-size: 0.85rem;
    }
    
    .app-meta {
        font-size: 0.7rem;
    }
    
    .app-icon-small {
        width: 60px;
        height: 60px;
    }
    
    .app-title-horizontal {
        font-size: 0.9rem;
    }
}