@charset "UTF-8";

/* ============================================
   App Market - Frontend
   Version: 1.0.0
   ============================================ */

/* ============================================
   Reset & Base Settings
   ============================================ */
@import url(fontiran.css);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     text-align: justify;
}

body {
    font-family: 'IRANSansX', system-ui, sans-serif;
    background: #fff;
    color: #0f172a;
    padding-top: 72px;
    direction: rtl;
}

.front-main {
    min-height: calc(100vh - 72px);
    margin-top: 10px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Developer Show Page - Similar to Farsrood
   ============================================ */

.developer-show-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* ===== Developer Header ===== */
.developer-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
}

.developer-header-content {
    display: flex;
    align-items: center;
    gap: 28px;
}

.developer-logo-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.developer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.developer-logo-placeholder {
    font-size: 40px;
    color: #94a3b8;
}

.developer-info {
    flex: 1;
}

.developer-name {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.developer-name-en {
    font-size: 14px;
    color: #94a3b8;
    display: block;
    margin-bottom: 8px;
}

.developer-stats {
    display: flex;
    gap: 32px;
    margin: 8px 0 10px;
    flex-wrap: wrap;
}

.developer-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 22px;
    font-weight: 700;
    color: #6366f1;
}

.stat-label {
    font-size: 12px;
    color: #94a3b8;
}

.developer-website {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
}

.developer-website i {
    color: #6366f1;
}

.developer-website a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.developer-website a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.developer-description {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

/* ============================================
   SVG Stars (Using Sprite)
   ============================================ */

.star-icon {
    flex-shrink: 0;
}

/* Full Star (Golden) */
.star-full {
    color: #f59e0b;
    fill: #f59e0b;
}

/* Half Star */
.star-half {
    color: #f59e0b;
    fill: #f59e0b;
}

/* Empty Star (Gray) */
.star-empty {
    color: #2e2e2e;
    stroke: #9d0606;
    fill: none;
}

.star-empty use {
    stroke: #727272;
    fill: none;
}

/* ============================================
   Meta Icons (Category & Developer)
   ============================================ */

.meta-icon {
    color: #6366f1;
    flex-shrink: 0;
}

.app-hero-category,
.app-hero-developer {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #64748b;
    background: #f8fafc;
    padding: 2px 12px;
    border-radius: 999px;
    border: 1px solid #f1f5f9;
}

.app-hero-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-number {
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    margin-right: 4px;
}



/* ============================================
   Rating Number Buttons
   ============================================ */

.review-rating-numbers {
    margin-bottom: 8px;
}

.rating-numbers-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.rating-numbers-wrapper input[type="radio"] {
    display: none;
}

.rating-number-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #94a3b8;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    user-select: none;
}

.rating-number-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

/* Selected State */
.rating-numbers-wrapper input[type="radio"]:checked + .rating-number-btn {
    border-color: #6366f1;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

/* Different Colors for Each Number */
.rating-numbers-wrapper input[type="radio"]:checked + .rating-number-btn[for="rating-1"] {
    border-color: #ef4444;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
}

.rating-numbers-wrapper input[type="radio"]:checked + .rating-number-btn[for="rating-2"] {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.rating-numbers-wrapper input[type="radio"]:checked + .rating-number-btn[for="rating-3"] {
    border-color: #facc15;
    background: linear-gradient(135deg, #facc15, #ca8a04);
    box-shadow: 0 4px 16px rgba(250, 204, 21, 0.25);
}

.rating-numbers-wrapper input[type="radio"]:checked + .rating-number-btn[for="rating-4"] {
    border-color: #22c55e;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
}

.rating-numbers-wrapper input[type="radio"]:checked + .rating-number-btn[for="rating-5"] {
    border-color: #22c55e;
    background: linear-gradient(135deg, #22c55e, #15803d);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
}

/* ===== Feedback Message ===== */
.rating-feedback {
    text-align: center;
    min-height: 24px;
}

.rating-text {
    font-size: 14px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.rating-text.active {
    color: #0f172a;
    font-weight: 600;
}

/* ===== Mobile ===== */
@media (max-width: 576px) {
    .rating-number-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .rating-numbers-wrapper {
        gap: 6px;
    }
}



/* ============================================
   Hero Right Buttons
   ============================================ */

.app-hero-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex-shrink: 0;
    min-width: 140px;
}

/* ===== Download Button ===== */
.app-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #13a549, #098336);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(19, 165, 73, 0.25);
    width: 100%;
    font-family: inherit;
}

.app-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(19, 165, 73, 0.35);
    color: #fff;
}

.app-download-btn svg {
    stroke: #fff;
    flex-shrink: 0;
}

.app-download-btn-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-download-btn-text small {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.8;
    direction: ltr;
}

/* ===== Bookmark Button ===== */
.app-bookmark-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
    position: relative;
}

.app-bookmark-btn:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
    transform: translateY(-2px);
}

.app-bookmark-btn.active {
    border-color: #ef4444;
    background: #fef2f2;
}

.app-bookmark-btn.active .heart-icon {
    fill: #ef4444;
    stroke: #ef4444;
}

.app-bookmark-btn.active .app-bookmark-text {
    color: #ef4444;
}

.heart-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.app-bookmark-text {
    transition: color 0.3s ease;
    font-size: 14px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991px) {
    .app-hero-right {
        flex-direction: row;
        width: 100%;
        gap: 10px;
        min-width: unset;
    }
    
    .app-download-btn {
        flex: 1;
        padding: 12px 18px;
        font-size: 14px;
        min-width: 100px;
    }
    
    .app-bookmark-btn {
        flex: 0 0 auto;
        padding: 10px 14px;
        min-width: 48px;
        width: auto;
    }
    
    .app-bookmark-text {
        display: none;
    }
    
    .app-bookmark-btn .heart-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 576px) {
    .app-download-btn {
        padding: 10px 14px;
        font-size: 13px;
        gap: 6px;
        border-radius: 10px;
    }
    
    .app-download-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .app-download-btn-text small {
        font-size: 10px;
    }
    
    .app-bookmark-btn {
        padding: 8px 12px;
        min-width: 42px;
        border-radius: 10px;
    }
    
    .app-bookmark-btn .heart-icon {
        width: 18px;
        height: 18px;
    }
}

.developer-description p {
    font-size: 14px;
    line-height: 1.9;
    color: #475569;
    margin: 0;
}

/* ===== Filter Bar ===== */
.developer-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    margin-bottom: 24px;
}

.developer-filter-left,
.developer-filter-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-result {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

/* ===== Apps Grid (Similar to Farsrood) ===== */
.developer-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.developer-app-item {
    background: #fff;
    border-radius: 16px;
    padding: 16px 12px 14px;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    text-align: center;
}

.developer-app-item:hover {
    transform: translateY(-6px);
    border-color: #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.developer-app-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.developer-app-logo-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 120px;
    margin: 0 auto 12px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
}

.developer-app-item:hover .developer-app-logo {
    transform: scale(1.05);
}

/* ============================================
   Bookmark Page
   ============================================ */

.bookmarks-show-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* ===== Bookmark Header ===== */
.bookmarks-header {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 28px;
    border: 1px solid #fecaca;
}

.bookmarks-header-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bookmarks-header-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.bookmarks-header-info {
    flex: 1;
}

.bookmarks-header-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.bookmarks-header-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 8px 0;
}

.bookmarks-header-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.bookmarks-header-stat {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bookmarks-header-stat i {
    color: #ef4444;
}

/* ===== Apps Grid (Similar to Cafe Bazaar) ===== */
.bookmarks-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.bookmark-app-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
}

.bookmark-app-item:hover {
    transform: translateY(-4px);
    border-color: #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.bookmark-app-link {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

/* ===== Logo Without Border ===== */
.bookmark-app-logo-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 120px;
    margin: 0 auto 10px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookmark-app-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.bookmark-app-item:hover .bookmark-app-logo-img {
    transform: scale(1.05);
}

.bookmark-app-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 32px;
}

/* ===== Details ===== */
.bookmark-app-details {
    text-align: center;
}

.bookmark-app-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bookmark-app-name-en {
    font-size: 11px;
    color: #383838;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bookmark-app-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: #383838;
}

.bookmark-app-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #383838;
    font-size: 11px;
}

.bookmark-app-rating .far {
    color: #e2e8f0;
}

.bookmark-app-rating .rating-number {
    color: #64748b;
    font-weight: 600;
    font-size: 11px;
    margin-right: 2px;
}

.bookmark-app-size {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #94a3b8;
    font-size: 11px;
}

.bookmark-app-size i {
    font-size: 10px;
}

.bookmark-app-date {
    display: inline-block;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 4px;
    background: #f8fafc;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid #f1f5f9;
}

.bookmark-app-date i {
    font-size: 9px;
    color: #94a3b8;
}

/* ===== Remove Button ===== */
.bookmark-remove-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #fef2f2;
    color: #ef4444;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.bookmark-app-item:hover .bookmark-remove-btn {
    opacity: 1;
}

.bookmark-remove-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.1);
}

/* ===== Empty State ===== */
.bookmarks-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
}

.bookmarks-empty i {
    font-size: 56px;
    color: #e2e8f0;
    display: block;
    margin-bottom: 16px;
}

.bookmarks-empty h3 {
    font-size: 20px;
    color: #475569;
    margin-bottom: 8px;
}

.bookmarks-empty p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991px) {
    .bookmarks-header {
        padding: 24px 20px;
    }
    
    .bookmarks-header-content {
        gap: 16px;
    }
    
    .bookmarks-header-icon {
        width: 60px;
        height: 60px;
    }
    
    .bookmarks-header-title {
        font-size: 22px;
    }
    
    .bookmarks-apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .bookmarks-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .bookmark-app-logo-wrapper {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .bookmark-app-name {
        font-size: 12px;
    }
    
    .bookmark-app-meta-row {
        font-size: 10px;
        gap: 4px;
        flex-wrap: wrap;
    }
    
    .bookmark-app-rating {
        font-size: 10px;
    }
    
    .bookmark-app-size {
        font-size: 10px;
    }
    
    .bookmark-remove-btn {
        opacity: 1;
        width: 24px;
        height: 24px;
        font-size: 10px;
        top: 4px;
        left: 4px;
    }
}

@media (max-width: 575px) {
    .bookmarks-show-section {
        padding: 16px 12px 40px;
    }
    
    .bookmarks-header {
        padding: 16px 14px;
        border-radius: 14px;
    }
    
    .bookmarks-header-content {
        gap: 12px;
    }
    
    .bookmarks-header-icon {
        width: 50px;
        height: 50px;
    }
    
    .bookmarks-header-title {
        font-size: 18px;
    }
    
    .bookmarks-header-desc {
        font-size: 12px;
    }
    
    .bookmarks-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .bookmark-app-item {
        padding: 8px;
        border-radius: 12px;
    }
    
    .bookmark-app-logo-wrapper {
        border-radius: 10px;
    }
    
    .bookmark-app-logo-img {
        padding: 4px;
    }
    
    .bookmark-app-name {
        font-size: 11px;
    }
    
    .bookmark-app-name-en {
        font-size: 9px;
    }
    
    .bookmark-app-meta-row {
        font-size: 9px;
    }
    
    .bookmark-app-rating {
        font-size: 9px;
    }
    
    .bookmark-app-rating .rating-number {
        font-size: 9px;
    }
    
    .bookmark-app-size {
        font-size: 9px;
    }
    
    .bookmark-app-date {
        font-size: 8px;
        padding: 1px 8px;
    }
    
    .bookmark-remove-btn {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }
}

@media (max-width: 380px) {
    .bookmarks-apps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

.developer-app-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 32px;
}

.developer-app-info {
    text-align: center;
}

.developer-app-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.developer-app-name-en {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.developer-app-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 11px;
    color: #94a3b8;
}

.developer-app-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.developer-app-date i {
    font-size: 10px;
    color: #94a3b8;
}

.developer-app-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 11px;
}

.developer-app-rating .far {
    color: #e2e8f0;
}

.developer-app-rating .rating-number {
    color: #64748b;
    font-weight: 600;
    font-size: 11px;
    margin-right: 2px;
}

/* ===== Pagination ===== */
.developer-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.developer-pagination .pagination {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
}

.developer-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.developer-pagination .page-item .page-link:hover {
    background: #f8fafc;
    border-color: #c7d2fe;
}

.developer-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: #6366f1;
    color: #fff;
}

.developer-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Empty State ===== */
.developer-empty {
    text-align: center;
    padding: 60px 20px;
}

.developer-empty i {
    font-size: 56px;
    color: #cbd5e1;
    display: block;
    margin-bottom: 16px;
}

.developer-empty h3 {
    font-size: 20px;
    color: #475569;
    margin-bottom: 8px;
}

.developer-empty p {
    font-size: 14px;
    color: #94a3b8;
}

/* ============================================
   Social Channels with SVG
   ============================================ */

.social-channel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
    border: none;
}

.social-channel:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
}

/* ===== Platform Colors ===== */
.telegram-channel {
    background: linear-gradient(135deg, #0088cc, #00a3e0);
}

.rubika-channel {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.eita-channel {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.bale-channel {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* ===== Mobile State ===== */
@media (max-width: 576px) {
    .social-channel {
        padding: 8px 14px;
        font-size: 12px;
        gap: 8px;
        border-radius: 10px;
    }
    
    .social-svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991px) {
    .developer-header {
        padding: 24px 20px;
    }
    
    .developer-header-content {
        gap: 20px;
    }
    
    .developer-logo-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .developer-name {
        font-size: 24px;
    }
    
    .developer-apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .developer-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    
    .developer-stats {
        justify-content: center;
    }
    
    .developer-website {
        justify-content: center;
    }
    
    .developer-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .developer-app-item {
        padding: 12px 8px 10px;
    }
    
    .developer-app-logo-wrapper {
        max-width: 100%;
    }
    
    .developer-app-name {
        font-size: 12px;
    }
    
    .developer-app-meta {
        font-size: 10px;
        gap: 6px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .developer-show-section {
        padding: 16px 12px 40px;
    }
    
    .developer-header {
        padding: 16px 14px;
        border-radius: 14px;
    }
    
    .developer-logo-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .developer-logo-placeholder {
        font-size: 28px;
    }
    
    .developer-name {
        font-size: 20px;
    }
    
    .developer-name-en {
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .developer-description p {
        font-size: 13px;
        line-height: 1.8;
    }
    
    .developer-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .developer-app-item {
        padding: 8px 4px 8px;
        border-radius: 12px;
    }
    
    .developer-app-logo-wrapper {
        border-radius: 10px;
        margin-bottom: 6px;
    }
    
    .developer-app-logo {
        padding: 4px;
    }
    
    .developer-app-name {
        font-size: 11px;
    }
    
    .developer-app-name-en {
        font-size: 9px;
    }
    
    .developer-app-meta {
        font-size: 9px;
        gap: 4px;
    }
    
    .developer-app-rating {
        font-size: 9px;
    }
    
    .developer-app-rating .rating-number {
        font-size: 9px;
    }
    
    .developer-app-date {
        font-size: 9px;
    }
    
    .developer-filter-bar {
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .developer-filter-left,
    .developer-filter-right {
        justify-content: center;
    }
}


/* ============================================
   Container Settings & Spacing (Similar to Bazaar)
   ============================================ */

.list-section {
    padding: 12px 0px 8px 0px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
}

/* ===== List Header ===== */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding: 0 4px;
}

.list-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.list-title small {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

.list-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6366f1;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* ============================================
   App Card (Smaller - Similar to Bazaar)
   ============================================ */

.app-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 2px;
    transition: background 0.3s ease;
}

.app-card:hover {
    background: #f8fafc;
}

.app-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ===== Logo ===== */
.app-card-image {
    width: 100%;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-card-logo-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.app-card-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px !important;
    max-height: 100px;
}

/* ===== Info ===== */
.app-card-info {
    padding: 2px 4px 4px;
    text-align: center;
}

.app-card-name {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-card-name-en {
    font-size: 9px;
    color: #94a3b8;
    display: block;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    font-size: 9px;
    color: #f59e0b;
}

.app-card-rating .far {
    color: #e2e8f0;
}

.app-card-category {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 8px;
    color: #94a3b8;
    background: #f8fafc;
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid #f1f5f9;
    margin-bottom: 2px;
}

/* ============================================
   Swiper Spacing Settings
   ============================================ */

.list-swiper {
    padding: 0px 0px 4px;
}

.list-swiper .swiper-slide {
    height: auto;
    padding: 0 2px;
}

.list-swiper .swiper-button-next,
.list-swiper .swiper-button-prev {
    color: #6366f1;
    background: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.list-swiper .swiper-button-next::after,
.list-swiper .swiper-button-prev::after {
    font-size: 10px;
}

.list-swiper .swiper-button-next {
    right: 0;
}

.list-swiper .swiper-button-prev {
    left: 0;
}

/* ============================================
   Responsive Mobile
   ============================================ */

@media (max-width: 480px) {
    .container {
        padding: 0 6px;
    }
    
    .list-section {
        padding: 8px 0px 4px 0px;
    }
    
    .list-title {
        font-size: 14px;
    }
    
    .list-view-all {
        font-size: 11px;
        gap: 4px;
    }
    
    .app-card-logo {
        max-height: 70px;
        border-radius: 10px !important;
    }
    
    .app-card-name {
        font-size: 10px;
    }
    
    .app-card-name-en {
        font-size: 8px;
    }
    
    .app-card-rating {
        font-size: 8px;
    }
    
    .list-swiper .swiper-slide {
        padding: 0 1px;
    }
    
    .list-swiper .swiper-button-next,
    .list-swiper .swiper-button-prev {
        width: 22px;
        height: 22px;
    }
    
    .list-swiper .swiper-button-next::after,
    .list-swiper .swiper-button-prev::after {
        font-size: 8px;
    }
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}

/* ============================================
   Links
   ============================================ */

a {
    text-decoration: none;
    color: #0000ff;
}

p a,
.text-content a {
    text-decoration: underline;
    color: #6366f1;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    padding: 40px 0 50px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    text-align: center;
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.hero-title span {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
    color: #fff;
}

.hero-btn-outline {
    border: 2px solid #e2e8f0;
    color: #475569;
}

.hero-btn-outline:hover {
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-3px);
}

/* ============================================
   Slider
   ============================================ */

.slider-section {
    padding: 0 0 40px;
}

.main-slider {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.slider-link {
    display: block;
    width: 100%;
}

.slider-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.slider-link:hover .slider-image {
    transform: scale(1.02);
}

/* ============================================
   Categories Pages
   ============================================ */

.categories-page-section {
    padding: 30px 0 60px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.categories-page-header {
    text-align: center;
    margin-bottom: 32px;
}

.categories-page-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.categories-page-title i {
    color: #6366f1;
    margin-left: 12px;
}

.categories-page-subtitle {
    font-size: 16px;
    color: #94a3b8;
}

/* ===== Category Search ===== */
.categories-search-wrapper {
    margin-bottom: 32px;
}

.categories-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 0 16px;
    transition: all 0.3s ease;
}

.categories-search-box:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
    background: #fff;
}

.categories-search-box i {
    color: #94a3b8;
    font-size: 16px;
}

.categories-search-input {
    flex: 1;
    padding: 14px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #0f172a;
    outline: none;
    font-family: inherit;
}

.categories-search-input::placeholder {
    color: #94a3b8;
}

/* ===== Categories Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.category-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    padding: 16px 18px;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.06);
    transform: translateY(-4px);
}

.category-card-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.category-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.category-icon-placeholder {
    font-size: 24px;
    color: #94a3b8;
}

.category-card-info {
    flex: 1;
    min-width: 0;
}

.category-card-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.category-card-count {
    font-size: 12px;
    color: #94a3b8;
}

.category-card-arrow {
    color: #94a3b8;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-arrow {
    transform: translateX(-4px);
    color: #6366f1;
}

/* ===== Subcategories in Card ===== */
.category-sub-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.category-sub-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f8fafc;
    border-radius: 999px;
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-sub-item:hover {
    background: #eef2ff;
    color: #6366f1;
}

.category-sub-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 4px;
}

.category-sub-icon-placeholder {
    font-size: 12px;
    color: #94a3b8;
}

.category-sub-more {
    font-size: 12px;
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 10px;
}

.category-sub-more:hover {
    color: #4f46e5;
}

.categories-search-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.categories-search-empty i {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.categories-search-empty p {
    font-size: 16px;
}

.categories-empty {
    text-align: center;
    padding: 60px 20px;
}

.categories-empty i {
    font-size: 56px;
    color: #cbd5e1;
    display: block;
    margin-bottom: 16px;
}

.categories-empty h3 {
    font-size: 20px;
    color: #475569;
    margin-bottom: 8px;
}

.categories-empty p {
    font-size: 14px;
    color: #94a3b8;
}

/* ============================================
   Category Show Page
   ============================================ */

.category-show-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* ===== Category Header ===== */
.category-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
}

.category-header-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.category-header-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.category-header-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.category-header-placeholder {
    font-size: 32px;
    color: #6366f1;
}

.category-header-info {
    flex: 1;
}

.category-header-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.category-header-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 8px 0;
}

.category-header-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.category-header-stat {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-header-stat i {
    color: #6366f1;
}

/* ===== Filter Bar ===== */
.category-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    margin-bottom: 28px;
}

.category-filter-left,
.category-filter-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.filter-select {
    padding: 8px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    color: #0f172a;
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

/* ===== Apps Grid ===== */
.category-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.category-app-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.category-app-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-app-image {
    position: relative;
    height: 160px;
    background: #f1f5f9;
    overflow: hidden;
}

.category-app-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-app-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.category-app-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-app-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.category-app-logo-big {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.category-app-cover-placeholder i {
    font-size: 40px;
    color: #94a3b8;
}

.category-app-info {
    padding: 14px 16px 12px;
}

.category-app-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-app-name-en {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-app-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #f59e0b;
    margin-bottom: 6px;
}

.category-app-rating .rating-number {
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    margin-right: 4px;
}

.category-app-rating .far {
    color: #e2e8f0;
}

.category-app-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #94a3b8;
}

.category-app-meta i {
    font-size: 10px;
    color: #94a3b8;
}

.category-app-size,
.category-app-version {
    display: flex;
    align-items: center;
    gap: 3px;
}

.category-app-download {
    padding: 0 16px 14px;
}

.category-app-download-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #eef2ff;
    color: #6366f1;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

/* ===== Pagination ===== */
.category-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.category-pagination .pagination {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
}

.category-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-pagination .page-item .page-link:hover {
    background: #f8fafc;
    border-color: #c7d2fe;
}

.category-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: #6366f1;
    color: #fff;
}

.category-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Empty State ===== */
.category-empty {
    text-align: center;
    padding: 60px 20px;
}

.category-empty i {
    font-size: 56px;
    color: #cbd5e1;
    display: block;
    margin-bottom: 16px;
}

.category-empty h3 {
    font-size: 20px;
    color: #475569;
    margin-bottom: 8px;
}

.category-empty p {
    font-size: 14px;
    color: #94a3b8;
}

/* ============================================
   Categories Pages Responsive
   ============================================ */

@media (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .category-apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 14px;
    }
    
    .category-header {
        padding: 24px 20px;
    }
    
    .category-header-content {
        gap: 16px;
    }
    
    .category-header-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-header-title {
        font-size: 22px;
    }
    
    .category-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 16px;
    }
    
    .category-filter-left,
    .category-filter-right {
        width: 100%;
        justify-content: flex-start;
    }
    
    .filter-select {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .categories-page-section {
        padding: 16px 12px 40px;
    }
    
    .categories-page-title {
        font-size: 24px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .category-card {
        padding: 14px;
    }
    
    .category-card-icon {
        width: 44px;
        height: 44px;
    }
    
    .category-card-name {
        font-size: 14px;
    }
    
    .category-sub-list {
        gap: 4px;
    }
    
    .category-sub-item {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .category-show-section {
        padding: 16px 12px 40px;
    }
    
    .category-header {
        padding: 16px 14px;
        border-radius: 14px;
    }
    
    .category-header-content {
        gap: 12px;
    }
    
    .category-header-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .category-header-placeholder {
        font-size: 22px;
    }
    
    .category-header-title {
        font-size: 18px;
    }
    
    .category-header-desc {
        font-size: 12px;
    }
    
    .category-header-stats {
        gap: 12px;
    }
    
    .category-header-stat {
        font-size: 11px;
    }
    
    .category-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-app-image {
        height: 120px;
    }
    
    .category-app-logo {
        width: 36px;
        height: 36px;
    }
    
    .category-app-info {
        padding: 10px 12px 8px;
    }
    
    .category-app-name {
        font-size: 13px;
    }
    
    .category-app-name-en {
        font-size: 10px;
    }
    
    .category-app-rating {
        font-size: 11px;
    }
    
    .category-app-meta {
        font-size: 10px;
        gap: 8px;
    }
    
    .category-app-download {
        padding: 0 12px 10px;
    }
    
    .category-app-download-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .category-filter-bar {
        padding: 12px 14px;
        border-radius: 10px;
        gap: 8px;
    }
    
    .filter-label {
        font-size: 12px;
    }
    
    .filter-select {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* ============================================
   App Card - Similar to Cafe Bazaar
   ============================================ */

.category-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1px;
    margin-bottom: 20px;
}

.category-app-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-app-item:hover {
    transform: translateY(-4px);
    border-color: #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.category-app-link {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

/* ===== Logo Without Border ===== */
.category-app-logo-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 120px;
    margin: 0 auto 10px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-app-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.category-app-item:hover .category-app-logo-img {
    transform: scale(1.05);
}

.category-app-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 32px;
}

/* ===== Details ===== */
.category-app-details {
    text-align: center;
}

.category-app-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-app-name-en {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-app-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: #94a3b8;
}

.category-app-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 11px;
}

.category-app-rating .far {
    color: #e2e8f0;
}

.category-app-rating .rating-number {
    color: #64748b;
    font-weight: 600;
    font-size: 11px;
    margin-right: 2px;
}

.category-app-size {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #94a3b8;
    font-size: 11px;
}

.category-app-size i {
    font-size: 10px;
}

/* ============================================
   Infinite Scroll Loader
   ============================================ */

.infinite-scroll-loader {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.loader-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f1f5f9;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.end-of-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
    color: #94a3b8;
    font-size: 14px;
}

.end-of-list i {
    color: #22c55e;
    font-size: 20px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .category-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .category-app-logo-wrapper {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .category-app-name {
        font-size: 12px;
    }
    
    .category-app-meta-row {
        font-size: 10px;
        gap: 4px;
        flex-wrap: wrap;
    }
    
    .category-app-rating {
        font-size: 10px;
    }
    
    .category-app-size {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .category-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .category-app-item {
        padding: 8px;
        border-radius: 12px;
    }
    
    .category-app-logo-wrapper {
        border-radius: 10px;
    }
    
    .category-app-logo-img {
        padding: 4px;
    }
    
    .category-app-name {
        font-size: 11px;
    }
    
    .category-app-name-en {
        font-size: 9px;
    }
    
    .category-app-meta-row {
        font-size: 9px;
    }
    
    .category-app-rating {
        font-size: 9px;
    }
    
    .category-app-rating .rating-number {
        font-size: 9px;
    }
    
    .category-app-size {
        font-size: 9px;
    }
}

@media (max-width: 380px) {
    .category-apps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .category-app-image {
        height: 100px;
    }
}

.swiper-pagination-bullet {
    background: #94a3b8;
    opacity: 0.6;
}
.swiper-pagination-bullet-active {
    background: #6366f1;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}

/* ============================================
   Home Page Lists
   ============================================ */

.list-section {
    padding: 20px 0px 0px 10px;
    animation: fadeInUp 0.6s ease both;
}
.list-section:nth-child(1) { animation-delay: 0.1s; }
.list-section:nth-child(2) { animation-delay: 0.2s; }
.list-section:nth-child(3) { animation-delay: 0.3s; }
.list-section:nth-child(4) { animation-delay: 0.4s; }
.list-section:nth-child(5) { animation-delay: 0.5s; }
.list-section:nth-child(even) {
    background: #fff;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 12px;
}

.list-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.list-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.list-section:hover .list-icon {
    transform: rotate(-8deg) scale(1.1);
}

.list-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.list-title small {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

.list-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6366f1;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    padding: 6px 0;
}
.list-view-all::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}
.list-view-all:hover {
    gap: 12px;
    color: #4f46e5;
}
.list-view-all:hover::after {
    width: 100%;
}

/* ============================================
   App Card (Home Page) - Reduced Spacing
   ============================================ */

.app-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
    padding: 2px;
}

.app-card:hover {
    background: #f8fafc;
}

.app-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ===== Image & Logo ===== */
.app-card-image {
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    position: relative;
    overflow: hidden;
    margin: 0;
}

/* ==========================================
   App Quick Info
   ========================================== */
.app-quick-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.quick-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
    border-color: #c7d2fe;
}

.quick-info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #6366f1;
    font-size: 16px;
}

.quick-info-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.quick-info-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-info-label {
    font-size: 11px;
    color: #383838;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ===== Mobile State ===== */
@media (max-width: 991px) {
    .app-quick-info {
        padding: 15px;
        border-radius: 12px;
        margin: 0 0 25px 0;
    }
    
    .quick-info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .quick-info-item {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .quick-info-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .quick-info-value {
        font-size: 12px;
    }
    
    .quick-info-label {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .quick-info-item {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .quick-info-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 11px;
    }
    
    .quick-info-value {
        font-size: 11px;
    }
}


/* ===== Checklist & Crosslist Styles ===== */
ul.checklist,
ul.crosslist {
    list-style: none;
    padding-right: 0;
    margin: 10px 0;
}

ul.checklist li,
ul.crosslist li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 8px;
    line-height: 1.6;
}

ul.checklist li::before {
    content: "✅";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
}

ul.crosslist li::before {
    content: "❌";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
}

/* Style for Editor Display */
.cke_editable ul.checklist li::before,
.cke_editable ul.crosslist li::before {
    content: attr(data-icon);
}

/* Style for Frontend Display */
.app-description ul.checklist,
.app-description ul.crosslist {
    list-style: none;
    padding-right: 0;
}

.app-description ul.checklist li,
.app-description ul.crosslist li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 8px;
}

.app-description ul.checklist li::before {
    content: "✅";
    position: absolute;
    right: 0;
    top: 0;
}

.app-description ul.crosslist li::before {
    content: "❌";
    position: absolute;
    right: 0;
    top: 0;
}

.app-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    pointer-events: none;
}

.app-card-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.app-card-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px !important;
    background: transparent;
    max-height: 120px;
}

.app-card-placeholder {
    width: 60px;
    height: 60px;
    background: #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #94a3b8;
}

/* ===== Card Info ===== */
.app-card-info {
    padding: 2px 8px 8px;
    text-align: center;
}

.app-card-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.app-card-name-en {
    font-size: 10px;
    color: #000000;
    font-weight: 400;
    display: block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.app-card-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: #94a3b8;
    background: #f8fafc;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid #f1f5f9;
    margin-bottom: 4px;
}
.app-card-category i {
    font-size: 8px;
    color: #6366f1;
}

.app-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 11px;
    color: #f59e0b;
    direction: ltr;
}
.app-card-rating .far {
    color: #e2e8f0;
}

/* ============================================
   Cover Image Mode
   ============================================ */

.app-card-cover-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: transparent;
}

.app-card-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.app-card-cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    border-radius: 0 0 16px 16px;
}

.app-card-cover-logo {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.app-card-cover-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.app-card-cover-info {
    position: absolute;
    bottom: 14px;
    left: 14px;
    color: #fff;
    text-align: left;
}
.app-card-cover-info .app-card-name {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.app-card-cover-info .app-card-name-en {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Swiper Override
   ============================================ */

.list-swiper {
    padding: 4px 2px 8px;
}
.list-swiper .swiper-slide {
    height: auto;
    padding: 0 2px;
}

.list-swiper .swiper-button-next,
.list-swiper .swiper-button-prev {
    color: #6366f1;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.list-swiper .swiper-button-next::after,
.list-swiper .swiper-button-prev::after {
    font-size: 12px;
}
.list-swiper .swiper-button-next {
    right: 0;
}
.list-swiper .swiper-button-prev {
    left: 0;
}
.list-swiper .swiper-button-disabled {
    opacity: 0.3;
}

/* ============================================
   Ninth Card Partial Display
   ============================================ */

.list-swiper .swiper-slide:last-child {
    opacity: 0.85;
    mask-image: linear-gradient(to left, transparent 0%, black 25%, black 100%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 25%, black 100%);
}

.list-swiper .swiper-slide:last-child .app-card {
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.list-swiper .swiper-slide:last-child .app-card:hover {
    transform: scale(0.97);
}

/* ============================================
   Empty State
   ============================================ */

.empty-section {
    padding: 80px 0;
    text-align: center;
}
.empty-content i {
    font-size: 56px;
    color: #cbd5e1;
    display: block;
    margin-bottom: 16px;
}
.empty-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}
.empty-content p {
    font-size: 14px;
    color: #94a3b8;
}

/* ============================================
   Header with Glass Effect
   ============================================ */

.front-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    transition: all 0.3s ease;
}
.front-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

/* ============================================
   App Detail Page
   ============================================ */

.app-detail-section {
    padding: 30px 0 60px;
}

/* ============================================
   Three Column Layout
   ============================================ */

.app-three-columns {
    display: flex;
    gap: 24px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    align-items: flex-start;
}

.app-col-left {
    flex: 0 0 15%;
    min-width: 160px;
    position: sticky;
    top: 92px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.app-col-right {
    flex: 0 0 15%;
    min-width: 160px;
    position: sticky;
    top: 92px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.app-col-center {
    flex: 1;
    min-width: 0;
}

.app-col-left::-webkit-scrollbar,
.app-col-right::-webkit-scrollbar {
    width: 3px;
}
.app-col-left::-webkit-scrollbar-track,
.app-col-right::-webkit-scrollbar-track {
    background: transparent;
}
.app-col-left::-webkit-scrollbar-thumb,
.app-col-right::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 999px;
}
.app-col-left::-webkit-scrollbar-thumb:hover,
.app-col-right::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* ============================================
   App Hero
   ============================================ */

.app-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    border-radius: 24px;
    padding: 32px 36px;
    margin-bottom: 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 20px;
}

.app-hero-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.app-icon-wrapper {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.06);
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-icon-placeholder {
    font-size: 40px;
    color: #94a3b8;
}

.app-hero-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-name {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.app-name-en {
    font-size: 13px;
    color: #383838;
}

.app-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 4px;
}

.app-hero-category,
.app-hero-developer {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    padding: 2px 12px;
    border-radius: 999px;
    border: 1px solid #f1f5f9;
}
.app-hero-category i,
.app-hero-developer i {
    color: #6366f1;
    font-size: 11px;
}

.app-hero-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #f59e0b;
}
.app-hero-rating .rating-number {
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
}

.app-hero-category-mobile {
    display: none;
}

/* ============================================
   Download & Favorite Buttons
   ============================================ */

.app-hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 40px;
    background: linear-gradient(135deg, #13a549, #098336);
    color: #fff;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    min-width: 180px;
    width: 100%;
}
.app-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(99, 102, 241, 0.4);
    color: #fff;
}
.app-download-btn i {
    font-size: 18px;
}
.app-download-btn-text {
    display: flex;
    align-items: center;
    gap: 6px;
}
.app-download-btn-text small {
    font-weight: 400;
    font-size: 12px;
    opacity: 0.8;
}

.app-favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 40px;
    background: #fff;
    color: #475569;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    width: 100%;
}
.app-favorite-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.1);
}
.app-favorite-btn i {
    font-size: 18px;
    color: #94a3b8;
    transition: color 0.3s ease;
}
.app-favorite-btn:hover i {
    color: #ef4444;
}
.app-favorite-btn.active {
    border-color: #ef4444;
    background: #fef2f2;
    color: #ef4444;
}
.app-favorite-btn.active i {
    color: #ef4444;
}
.app-favorite-btn.active .app-favorite-text {
    color: #ef4444;
}

.app-favorite-text {
    font-size: 16px;
    font-weight: 700;
    color: #475569;
    transition: color 0.3s ease;
}
.app-favorite-btn:hover .app-favorite-text {
    color: #ef4444;
}

/* ===== Extra Download Links ===== */
.app-extra-downloads {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: -8px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
}
.app-extra-downloads-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}
.app-extra-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #fff;
    border-radius: 999px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.app-extra-download-link:hover {
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}
.app-extra-download-link i {
    font-size: 12px;
    color: #6366f1;
}
.app-extra-download-size {
    font-size: 11px;
    color: #94a3b8;
}

/* ============================================
   Content Sections
   ============================================ */

.app-description-wrapper,
.app-tech-wrapper,
.app-screenshots-wrapper,
.app-reviews-wrapper,
.app-meta-wrapper,
.app-social-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
     /* min-height: 120px; */
}

.app-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
}

/* ============================================
   Description Header
   ============================================ */

.app-description-header {
    margin-bottom: 20px;
}

.app-description-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    display: inline-block;
}

.app-description-underline {
    display: flex;
    align-items: center;
    height: 3px;
    width: 100%;
}

.app-description-header {
    margin-bottom: 16px;
}

.app-description-title {
    font-size: 20px;
    font-weight: 700;
    color: #13a549;
    margin: 0 0 12px 0;
    position: relative;
    display: inline-block;
}

.app-description-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: 0;
    width: 100%;
    height: 3px;
    background: #13a549;
    border-radius: 999px;
}

.underline-gray {
    height: 2px;
    background: #e2e8f0;
    flex: 1;
    border-radius: 0 999px 999px 0;
    margin-top: 1px;
}

.app-description-text {
    font-size: 15px;
    line-height: 2.2;
    color: #334155;
}

/* ============================================
   Technical Info
   ============================================ */

.app-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px 32px;
}

.app-tech-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.app-tech-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #383838;
    font-size: 13px;
}

.tech-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #6366f1;
}

.app-tech-value {
    color: #0f172a;
    font-weight: 600;
    font-size: 13px;
}
.app-tech-value a {
    color: #6366f1;
    text-decoration: none;
}
.app-tech-value a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* ============================================
   Dates & Sharing
   ============================================ */

.app-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.app-meta-dates {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.app-date-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-date-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #383838;
}

.meta-icon {
    width: 16px;
    height: 16px;
    color: #6366f1;
}

.app-date-value {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.app-meta-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-size: 13px;
    color: #383838;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}
.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.share-btn.telegram { background: #0088cc; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.copy { background: #64748b; }

/* ============================================
   Social Networks
   ============================================ */

.app-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.social-channel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
}
.social-channel:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.social-channel.telegram-channel { background: #0088cc; }
.social-channel.rubika-channel { background: #6366f1; }
.social-channel.eita-channel { background: #ef4444; }
.social-channel.bale-channel { background: #22c55e; }
.social-channel i {
    font-size: 16px;
}

/* ============================================
   Screenshots
   ============================================ */

.app-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.app-screenshot-item {
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 9/16;
    background: #f1f5f9;
    transition: all 0.3s ease;
}
.app-screenshot-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.app-screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Sidebar Widgets
   ============================================ */

.sidebar-widget {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 16px;
}
.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}
.sidebar-widget-title i {
    color: #6366f1;
    font-size: 14px;
}

.sidebar-widget-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-app-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.sidebar-app-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(-3px);
}

.sidebar-app-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #94a3b8;
}
.sidebar-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-app-info {
    flex: 1;
    min-width: 0;
}
.sidebar-app-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 7px;
}
.sidebar-app-rating {
    display: flex;
    gap: 1px;
    font-size: 9px;
    color: #f59e0b;
    margin-top: 1px;
}
.sidebar-app-rating .far {
    color: #d7d8d9;
}

.sidebar-developer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.sidebar-developer-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(-3px);
}

.sidebar-developer-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #94a3b8;
}
.sidebar-developer-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.sidebar-developer-info {
    flex: 1;
    min-width: 0;
}
.sidebar-developer-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-developer-count {
    font-size: 10px;
    color: #383838;
}

/* ============================================
   Categories (Accordion)
   ============================================ */

.sidebar-categories-accordion {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.accordion-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #0f172a;
    gap: 8px;
}
.accordion-header:hover {
    background: rgba(99, 102, 241, 0.05);
}

.accordion-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.accordion-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}
.accordion-icon-placeholder {
    width: 28px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
}

.accordion-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.accordion-arrow {
    color: #94a3b8;
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-body {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, 
                opacity 0.3s ease-in-out,
                height 0s ease 0.3s,
                padding 0.3s ease-in-out;
    padding: 0 14px;
    will-change: transform, opacity;
}

.accordion-item.active .accordion-body {
    transform: scaleY(1);
    opacity: 1;
    height: auto;
    padding: 0 14px 10px;
    transition: transform 0.3s ease-in-out,
                opacity 0.3s ease-in-out,
                height 0s ease 0s,
                padding 0.3s ease-in-out;
}

.accordion-child-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}
.accordion-child-item:hover {
    background: #fff;
    transform: translateX(-4px);
}
.accordion-child-item:last-child {
    margin-bottom: 0;
}

.accordion-child-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}
.accordion-child-icon-placeholder {
    width: 22px;
    height: 22px;
    background: #e2e8f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #94a3b8;
    flex-shrink: 0;
}

.accordion-child-name {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    transition: color 0.2s ease;
}
.accordion-child-item:hover .accordion-child-name {
    color: #4f46e5;
}

/* ============================================
   Sticky Download Button (Mobile)
   ============================================ */

.app-download-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    border-top: 1px solid #f1f5f9;
    gap: 12px;
    align-items: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.app-download-sticky.visible {
    transform: translateY(0);
    opacity: 1;
}

.sticky-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}
.sticky-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.sticky-app-info {
    flex: 1;
    min-width: 0;
}
.sticky-app-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.sticky-app-rating {
    font-size: 11px;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sticky-app-rating .far {
    color: #d1d5db;
}

.sticky-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
    flex-shrink: 0;
    cursor: pointer;
}
.sticky-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
    color: #fff;
}
.sticky-download-btn i {
    font-size: 16px;
}
.sticky-download-btn small {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.8;
}

/* ============================================
   Reviews Section - Full Styles
   ============================================ */

.app-reviews-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.reviews-count {
    font-size: 14px;
    font-weight: 400;
    color: #383838;
    margin-right: 6px;
}

.review-success-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: #f0fdf4;
    border-radius: 12px;
    border-right: 4px solid #22c55e;
    margin-bottom: 20px;
}
.review-success-message i {
    font-size: 24px;
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}
.review-success-message strong {
    display: block;
    font-size: 15px;
    color: #16a34a;
}
.review-success-message p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.review-error-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: #fef2f2;
    border-radius: 12px;
    border-right: 4px solid #ef4444;
    margin-bottom: 20px;
}
.review-error-message i {
    font-size: 24px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}
.review-error-message strong {
    display: block;
    font-size: 15px;
    color: #dc2626;
}
.review-error-message p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.review-already-submitted {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: #f0fdf4;
    border-radius: 12px;
    border-right: 4px solid #22c55e;
    margin-bottom: 20px;
}
.review-already-submitted i {
    font-size: 24px;
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}
.review-already-submitted strong {
    display: block;
    font-size: 15px;
    color: #16a34a;
}
.review-already-submitted p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.review-form-wrapper {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid #f1f5f9;
}

.review-form-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.review-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.review-form-group {
    margin-bottom: 16px;
}

.review-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.review-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}
.review-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}
.review-input.is-invalid {
    border-color: #ef4444;
}

.review-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}
.review-textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}
.review-textarea.is-invalid {
    border-color: #ef4444;
}

.review-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    display: block;
}

.review-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}
.review-stars input[type="radio"] {
    display: none;
}
.review-stars .star-label {
    font-size: 24px;
    color: #e2e8f0;
    cursor: pointer;
    transition: color 0.2s ease;
}
.review-stars .star-label:hover,
.review-stars .star-label:hover ~ .star-label,
.review-stars input[type="radio"]:checked ~ .star-label {
    color: #f59e0b;
}

.review-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.review-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reviews-scroll-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 6px;
    scroll-behavior: smooth;
}
.reviews-scroll-container::-webkit-scrollbar {
    width: 5px;
}
.reviews-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}
.reviews-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.reviews-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.reviews-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.review-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 18px 22px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}
.review-item:last-child {
    margin-bottom: 0;
}
.review-item:hover {
    border-color: #e2e8f0;
    background: #fff;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-user-info {
    display: flex;
    flex-direction: column;
}
.review-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}
.review-phone-model {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.review-rating {
    display: flex;
    gap: 2px;
    font-size: 13px;
    color: #f59e0b;
}
.review-rating .far {
    color: #e2e8f0;
}
.review-date {
    font-size: 12px;
    color: #94a3b8;
}

.review-body {
    margin-top: 4px;
}
.review-comment {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.review-admin-response {
    margin-top: 12px;
    padding: 12px 16px;
    background: #f0fdf4;
    border-radius: 10px;
    border-right: 3px solid #22c55e;
}
.admin-response-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.admin-response-header i {
    color: #22c55e;
    font-size: 14px;
}
.admin-response-label {
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
}
.admin-response-date {
    font-size: 11px;
    color: #94a3b8;
    margin-right: auto;
}
.admin-response-text {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
    margin: 0;
}

.reviews-empty {
    text-align: center;
    padding: 40px 20px;
}
.reviews-empty i {
    font-size: 48px;
    color: #cbd5e1;
    display: block;
    margin-bottom: 12px;
}
.reviews-empty p {
    font-size: 16px;
    color: #475569;
    margin: 0;
}
.reviews-empty span {
    font-size: 13px;
    color: #383838;
}

/* ============================================
   Lightbox
   ============================================ */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 40px;
    backdrop-filter: blur(8px);
}
.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.lightbox-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   Full Responsive - App Page
   ============================================ */

@media (max-width: 1200px) {
    .app-col-left,
    .app-col-right {
        flex: 0 0 18%;
        min-width: 130px;
    }
}

@media (max-width: 991px) {
    .app-three-columns {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
        padding: 0 12px;
    }
    
    .app-col-center {
        order: 1;
        width: 100%;
    }
    
    .app-col-left {
        order: 2;
        width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #f1f5f9;
        display: block !important;
    }
    
    .app-col-right {
        order: 3;
        width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 16px;
        padding-top: 20px;
        border-top: 1px solid #f1f5f9;
        display: block !important;
    }
    
    .app-col-left .sidebar-widget,
    .app-col-right .sidebar-widget {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 16px;
        box-sizing: border-box;
    }
    
    .app-col-left .sidebar-widget:last-child,
    .app-col-right .sidebar-widget:last-child {
        margin-bottom: 0;
    }
    
    .sidebar-app-item {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 10px 14px !important;
        width: 100% !important;
        border-radius: 10px;
    }
    
    .sidebar-app-icon {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0 !important;
        border-radius: 10px;
    }
    
    .sidebar-app-info {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .sidebar-app-name {
        font-size: 14px !important;
        font-weight: 600 !important;
        padding-bottom: 2px;
    }
    
    .sidebar-app-rating {
        font-size: 11px !important;
        gap: 2px !important;
    }
    
    .sidebar-developer-item {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 10px 14px !important;
        width: 100% !important;
        border-radius: 10px;
    }
    
    .sidebar-developer-icon {
        width: 42px !important;
        height: 42px !important;
        flex-shrink: 0 !important;
        border-radius: 10px;
    }
    
    .sidebar-developer-info {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .sidebar-developer-name {
        font-size: 14px !important;
        font-weight: 600 !important;
    }
    
    .sidebar-developer-count {
        font-size: 12px !important;
    }
    
    .sidebar-categories-accordion {
        display: block !important;
        width: 100% !important;
    }
    
    .accordion-item {
        width: 100% !important;
        margin-bottom: 8px !important;
    }
    
    .accordion-item:last-child {
        margin-bottom: 0 !important;
    }
    
    .accordion-header {
        padding: 12px 16px !important;
        width: 100% !important;
        border-radius: 10px;
    }
    
    .accordion-body {
        padding: 0 16px !important;
        width: 100% !important;
    }
    
    .accordion-child-item {
        padding: 8px 12px !important;
        width: 100% !important;
        gap: 10px !important;
        border-radius: 8px;
    }
    
    .sidebar-widget-title {
        font-size: 14px !important;
        font-weight: 700 !important;
        padding-bottom: 10px !important;
        margin-bottom: 12px !important;
    }
    
    .app-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 14px;
        gap: 12px;
        border-radius: 16px;
    }
    
    .app-hero-left {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        width: 100%;
        text-align: right;
    }
    
    .app-icon-wrapper {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        flex-shrink: 0;
    }
    
    .app-icon {
        padding: 10px;
    }
    
    .app-hero-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        min-width: 0;
        gap: 2px;
    }
    
    .app-name {
        font-size: 18px;
        font-weight: 800;
        margin: 0;
        text-align: right;
        line-height: 1.2;
    }
    
    .app-name-en {
        font-size: 11px;
        color: #94a3b8;
        display: block;
        text-align: right;
    }
    
    .app-hero-meta {
        display: none;
    }
    
    .app-hero-rating {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        color: #f59e0b;
        margin-top: 2px;
    }
    
    .app-hero-rating .rating-number {
        font-size: 12px;
        color: #0f172a;
        font-weight: 600;
        margin-right: 2px;
    }
    
    .app-hero-category-mobile {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        color: #94a3b8;
        background: #f8fafc;
        padding: 2px 10px;
        border-radius: 999px;
        border: 1px solid #f1f5f9;
        margin-top: 2px;
    }
    
    .app-hero-category-mobile i {
        color: #6366f1;
        font-size: 10px;
    }
    
    .app-hero-right {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .app-download-btn {
        min-width: 140px;
        padding: 12px 20px;
        font-size: 14px;
        width: auto;
        flex: 1;
        min-width: 120px;
    }
    
    .app-favorite-btn {
        min-width: 50px;
        padding: 12px 14px;
        font-size: 14px;
        width: auto;
        flex: 0 0 auto;
        border-radius: 14px;
    }
    
    .app-favorite-text {
        display: none !important;
    }
    
    .app-favorite-btn i {
        font-size: 18px;
        margin: 0;
    }
    
    .app-download-sticky {
        display: flex !important;
    }
    
    .app-detail-section {
        padding-bottom: 90px;
    }
    
    .app-description-wrapper,
    .app-tech-wrapper,
    .app-screenshots-wrapper,
    .app-reviews-wrapper,
    .app-meta-wrapper,
    .app-social-wrapper {
        padding: 16px 18px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
    
    .app-section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .app-description-title {
        font-size: 18px;
    }
    
    .app-description-text {
        font-size: 14px;
        line-height: 2;
    }
    
    .app-tech-grid {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }
    
    .app-tech-item {
        padding: 4px 0;
    }
    
    .app-tech-label {
        font-size: 12px;
    }
    
    .app-tech-value {
        font-size: 12px;
    }
    
    .tech-icon {
        width: 16px;
        height: 16px;
    }
    
    .app-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .app-meta-dates {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }
    
    .app-date-item {
        width: 100%;
        justify-content: space-between;
    }
    
    .app-meta-share {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .app-social-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .social-channel {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .app-screenshots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .app-screenshot-item {
        border-radius: 10px;
    }
    
    .lightbox {
        padding: 16px;
    }
    
    .lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-image {
        max-width: 95%;
        max-height: 85%;
    }
}

@media (max-width: 575px) {
    .app-col-left,
    .app-col-right {
        padding: 12px 4px !important;
    }
    
    .app-col-left {
        margin-top: 16px !important;
        padding-top: 16px !important;
    }
    
    .app-col-right {
        margin-top: 12px !important;
        padding-top: 16px !important;
    }
    
    .sidebar-widget {
        padding: 14px 12px !important;
        margin-bottom: 12px !important;
    }
    
    .sidebar-widget:last-child {
        margin-bottom: 0 !important;
    }
    
    .sidebar-app-item {
        padding: 8px 10px !important;
        gap: 10px !important;
    }
    
    .sidebar-app-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 8px !important;
    }
    
    .sidebar-app-name {
        font-size: 13px !important;
    }
    
    .sidebar-app-rating {
        font-size: 10px !important;
    }
    
    .sidebar-developer-item {
        padding: 8px 10px !important;
        gap: 10px !important;
    }
    
    .sidebar-developer-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
    }
    
    .sidebar-developer-name {
        font-size: 13px !important;
    }
    
    .sidebar-developer-count {
        font-size: 11px !important;
    }
    
    .accordion-header {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    
    .accordion-title {
        font-size: 13px !important;
    }
    
    .accordion-icon {
        width: 24px !important;
        height: 24px !important;
    }
    
    .accordion-body {
        padding: 0 12px !important;
    }
    
    .accordion-child-item {
        padding: 6px 10px !important;
        gap: 8px !important;
    }
    
    .accordion-child-name {
        font-size: 12px !important;
    }
    
    .app-hero {
        border-radius: 10px;
        gap: 10px;
        margin-top: -30px;
    }
    
    .app-hero-left {
        gap: 10px;
    }
    
    .app-icon-wrapper {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
    
    .app-icon {
        padding: 0px;
    }
    
    .app-name {
        font-size: 16px;
    }
    
    .app-name-en {
        font-size: 10px;
    }
    
    .app-hero-rating {
        font-size: 12px;
    }
    
    .app-hero-rating .rating-number {
        font-size: 11px;
    }
    
    .app-hero-category-mobile {
        font-size: 10px;
        padding: 1px 8px;
    }
    
    .app-download-btn {
        min-width: 100px;
        padding: 10px 14px;
        font-size: 13px;
        gap: 6px;
    }
    
    .app-download-btn-text small {
        font-size: 10px;
    }
    
    .app-favorite-btn {
        min-width: 44px;
        padding: 10px 12px;
    }
    
    .app-favorite-btn i {
        font-size: 16px;
    }
    
    .app-description-wrapper,
    .app-tech-wrapper,
    .app-screenshots-wrapper,
    .app-reviews-wrapper,
    .app-meta-wrapper,
    .app-social-wrapper {
        padding: 12px 14px;
        border-radius: 12px;
        margin-bottom: 12px;
        min-height: 120px;
    }
    
    .app-section-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .app-description-title {
        font-size: 16px;
    }
    
    .app-description-text {
        font-size: 13px;
        text-align: justify;
    }
    
    .app-screenshots-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .app-download-sticky {
        padding: 10px 12px;
    }
    
    .sticky-app-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    
    .sticky-app-name {
        font-size: 13px;
    }
    
    .sticky-download-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .sticky-download-btn small {
        font-size: 10px;
    }
    
    .app-detail-section {
        padding-bottom: 80px;
    }
}

/* ============================================
   Custom List Styles in CKEditor Content
   ============================================ */

/* ===== List with Green Checkmark ===== */
.ck-content ul.checklist-items {
    list-style: none !important;
    padding-right: 0;
}

.ck-content ul.checklist-items li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 6px;
    line-height: 1.8;
}

.ck-content ul.checklist-items li::before {
    content: '✅';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
}

/* ===== List with Red Cross ===== */
.ck-content ul.crosslist-items {
    list-style: none !important;
    padding-right: 0;
}

.ck-content ul.crosslist-items li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 6px;
    line-height: 1.8;
}

.ck-content ul.crosslist-items li::before {
    content: '❌';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
}

/* ===== General List Styles in Output ===== */
.ck-content ul {
    padding-right: 20px;
}

.ck-content ul li {
    margin-bottom: 6px;
    line-height: 1.8;
}

/* ===== Custom Button Icons ===== */
.ck-button .ck-button__icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 480px) and (orientation: portrait) {
    .app-hero-right {
        flex-direction: row;
        align-items: stretch;
    }
    
    .app-download-btn {
        flex: 1;
        justify-content: center;
    }
    
    .app-favorite-btn {
        flex: 0 0 auto;
        justify-content: center;
    }
}