/* Platform Pages Styling - Moddroid Theme Compatible */

.platform-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
}

.platform-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.platform-title i {
    margin-right: 15px;
    font-size: 2.2rem;
}

.platform-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Platform Specific Colors */
.platform-android .platform-header {
    background: linear-gradient(135deg, #a4d65e 0%, #3ddc84 100%);
}

.platform-windows .platform-header {
    background: linear-gradient(135deg, #0078d4 0%, #106ebe 100%);
}

.platform-apple .platform-header {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
}

/* Section Styling - Match Theme Design */
.platform-section .bg-white {
    transition: all 0.3s ease;
}

.platform-section .bg-white:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.section-title {
    color: #333;
    padding-bottom: 0px;
}

.section-title i {
    margin-right: 8px;
}

/* Match theme's archive-post styling */
#listpost .archive-post {
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

#listpost .archive-post:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .platform-title {
        font-size: 1.5rem;
    }
    
    .platform-title i {
        font-size: 1.8rem;
    }
    
    .platform-header {
        padding: 20px 15px !important;
    }
}
/* LiteAPKs Style App Cards */
.app-card {
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.app-icon img {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.app-title a {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

.app-title a:hover {
    color: #007bff !important;
    text-decoration: none;
}

.app-meta .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.app-rating {
    font-size: 0.9rem;
}

.app-size {
    font-size: 0.8rem;
}

.app-actions .btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.app-actions .btn:hover {
    transform: scale(1.02);
}

/* Badge Colors - Transparent Background */
.badge-success {
    background-color: transparent !important;
    color: #28a745 !important;
    border: 1px solid #28a745 !important;
}

.badge-primary {
    background-color: transparent !important;
    color: #007bff !important;
    border: 1px solid #007bff !important;
}

.badge-warning {
    background: transparent !important;
    border: 1px solid #ffc107 !important;
    color: #ffc107 !important;
    font-weight: 600 !important;
}

.badge-info {
    background: transparent !important;
    border: 1px solid #17a2b8 !important;
    color: #17a2b8 !important;
    font-weight: 600 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .app-card {
        margin-bottom: 1rem;
    }
    
    .app-icon img {
        width: 50px;
        height: 50px;
    }
    
    .app-title {
        font-size: 0.9rem;
    }
}
/* Beautiful SVG Icons */
.app-size svg {
    vertical-align: middle;
    opacity: 0.7;
}

.app-meta .badge svg {
    width: 12px;
    height: 12px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Badge SVG Icon Colors - Updated for Transparent Badges */
.badge-success svg {
    color: #28a745 !important;
}

.badge-primary svg {
    color: #007bff !important;
}

.badge-warning svg {
    color: #ffc107 !important;
}

.badge-info svg {
    color: #17a2b8 !important;
}
/* Light Badge Styling */
.badge-light {
    background-color: transparent !important;
    color: #6c757d !important;
    border: 1px solid #dee2e6 !important;
}

.badge-light svg {
    color: #6c757d !important;
}
/* Content Line Height & Card Improvements */
.app-card {
    line-height: 1.4 !important;
}

.app-card:hover {
    border-color: #3b82f6 !important;
}

.app-title {
    line-height: 1.3 !important;
}

.app-title a {
    line-height: 1.3 !important;
}

.app-meta {
    line-height: 1.2 !important;
}

.app-size {
    line-height: 1.2 !important;
}

/* Tailwind-like utilities */
.leading-tight {
    line-height: 1.25 !important;
}

.leading-snug {
    line-height: 1.375 !important;
}

.border-2 {
    border-width: 2px !important;
}

.border-gray-200 {
    border-color: #e5e7eb !important;
}

.hover\:border-blue-500:hover {
    border-color: #7bbf3a !important;
}
/* App Title Margin Fix */
.app-title {
    margin-bottom: 0 !important;
}
/* Remove Section Title Border */
.section-title {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
/* Force Remove Section Title Border */
.section-title {
    border: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
/* Enhanced Card Design */
.app-card {
    border-radius: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.app-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%) !important;
}

.app-icon img {
    border-radius: 12px !important;
    transition: transform 0.3s ease !important;
}

.app-card:hover .app-icon img {
    transform: scale(1.05) !important;
}

.app-title a:hover {
    color: #007bff !important;
    text-decoration: none !important;
}

/* Category Cards Styling */
.category-card {
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.category-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2) !important;
}

.category-icon i {
    transition: transform 0.3s ease !important;
}

.category-card:hover .category-icon i {
    transform: scale(1.1) !important;
}

.category-title a {
    font-weight: 600 !important;
    text-decoration: none !important;
}

.category-title a:hover {
    text-decoration: none !important;
    color: #ffffff !important;
}

/* Different Category Colors */
.category-card:nth-child(4n+1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.category-card:nth-child(4n+2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.category-card:nth-child(4n+3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.category-card:nth-child(4n+4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
}

/* Rating Stars */
.app-rating .fas.fa-star {
    color: #ffc107 !important;
    font-size: 0.8rem !important;
}



/* Section Background Variations */
.platform-section:nth-child(even) .bg-white {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.platform-section:nth-child(odd) .bg-white {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%) !important;
}

/* Mobile Responsive for Categories */
@media (max-width: 768px) {
    .category-card {
        margin-bottom: 1rem !important;
        padding: 2rem 1rem !important;
    }
    
    .category-icon i {
        font-size: 1.5rem !important;
    }
    
    .category-title {
        font-size: 1rem !important;
    }
}