/*
Theme Name: LiteAPK Theme
Theme URI: https://liteapks.com
Author: LiteAPK Team
Author URI: https://liteapks.com
Description: A modern, responsive WordPress theme for APK download website similar to LiteAPKs.com. Features include card-based layout, category filtering, search functionality, and mobile-optimized design.
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: litapk-theme
Tags: apk, download, responsive, modern, cards, grid
*/

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00c853;
    --secondary-color: #00e676;
    --dark-bg: #0a0e27;
    --card-bg: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #b0b3c1;
    --border-color: #2a2f4a;
    --hover-color: #00e676;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 8px 24px rgba(0, 200, 83, 0.2);
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--hover-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hide featured image that appears before article content */
.apk-single .wp-post-image {
    display: none !important;
}

/* Hide apk-hero header section */
header.apk-hero {
    display: none !important;
}

/* Hero section styling for single posts */
.apk-single .rounded-lg.position-relative[style*="min-height: 450px"] {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%) !important;
    background-size: cover !important;
    background-position: center !important;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 20px 0;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.site-header {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-logo img {
    height: 45px;
    width: auto;
}

.search-form {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 14px 50px 14px 20px;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition);
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.05);
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.header-nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-nav-list li a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-nav-list li a:hover,
.header-nav-list li a:focus {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */
.main-navigation {
    background: rgba(10, 14, 39, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: block;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: var(--primary-color);
    background: rgba(0, 200, 83, 0.1);
}

/* Dropdown Menu */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 100;
}

.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.sub-menu li a:hover {
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-color);
    padding-left: 25px;
}

/* ==========================================================================
   Hero/Banner Section
   ========================================================================== */
.hero-banner {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ==========================================================================
   Category Filter Tabs
   ========================================================================== */
.category-filters {
    background: rgba(26, 31, 58, 0.6);
    padding: 10px 0; /* Dikecilkan dari 20px */
    margin-bottom: 15px; /* Dikecilkan dari 30px */
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.filter-divider {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 0;
    margin: 0 15px;
}

/* FOR APPS/GAMES di pojok KIRI dan MENYALA */
.filter-divider-left {
    margin-left: 0;
    padding-left: 0;
    order: -1; /* Pindah ke paling kiri */
}

.filter-divider::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    border-radius: 10px;
}

.filter-divider-left::before {
    animation: glow 2s ease-in-out infinite;
}

/* Glow animation untuk garis vertikal */
@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    }
}

.divider-text {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    opacity: 1;
    padding: 8px 16px;
    background: rgba(0, 200, 83, 0.15);
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 20px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Pulse glow animation untuk text */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 200, 83, 0.5), 0 0 30px rgba(0, 200, 83, 0.3);
    }
}

.divider-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.filter-tab {
    padding: 8px 18px; /* Dikecilkan dari 12px 24px */
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px; /* Dikecilkan dari 14px */
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Baris ke-2 untuk Games */
.filter-tabs-row2 {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* Category Sections - Vertical Layout */
.category-section {
    margin-bottom: 35px; /* Dikecilkan dari 60px */
}

.category-section-games {
    margin-top: 40px; /* Dikecilkan dari 80px */
    padding-top: 25px; /* Dikecilkan dari 40px */
    border-top: 2px solid rgba(0, 200, 83, 0.2);
}

/* ==========================================================================
   APK Grid/Cards
   ========================================================================== */
.apk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 50px;
}

.apk-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.apk-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.apk-card-image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2f4a 0%, #1a1f3a 100%);
}

.apk-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.apk-card:hover .apk-card-image img {
    transform: scale(1.05);
}

.apk-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.apk-card-content {
    padding: 12px;
}

.apk-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    line-height: 1.4;
}

.apk-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    color: var(--text-secondary);
}

.apk-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.apk-meta-item svg,
.apk-meta-item i {
    width: 12px;
    height: 12px;
    color: var(--primary-color);
}

.apk-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.apk-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-tag {
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.apk-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.btn-download {
    flex: 1;
    padding: 8px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Single page large download button */
.btn-download-large {
    display: block;
    width: 100%;
    text-align: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--shadow);
}

.btn-download-large:hover { background: var(--secondary-color); box-shadow: var(--shadow-hover); }

/* Single layout basics */
.apk-single { margin-top: 20px; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); margin: 8px 0 20px; font-size: 14px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-secondary); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--primary-color); }
.breadcrumbs span:last-child { color: var(--text-primary); font-weight: 500; }
/* Hero Section */
.apk-hero { position: relative; margin-bottom: 30px; }
.apk-hero-image { position: relative; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; max-height: 960px; min-height: 220px; }
.apk-hero-image img { width: 100%; height: 0%; object-fit: cover; display: block; }
.apk-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,14,39,0.3) 0%, rgba(10,14,39,0.85) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.apk-hero-overlay .apk-title { font-size: 32px; font-weight: 800; color: #fff; margin: 0; line-height: 1.3; display: inline-block; padding: 10px 16px; background: rgba(0, 60, 130, 0.8); border-radius: 8px; text-transform: uppercase; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.apk-version-hero { margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--primary-color); background: rgba(0,200,83,0.15); padding: 6px 14px; border-radius: 20px; display: inline-block; }
.apk-meta-line { margin-top: 12px; color: rgba(255,255,255,0.9); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.apk-hero .rounded-lg { position: relative; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); height: 620px; }
.apk-hero .rounded-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apk-hero .position-absolute { position: absolute !important; }
.apk-hero .d-flex { display: flex !important; }
.apk-hero .align-items-center { align-items: center !important; }
.apk-hero .justify-content-center { justify-content: center !important; }
.apk-hero .text-center { text-align: center !important; }
.apk-hero .text-white { color: #ffffff !important; }
.apk-hero .p-4 { padding: 1.5rem !important; }
.apk-hero .p-md-5 { padding: 3rem !important; }
.apk-hero .h2 { font-size: 28px; line-height: 1.4; margin: 0; }
.apk-hero .font-weight-bold { font-weight: 700 !important; }
.apk-hero .d-block { display: block !important; }
.apk-hero time { margin-top: 12px; font-size: 14px; opacity: 0.9; }
.apk-hero time svg { margin-right: 0.25rem; vertical-align: middle; }
/* Hero Title - Uniform Style for All Posts */
.apk-hero .apk-title,
.apk-hero-overlay .apk-title,
.apk-hero .h2.font-weight-bold,
.apk-hero-overlay .h2.font-weight-bold { 
    font-size: 28px; 
    font-weight: 700; 
    color: #fff !important; 
    margin: 0 0 12px 0; 
    line-height: 1.4; 
    text-align: center;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    display: inline-block !important;
    text-transform: uppercase;
}

.apk-details { margin-bottom: 16px; }
.apk-details-list { list-style: none; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.detail-item { display: flex; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--border-color); }
.detail-item strong { color: var(--text-primary); }
.detail-item span { color: var(--text-secondary); }
.detail-item:last-child { border-bottom: none; }

.apk-screenshots .screenshots-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; }
.apk-screenshots .screenshot img { border-radius: 8px; box-shadow: var(--shadow); }

.apk-details-image img { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }


/* Hero overlay */
.apk-hero-image { position: relative; }
.apk-hero-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; }
/* Removed deprecated .apk-details-desc styles - now handled by single.php template */
.apk-details-title { text-align: center; padding: 6px 0; }
.apk-details-title .apk-title { font-size: 24px; font-weight: 800; }
.apk-details-title .apk-meta-line { margin-top: 4px; color: var(--text-secondary); font-size: 13px; }


/* Single Post Container Max Width */
.apk-single .apk-hero { max-width: 100%; margin-left: auto; margin-right: auto; }
.apk-single .entry-content,
.apk-single .entry-content .apk-details-list,
.apk-single .apk-rating,
.apk-single .apk-share,
.apk-single .apk-download,
.apk-single .apk-screenshots,
.apk-single .mod-info-section,
.apk-single .btn-explore,
.apk-single .article-sections { max-width: 860px; margin-left: 5px; margin-right: auto; }

/* Recommended Section */
.apk-recommended { margin: 50px 0; max-width: 100%; }
.apk-recommended .section-title { font-size: 26px; font-weight: 800; color: var(--text-primary); margin-bottom: 25px; text-align: center; padding-bottom: 12px; border-bottom: 3px solid var(--primary-color); }
.apk-hero-image img { width: 100%; height: 80%; object-fit: cover; display: block; }
.apk-hero-desc { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 10px 12px; margin: 12px 0; color: var(--text-secondary); font-style: italic; }

.apk-hero-desc { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 10px 12px; margin: 12px 0; color: var(--text-secondary); }

/* Details rows */
.apk-details { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; margin: 12px 0; box-shadow: var(--shadow); }
.apk-details-image { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 10px; }
.apk-details-image img { width: 100%; height: 260px; object-fit: cover; border-radius: 0; }
/* Removed deprecated .apk-details-desc styles - now handled by single.php template */

.content-area article { max-width: 100%; overflow: hidden; }
.content-area { overflow: hidden; }
/* Hide old/broken HTML structures from old posts */
.entry-content .rounded-lg { max-width: 100%; overflow: hidden; }
.entry-content [style*="min-height: 200px"] { max-height: 100% !important; }
.entry-content [style*="width: 100%"] img { max-width: 100% !important; }
.entry-content { margin: 25px 0; color: var(--text-secondary); line-height: 1.9; font-size: 15px; max-width: 100%; overflow: hidden; }
/* Hide first/large images that might be featured image duplicates */
.entry-content > p:first-child img[class*="wp-image"],
.entry-content > figure:first-child img,
.entry-content > img:first-child,
.entry-content img[width="1200"],
.entry-content img[width="800"],
.entry-content img.size-large:first-of-type,
.entry-content img.aligncenter:first-of-type { display: none; }
/* Force all content images to fit container */
.entry-content img { max-width: 100% !important; height: auto !important; display: block !important; margin: 0 auto !important; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { color: var(--text-primary); margin: 35px 0 20px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: 1px; }
.entry-content h2 { font-size: 24px; border-bottom: none; padding: 15px 0; background: rgba(0, 200, 83, 0.1); border-radius: 8px; }
.entry-content h3 { font-size: 20px; }
.entry-content h4 { font-size: 18px; text-transform: none; }
.entry-content p { margin-bottom: 16px; text-align: center; }
.entry-content ul, .entry-content ol { margin: 16px 0; padding-left: 30px; }
.entry-content ul li, .entry-content ol li { margin-bottom: 10px; }
.entry-content ul li { list-style: disc; }
.entry-content strong { color: var(--text-primary); font-weight: 600; }
.entry-content em { font-style: italic; color: var(--primary-color); }
.entry-content a { color: var(--primary-color); text-decoration: underline; }
.entry-content a:hover { color: var(--secondary-color); }
.entry-content .small.bg-light.rounded { background: rgba(255,255,255,0.06) !important; border: 1px solid var(--border-color); border-radius: 10px; padding: 10px 12px; margin: 10px 0; color: var(--text-primary); text-align: center; font-weight: 700; }
.entry-content em.align-middle { background: rgba(255,255,255,0.06); border: 1px solid var(--border-color); border-radius: 10px; padding: 10px 12px; margin: 10px 0; color: var(--text-primary); text-align: center; font-weight: 700; font-style: normal; display: block; }
/* APK Details List */
.apk-details-list { list-style: none; margin: 20px 0; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.detail-item { display: grid; grid-template-columns: 30px 140px 1fr; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border-color); transition: background 0.2s ease; }
.detail-item:nth-child(even) { background: rgba(255,255,255,0.02); }
.detail-item:hover { background: rgba(255,255,255,0.05); }
.detail-item:last-child { border-bottom: none; }
.detail-item .icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.detail-item .icon i { font-size: 16px; color: var(--primary-color); }
.detail-item strong { color: var(--text-secondary); font-weight: 400; font-size: 14px; }
.detail-item .value { color: var(--text-primary); font-weight: 500; font-size: 14px; }
.detail-item .value .play-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: rgba(0, 200, 83, 0.15); border: 1px solid var(--primary-color); color: var(--primary-color); font-weight: 600; text-decoration: none; transition: var(--transition); }
.detail-item .value .play-link:hover { background: var(--primary-color); color: #fff; }

/* Rating Section */
.apk-rating { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; margin: 20px 0; background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); border-radius: 12px; }
.apk-rating .stars { display: flex; gap: 4px; }
.apk-rating .stars i.fas, .apk-rating .stars i.far { color: #ffc107; font-size: 18px; }
.apk-rating .rating-value { color: var(--text-primary); font-weight: 600; font-size: 16px; }

/* Share buttons */
.apk-share { display: flex; gap: 8px; margin: 20px 0; flex-wrap: wrap; justify-content: center; }
.apk-share .share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px; font-weight: 500; border-radius: 6px; transition: var(--transition); }
.apk-share .share-btn.fb { background: #1877f2; color: #fff; border: none; }
.apk-share .share-btn.fb:hover { background: #145dbf; }
.apk-share .share-btn.tw { background: #1da1f2; color: #fff; border: none; }
.apk-share .share-btn.tw:hover { background: #0d8bd9; }
.apk-share .share-btn.pin { background: #e60023; color: #fff; border: none; }
.apk-share .share-btn.pin:hover { background: #c5001f; }
.apk-share .share-btn.lin { background: #0077b5; color: #fff; border: none; }
.apk-share .share-btn.lin:hover { background: #006097; }
.apk-share .share-btn.email { background: var(--card-bg); color: var(--text-secondary); border: 1px solid var(--border-color); }
.apk-share .share-btn.email:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Explore button */
.btn-explore { display: block; width: 100%; max-width: 860px; margin: 20px auto; padding: 10px 16px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-secondary); font-weight: 600; text-align: center; font-size: 14px; }
.btn-explore:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Screenshots Section */
.apk-screenshots { margin: 30px 0; }
.apk-screenshots .screenshots-row { display: flex; gap: 12px; overflow-x: auto; padding: 10px 0; scrollbar-width: thin; scrollbar-color: var(--primary-color) var(--card-bg); }
.apk-screenshots .screenshots-row::-webkit-scrollbar { height: 6px; }
.apk-screenshots .screenshots-row::-webkit-scrollbar-track { background: var(--card-bg); border-radius: 10px; }
.apk-screenshots .screenshots-row::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; }
.apk-screenshots .screenshot { flex: 0 0 auto; width: 200px; }
.apk-screenshots .screenshot img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--border-color); transition: transform 0.3s ease; }
.apk-screenshots .screenshot img:hover { transform: scale(1.05); }

/* MOD Info Section */
.mod-info-section { margin: 25px 0; }
.mod-info-details { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.mod-info-details summary { padding: 14px 18px; font-weight: 600; font-size: 15px; color: var(--text-primary); cursor: pointer; user-select: none; background: rgba(0, 200, 83, 0.08); border-left: 4px solid var(--primary-color); }
.mod-info-details summary:hover { background: rgba(0, 200, 83, 0.15); }
.mod-info-details[open] summary { border-bottom: 1px solid var(--border-color); }
.mod-info-content { padding: 16px 18px; color: var(--text-secondary); line-height: 1.8; }
.mod-info-content ul { margin: 10px 0; padding-left: 20px; }
.mod-info-content ul li { margin-bottom: 8px; color: var(--text-primary); }
.mod-info-content p { margin-bottom: 12px; }

/* Download Buttons */
.apk-download { margin: 25px 0; }
.btn-download-large { display: block; width: 100%; max-width: 860px; margin: 0 auto; padding: 16px 24px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); border: none; border-radius: 12px; color: #fff; font-size: 16px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3); transition: var(--transition); }
.btn-download-large:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4); background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); }
.btn-download-large i { margin-right: 8px; }
.apk-download-bottom { margin: 30px 0 40px; }

/* Download Page Accordion Styles */
.accordion { margin-bottom: 1rem; }
.accordion .border { border: 1px solid var(--border-color) !important; }
.accordion .rounded { border-radius: 8px !important; }
.accordion .toggler { 
    display: flex !important;
    align-items: center;
    padding: 12px 16px;
    background: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.accordion .toggler:hover {
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-color);
}
.accordion .toggler.collapsed {
    border-radius: 8px;
}
.accordion .collapse { 
    border-top: 1px solid var(--border-color);
}
.accordion .collapse .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-secondary);
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
}
.accordion .collapse .p-3 {
    padding: 16px !important;
}

/* Download Button in Accordion */
.accordion .btn-light {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    transition: var(--transition);
}
.accordion .btn-light:hover {
    background-color: rgba(0, 200, 83, 0.1) !important;
    border-color: var(--primary-color) !important;
}
.accordion .svg-5 {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.accordion .svg-primary {
    color: var(--primary-color);
}
.accordion .text-uppercase {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
}
.accordion .ml-auto {
    margin-left: auto;
}

/* Warning Box */
.warning-box {
    background-color: #e6f4e6 !important; 
    border: 1px solid #d3e0d3 !important; 
    border-radius: 10px !important;
    padding: 15px !important; 
    margin: 20px auto !important;
    max-width: 600px !important; 
    font-family: Arial, sans-serif !important; 
    font-size: 16px !important;
    color: #2e4b2e !important; 
    text-align: center !important;
}

/* Download Notes */
.small {
    font-size: 14px;
    line-height: 1.6;
}
.small p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.small ol {
    padding-left: 20px;
    color: var(--text-secondary);
}
.small ol li {
    margin-bottom: 8px;
}
.small strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Tags on Download Page */
.d-flex.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}
.btn-light.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 20px;
    transition: var(--transition);
    text-decoration: none;
}
.btn-light.btn-sm:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Rating on Download Page */
.rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.rating .stars {
    display: flex;
    gap: 2px;
}
.rating .stars i {
    font-size: 16px;
}

.rating-stars i.fas, .rating-stars i.far { color: #ffc107; margin-right: 2px; }
.apk-version { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.apk-version-hero { margin-top: 6px; font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }

.btn-download:hover {
    background: var(--secondary-color);
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Utility classes (Bootstrap-like) */
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.p-3 { padding: 1rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.rounded { border-radius: 0.25rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.border { border: 1px solid var(--border-color) !important; }
.bg-white { background-color: #1e233e !important; color: #111 !important; }
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.text-center { text-align: center !important; }
.text-white { color: #fff !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.d-block { display: block !important; }
.object-cover { object-fit: cover !important; }

/* Extra utilities used by POST.HTML */
.p-4 { padding: 1.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.h2 { font-size: 1.75rem; line-height: 1.4; }
.h5 { font-size: 1.25rem; line-height: 1.4; }
.h6 { font-size: 1rem; line-height: 1.4; }
.font-weight-bold { font-weight: 700 !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.align-items-end { align-items: flex-end !important; }
.overflow-auto { overflow: auto !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.small { font-size: 0.875rem; }
.d-none { display: none !important; }
.d-sm-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.collapsed { }
.collapse { display: none; }
.collapse.show { display: block; }
.row { display: flex; flex-wrap: wrap; margin-right: -0.5rem; margin-left: -0.5rem; }
.row-small { }
.col-auto { flex: 0 0 auto; width: auto; padding-right: 0.5rem; padding-left: 0.5rem; }
.col-small { max-width: 200px; }
.nav { display: flex; list-style: none; margin: 0; padding: 0; }
.list-shares { }
.d-inline-block { display: inline-block !important; }


.rating { display: inline-flex; align-items: center; gap: 4px; }
.accordion { margin: 1rem 0; }
.accordion-more-info { }
.accordion .border { border: 1px solid var(--border-color) !important; }
.accordion .rounded { border-radius: 0.25rem !important; }
.toggler { display: flex !important; align-items: center; padding: 0.5rem 0.75rem; background: var(--card-bg); color: var(--text-primary); text-decoration: none; font-size: 0.9rem; font-weight: 600; border-radius: 0.25rem; cursor: pointer; transition: var(--transition); }
.toggler:hover { background: rgba(0, 200, 83, 0.1); color: var(--primary-color); }
.toggler.collapsed { }
.table-of-contents { }
.mb-md-4 { margin-bottom: 1.5rem; }
.p-md-5 { padding: 3rem !important; }

.btn { display: inline-block; font-weight: 400; text-align: center; white-space: nowrap; vertical-align: middle; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; line-height: 1.5; border-radius: 0.25rem; text-decoration: none; cursor: pointer; }
.btn-light { color: #212529; background-color: #f8f9fa; border-color: #f8f9fa; }
.btn-light:hover { color: #212529; background-color: #e2e6ea; border-color: #dae0e5; text-decoration: none; }
.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; line-height: 1.5; border-radius: 0.2rem; }
.btn-block { display: block; width: 100%; }

/* Text helpers */
.text-uppercase { text-transform: uppercase !important; }
.text-left { text-align: left !important; }
.text-muted { color: var(--text-secondary) !important; }
.bg-light { background-color: rgba(255,255,255,0.06) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.font-weight-semibold { font-weight: 600 !important; }
.ml-auto { margin-left: auto !important; }

.svg-5 { width: 1.25rem; height: 1.25rem; }
.svg-6 { width: 1.5rem; height: 1.5rem; }
.svg-white { color: #fff !important; fill: #fff !important; }
.svg-primary { color: var(--primary-color) !important; fill: var(--primary-color) !important; }
.svg-secondary { color: var(--secondary-color) !important; fill: var(--secondary-color) !important; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 0.5rem 0.75rem; border-top: 1px solid var(--border-color); }
.table-striped tbody tr:nth-child(odd) { background-color: rgba(255,255,255,0.03); }
.table-borderless th, .table-borderless td { border: 0; }

.apk-card-image img { width: 100%; height: auto; transform: scale(1.06); transition: transform .2s ease; }
.apk-card-image { overflow: hidden; border-radius: 12px; }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition);
}

.pagination a:hover,
.pagination span.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-primary);
}

/* Widget Area - Sidebar in Single Post */
.widget-area {
    padding: 0;
}

.widget-area section {
    margin-bottom: 2rem;
}

.widget-area h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Archive Post Card in Sidebar */
.widget-area .archive-post,
.archive-post {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 12px;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.widget-area .archive-post:hover,
.archive-post:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Archive Post Inner Flex */
.archive-post .d-flex {
    display: flex;
    padding: 0.75rem;
}

.archive-post .flex-shrink-0 {
    flex-shrink: 0;
    width: 4rem;
    margin-right: 0.75rem;
}

.archive-post .flex-shrink-0 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.archive-post .rounded-lg {
    border-radius: 8px;
}

/* Archive Post Title and Meta */
.archive-post h3,
.archive-post h6 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.archive-post .h6 {
    font-size: 14px;
}

.archive-post .font-weight-semibold {
    font-weight: 600;
}

.archive-post .text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-post .w-100 {
    width: 100%;
}

.archive-post .mb-1 {
    margin-bottom: 0.25rem;
}

/* Archive Post Small Meta Info */
.archive-post .small {
    font-size: 12px;
    line-height: 1.5;
}

.archive-post .text-muted {
    color: var(--text-secondary);
}

.archive-post .text-danger {
    color: #dc3545;
}

/* SVG Icons in Archive Post */
.archive-post .svg-6 {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

.archive-post .svg-secondary {
    fill: var(--text-secondary);
    opacity: 0.7;
}

.archive-post .mr-1 {
    margin-right: 0.25rem;
}

.archive-post .align-middle {
    vertical-align: middle;
}

/* Sidebar Headings */
.widget-area .h4 {
    font-size: 18px;
}

.widget-area .font-weight-bold {
    font-weight: 700;
}

.widget-area .mb-3 {
    margin-bottom: 1rem;
}

.widget-area .mb-4 {
    margin-bottom: 1.5rem;
}

/* Text Body Color */
.text-body {
    color: var(--text-primary) !important;
}

/* Background White for Cards */
.bg-white {
    background-color: #1e233e !important;
}

/* Border Utilities */
.border {
    border: 1px solid var(--border-color) !important;
}

.rounded {
    border-radius: 8px !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* Overflow Hidden */
.overflow-hidden {
    overflow: hidden;
}

/* Display Block */
.d-block {
    display: block !important;
}

/* Height 100% */
.h-100 {
    height: 100%;
}

/* Position Relative */
.position-relative {
    position: relative;
}

/* Min Width for Text Container */
[style*="min-width: 0"] {
    min-width: 0;
    flex: 1;
}

/* Article Sections - Downloads, Developer, Recommended */
.article-sections {
    margin-top: 40px;
}

.article-sections section {
    margin-bottom: 40px;
}

.article-sections h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-sections .apk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.article-sections .downloads-count {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.article-sections .downloads-count .count {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.article-sections .downloads-count .label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-sections .developer-info {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.article-sections .developer-info .icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-sections .developer-info .icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.article-sections .developer-info .info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.article-sections .developer-info .info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Table Styling for APK Details */
.entry-content table,
.table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.entry-content table.table-striped tbody tr:nth-child(odd),
.table-striped tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.entry-content table.table-borderless,
.table-borderless {
    border: 1px solid var(--border-color);
}

.entry-content table th,
.entry-content table td,
.table th,
.table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.entry-content table th,
.table th {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 14px;
    width: 45%;
}

.entry-content table td,
.table td {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    width: 55%;
}

.entry-content table tbody tr:last-child th,
.entry-content table tbody tr:last-child td,
.table tbody tr:last-child th,
.table tbody tr:last-child td {
    border-bottom: none;
}

.entry-content table tbody tr:hover,
.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Google Play Link in Table */
.liteapks-play img {
    max-height: 1.5rem;
    vertical-align: middle;
}

/* Screenshots/Gallery Section */
.overflow-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.row-small {
    margin-left: -5px;
    margin-right: -5px;
}

.col-small {
    padding-left: 5px;
    padding-right: 5px;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.align-items-end {
    align-items: flex-end;
}

.col-auto {
    flex: 0 0 auto;
    width: auto;
}

/* Gallery Images */
.overflow-auto img {
    max-height: 300px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.overflow-auto img:hover {
    transform: scale(1.05);
}

/* Accordion More Info */
.accordion-more-info {
    margin-bottom: 1rem;
}

.accordion-more-info .rounded {
    border-radius: 8px !important;
}

.accordion-more-info .toggler {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.accordion-more-info .toggler:hover {
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-color);
}

/* List Shares - Social Media Buttons */
.list-shares {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.list-shares li {
    margin: 0;
}

.list-shares a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
}

.list-shares .facebook {
    background: #1877f2;
    color: #fff;
}

.list-shares .facebook:hover {
    background: #145dbf;
}

.list-shares .twitter {
    background: #1da1f2;
    color: #fff;
}

.list-shares .twitter:hover {
    background: #0d8bd9;
}

.list-shares .pinterest {
    background: #e60023;
    color: #fff;
}

.list-shares .pinterest:hover {
    background: #c5001f;
}

.list-shares .linkedin {
    background: #0077b5;
    color: #fff;
}

.list-shares .linkedin:hover {
    background: #006097;
}

.list-shares .email {
    background: var(--card-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.list-shares .email:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Download Versions Section */
#download-versions {
    margin: 30px 0;
}

#download-versions .border {
    border: 1px solid var(--border-color) !important;
}

#download-versions .rounded {
    border-radius: 8px !important;
}

#download-versions .bg-primary {
    background-color: var(--primary-color) !important;
}

#download-versions .h6 {
    font-size: 1rem;
    margin: 0;
    padding: 12px 16px;
    font-weight: 600;
}

#download-versions .text-white {
    color: #fff !important;
}

#download-versions .btn {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 6px;
}

#download-versions .btn:hover {
    background-color: rgba(0, 200, 83, 0.1) !important;
    border-color: var(--primary-color) !important;
}

#download-versions .text-uppercase {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
}

#download-versions .text-muted {
    color: var(--text-secondary) !important;
}

#download-versions .ml-auto {
    margin-left: auto;
}

/* Table of Contents */
.table-of-contents {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.table-of-contents a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 6px 0;
}

.table-of-contents a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 5px 0;
    transition: var(--transition);
}

.widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.widget ul li a .count {
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* ==========================================================================
   Single Post/Page Styles
   ========================================================================== */
.single-apk-header {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.apk-header-content {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    align-items: start;
}

.apk-icon {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.apk-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apk-info h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.apk-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.download-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.btn-download-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-download-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.content-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.content-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul,
.content-section ol {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.content-section li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.8;
}

/* ==========================================================================
   Comments Section
   ========================================================================== */
.comments-area {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.comment-list {
    margin-bottom: 30px;
}

.comment {
    padding: 20px;
    background: rgba(10, 14, 39, 0.5);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.comment-meta {
    flex: 1;
}

.comment-author-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.comment-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.comment-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form button[type="submit"] {
    padding: 15px 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}

.comment-form button[type="submit"]:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
    .apk-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .search-form {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .primary-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        padding: 80px 20px 20px;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .primary-menu.active {
        left: 0;
    }
    
    .primary-menu > li {
        width: 100%;
    }
    
    .primary-menu > li > a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .apk-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .apk-header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .apk-icon {
        margin: 0 auto;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .header-nav-list {
        display: none;
    }
    
    /* Single Post Mobile Styles */
    .apk-hero-image img { height: 100%; }
    .apk-hero-overlay .apk-title { font-size: 24px; }
    .apk-share { flex-direction: column; gap: 10px; }
    .apk-share .share-btn { width: 100%; justify-content: center; }
    .apk-screenshots .screenshot { width: 160px; }
    .detail-item { grid-template-columns: 24px 1fr; gap: 10px; }
    .detail-item .icon { grid-row: 1 / 3; }
    .detail-item strong { grid-column: 2; }
    .detail-item .value { grid-column: 2; }
}

@media (max-width: 480px) {
    .apk-grid {
        grid-template-columns: 1fr;
    }
    
    .site-logo {
        font-size: 22px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .filter-tab {
        white-space: nowrap;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.hidden {
    display: none;
}

.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ==========================================================================
   Social Share Buttons - Enhanced
   ========================================================================== */
.list-shares {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-shares li {
    margin: 0;
}

.list-shares .btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    color: #fff;
}

.list-shares .btn i {
    font-size: 16px;
}

.list-shares .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
    text-decoration: none;
}

/* Platform Colors */
.list-shares .facebook {
    background: #1877f2;
}

.list-shares .facebook:hover {
    background: #0c63d4;
}

.list-shares .twitter {
    background: #1da1f2;
}

.list-shares .twitter:hover {
    background: #0c8dd9;
}

.list-shares .pinterest {
    background: #e60023;
}

.list-shares .pinterest:hover {
    background: #bd001c;
}

.list-shares .linkedin {
    background: #0077b5;
}

.list-shares .linkedin:hover {
    background: #005582;
}

.list-shares .whatsapp {
    background: #25d366;
}

.list-shares .whatsapp:hover {
    background: #1ebe57;
}

.list-shares .telegram {
    background: #0088cc;
}

.list-shares .telegram:hover {
    background: #006699;
}

.list-shares .email {
    background: #ea4335;
}

.list-shares .email:hover {
    background: #d33828;
}

/* Responsive Share Buttons */
@media (max-width: 576px) {
    .list-shares .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .list-shares .btn i {
        font-size: 14px;
    }
}

/* ==========================================================================
   PRIMARY CONTENT AREA - APK Table, Rating, Share Buttons
   ========================================================================== */

/* APK Table Wrapper */
.apk-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.apk-table-wrapper:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* APK Info Table */
.table-apk-info {
    width: 100%;
    margin-bottom: 0;
    background: transparent;
}

.table-apk-info tbody tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background-color 0.2s ease;
}

.table-apk-info tbody tr:last-child {
    border-bottom: none;
}

.table-apk-info tbody tr:hover {
    background-color: rgba(var(--primary-rgb), 0.02);
}

/* Table Labels (TH) */
.table-label {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: left;
    vertical-align: middle;
    width: 45%;
}

/* Table Values (TD) */
.table-value {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    vertical-align: middle;
    width: 55%;
}

.table-value-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.table-value-warning {
    color: #ff6b6b;
    font-weight: 700;
}

/* Genre Link */
.genre-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.genre-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Google Play Link */
.liteapks-play-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.liteapks-play-link:hover {
    transform: scale(1.05);
}

.google-play-badge {
    max-height: 1.5rem;
    height: auto;
    width: auto;
}

/* ==========================================================================
   APK Rating Section
   ========================================================================== */

.apk-rating-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.apk-rating-wrapper:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.apk-rating-inner {
    display: flex;
    align-items: center;
}

.rating-stars-container {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 0.75rem;
}

.star-icon {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.star-icon:hover {
    transform: scale(1.1);
}

.star-full {
    color: #ffc107;
}

.star-half {
    color: #ffc107;
}

.star-empty {
    color: #ddd;
}

.rating-text-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-divider {
    margin: 0 2px;
    color: var(--text-secondary);
    font-weight: 400;
}

.rating-max {
    color: var(--text-secondary);
    font-weight: 400;
}

.rating-votes-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 8px;
}

.votes-number {
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   Share Buttons Section
   ========================================================================== */

.apk-share-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.apk-share-wrapper:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.share-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.share-buttons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-item {
    margin: 0;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    color: #fff;
}

.share-icon {
    font-size: 16px;
    margin-right: 4px;
}

.share-text {
    font-size: 13px;
    font-weight: 500;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .apk-table-wrapper,
    .apk-rating-wrapper,
    .apk-share-wrapper {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .table-label,
    .table-value {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .rating-stars-container {
        margin-right: 0.5rem;
    }
    
    .star-icon {
        font-size: 16px;
    }
    
    .rating-text-value {
        font-size: 14px;
    }
    
    .share-title {
        font-size: 13px;
        margin-bottom: 0.75rem;
    }
}

/* ==========================================================================
   SECONDARY CONTENT AREA - Sidebar Widget Area
   ========================================================================== */

/* Widget Area Container */
.widget-area {
    padding: 0;
}

.widget-area section {
    margin-bottom: 2rem;
}

/* Widget Headings */
.widget-area h4,
.widget-area .h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.widget-area h4::after,
.widget-area .h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Archive Post Card - Sidebar */
.widget-area .archive-post,
.archive-post {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.widget-area .archive-post:hover,
.archive-post:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    text-decoration: none;
}

/* Archive Post Inner Flex */
.archive-post .d-flex {
    display: flex;
    padding: 0.75rem;
    align-items: flex-start;
}

.archive-post .flex-shrink-0 {
    flex-shrink: 0;
    width: 4rem;
    margin-right: 0.75rem;
}

.archive-post .flex-shrink-0 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.archive-post .rounded-lg,
.archive-post .rounded {
    border-radius: 8px;
}

/* Archive Post Content */
.archive-post h3,
.archive-post .h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.archive-post:hover h3,
.archive-post:hover .h6 {
    color: var(--primary-color);
}

.archive-post .small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
    display: block;
}

.archive-post .text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.archive-post .text-muted {
    color: var(--text-secondary);
}

.archive-post .text-danger {
    color: #dc3545;
    font-weight: 600;
}

/* SVG Icons in Sidebar */
.svg-6 {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

.svg-secondary {
    fill: var(--text-secondary);
}

/* Sidebar Meta Info */
.archive-post .align-middle {
    vertical-align: middle;
}

/* Responsive Sidebar */
@media (max-width: 991px) {
    .widget-area {
        margin-top: 2rem;
    }
    
    .widget-area h4,
    .widget-area .h4 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .archive-post .d-flex {
        padding: 0.5rem;
    }
    
    .archive-post .flex-shrink-0 {
        width: 3.5rem;
        margin-right: 0.5rem;
    }
    
    .archive-post h3,
    .archive-post .h6 {
        font-size: 0.85rem;
    }
    
    .archive-post .small {
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   Entry Content - Article Typography
   ========================================================================== */

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.entry-content p {
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }
.entry-content h5 { font-size: 1.1rem; }
.entry-content h6 { font-size: 1rem; }

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}

.entry-content a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.entry-content code {
    background: var(--card-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-color);
}

.entry-content pre {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.entry-content pre code {
    background: transparent;
    padding: 0;
}

/* Responsive Entry Content */
@media (max-width: 768px) {
    .entry-content {
        font-size: 15px;
    }
    
    .entry-content h2 { font-size: 1.5rem; }
    .entry-content h3 { font-size: 1.3rem; }
    .entry-content h4 { font-size: 1.15rem; }
}

/* ==========================================================================
   Download Button - Large & Prominent
   ========================================================================== */

.apk-download-wrapper {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem 0;
}

.btn-download-apk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-download-apk::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-download-apk:hover::before {
    left: 100%;
}

.btn-download-apk:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.4);
    color: #ffffff;
    text-decoration: none;
}

.btn-download-apk:active {
    transform: translateY(-2px) scale(0.98);
}

.download-icon {
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.download-text {
    font-size: 18px;
    font-weight: 700;
}

.download-size {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    margin-left: 4px;
}

.download-version {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

/* Responsive Download Button */
@media (max-width: 768px) {
    .btn-download-apk {
        padding: 14px 36px;
        font-size: 16px;
    }
    
    .download-icon {
        font-size: 18px;
    }
    
    .download-text {
        font-size: 16px;
    }
    
    .download-size {
        font-size: 13px;
    }
    
    .download-version {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .btn-download-apk {
        padding: 12px 28px;
        font-size: 15px;
        flex-wrap: wrap;
    }
    
    .download-size,
    .download-version {
        display: block;
        width: 100%;
        margin: 4px 0 0 0;
    }
}