/* App Page Styles - Semantic CSS */
/* Note: These styles use standard CSS since Tailwind CDN doesn't support @apply */

/* ========================================
   BREADCRUMB SECTION
   ======================================== */
.breadcrumb_section {
    background-color: rgb(249 250 251);
    border-bottom: 1px solid rgb(243 244 246);
}

.dark .breadcrumb_section {
    background-color: rgb(10 15 30);
    border-bottom-color: rgb(31 41 55);
}

.breadcrumb_container {
    width: 100%;
    padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
    .breadcrumb_container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .breadcrumb_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.breadcrumb_nav {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dark .breadcrumb_nav {
    color: rgb(156 163 175);
}

.breadcrumb_link {
    transition: color 0.15s ease-in-out;
}

.breadcrumb_link:hover {
    color: #3B5BFE;
}

.breadcrumb_separator {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

@media (min-width: 640px) {
    .breadcrumb_separator {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}

.breadcrumb_current {
    color: rgb(17 24 39);
}

.dark .breadcrumb_current {
    color: white;
}

/* ========================================
   APP PAGE CONTAINER
   ======================================== */
.app_page {
    min-height: 100vh;
}

.app_page_container {
    width: 100%;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .app_page_container {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .app_page_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.app_page_grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .app_page_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
        align-items: start;
    }
}

.app_main_content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .app_main_content {
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .app_main_content {
        grid-column: span 2 / span 2;
    }
}

/* ========================================
   APP HEADER SECTION
   ======================================== */
.app_header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 140px;
    position: relative;
}

@media (min-width: 640px) {
    .app_header {
        flex-direction: row;
        align-items: flex-start;
        min-height: 100px;
    }
}

.app_header_info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1 1 0%;
    min-width: 0;
}

.app_icon_wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    overflow: hidden;
    background-color: rgb(243 244 246);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .app_icon_wrapper {
        width: 5rem;
        height: 5rem;
    }
}

.dark .app_icon_wrapper {
    background-color: rgb(31 41 55);
}

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

.app_header_details {
    flex: 1 1 0%;
    min-width: 0;
}



.app_title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: rgb(17 24 39);
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 0%;
}

@media (min-width: 640px) {
    .app_title {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

.dark .app_title {
    color: white;
}

.app_version_badge {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
    color: rgb(156 163 175);
    margin-left: 0.5rem;
}

.app_refresh_button {
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out;
    background: rgb(243 244 246);
    border: 1px solid rgb(229 231 235);
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Mobile: position absolute top-right */
    position: absolute;
    top: 2.5rem;
    right: 0;
    z-index: 10;
}

/* Desktop: reset to normal flow */
@media (min-width: 640px) {
    .app_refresh_button {
        position: relative;
        top: auto;
        right: auto;
        z-index: auto;
    }
}

.dark .app_refresh_button {
    background: rgb(31 41 55);
    border-color: rgb(55 65 81);
}

.app_refresh_button:hover {
    background-color: rgb(243 244 246);
}

.dark .app_refresh_button:hover {
    background-color: rgb(31 41 55);
}

.app_refresh_button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.app_refresh_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(75 85 99);
}

.dark .app_refresh_icon {
    color: rgb(156 163 175);
}

.app_refresh_tooltip {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(31 41 55);
    color: white;
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    pointer-events: none;
}

.app_refresh_button:hover .app_refresh_tooltip {
    opacity: 1;
}

.app_developer_link {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #3B5BFE;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.app_developer_link:hover {
    text-decoration: underline;
}

.app_meta_info {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    margin-top: 0.25rem;
}

.dark .app_meta_info {
    color: rgb(156 163 175);
}

.app_header_actions {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 640px) {
    .app_header_actions {
        align-items: flex-end;
        width: auto;
    }
}

.app_download_row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .app_download_row {
        width: auto;
    }
}

.app_download_button {
    flex: 1;
    padding: 0.625rem 1.25rem;
    background-color: #3B5BFE;
    color: white;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border: none;
    cursor: pointer;
}

.app_download_icon_main {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.app_download_text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.app_download_text_small {
    font-size: 0.5625rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    opacity: 0.85;
}

.app_download_text_large {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

@media (min-width: 640px) {
    .app_download_button {
        flex: none;
        width: auto;
    }
}

/* Download Button Group with Dropdown */
.app_download_group {
    display: flex;
    position: relative;
    width: 100%;
}

@media (min-width: 640px) {
    .app_download_group {
        width: auto;
    }
}

.app_download_button:hover {
    background-color: #2a4ae0;
}

.app_download_button_disabled {
    background-color: rgb(156 163 175);
    cursor: not-allowed;
    opacity: 0.7;
}

.app_download_button_disabled:hover {
    background-color: rgb(156 163 175);
}

.app_download_main {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.app_download_dropdown_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.75rem;
    background-color: #3B5BFE;
    color: white;
    border: none;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.app_download_dropdown_toggle:hover {
    background-color: #2a4ae0;
}

.app_dropdown_arrow {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.app_dropdown_arrow.rotate-180 {
    transform: rotate(180deg);
}

.app_download_dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    min-width: 280px;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    z-index: 50;
    overflow: hidden;
}

@media (min-width: 640px) {
    .app_download_dropdown {
        left: auto;
        min-width: 280px;
    }
}

.app_download_dropdown_header {
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.app_download_dropdown_item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
    text-align: left;
}

.app_download_dropdown_item:hover {
    background-color: #f3f4f6;
}

.app_download_dropdown_item svg {
    width: 1.125rem;
    height: 1.125rem;
    color: #6b7280;
    flex-shrink: 0;
}

.app_download_dropdown_item span:first-of-type {
    flex: 1;
}

.app_download_dropdown_badge {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    background-color: #dbeafe;
    color: #1d4ed8;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

.app_download_dropdown_badge_xapk {
    background-color: #fef3c7;
    color: #b45309;
}

.app_download_dropdown_badge_default {
    background-color: #22c55e;
    color: white;
}

.app_download_dropdown_item_default {
    background-color: #dcfce7;
    color: #15803d;
    font-weight: 500;
}

.app_download_dropdown_item_default:hover {
    background-color: #bbf7d0;
}

.app_download_dropdown_item_default svg {
    color: #16a34a;
}

.app_download_dropdown_divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.25rem 0;
}

/* Dark mode support - using .dark class */
.dark .app_download_dropdown {
    background-color: #1f2937;
    border-color: #374151;
}

.dark .app_download_dropdown_header {
    background-color: #111827;
    border-color: #374151;
    color: #9ca3af;
}

.dark .app_download_dropdown_item {
    color: #e5e7eb;
}

.dark .app_download_dropdown_item:hover {
    background-color: #374151;
}

.dark .app_download_dropdown_item svg {
    color: #9ca3af;
}

.dark .app_download_dropdown_divider {
    background-color: #374151;
}

/* Dark mode for Universal APK (default) item */
.dark .app_download_dropdown_item_default {
    background-color: #14532d;
    color: #bbf7d0;
}

.dark .app_download_dropdown_item_default:hover {
    background-color: #166534;
}

.dark .app_download_dropdown_item_default svg {
    color: #4ade80;
}

.dark .app_download_dropdown_badge_default {
    background-color: #166534;
    color: #bbf7d0;
}

/* Dark mode for other badges */
.dark .app_download_dropdown_badge {
    background-color: #1e3a5f;
    color: #93c5fd;
}

.dark .app_download_dropdown_badge_xapk {
    background-color: #78350f;
    color: #fde68a;
}

.app_playstore_purchase_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #34A853;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
    width: 100%;
}

.app_playstore_purchase_link:hover {
    background-color: #2d9249;
    color: white;
}

@media (min-width: 640px) {
    .app_playstore_purchase_link {
        width: auto;
    }
}

.app_purchase_icon {
    width: 1rem;
    height: 1rem;
}

.app_download_icon {
    width: 1rem;
    height: 1rem;
}

.app_playstore_link {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    width: 100%;
}

.app_playstore_link svg {
    width: 0.625rem;
    height: 0.625rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .app_playstore_link {
        justify-content: flex-end;
        width: auto;
    }
}

.dark .app_playstore_link {
    color: rgb(156 163 175);
}

.app_playstore_link:hover {
    color: #3B5BFE;
}


/* ========================================
   SCREENSHOTS SECTION
   ======================================== */
.screenshots_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
    min-height: 268px;
}

@media (min-width: 640px) {
    .screenshots_section {
        padding: 1.25rem;
        min-height: 320px;
    }
}

.dark .screenshots_section {
    border-color: rgb(31 41 55);
}

.screenshots_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.screenshots_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .screenshots_title {
    color: white;
}

.screenshots_nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.screenshots_nav_button {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: rgb(243 244 246);
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.dark .screenshots_nav_button {
    background-color: rgb(31 41 55);
}

.screenshots_nav_button:hover {
    background-color: rgb(229 231 235);
}

.dark .screenshots_nav_button:hover {
    background-color: rgb(55 65 81);
}

.screenshots_nav_button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.screenshots_nav_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(75 85 99);
}

.dark .screenshots_nav_icon {
    color: rgb(209 213 219);
}

.screenshots_container {
    position: relative;
    overflow: hidden;
    min-height: 10rem;
}

@media (min-width: 640px) {
    .screenshots_container {
        min-height: 12rem;
    }
}

.screenshots_slider {
    display: flex;
    gap: 0.5rem;
    transition: transform 0.3s ease-out;
}

@media (min-width: 640px) {
    .screenshots_slider {
        gap: 0.75rem;
    }
}

.screenshots_image {
    height: 10rem;
    width: auto;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.15s ease-in-out;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

@media (min-width: 640px) {
    .screenshots_image {
        height: 12rem;
        border-radius: 0.75rem;
    }
}

.screenshots_image:hover {
    opacity: 0.9;
}

.screenshots_dots {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 0.75rem;
}

.screenshots_dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    transition: all 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.screenshots_dot_active {
    background-color: #3B5BFE;
    width: 1rem;
}

.screenshots_dot_inactive {
    background-color: rgb(209 213 219);
}

.dark .screenshots_dot_inactive {
    background-color: rgb(55 65 81);
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox_overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(0 0 0 / 0.9);
    padding: 1rem;
}

.lightbox_close_button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: rgb(255 255 255 / 0.1);
    color: white;
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.lightbox_close_button:hover {
    background-color: rgb(255 255 255 / 0.2);
}

.lightbox_nav_button {
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: rgb(255 255 255 / 0.1);
    color: white;
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.lightbox_nav_button:hover {
    background-color: rgb(255 255 255 / 0.2);
}

.lightbox_nav_prev {
    left: 1rem;
}

.lightbox_nav_next {
    right: 1rem;
}

.lightbox_nav_icon {
    width: 1.5rem;
    height: 1.5rem;
}

.lightbox_image {
    max-height: 90vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.lightbox_counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background-color: rgb(255 255 255 / 0.1);
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .about_section {
        padding: 1.25rem;
    }
}

.dark .about_section {
    border-color: rgb(31 41 55);
}

.about_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
}

.dark .about_title {
    color: white;
}

.about_summary {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(55 65 81);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.dark .about_summary {
    color: rgb(209 213 219);
}

.about_description {
    font-size: 0.875rem;
    line-height: 1.625;
    color: rgb(75 85 99);
    margin-top: 0.5rem;
}

.dark .about_description {
    color: rgb(156 163 175);
}

.about_description_collapsed {
    font-size: 0.875rem;
    line-height: 1.625;
    color: rgb(75 85 99);
}

.dark .about_description_collapsed {
    color: rgb(156 163 175);
}

.about_toggle_button {
    color: #3B5BFE;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-top: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.about_toggle_button:hover {
    text-decoration: underline;
}


/* ========================================
   IAP RANGE SECTION
   ======================================== */
.iap_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .iap_section {
        padding: 1.25rem;
    }
}

.dark .iap_section {
    border-color: rgb(31 41 55);
}

.iap_content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.iap_icon {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(156 163 175);
    flex-shrink: 0;
}

.iap_label {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    margin-bottom: 0.125rem;
}

.dark .iap_label {
    color: rgb(156 163 175);
}

.iap_value {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .iap_value {
    color: white;
}

/* ========================================
   VERSION INFO SECTION
   ======================================== */
.version_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .version_section {
        padding: 1.25rem;
    }
}

.dark .version_section {
    border-color: rgb(31 41 55);
}

.version_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .version_title {
    color: white;
}

.version_title_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
}

.version_grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

@media (min-width: 640px) {
    .version_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.version_item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.version_item_icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: rgb(156 163 175);
}

.version_item_label {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .version_item_label {
    color: rgb(156 163 175);
}

.version_item_value {
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .version_item_value {
    color: white;
}

/* ========================================
   WHATS NEW SECTION
   ======================================== */
.whatsnew_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .whatsnew_section {
        padding: 1.25rem;
    }
}

.dark .whatsnew_section {
    border-color: rgb(31 41 55);
}

.whatsnew_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .whatsnew_title {
    color: white;
}

.whatsnew_title_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
}

.whatsnew_content {
    font-size: 0.875rem;
    line-height: 1.625;
    color: rgb(75 85 99);
}

.dark .whatsnew_content {
    color: rgb(156 163 175);
}

/* ========================================
   PERMISSIONS SECTION
   ======================================== */
.permissions_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .permissions_section {
        padding: 1.25rem;
    }
}

.dark .permissions_section {
    border-color: rgb(31 41 55);
}

.permissions_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .permissions_title {
    color: white;
}

.permissions_title_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
}

.permissions_subtitle {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .permissions_subtitle {
    color: rgb(156 163 175);
}

.permissions_subtitle_icon {
    width: 0.75rem;
    height: 0.75rem;
}

.permissions_count_badge {
    background-color: rgb(243 244 246);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
}

.dark .permissions_count_badge {
    background-color: rgb(31 41 55);
}

.permissions_list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.permissions_group {
    border-bottom: 1px solid rgb(249 250 251);
}

.permissions_group:last-child {
    border-bottom: none;
}

.permissions_group_button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
}

.permissions_group_info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.permissions_group_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
}

.permissions_group_name {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: rgb(17 24 39);
}

.dark .permissions_group_name {
    color: white;
}

.permissions_group_count {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(156 163 175);
}

.permissions_expand_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
    transition: transform 0.15s ease-in-out;
}

.permissions_items {
    padding-left: 1.75rem;
    padding-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
}

.permissions_item {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .permissions_item {
    color: rgb(156 163 175);
}

.permissions_item_dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: #3B5BFE;
    border-radius: 9999px;
}

.permissions_show_all_button {
    width: 100%;
    text-align: center;
    color: #3B5BFE;
    font-size: 0.75rem;
    line-height: 1rem;
    margin-top: 1rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.permissions_show_all_button:hover {
    text-decoration: underline;
}

.permissions_show_all_icon {
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 0.15s ease-in-out;
}

.permissions_privacy_link {
    color: #3B5BFE;
    font-size: 0.75rem;
    line-height: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border-top: 1px solid rgb(243 244 246);
    padding-top: 1rem;
    text-decoration: none;
}

.dark .permissions_privacy_link {
    border-top-color: rgb(31 41 55);
}

.permissions_privacy_link:hover {
    text-decoration: underline;
}

.permissions_privacy_icon {
    width: 1rem;
    height: 1rem;
}


/* ========================================
   RATINGS & REVIEWS SECTION
   ======================================== */
.ratings_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .ratings_section {
        padding: 1.25rem;
    }
}

.dark .ratings_section {
    border-color: rgb(31 41 55);
}

.ratings_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .ratings_title {
    color: white;
}

.ratings_title_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
}

.ratings_summary {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgb(243 244 246);
}

.dark .ratings_summary {
    border-bottom-color: rgb(31 41 55);
}

.ratings_summary_content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .ratings_summary_content {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.ratings_score_wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .ratings_score_wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

.ratings_score_display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.ratings_score_value {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: rgb(17 24 39);
}

.dark .ratings_score_value {
    color: white;
}

.ratings_stars {
    display: flex;
    gap: 0.125rem;
    color: rgb(250 204 21);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.ratings_count_wrapper {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    margin-bottom: 0.25rem;
}

.dark .ratings_count_wrapper {
    color: rgb(156 163 175);
}

.ratings_count_value {
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .ratings_count_value {
    color: white;
}

.ratings_load_more_button {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    color: #3B5BFE;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.ratings_load_more_button:hover {
    color: rgb(59 91 254 / 0.8);
}

/* Load more button at bottom of reviews */
.reviews_load_more_bottom {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    background: rgb(59 91 254 / 0.1);
}

.reviews_load_more_bottom:hover {
    background: rgb(59 91 254 / 0.15);
}

.ratings_load_more_icon {
    width: 0.75rem;
    height: 0.75rem;
}

.ratings_bars {
    flex: 1 1 0%;
    max-width: 28rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ratings_bar_row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
}

.ratings_bar_label {
    color: rgb(107 114 128);
    width: 0.5rem;
}

.dark .ratings_bar_label {
    color: rgb(156 163 175);
}

.ratings_bar_star {
    color: rgb(250 204 21);
}

.ratings_bar_track {
    flex: 1 1 0%;
    height: 0.375rem;
    background-color: rgb(243 244 246);
    border-radius: 9999px;
    overflow: hidden;
}

.dark .ratings_bar_track {
    background-color: rgb(31 41 55);
}

.ratings_bar_fill {
    height: 100%;
    background-color: rgb(250 204 21);
    border-radius: 9999px;
}

/* ========================================
   REVIEWS LIST
   ======================================== */
.reviews_list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review_item {
    border-bottom: 1px solid rgb(243 244 246);
    padding-bottom: 1rem;
}

.review_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dark .review_item {
    border-bottom-color: rgb(31 41 55);
}

.review_content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.review_avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    overflow: hidden;
    background-color: rgb(59 91 254 / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
}

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

.review_avatar_initial {
    color: #3B5BFE;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.review_body {
    flex: 1 1 0%;
    min-width: 0;
}

.review_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review_user_info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review_username {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .review_username {
    color: white;
}

.review_stars {
    display: flex;
    color: rgb(250 204 21);
    font-size: 0.75rem;
    line-height: 1rem;
}

.review_date {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .review_date {
    color: rgb(156 163 175);
}

.review_text {
    font-size: 0.875rem;
    line-height: 1.625;
    color: rgb(75 85 99);
    margin-bottom: 0.5rem;
}

.dark .review_text {
    color: rgb(156 163 175);
}

.review_helpful {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .review_helpful {
    color: rgb(156 163 175);
}

.review_helpful_icon {
    width: 0.875rem;
    height: 0.875rem;
}

.review_reply {
    margin-top: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid rgb(59 91 254 / 0.3);
    background-color: rgb(59 91 254 / 0.05);
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 0.5rem 0.75rem;
}

.dark .review_reply {
    background-color: rgb(59 91 254 / 0.1);
}

.review_reply_header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.review_reply_label {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    color: #3B5BFE;
}

.review_reply_date {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .review_reply_date {
    color: rgb(156 163 175);
}

.review_reply_text {
    font-size: 0.75rem;
    line-height: 1.625;
    color: rgb(75 85 99);
}

.dark .review_reply_text {
    color: rgb(156 163 175);
}

.reviews_loading {
    text-align: center;
    padding: 1rem 0;
}

.reviews_loading_spinner {
    animation: spin 1s linear infinite;
    height: 1.5rem;
    width: 1.5rem;
    color: #3B5BFE;
    margin: 0 auto;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* ========================================
   APP INFO CARD (SIDEBAR & MOBILE)
   ======================================== */
.app_info_card {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .app_info_card {
        padding: 1.25rem;
    }
}

.dark .app_info_card {
    border-color: rgb(31 41 55);
}

.app_info_card_desktop {
    display: none;
}

@media (min-width: 1024px) {
    .app_info_card_desktop {
        display: block;
    }
}

.app_info_card_mobile {
    display: block;
}

@media (min-width: 1024px) {
    .app_info_card_mobile {
        display: none;
    }
}

.app_info_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
}

.dark .app_info_title {
    color: white;
}

.app_info_list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.app_info_item {
    display: flex;
    justify-content: space-between;
}

.app_info_label {
    color: rgb(107 114 128);
}

.dark .app_info_label {
    color: rgb(156 163 175);
}

.app_info_value {
    color: rgb(17 24 39);
}

.dark .app_info_value {
    color: white;
}

.app_info_link {
    color: #3B5BFE;
    text-decoration: none;
}

.app_info_link:hover {
    text-decoration: underline;
}

/* ========================================
   DEVELOPER CARD
   ======================================== */
.developer_card {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .developer_card {
        padding: 1.25rem;
    }
}

.dark .developer_card {
    border-color: rgb(31 41 55);
}

.developer_card_desktop {
    display: none;
}

@media (min-width: 1024px) {
    .developer_card_desktop {
        display: block;
    }
}

.developer_card_mobile {
    display: block;
}

@media (min-width: 1024px) {
    .developer_card_mobile {
        display: none;
    }
}

.developer_title {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
}

.dark .developer_title {
    color: white;
}

.developer_content,
.developer_contents {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.developer_name {
    font-weight: 500;
    color: rgb(17 24 39);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.dark .developer_name {
    color: white;
}

.developer_verified {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.developer_verified_icon {
    width: 0.875rem;
    height: 0.875rem;
    color: rgb(34 197 94);
}

.developer_verified_text {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .developer_verified_text {
    color: rgb(156 163 175);
}

.developer_contact_link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.25rem;
    color: rgb(75 85 99);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.dark .developer_contact_link {
    color: rgb(156 163 175);
}

.developer_contact_link:hover {
    color: #3B5BFE;
}

.developer_contact_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
    flex-shrink: 0;
    transition: color 0.15s ease-in-out;
}

.developer_contact_link:hover .developer_contact_icon {
    color: #3B5BFE;
}

.developer_contact_text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========================================
   MORE FROM DEVELOPER & SIMILAR APPS
   ======================================== */
.apps_grid_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .apps_grid_section {
        padding: 1.25rem;
    }
}

.dark .apps_grid_section {
    border-color: rgb(31 41 55);
}

.apps_grid_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.apps_grid_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .apps_grid_title {
    color: white;
}

.apps_grid_see_more {
    color: #3B5BFE;
    font-size: 0.75rem;
    line-height: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.apps_grid_see_more:hover {
    text-decoration: underline;
}

.apps_grid_see_more_icon {
    width: 0.75rem;
    height: 0.75rem;
}

.apps_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .apps_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .apps_grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .apps_grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .apps_grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.app_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.15s ease-in-out;
    text-decoration: none;
}

.app_card:hover {
    transform: translateY(-2px);
}

.app_card_icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    overflow: hidden;
    background-color: rgb(243 244 246);
}

@media (min-width: 640px) {
    .app_card_icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.dark .app_card_icon {
    background-color: rgb(31 41 55);
}

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

.app_card_icon_placeholder {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (min-width: 640px) {
    .app_card_icon_placeholder {
        font-size: 1.5rem;
    }
}

.app_card_title {
    font-size: 11px;
    font-weight: 500;
    color: rgb(17 24 39);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 60px;
}

@media (min-width: 640px) {
    .app_card_title {
        font-size: 0.75rem;
        max-width: 70px;
    }
}

.dark .app_card_title {
    color: white;
}

.app_card_meta {
    font-size: 9px;
    color: rgb(75 85 99);
    margin-top: 0.125rem;
}

@media (min-width: 640px) {
    .app_card_meta {
        font-size: 10px;
    }
}

.dark .app_card_meta {
    color: rgb(156 163 175);
}

.app_card_price_free {
    font-size: 9px;
    color: rgb(22 163 74);
}

@media (min-width: 640px) {
    .app_card_price_free {
        font-size: 10px;
    }
}

.dark .app_card_price_free {
    color: rgb(74 222 128);
}

.app_card_price_paid {
    font-size: 9px;
    color: rgb(234 88 12);
}

@media (min-width: 640px) {
    .app_card_price_paid {
        font-size: 10px;
    }
}

.dark .app_card_price_paid {
    color: rgb(251 146 60);
}


/* ========================================
   TAGS SECTION
   ======================================== */
.tags_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .tags_section {
        padding: 1.25rem;
    }
}

.dark .tags_section {
    border-color: rgb(31 41 55);
}

.tags_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .tags_title {
    color: white;
}

.tags_title_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
}

.tags_list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.tag_item {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    background-color: rgb(249 250 251);
    color: rgb(75 85 99);
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.dark .tag_item {
    background-color: rgb(55 65 81 / 0.5);
    color: rgb(156 163 175);
}

.tag_item:hover {
    background-color: #3B5BFE;
    color: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.dark .tag_item:hover {
    background-color: #3B5BFE;
}

.tags_browse_link {
    font-size: 0.75rem;
    line-height: 1rem;
    color: #3B5BFE;
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.tags_browse_link:hover {
    text-decoration: underline;
}

.tags_browse_icon {
    width: 0.75rem;
    height: 0.75rem;
}

/* ========================================
   SIDEBAR
   ======================================== */
.app_sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .app_sidebar {
        position: sticky;
        top: 5rem;
    }
}

/* ========================================
   LEGAL INFORMATION
   ======================================== */
.legal_section {
    border: 1px solid rgb(243 244 246);
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .legal_section {
        padding: 1.25rem;
    }
}

.dark .legal_section {
    border-color: rgb(31 41 55);
}

.legal_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
}

.dark .legal_title {
    color: white;
}

.legal_content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legal_item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.legal_item_link {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(75 85 99);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.dark .legal_item_link {
    color: rgb(156 163 175);
}

.legal_item_link:hover {
    color: #3B5BFE;
}

.legal_item_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.legal_item_icon_hover {
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: color 0.15s ease-in-out;
}

.legal_item_link:hover .legal_item_icon_hover {
    color: #3B5BFE;
}

.legal_item_content {
    flex: 1 1 0%;
    min-width: 0;
}

.legal_item_label {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    margin-bottom: 0.125rem;
}

.dark .legal_item_label {
    color: rgb(156 163 175);
}

.legal_item_value {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(17 24 39);
}

.dark .legal_item_value {
    color: white;
}

.legal_item_value_relaxed {
    font-size: 0.75rem;
    line-height: 1.625;
    color: rgb(17 24 39);
}

.dark .legal_item_value_relaxed {
    color: white;
}

.legal_item_value_break {
    word-break: break-all;
}

/* ========================================
   DOWNLOAD MODAL
   ======================================== */
.download_modal_overlay {
    position: fixed;
    inset: 0;
    background-color: rgb(0 0 0 / 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
}

.download_modal_content {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 24rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dark .download_modal_content {
    background-color: rgb(17 24 39);
}

.download_modal_content>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download_modal_icon_wrapper {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download_modal_icon_downloading {
    background-color: rgb(219 234 254);
}

.dark .download_modal_icon_downloading {
    background-color: rgb(30 58 138);
}

.download_modal_icon_queued {
    background-color: rgb(239 246 255);
}

.dark .download_modal_icon_queued {
    background-color: rgb(30 58 138);
}

.download_modal_icon_clock {
    color: #3B5BFE;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.download_modal_queue_info {
    margin: 0.5rem 0 1rem;
}

.download_modal_queue_position {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgb(107 114 128);
}

.dark .download_modal_queue_position {
    color: rgb(156 163 175);
}

.download_modal_queue_number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3B5BFE;
}

.dark .download_modal_queue_number {
    color: rgb(96 165 250);
}

.download_modal_queue_animation {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin: 1rem 0;
}

.download_modal_queue_dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #3B5BFE;
    border-radius: 50%;
    animation: queueDot 1.4s infinite ease-in-out both;
}

.dark .download_modal_queue_dot {
    background-color: rgb(96 165 250);
}

.download_modal_queue_dot:nth-child(1) {
    animation-delay: -0.32s;
}

.download_modal_queue_dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes queueDot {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.download_modal_icon_ready {
    background-color: rgb(220 252 231);
}

.dark .download_modal_icon_ready {
    background-color: rgb(20 83 45);
}

.download_modal_icon_error {
    background-color: rgb(254 226 226);
}

.dark .download_modal_icon_error {
    background-color: rgb(127 29 29);
}

.download_modal_icon {
    width: 2rem;
    height: 2rem;
}

.download_modal_icon_blue {
    color: rgb(37 99 235);
    animation: bounce 1s infinite;
}

.download_modal_icon_green {
    color: rgb(22 163 74);
}

.download_modal_icon_red {
    color: rgb(220 38 38);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.download_modal_title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.5rem;
}

.dark .download_modal_title {
    color: white;
}

.download_modal_stage {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128);
    margin-bottom: 0.5rem;
}

.dark .download_modal_stage {
    color: rgb(156 163 175);
}

.download_modal_progress_text {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #3B5BFE;
    margin-bottom: 1rem;
}

.download_modal_progress_bar {
    width: 100%;
    background-color: rgb(229 231 235);
    border-radius: 9999px;
    height: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.dark .download_modal_progress_bar {
    background-color: rgb(55 65 81);
}

.download_modal_progress_fill {
    background-color: rgb(37 99 235);
    height: 0.5rem;
    border-radius: 9999px;
    transition: width 0.3s ease-in-out;
}

.download_modal_cancel_button {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128);
    background: transparent;
    border: none;
    cursor: pointer;
}

.dark .download_modal_cancel_button {
    color: rgb(156 163 175);
}

.download_modal_cancel_button:hover {
    color: rgb(55 65 81);
}

.dark .download_modal_cancel_button:hover {
    color: rgb(209 213 219);
}

.download_modal_message {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128);
    margin-bottom: 1rem;
}

.dark .download_modal_message {
    color: rgb(156 163 175);
}

.download_modal_primary_button {
    width: 100%;
    padding: 0.625rem 0;
    background-color: #3B5BFE;
    color: white;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out;
    margin-bottom: 0.75rem;
    border: none;
    cursor: pointer;
}

.download_modal_primary_button:hover {
    background-color: rgb(29 78 216);
}

.download_modal_success_button {
    width: 100%;
    padding: 0.625rem 0;
    background-color: rgb(34 197 94);
    color: white;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out;
    margin-bottom: 0.75rem;
    border: none;
    cursor: pointer;
}

.download_modal_success_button:hover {
    background-color: rgb(22 163 74);
}

.download_modal_close_button {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128);
    background: transparent;
    border: none;
    cursor: pointer;
}

.dark .download_modal_close_button {
    color: rgb(156 163 175);
}

.download_modal_close_button:hover {
    color: rgb(55 65 81);
}

.dark .download_modal_close_button:hover {
    color: rgb(209 213 219);
}

/* ========================================
   NOTIFICATION
   ======================================== */
.notification {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: rgb(31 41 55 / 0.9);
    color: rgb(229 231 235);
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgb(55 65 81 / 0.5);
}

.dark .notification {
    background-color: rgb(55 65 81 / 0.9);
}

.notification_icon {
    width: 0.875rem;
    height: 0.875rem;
    color: rgb(156 163 175);
}


/* ========================================
   NOTIFICATION (Dynamic JS)
   ======================================== */
.notification_toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: rgb(31 41 55 / 0.9);
    color: rgb(229 231 235);
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgb(55 65 81 / 0.5);
}

.dark .notification_toast {
    background-color: rgb(55 65 81 / 0.9);
}

.notification_toast_icon {
    width: 0.875rem;
    height: 0.875rem;
    color: rgb(156 163 175);
}


/* ========================================
   HEADER IMAGE
   ======================================== */
.header_image_wrapper {
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 0;
}

.header_image {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* ========================================
   DESCRIPTION TEXT
   ======================================== */
.description_text {
    white-space: pre-wrap;
}


/* ========================================
   LINE CLAMP UTILITIES
   ======================================== */
.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ========================================
   SPINNER ELEMENTS
   ======================================== */
.spinner_track {
    opacity: 0.25;
}

.spinner_fill {
    opacity: 0.75;
}


/* ========================================
   ANIMATION UTILITIES
   ======================================== */
.animate-spin {
    animation: spin 1s linear infinite;
}


/* ========================================
   SEARCH PAGE - BREADCRUMB SECTION
   ======================================== */
.search_breadcrumb_section {
    background-color: rgb(249 250 251);
    border-bottom: 1px solid rgb(243 244 246);
}

.dark .search_breadcrumb_section {
    background-color: rgb(10 15 30);
    border-bottom-color: rgb(31 41 55);
}

.search_breadcrumb_container {
    width: 100%;
    padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
    .search_breadcrumb_container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .search_breadcrumb_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.search_breadcrumb_nav {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .search_breadcrumb_nav {
    color: rgb(156 163 175);
}

.search_breadcrumb_link {
    transition: color 0.15s ease-in-out;
}

.search_breadcrumb_link:hover {
    color: #3B5BFE;
}

.search_breadcrumb_separator {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.search_breadcrumb_current {
    color: rgb(17 24 39);
}

.dark .search_breadcrumb_current {
    color: white;
}


/* ========================================
   SEARCH PAGE - CONTAINER & HEADER
   ======================================== */
.search_page_container {
    width: 100%;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .search_page_container {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .search_page_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.search_header {
    margin-bottom: 1.5rem;
}

.search_header_title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: rgb(17 24 39);
    margin-bottom: 0.25rem;
}

.dark .search_header_title {
    color: white;
}

.search_header_subtitle {
    color: rgb(107 114 128);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.dark .search_header_subtitle {
    color: rgb(156 163 175);
}


/* ========================================
   SEARCH PAGE - FILTERS SECTION
   ======================================== */
.search_filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgb(243 244 246);
}

.dark .search_filters {
    border-bottom-color: rgb(31 41 55);
}

.search_filter_label {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    margin-right: 0.5rem;
}

.dark .search_filter_label {
    color: rgb(156 163 175);
}

.search_filter_btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 9999px;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
}

.search_filter_btn_active {
    background-color: #3B5BFE;
    color: white;
}

.search_filter_btn_inactive {
    background-color: rgb(243 244 246);
    color: rgb(75 85 99);
}

.dark .search_filter_btn_inactive {
    background-color: rgb(31 41 55);
    color: rgb(156 163 175);
}

.search_filter_btn_inactive:hover {
    background-color: rgb(229 231 235);
}

.dark .search_filter_btn_inactive:hover {
    background-color: rgb(55 65 81);
}

.search_filter_divider {
    color: rgb(209 213 219);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}


/* ========================================
   SEARCH PAGE - RESULTS GRID
   ======================================== */
.search_results_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .search_results_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .search_results_grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .search_results_grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .search_results_grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.search_app_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.15s ease-in-out;
    text-decoration: none;
}

.search_app_card:hover {
    transform: translateY(-2px);
}

.search_app_icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    overflow: hidden;
    background-color: rgb(243 244 246);
    margin: 0 0 0.5rem 0;
}

@media (min-width: 640px) {
    .search_app_icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.dark .search_app_icon {
    background-color: rgb(31 41 55);
}

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

.search_app_icon_placeholder {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (min-width: 640px) {
    .search_app_icon_placeholder {
        font-size: 1.5rem;
    }
}

.search_app_title {
    font-size: 11px;
    font-weight: 500;
    color: rgb(17 24 39);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 60px;
}

@media (min-width: 640px) {
    .search_app_title {
        font-size: 0.75rem;
        max-width: 70px;
    }
}

.dark .search_app_title {
    color: white;
}

.search_app_meta {
    font-size: 9px;
    color: rgb(75 85 99);
    margin-top: 0.125rem;
}

@media (min-width: 640px) {
    .search_app_meta {
        font-size: 10px;
    }
}

.dark .search_app_meta {
    color: rgb(156 163 175);
}

.search_app_price_free {
    font-size: 9px;
    color: rgb(22 163 74);
}

@media (min-width: 640px) {
    .search_app_price_free {
        font-size: 10px;
    }
}

.dark .search_app_price_free {
    color: rgb(74 222 128);
}

.search_app_price_paid {
    font-size: 9px;
    color: rgb(234 88 12);
}

@media (min-width: 640px) {
    .search_app_price_paid {
        font-size: 10px;
    }
}

.dark .search_app_price_paid {
    color: rgb(251 146 60);
}


/* ========================================
   SEARCH PAGE - PAGINATION
   ======================================== */
.search_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.search_pagination_btn {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(75 85 99);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
}

.dark .search_pagination_btn {
    background-color: rgb(17 24 39);
    border-color: rgb(55 65 81);
    color: rgb(156 163 175);
}

.search_pagination_btn:hover {
    background-color: rgb(249 250 251);
}

.dark .search_pagination_btn:hover {
    background-color: rgb(31 41 55);
}

.search_pagination_icon {
    width: 1rem;
    height: 1rem;
}

.search_pagination_current {
    padding: 0.5rem 1rem;
    background-color: rgb(59 91 254 / 0.1);
    color: #3B5BFE;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    border-radius: 0.5rem;
}


/* ========================================
   SEARCH PAGE - NO RESULTS
   ======================================== */
.search_no_results {
    text-align: center;
    padding: 4rem 0;
}

.search_no_results_icon_wrapper {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1rem;
    background-color: rgb(243 244 246);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .search_no_results_icon_wrapper {
    background-color: rgb(31 41 55);
}

.search_no_results_icon {
    width: 2.5rem;
    height: 2.5rem;
    color: rgb(156 163 175);
}

.search_no_results_title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
    color: rgb(17 24 39);
    margin-bottom: 0.5rem;
}

.dark .search_no_results_title {
    color: white;
}

.search_no_results_text {
    color: rgb(107 114 128);
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 1.5rem;
}

.dark .search_no_results_text {
    color: rgb(156 163 175);
}

.search_no_results_btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background-color: #3B5BFE;
    color: white;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out;
    text-decoration: none;
}

.search_no_results_btn:hover {
    background-color: rgb(29 78 216);
}

.search_no_results_btn_icon {
    width: 1rem;
    height: 1rem;
}


/* ========================================
   SITE HEADER
   ======================================== */
.site_header {
    border-bottom: 1px solid rgb(229 231 235 / 0.8);
    position: sticky;
    top: 0;
    background-color: rgb(255 255 255 / 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    z-index: 50;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.dark .site_header {
    border-bottom-color: rgb(17 24 39 / 0.8);
    background-color: rgb(3 7 18 / 0.9);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.3);
}

.header_container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 640px) {
    .header_container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .header_container {
        padding: 0 2rem;
    }
}

/* Header Logo */
.header_logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
    text-decoration: none;
    color: rgb(17 24 39);
    /* Primary text color (Light mode) */
}

.header_logo:hover {
    opacity: 0.8;
    /* Subtle hover effect */
}

.header_logo_hidden {
    display: none;
}

@media (min-width: 768px) {
    .header_logo_hidden {
        display: flex;
    }
}

.header_logo_visible {
    display: flex;
}

.header_logo_icon {
    width: 2rem;
    height: 2rem;
    color: inherit;
    /* Inherit color from parent (.header_logo) */
}

.header_logo_text {
    color: inherit;
    /* Inherit color from parent */
}

.dark .header_logo {
    color: white;
    /* Primary text color (Dark mode) */
}

.dark .header_logo_text {
    color: inherit;
}


/* Header Mobile Actions Container */
.header_mobile_actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.header_mobile_actions_hidden {
    display: none;
}

@media (min-width: 768px) {
    .header_mobile_actions {
        display: none;
    }
}

/* Header Mobile Theme Toggle */
.header_mobile_theme_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: rgb(75 85 99);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

.dark .header_mobile_theme_toggle {
    color: rgb(209 213 219);
}

.header_mobile_theme_toggle:hover {
    color: #3B5BFE;
}

.header_mobile_theme_icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Header Mobile Search Button */
.header_mobile_search_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: rgb(75 85 99);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

.dark .header_mobile_search_btn {
    color: rgb(209 213 219);
}

.header_mobile_search_btn:hover {
    color: #3B5BFE;
}

.header_mobile_search_icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Header Search */
.header_search_wrapper {
    display: none;
    flex: 1 1 0%;
    position: relative;
    transition: all 0.2s ease-in-out;
}

/* Mobile: hidden by default, shown when expanded */
.header_search_wrapper_expanded {
    display: flex;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Desktop: always visible */
@media (min-width: 768px) {
    .header_search_wrapper {
        display: flex;
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        max-width: 36rem;
    }
    
    .header_search_wrapper_expanded {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
    }
}

.header_search_inner {
    position: relative;
    width: 100%;
}

/* Header Search Close Button (mobile only) */
.header_search_close_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem;
    color: rgb(107 114 128);
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.header_search_close_btn:hover {
    color: rgb(55 65 81);
    background-color: rgb(229 231 235);
}

.dark .header_search_close_btn {
    color: rgb(156 163 175);
}

.dark .header_search_close_btn:hover {
    color: rgb(209 213 219);
    background-color: rgb(55 65 81);
}

.header_search_close_btn_hidden {
    display: none;
}

@media (min-width: 768px) {
    .header_search_close_btn {
        display: none;
    }
}

.header_search_icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: rgb(156 163 175);
}

.dark .header_search_icon {
    color: rgb(107 114 128);
}

.header_search_input {
    width: 100%;
    padding: 0.5rem 2rem 0.5rem 2.5rem;
    background-color: rgb(243 244 246);
    border-radius: 0.5rem;
    font-size: 16px; /* Prevents zoom on mobile */
    line-height: 1.5rem;
    color: rgb(17 24 39);
    border: 1px solid transparent;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dark .header_search_input {
    background-color: rgb(17 24 39);
    color: rgb(243 244 246);
}

.header_search_input::placeholder {
    color: rgb(107 114 128);
}

.dark .header_search_input::placeholder {
    color: rgb(156 163 175);
}

.header_search_input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(59 91 254 / 0.2);
    background-color: white;
    border-color: rgb(59 91 254 / 0.3);
}

.dark .header_search_input:focus {
    background-color: rgb(31 41 55);
}

/* Header Suggestions Dropdown */
.header_suggestions_dropdown {
    position: absolute;
    width: 100%;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    margin-top: 0.25rem;
    z-index: 50;
    overflow: hidden;
    border: 1px solid rgb(243 244 246);
}

.dark .header_suggestions_dropdown {
    background-color: rgb(10 15 30);
    border-color: rgb(31 41 55);
}

.header_suggestion_item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(55 65 81);
    text-align: left;
    text-decoration: none;
}

.dark .header_suggestion_item {
    color: rgb(229 231 235);
}

.header_suggestion_item:hover {
    background-color: rgb(249 250 251);
}

.dark .header_suggestion_item:hover {
    background-color: rgb(31 41 55);
}

/* Search Popup - Enhanced */
.header_search_popup {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    margin-top: 0.25rem;
    z-index: 50;
    overflow: hidden;
    border: 1px solid rgb(229 231 235);
}

.dark .header_search_popup {
    background-color: rgb(17 24 39);
    border-color: rgb(55 65 81);
}

.search_popup_section {
    padding: 0.25rem 0;
}

.search_popup_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: rgb(156 163 175);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark .search_popup_header {
    color: rgb(107 114 128);
}

.search_popup_clear {
    font-size: 0.625rem;
    font-weight: 500;
    color: #3B5BFE;
    background: none;
    border: none;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.search_popup_clear:hover {
    text-decoration: underline;
}

.search_popup_item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: rgb(55 65 81);
    text-decoration: none;
    transition: background-color 0.1s ease;
    cursor: pointer;
    position: relative;
}

.dark .search_popup_item {
    color: rgb(229 231 235);
}

.search_popup_item:hover,
.search_popup_item_active {
    background-color: rgb(243 244 246);
}

.dark .search_popup_item:hover,
.dark .search_popup_item_active {
    background-color: rgb(31 41 55);
}

.search_popup_item_icon {
    width: 0.875rem;
    height: 0.875rem;
    color: rgb(156 163 175);
    flex-shrink: 0;
}

.search_popup_item_app {
    gap: 0.5rem;
}

.search_popup_app_icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    object-fit: cover;
    flex-shrink: 0;
    background-color: rgb(243 244 246);
}

.dark .search_popup_app_icon {
    background-color: rgb(31 41 55);
}

.search_popup_remove {
    position: absolute;
    right: 0.5rem;
    padding: 0.125rem;
    color: rgb(156 163 175);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 0.25rem;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.search_popup_item:hover .search_popup_remove {
    opacity: 1;
}

.search_popup_remove:hover {
    color: rgb(239 68 68);
    background-color: rgb(254 226 226);
}

.dark .search_popup_remove:hover {
    background-color: rgb(127 29 29);
}

/* Header Desktop Navigation */
.header_nav_desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .header_nav_desktop {
        display: flex;
    }
}

.header_nav_link {
    color: rgb(75 85 99);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    transition: color 0.15s ease-in-out;
    text-decoration: none;
}

.dark .header_nav_link {
    color: rgb(209 213 219);
}

.header_nav_link:hover {
    color: #3B5BFE;
}

.dark .header_nav_link:hover {
    color: #3B5BFE;
}

.header_nav_icon {
    width: 1rem;
    height: 1rem;
}

/* Header Nav Dropdown */
.header_nav_dropdown {
    position: relative;
}

.header_nav_dropdown_btn {
    cursor: pointer;
    background: none;
    border: none;
}

.header_nav_dropdown_arrow {
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 0.2s ease;
}

.header_nav_dropdown_arrow_open {
    transform: rotate(180deg);
}

.header_nav_dropdown_menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 14rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border: 1px solid rgb(229 231 235);
    padding: 0.5rem;
    z-index: 50;
}

.dark .header_nav_dropdown_menu {
    background: rgb(31 41 55);
    border-color: rgb(55 65 81);
}

.header_nav_dropdown_item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: rgb(55 65 81);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.15s ease;
    font-weight: 500;
}

.dark .header_nav_dropdown_item {
    color: rgb(209 213 219);
}

.header_nav_dropdown_item:hover {
    background: rgb(243 244 246);
    color: #3B5BFE;
}

.dark .header_nav_dropdown_item:hover {
    background: rgb(55 65 81);
    color: #3B5BFE;
}

.header_nav_dropdown_item_icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Header Theme Toggle */
.header_theme_toggle {
    padding: 0.5rem;
    color: rgb(107 114 128);
    border-radius: 0.5rem;
    transition: all 0.15s ease-in-out;
    background: transparent;
    border: none;
    cursor: pointer;
}

.dark .header_theme_toggle {
    color: rgb(156 163 175);
}

.header_theme_toggle:hover {
    color: #3B5BFE;
    background-color: rgb(243 244 246);
}

.dark .header_theme_toggle:hover {
    color: #3B5BFE;
    background-color: rgb(31 41 55);
}

.header_theme_icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Header Mobile Menu Button */
.header_mobile_menu_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: rgb(75 85 99);
    transition: all 0.2s ease-in-out;
    background: transparent;
    border: none;
    cursor: pointer;
}

.dark .header_mobile_menu_btn {
    color: rgb(209 213 219);
}

.header_mobile_menu_btn:hover {
    color: #3B5BFE;
}

.header_mobile_menu_icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Header Mobile Menu */
.header_mobile_menu {
    border-top: 1px solid rgb(243 244 246);
    background-color: white;
}

.dark .header_mobile_menu {
    border-top-color: rgb(31 41 55);
    background-color: rgb(10 15 30);
}

@media (min-width: 768px) {
    .header_mobile_menu {
        display: none;
    }
}

.header_mobile_nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header_mobile_nav_link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgb(75 85 99);
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
}

.dark .header_mobile_nav_link {
    color: rgb(209 213 219);
}

.header_mobile_nav_link:hover {
    color: #3B5BFE;
    background-color: rgb(249 250 251);
}

.dark .header_mobile_nav_link:hover {
    color: #3B5BFE;
    background-color: rgb(31 41 55);
}

.header_mobile_nav_icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile Nav Section */
.header_mobile_nav_section {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgb(229 231 235);
}

.dark .header_mobile_nav_section {
    border-color: rgb(55 65 81);
}

.header_mobile_nav_section_title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(156 163 175);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.75rem 0.25rem;
}

.dark .header_mobile_nav_section_title {
    color: rgb(107 114 128);
}

.header_mobile_nav_link_indent {
    padding-left: 1.25rem;
}

.header_mobile_theme_btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgb(75 85 99);
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
    text-align: left;
    transition: all 0.15s ease-in-out;
    background: transparent;
    border: none;
    cursor: pointer;
}

.dark .header_mobile_theme_btn {
    color: rgb(209 213 219);
}

.header_mobile_theme_btn:hover {
    color: #3B5BFE;
    background-color: rgb(249 250 251);
}

.dark .header_mobile_theme_btn:hover {
    color: #3B5BFE;
    background-color: rgb(31 41 55);
}


/* ========================================
   SITE FOOTER
   ======================================== */
.site_footer {
    background: linear-gradient(to bottom, rgb(249 250 251), white);
    border-top: 1px solid rgb(229 231 235 / 0.8);
    margin-top: 3rem;
    transition: background-color 0.2s ease-in-out;
}

.dark .site_footer {
    background: linear-gradient(to bottom, rgb(3 7 18), rgb(10 15 30));
    border-top-color: rgb(17 24 39 / 0.8);
}

@media (min-width: 640px) {
    .site_footer {
        margin-top: 4rem;
    }
}

.footer_container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 640px) {
    .footer_container {
        padding: 3rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.footer_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

@media (min-width: 640px) {
    .footer_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
    }
}

.footer_column {
    display: flex;
    flex-direction: column;
}

.footer_title {
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
}

.dark .footer_title {
    color: white;
}

@media (min-width: 640px) {
    .footer_title {
        margin-bottom: 1rem;
    }
}

.footer_description {
    color: rgb(107 114 128);
    font-size: 0.75rem;
    line-height: 1rem;
}

.dark .footer_description {
    color: rgb(156 163 175);
}

@media (min-width: 640px) {
    .footer_description {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

.footer_links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_link {
    color: rgb(107 114 128);
    font-size: 0.75rem;
    line-height: 1rem;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.dark .footer_link {
    color: rgb(156 163 175);
}

.footer_link:hover {
    color: #3B5BFE;
}

@media (min-width: 640px) {
    .footer_link {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

.footer_copyright {
    border-top: 1px solid rgb(243 244 246);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    text-align: center;
    color: rgb(156 163 175);
    font-size: 0.75rem;
    line-height: 1rem;
}

.dark .footer_copyright {
    border-top-color: rgb(31 41 55);
    color: rgb(107 114 128);
}

@media (min-width: 640px) {
    .footer_copyright {
        margin-top: 2rem;
        padding-top: 2rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}


/* ========================================
   HERO SECTION - With Background Image
   ======================================== */
.hero_section {
    position: relative;
    padding: 2.5rem 1rem 3rem;
    background-image: url('/static/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Radial gradient overlay - transparent in center, opaque at edges */
.hero_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse 80% 100% at 50% 50%,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.88) 50%,
        rgba(255, 255, 255, 0.95) 100%
    );
    z-index: 1;
}

/* Dark mode overlay */
.dark .hero_section::before {
    background: radial-gradient(
        ellipse 80% 100% at 50% 50%,
        rgba(17, 24, 39, 0.78) 0%,
        rgba(17, 24, 39, 0.88) 50%,
        rgba(17, 24, 39, 0.95) 100%
    );
}

@media (min-width: 768px) {
    .hero_section {
        padding: 3.5rem 1rem 4rem;
    }
}

.hero_container {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
}

.hero_title {
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1rem;
    color: rgb(17 24 39);
    letter-spacing: -0.025em;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.dark .hero_title {
    color: rgb(249 250 251);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero_title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero_title {
        font-size: 3rem;
    }
}

/* Gradient accent for title */
.hero_title_accent {
    background: linear-gradient(135deg, #3B5BFE 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark .hero_title_accent {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero_subtitle {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgb(55 65 81);
    margin-bottom: 1.75rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.dark .hero_subtitle {
    color: rgb(229 231 235);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .hero_subtitle {
        font-size: 1.25rem;
        line-height: 1.8;
    }
}

/* Hero Features - Modern Cards */
.hero_features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .hero_features {
        gap: 1rem;
    }
}

.hero_feature_item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(229 231 235);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.hero_feature_item:hover {
    border-color: rgb(59 130 246 / 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.dark .hero_feature_item {
    background: rgb(31 41 55);
    border-color: rgb(55 65 81);
}

.dark .hero_feature_item:hover {
    border-color: rgb(96 165 250 / 0.4);
}

.hero_feature_icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero_feature_icon_green {
    background: rgb(220 252 231);
}
.hero_feature_icon_blue {
    background: rgb(219 234 254);
}
.hero_feature_icon_purple {
    background: rgb(243 232 255);
}
.hero_feature_icon_orange {
    background: rgb(255 237 213);
}

.dark .hero_feature_icon_green {
    background: rgb(22 101 52 / 0.3);
}
.dark .hero_feature_icon_blue {
    background: rgb(30 64 175 / 0.3);
}
.dark .hero_feature_icon_purple {
    background: rgb(107 33 168 / 0.3);
}
.dark .hero_feature_icon_orange {
    background: rgb(154 52 18 / 0.3);
}

.hero_feature_svg {
    width: 1.125rem;
    height: 1.125rem;
}

.hero_feature_svg_green { color: rgb(22 163 74); }
.hero_feature_svg_blue { color: rgb(37 99 235); }
.hero_feature_svg_purple { color: rgb(126 34 206); }
.hero_feature_svg_orange { color: rgb(234 88 12); }

.dark .hero_feature_svg_green { color: rgb(74 222 128); }
.dark .hero_feature_svg_blue { color: rgb(96 165 250); }
.dark .hero_feature_svg_purple { color: rgb(192 132 252); }
.dark .hero_feature_svg_orange { color: rgb(251 146 60); }

.hero_feature_text {
    text-align: left;
}

.hero_feature_title {
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .hero_feature_title {
    color: rgb(243 244 246);
}

.hero_feature_desc {
    font-size: 0.6875rem;
    line-height: 1.2;
    color: rgb(107 114 128);
    margin-top: 0.125rem;
}

.dark .hero_feature_desc {
    color: rgb(156 163 175);
}


/* ========================================
   HOME PAGE CONTENT
   ======================================== */
.home_content {
    width: 100%;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .home_content {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .home_content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.home_category_section {
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .home_category_section {
        margin-bottom: 2.5rem;
    }
}

.home_section_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.home_section_title {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    color: rgb(17 24 39);
    letter-spacing: 0.025em;
}

.dark .home_section_title {
    color: white;
}

@media (min-width: 640px) {
    .home_section_title {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

.home_see_more_link {
    color: #3B5BFE;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.home_see_more_link:hover {
    text-decoration: underline;
}

.home_see_more_icon {
    width: 0.75rem;
    height: 0.75rem;
}

/* Home Apps Grid */
.home_apps_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .home_apps_grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .home_apps_grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home_apps_grid {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }
}

.home_apps_grid_wide {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .home_apps_grid_wide {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .home_apps_grid_wide {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home_apps_grid_wide {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .home_apps_grid_wide {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

/* Home App Card */
.home_app_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.15s ease-in-out;
    text-decoration: none;
}

.home_app_card:hover {
    transform: translateY(-2px);
}

.home_app_icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    overflow: hidden;
    background-color: rgb(243 244 246);
    margin: 0 0 0.5rem 0;
}

@media (min-width: 640px) {
    .home_app_icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.dark .home_app_icon {
    background-color: rgb(31 41 55);
}

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

.home_app_icon_placeholder {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (min-width: 640px) {
    .home_app_icon_placeholder {
        font-size: 1.5rem;
    }
}

.home_app_title {
    font-size: 11px;
    font-weight: 500;
    color: rgb(17 24 39);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 60px;
}

@media (min-width: 640px) {
    .home_app_title {
        font-size: 0.75rem;
        max-width: 70px;
    }
}

.dark .home_app_title {
    color: white;
}

.home_app_meta {
    font-size: 9px;
    color: rgb(75 85 99);
    margin-top: 0.125rem;
}

@media (min-width: 640px) {
    .home_app_meta {
        font-size: 10px;
    }
}

.dark .home_app_meta {
    color: rgb(156 163 175);
}

.home_app_price_free {
    font-size: 9px;
    color: rgb(22 163 74);
}

@media (min-width: 640px) {
    .home_app_price_free {
        font-size: 10px;
    }
}

.dark .home_app_price_free {
    color: rgb(74 222 128);
}

.home_app_price_paid {
    font-size: 9px;
    color: rgb(234 88 12);
}

@media (min-width: 640px) {
    .home_app_price_paid {
        font-size: 10px;
    }
}

.dark .home_app_price_paid {
    color: rgb(251 146 60);
}

/* Trending Tags */
.home_trending_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.home_trending_tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background-color: rgb(249 250 251);
    border: 1px solid rgb(229 231 235);
    border-radius: 9999px;
    font-size: 0.6875rem;
    color: rgb(75 85 99);
    transition: all 0.15s ease-in-out;
    text-decoration: none;
}

.dark .home_trending_tag {
    background-color: rgb(17 24 39);
    border-color: rgb(55 65 81);
    color: rgb(209 213 219);
}

@media (min-width: 640px) {
    .home_trending_tag {
        padding: 0.3125rem 0.75rem;
        font-size: 0.75rem;
    }
}

.home_trending_tag:hover {
    background-color: rgb(59 91 254 / 0.1);
    color: #3B5BFE;
    border-color: #3B5BFE;
}

.dark .home_trending_tag:hover {
    background-color: rgb(59 91 254 / 0.2);
    color: #6B8AFF;
    border-color: #6B8AFF;
}

.home_trending_icon {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 0.1875rem;
    object-fit: cover;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .home_trending_icon {
        width: 1rem;
        height: 1rem;
    }
}


/* ========================================
   CATEGORIES PAGE
   ======================================== */
.categories_hero {
    background: linear-gradient(to bottom, rgb(59 91 254 / 0.05), transparent);
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .categories_hero {
        padding: 4rem 1rem;
    }
}

.categories_hero_container {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.categories_hero_title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(17 24 39);
    line-height: 1.25;
}

.dark .categories_hero_title {
    color: white;
}

@media (min-width: 768px) {
    .categories_hero_title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .categories_hero_title {
        font-size: 3rem;
        line-height: 1;
    }
}

.categories_hero_subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: rgb(75 85 99);
}

.dark .categories_hero_subtitle {
    color: rgb(156 163 175);
}

@media (min-width: 768px) {
    .categories_hero_subtitle {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

.categories_content {
    width: 100%;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .categories_content {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .categories_content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.categories_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .categories_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .categories_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .categories_grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .categories_grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.category_card {
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: rgb(249 250 251);
    transition: all 0.15s ease-in-out;
    text-decoration: none;
}

.dark .category_card {
    background-color: rgb(31 41 55 / 0.5);
}

.category_card:hover {
    background-color: rgb(59 91 254 / 0.05);
}

.dark .category_card:hover {
    background-color: rgb(59 91 254 / 0.1);
}

.category_card_title {
    font-weight: 500;
    color: rgb(17 24 39);
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: color 0.15s ease-in-out;
}

.dark .category_card_title {
    color: white;
}

.category_card:hover .category_card_title {
    color: #3B5BFE;
}

.category_card_count {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    margin-top: 0.25rem;
}

.dark .category_card_count {
    color: rgb(156 163 175);
}


/* ========================================
   CATEGORY PAGE (SINGLE)
   ======================================== */
.category_page_hero {
    background: linear-gradient(to bottom, rgb(59 91 254 / 0.05), rgb(59 91 254 / 0.1), transparent);
    padding: 2rem 1rem;
}

.category_page_hero_container {
    max-width: 80rem;
    margin: 0 auto;
}

.category_breadcrumb {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
    margin-bottom: 1rem;
}

.dark .category_breadcrumb {
    color: rgb(156 163 175);
}

.category_breadcrumb_link {
    transition: color 0.15s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.category_breadcrumb_link:hover {
    color: #3B5BFE;
}

.category_breadcrumb_separator {
    margin: 0 0.25rem;
}

@media (min-width: 640px) {
    .category_breadcrumb_separator {
        margin: 0 0.5rem;
    }
}

.category_breadcrumb_current {
    color: rgb(17 24 39);
    text-transform: capitalize;
}

.dark .category_breadcrumb_current {
    color: white;
}

.category_page_title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: rgb(17 24 39);
    text-transform: capitalize;
}

.dark .category_page_title {
    color: white;
}

@media (min-width: 768px) {
    .category_page_title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

.category_page_content {
    width: 100%;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .category_page_content {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .category_page_content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.category_page_container {
    max-width: 80rem;
    margin: 0 auto;
}

.category_apps_count {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(75 85 99);
}

.dark .category_apps_count {
    color: rgb(156 163 175);
}

.category_apps_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .category_apps_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .category_apps_grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .category_apps_grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .category_apps_grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.category_app_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.15s ease-in-out;
    text-decoration: none;
}

.category_app_card:hover {
    transform: translateY(-2px);
}

.category_app_icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    overflow: hidden;
    background-color: rgb(243 244 246);
    margin: 0 0 0.5rem 0;
}

@media (min-width: 640px) {
    .category_app_icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.dark .category_app_icon {
    background-color: rgb(31 41 55);
}

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

.category_app_icon_placeholder {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (min-width: 640px) {
    .category_app_icon_placeholder {
        font-size: 1.5rem;
    }
}

.category_app_title {
    font-size: 11px;
    font-weight: 500;
    color: rgb(17 24 39);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 60px;
}

@media (min-width: 640px) {
    .category_app_title {
        font-size: 0.75rem;
        max-width: 70px;
    }
}

.dark .category_app_title {
    color: white;
}

.category_app_meta {
    font-size: 9px;
    color: rgb(75 85 99);
    margin-top: 0.125rem;
}

@media (min-width: 640px) {
    .category_app_meta {
        font-size: 10px;
    }
}

.dark .category_app_meta {
    color: rgb(156 163 175);
}

.category_app_price_free {
    font-size: 9px;
    color: rgb(22 163 74);
}

@media (min-width: 640px) {
    .category_app_price_free {
        font-size: 10px;
    }
}

.dark .category_app_price_free {
    color: rgb(74 222 128);
}

.category_app_price_paid {
    font-size: 9px;
    color: rgb(234 88 12);
}

@media (min-width: 640px) {
    .category_app_price_paid {
        font-size: 10px;
    }
}

.dark .category_app_price_paid {
    color: rgb(251 146 60);
}

/* Category Pagination */
.category_pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.category_pagination_btn {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(55 65 81);
    transition: background-color 0.15s ease-in-out;
    text-decoration: none;
}

.dark .category_pagination_btn {
    background-color: rgb(17 24 39);
    border-color: rgb(55 65 81);
    color: rgb(209 213 219);
}

.category_pagination_btn:hover {
    background-color: rgb(249 250 251);
}

.dark .category_pagination_btn:hover {
    background-color: rgb(31 41 55);
}

.category_pagination_btn_disabled {
    padding: 0.5rem 1rem;
    background-color: rgb(243 244 246);
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(156 163 175);
    cursor: not-allowed;
}

.dark .category_pagination_btn_disabled {
    background-color: rgb(17 24 39);
    border-color: rgb(55 65 81);
}

.category_pagination_pages {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.category_pagination_current {
    padding: 0.5rem 0.75rem;
    background-color: #3B5BFE;
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
}

.category_pagination_page {
    padding: 0.5rem 0.75rem;
    background-color: white;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(55 65 81);
    transition: background-color 0.15s ease-in-out;
    text-decoration: none;
}

.dark .category_pagination_page {
    background-color: rgb(17 24 39);
    border-color: rgb(55 65 81);
    color: rgb(209 213 219);
}

.category_pagination_page:hover {
    background-color: rgb(249 250 251);
}

.dark .category_pagination_page:hover {
    background-color: rgb(31 41 55);
}

.category_pagination_ellipsis {
    padding: 0 0.5rem;
    color: rgb(156 163 175);
}

/* Category Empty State */
.category_empty_state {
    text-align: center;
    padding: 3rem 0;
}

@media (min-width: 640px) {
    .category_empty_state {
        padding: 4rem 0;
    }
}

.category_empty_icon_wrapper {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background-color: rgb(243 244 246);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .category_empty_icon_wrapper {
        width: 5rem;
        height: 5rem;
    }
}

.dark .category_empty_icon_wrapper {
    background-color: rgb(31 41 55);
}

.category_empty_icon {
    width: 2rem;
    height: 2rem;
    color: rgb(156 163 175);
}

@media (min-width: 640px) {
    .category_empty_icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.category_empty_text {
    color: rgb(107 114 128);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

@media (min-width: 640px) {
    .category_empty_text {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

.dark .category_empty_text {
    color: rgb(156 163 175);
}

.category_empty_btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background-color: #3B5BFE;
    color: white;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out;
    text-decoration: none;
}

@media (min-width: 640px) {
    .category_empty_btn {
        padding: 0.5rem 1.5rem;
    }
}

.category_empty_btn:hover {
    background-color: rgb(29 78 216);
}

.category_empty_btn_icon {
    width: 1rem;
    height: 1rem;
}


/* ========================================
   DEVELOPER PAGE
   ======================================== */
.developer_breadcrumb_section {
    background-color: rgb(249 250 251);
    border-bottom: 1px solid rgb(243 244 246);
}

.dark .developer_breadcrumb_section {
    background-color: rgb(10 15 30);
    border-bottom-color: rgb(31 41 55);
}

.developer_breadcrumb_container {
    width: 100%;
    padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
    .developer_breadcrumb_container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .developer_breadcrumb_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.developer_breadcrumb {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .developer_breadcrumb {
    color: rgb(156 163 175);
}

.developer_breadcrumb_link {
    transition: color 0.15s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.developer_breadcrumb_link:hover {
    color: #3B5BFE;
}

.developer_breadcrumb_separator {
    margin: 0 0.5rem;
}

.developer_breadcrumb_current {
    color: rgb(17 24 39);
}

.dark .developer_breadcrumb_current {
    color: white;
}

.developer_content {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem;
}

@media (min-width: 640px) {
    .developer_content {
        padding: 1rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .developer_content {
        padding: 1.5rem 2rem;
    }
}

.developer_header {
    margin-bottom: 1.5rem;
}

.developer_title {
    font-size: 0.875rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: rgb(17 24 39);
}

.dark .developer_title {
    color: white;
}

.developer_app_count {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128);
    margin-top: 0.25rem;
}

.dark .developer_app_count {
    color: rgb(156 163 175);
}

.developer_apps_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .developer_apps_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .developer_apps_grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .developer_apps_grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .developer_apps_grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.developer_app_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.15s ease-in-out;
    text-decoration: none;
}

.developer_app_card:hover {
    transform: translateY(-2px);
}

.developer_app_icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    overflow: hidden;
    background-color: rgb(243 244 246);
    margin: 0 0 0.5rem 0;
}

@media (min-width: 640px) {
    .developer_app_icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.dark .developer_app_icon {
    background-color: rgb(31 41 55);
}

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

.developer_app_icon_placeholder {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (min-width: 640px) {
    .developer_app_icon_placeholder {
        font-size: 1.5rem;
    }
}

.developer_app_title {
    font-size: 11px;
    font-weight: 500;
    color: rgb(17 24 39);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 60px;
}

@media (min-width: 640px) {
    .developer_app_title {
        font-size: 0.75rem;
        max-width: 70px;
    }
}

.dark .developer_app_title {
    color: white;
}

.developer_app_meta {
    font-size: 9px;
    color: rgb(75 85 99);
    margin-top: 0.125rem;
}

@media (min-width: 640px) {
    .developer_app_meta {
        font-size: 10px;
    }
}

.dark .developer_app_meta {
    color: rgb(156 163 175);
}

.developer_app_price_free {
    font-size: 9px;
    color: rgb(22 163 74);
}

@media (min-width: 640px) {
    .developer_app_price_free {
        font-size: 10px;
    }
}

.dark .developer_app_price_free {
    color: rgb(74 222 128);
}

.developer_app_price_paid {
    font-size: 9px;
    color: rgb(234 88 12);
}

@media (min-width: 640px) {
    .developer_app_price_paid {
        font-size: 10px;
    }
}

.dark .developer_app_price_paid {
    color: rgb(251 146 60);
}

.developer_empty_state {
    text-align: center;
    padding: 3rem 0;
    color: rgb(107 114 128);
}

.dark .developer_empty_state {
    color: rgb(156 163 175);
}


/* ========================================
   TAGS LIST PAGE
   ======================================== */
.tags_page {
    min-height: 100vh;
}

.tags_breadcrumb_section {
    background-color: rgb(249 250 251);
    border-bottom: 1px solid rgb(243 244 246);
}

.dark .tags_breadcrumb_section {
    background-color: rgb(10 15 30);
    border-bottom-color: rgb(31 41 55);
}

.tags_breadcrumb_container {
    width: 100%;
    padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
    .tags_breadcrumb_container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .tags_breadcrumb_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.tags_breadcrumb {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .tags_breadcrumb {
    color: rgb(156 163 175);
}

.tags_breadcrumb_link {
    transition: color 0.15s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.tags_breadcrumb_link:hover {
    color: #3B5BFE;
}

.tags_breadcrumb_separator {
    margin: 0 0.5rem;
}

.tags_breadcrumb_current {
    color: rgb(17 24 39);
}

.dark .tags_breadcrumb_current {
    color: white;
}

.tags_content {
    width: 100%;
    padding: 2rem 1rem;
}

@media (min-width: 640px) {
    .tags_content {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .tags_content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.tags_header {
    margin-bottom: 2rem;
}

.tags_page .tags_title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
}

.dark .tags_page .tags_title {
    color: white;
}

.tags_subtitle {
    color: rgb(75 85 99);
}

.dark .tags_subtitle {
    color: rgb(156 163 175);
}

.tags_grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 640px) {
    .tags_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .tags_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tags_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.tags_card {
    display: block;
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgb(243 244 246);
    text-decoration: none;
}

.dark .tags_card {
    background-color: rgb(17 24 39);
    border-color: rgb(31 41 55);
}

.tags_card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.tags_card_content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.tags_card_icon {
    font-size: 1.875rem;
    flex-shrink: 0;
}

.tags_card_info {
    flex: 1 1 0%;
    min-width: 0;
}

.tags_card_name {
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.25rem;
    transition: color 0.15s ease-in-out;
}

.dark .tags_card_name {
    color: white;
}

.tags_card:hover .tags_card_name {
    color: #3B5BFE;
}

.tags_card_count {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128);
}

.dark .tags_card_count {
    color: rgb(156 163 175);
}

.tags_card_arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(156 163 175);
    flex-shrink: 0;
    transition: color 0.15s ease-in-out;
}

.tags_card:hover .tags_card_arrow {
    color: #3B5BFE;
}

.tags_empty_state {
    text-align: center;
    padding: 4rem 0;
}

.tags_empty_icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: rgb(209 213 219);
}

.dark .tags_empty_icon {
    color: rgb(75 85 99);
}

.tags_empty_title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
    color: rgb(17 24 39);
    margin-bottom: 0.5rem;
}

.dark .tags_empty_title {
    color: white;
}

.tags_empty_text {
    color: rgb(107 114 128);
}

.dark .tags_empty_text {
    color: rgb(156 163 175);
}


/* ========================================
   TAG (SINGLE) PAGE
   ======================================== */
.tag_page {
    min-height: 100vh;
}

.tag_breadcrumb_section {
    background-color: rgb(249 250 251);
    border-bottom: 1px solid rgb(243 244 246);
}

.dark .tag_breadcrumb_section {
    background-color: rgb(10 15 30);
    border-bottom-color: rgb(31 41 55);
}

.tag_breadcrumb_container {
    width: 100%;
    padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
    .tag_breadcrumb_container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .tag_breadcrumb_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.tag_breadcrumb {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .tag_breadcrumb {
    color: rgb(156 163 175);
}

.tag_breadcrumb_link {
    transition: color 0.15s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.tag_breadcrumb_link:hover {
    color: #3B5BFE;
}

.tag_breadcrumb_separator {
    margin: 0 0.5rem;
}

.tag_breadcrumb_current {
    color: rgb(17 24 39);
}

.dark .tag_breadcrumb_current {
    color: white;
}

.tag_content {
    width: 100%;
    padding: 2rem 1rem;
}

@media (min-width: 640px) {
    .tag_content {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .tag_content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.tag_header {
    margin-bottom: 2rem;
}

.tag_title_row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tag_icon {
    font-size: 2.25rem;
}

.tag_title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: rgb(17 24 39);
}

.dark .tag_title {
    color: white;
}

.tag_description {
    color: rgb(75 85 99);
    line-height: 1.625;
    max-width: 56rem;
}

.dark .tag_description {
    color: rgb(156 163 175);
}

.tag_meta {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128);
}

.dark .tag_meta {
    color: rgb(156 163 175);
}

.tag_meta_icon {
    width: 1rem;
    height: 1rem;
}

.tag_apps_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .tag_apps_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .tag_apps_grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tag_apps_grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .tag_apps_grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.tag_app_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.15s ease-in-out;
    text-decoration: none;
}

.tag_app_card:hover {
    transform: translateY(-2px);
}

.tag_app_icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    overflow: hidden;
    background-color: rgb(243 244 246);
    margin: 0 0 0.5rem 0;
}

@media (min-width: 640px) {
    .tag_app_icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.dark .tag_app_icon {
    background-color: rgb(31 41 55);
}

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

.tag_app_icon_placeholder {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (min-width: 640px) {
    .tag_app_icon_placeholder {
        font-size: 1.5rem;
    }
}

.tag_app_title {
    font-size: 11px;
    font-weight: 500;
    color: rgb(17 24 39);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 60px;
}

@media (min-width: 640px) {
    .tag_app_title {
        font-size: 0.75rem;
        max-width: 70px;
    }
}

.dark .tag_app_title {
    color: white;
}

.tag_app_meta {
    font-size: 9px;
    color: rgb(75 85 99);
    margin-top: 0.125rem;
}

@media (min-width: 640px) {
    .tag_app_meta {
        font-size: 10px;
    }
}

.dark .tag_app_meta {
    color: rgb(156 163 175);
}

.tag_app_price_free {
    font-size: 9px;
    color: rgb(22 163 74);
}

@media (min-width: 640px) {
    .tag_app_price_free {
        font-size: 10px;
    }
}

.dark .tag_app_price_free {
    color: rgb(74 222 128);
}

.tag_app_price_paid {
    font-size: 9px;
    color: rgb(234 88 12);
}

@media (min-width: 640px) {
    .tag_app_price_paid {
        font-size: 10px;
    }
}

.dark .tag_app_price_paid {
    color: rgb(251 146 60);
}

.tag_empty_state {
    text-align: center;
    padding: 4rem 0;
}

.tag_empty_icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: rgb(209 213 219);
}

.dark .tag_empty_icon {
    color: rgb(75 85 99);
}

.tag_empty_title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
    color: rgb(17 24 39);
    margin-bottom: 0.5rem;
}

.dark .tag_empty_title {
    color: white;
}

.tag_empty_text {
    color: rgb(107 114 128);
}

.dark .tag_empty_text {
    color: rgb(156 163 175);
}


/* ========================================
   STATIC PAGES (About, Contact, FAQ, Privacy, Terms, DMCA)
   ======================================== */
.static_page_container {
    width: 100%;
    padding: 2rem 1rem;
}

@media (min-width: 640px) {
    .static_page_container {
        padding: 3rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .static_page_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.static_page_content {
    max-width: 48rem;
    margin: 0 auto;
}

.static_page_content_narrow {
    max-width: 42rem;
    margin: 0 auto;
}

.static_page_title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: rgb(17 24 39);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .static_page_title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

.dark .static_page_title {
    color: white;
}

.static_page_intro {
    color: rgb(75 85 99);
    margin-bottom: 2rem;
}

.dark .static_page_intro {
    color: rgb(156 163 175);
}

.static_page_date {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128);
    margin-bottom: 2rem;
}

.dark .static_page_date {
    color: rgb(156 163 175);
}

.static_page_prose {
    color: rgb(75 85 99);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dark .static_page_prose {
    color: rgb(156 163 175);
}

.static_section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.static_section_title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .static_section_title {
    color: white;
}

.static_subsection_title {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: rgb(31 41 55);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.dark .static_subsection_title {
    color: rgb(229 231 235);
}

.static_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: #3B5BFE;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
    margin-top: 1rem;
}

.static_button:hover {
    background-color: #2a4ae0;
    color: white;
}

.static_lead_text {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.static_list {
    list-style-type: disc;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.static_list_ordered {
    list-style-type: decimal;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.static_link {
    color: #3B5BFE;
    text-decoration: none;
}

.static_link:hover {
    text-decoration: underline;
}


/* About Page Features Grid */
.about_features_grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .about_features_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.about_feature_card {
    background-color: rgb(249 250 251);
    border-radius: 0.5rem;
    padding: 1rem;
}

.dark .about_feature_card {
    background-color: rgb(17 24 39);
}

.about_feature_header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.about_feature_icon {
    width: 1.25rem;
    height: 1.25rem;
}

.about_feature_icon_green {
    color: rgb(34 197 94);
}

.about_feature_icon_blue {
    color: rgb(59 130 246);
}

.about_feature_icon_purple {
    color: rgb(168 85 247);
}

.about_feature_icon_orange {
    color: rgb(249 115 22);
}

.about_feature_title {
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .about_feature_title {
    color: white;
}

.about_feature_desc {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128);
}

.dark .about_feature_desc {
    color: rgb(156 163 175);
}


/* Contact Page */
.contact_cards_grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .contact_cards_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact_card {
    background-color: rgb(249 250 251);
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.dark .contact_card {
    background-color: rgb(17 24 39);
}

.contact_card_header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact_card_icon_wrapper {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact_card_icon_primary {
    background-color: rgb(59 91 254 / 0.1);
}

.contact_card_icon_red {
    background-color: rgb(254 226 226);
}

.contact_card_icon {
    width: 1.25rem;
    height: 1.25rem;
}

.contact_card_icon_primary .contact_card_icon {
    color: #3B5BFE;
}

.contact_card_icon_red .contact_card_icon {
    color: rgb(220 38 38);
}

.contact_card_title {
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .contact_card_title {
    color: white;
}

.contact_card_email {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(75 85 99);
}

.dark .contact_card_email {
    color: rgb(156 163 175);
}

.contact_form_wrapper {
    background-color: white;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.dark .contact_form_wrapper {
    background-color: rgb(17 24 39);
    border-color: rgb(55 65 81);
}

.contact_form_title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
}

.dark .contact_form_title {
    color: white;
}

.contact_form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact_form_group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact_form_label {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: rgb(55 65 81);
}

.dark .contact_form_label {
    color: rgb(209 213 219);
}

.contact_form_input,
.contact_form_select,
.contact_form_textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgb(209 213 219);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(17 24 39);
    background-color: white;
}

.dark .contact_form_input,
.dark .contact_form_select,
.dark .contact_form_textarea {
    border-color: rgb(55 65 81);
    background-color: rgb(17 24 39);
    color: white;
}

.contact_form_input:focus,
.contact_form_select:focus,
.contact_form_textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(59 91 254 / 0.3);
    border-color: #3B5BFE;
}

.contact_form_submit {
    width: 100%;
    padding: 0.625rem 0;
    background-color: #3B5BFE;
    color: white;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.contact_form_submit:hover {
    background-color: rgb(29 78 216);
}

.contact_form_success {
    text-align: center;
    padding: 0.5rem 0;
    color: rgb(22 163 74);
    font-weight: 500;
}


/* FAQ Page */
.faq_list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq_item {
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
}

.dark .faq_item {
    border-color: rgb(31 41 55);
}

.faq_question {
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
}

.faq_question_text {
    font-weight: 500;
    color: rgb(17 24 39);
}

.dark .faq_question_text {
    color: white;
}

.faq_chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(107 114 128);
    transition: transform 0.15s ease-in-out;
}

.dark .faq_chevron {
    color: rgb(156 163 175);
}

.faq_chevron_open {
    transform: rotate(180deg);
}

.faq_answer {
    padding: 0 1rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(75 85 99);
}

.dark .faq_answer {
    color: rgb(156 163 175);
}

.faq_answer_list {
    list-style-type: decimal;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.faq_contact_box {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgb(249 250 251);
    border-radius: 0.5rem;
    text-align: center;
}

.dark .faq_contact_box {
    background-color: rgb(17 24 39);
}

.faq_contact_text {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(75 85 99);
}

.dark .faq_contact_text {
    color: rgb(156 163 175);
}

.faq_contact_link {
    color: #3B5BFE;
    font-weight: 500;
    text-decoration: none;
}

.faq_contact_link:hover {
    text-decoration: underline;
}


/* DMCA Page */
.dmca_contact_box {
    background-color: rgb(249 250 251);
    border: 1px solid rgb(229 231 235);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.dark .dmca_contact_box {
    background-color: rgb(17 24 39);
    border-color: rgb(55 65 81);
}

.dmca_contact_title {
    font-weight: 600;
    font-size: 1rem;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
}

.dark .dmca_contact_title {
    color: white;
}

.dmca_contact_item {
    color: rgb(75 85 99);
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.dark .dmca_contact_item {
    color: rgb(156 163 175);
}

.dmca_contact_email {
    color: rgb(75 85 99);
}

.dark .dmca_contact_email {
    color: rgb(156 163 175);
}


/* ========================================
   APK DOWNLOADER PAGE
   ======================================== */
.apk_downloader_hero {
    background: linear-gradient(to bottom, rgb(59 91 254 / 0.05), transparent);
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .apk_downloader_hero {
        padding: 4rem 1rem;
    }
}

.apk_downloader_hero_container {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.apk_downloader_title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(17 24 39);
    line-height: 1.25;
}

.dark .apk_downloader_title {
    color: white;
}

@media (min-width: 768px) {
    .apk_downloader_title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .apk_downloader_title {
        font-size: 3rem;
        line-height: 1;
    }
}

.apk_downloader_subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: rgb(75 85 99);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.dark .apk_downloader_subtitle {
    color: rgb(156 163 175);
}

@media (min-width: 768px) {
    .apk_downloader_subtitle {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

.apk_downloader_input_wrapper {
    max-width: 42rem;
    margin: 0 auto;
}

.apk_downloader_input_container {
    position: relative;
}

.apk_downloader_input {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-right: 8rem;
    border-radius: 0.75rem;
    background-color: white;
    color: rgb(17 24 39);
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: 1px solid rgb(229 231 235);
}

.dark .apk_downloader_input {
    background-color: rgb(17 24 39);
    color: white;
    border-color: rgb(55 65 81);
}

.apk_downloader_input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(59 91 254 / 0.3);
}

.apk_downloader_btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3B5BFE;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.apk_downloader_btn:hover {
    background-color: rgb(29 78 216);
}

.apk_downloader_btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.apk_downloader_btn_loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.apk_downloader_spinner {
    width: 1rem;
    height: 1rem;
    animation: spin 1s linear infinite;
}

.apk_downloader_error {
    margin-top: 1rem;
    background-color: rgb(254 242 242);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(220 38 38);
}

.dark .apk_downloader_error {
    background-color: rgb(127 29 29 / 0.2);
    color: rgb(248 113 113);
}

.apk_downloader_content {
    width: 100%;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .apk_downloader_content {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .apk_downloader_content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.apk_downloader_section {
    max-width: 56rem;
    margin: 0 auto 2.5rem;
}

.apk_downloader_section_title {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    color: rgb(17 24 39);
    letter-spacing: 0.025em;
    text-align: center;
    margin-bottom: 1.5rem;
}

.dark .apk_downloader_section_title {
    color: white;
}

@media (min-width: 640px) {
    .apk_downloader_section_title {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

.apk_downloader_steps_grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .apk_downloader_steps_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.apk_downloader_step {
    text-align: center;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background-color: rgb(249 250 251);
}

.dark .apk_downloader_step {
    background-color: rgb(31 41 55 / 0.5);
}

.apk_downloader_step_number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgb(59 91 254 / 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.apk_downloader_step_number span {
    color: #3B5BFE;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.apk_downloader_step_title {
    font-weight: 500;
    color: rgb(17 24 39);
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 0.25rem;
}

.dark .apk_downloader_step_title {
    color: white;
}

.apk_downloader_step_desc {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .apk_downloader_step_desc {
    color: rgb(156 163 175);
}

.apk_downloader_features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

@media (min-width: 768px) {
    .apk_downloader_features {
        gap: 1rem 3rem;
    }
}

.apk_downloader_feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.apk_downloader_feature_icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apk_downloader_feature_icon_green {
    background-color: rgb(34 197 94 / 0.1);
}

.apk_downloader_feature_icon_blue {
    background-color: rgb(59 130 246 / 0.1);
}

.apk_downloader_feature_icon_purple {
    background-color: rgb(168 85 247 / 0.1);
}

.apk_downloader_feature_icon_orange {
    background-color: rgb(249 115 22 / 0.1);
}

.apk_downloader_feature_svg {
    width: 1.25rem;
    height: 1.25rem;
}

.apk_downloader_feature_svg_green {
    color: rgb(34 197 94);
}

.apk_downloader_feature_svg_blue {
    color: rgb(59 130 246);
}

.apk_downloader_feature_svg_purple {
    color: rgb(168 85 247);
}

.apk_downloader_feature_svg_orange {
    color: rgb(249 115 22);
}

.apk_downloader_feature_text {
    text-align: left;
}

.apk_downloader_feature_title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: rgb(17 24 39);
}

.dark .apk_downloader_feature_title {
    color: white;
}

.apk_downloader_feature_desc {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .apk_downloader_feature_desc {
    color: rgb(156 163 175);
}

/* SEO Text Content Section */
.apk_downloader_seo_section {
    background-color: rgb(249 250 251);
    padding: 2.5rem 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
}

.dark .apk_downloader_seo_section {
    background-color: rgb(31 41 55);
}

.apk_downloader_seo_container {
    max-width: 48rem;
    margin: 0 auto;
}

.apk_downloader_seo_title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
}

.dark .apk_downloader_seo_title {
    color: white;
}

.apk_downloader_seo_intro {
    color: rgb(75 85 99);
    margin-bottom: 0.75rem;
}

.dark .apk_downloader_seo_intro {
    color: rgb(156 163 175);
}

.apk_downloader_seo_list {
    color: rgb(75 85 99);
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.apk_downloader_seo_list li {
    margin-bottom: 0.75rem;
}

.apk_downloader_seo_list li:last-child {
    margin-bottom: 0;
}

.apk_downloader_seo_list strong {
    color: rgb(17 24 39);
}

.dark .apk_downloader_seo_list {
    color: rgb(156 163 175);
}

.dark .apk_downloader_seo_list strong {
    color: white;
}


/* ========================================
   404 ERROR PAGE
   ======================================== */
.error_page {
    width: 100%;
    padding: 3rem 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .error_page {
        padding: 4rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .error_page {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.error_icon_wrapper {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1rem;
    background-color: rgb(243 244 246);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .error_icon_wrapper {
        width: 8rem;
        height: 8rem;
        margin-bottom: 1.5rem;
    }
}

.dark .error_icon_wrapper {
    background-color: rgb(31 41 55);
}

.error_icon {
    width: 3rem;
    height: 3rem;
    color: rgb(156 163 175);
}

@media (min-width: 640px) {
    .error_icon {
        width: 4rem;
        height: 4rem;
    }
}

.error_title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .error_title {
        font-size: 2.25rem;
        line-height: 2.5rem;
        margin-bottom: 1rem;
    }
}

.dark .error_title {
    color: white;
}

.error_text {
    color: rgb(107 114 128);
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .error_text {
        font-size: 1rem;
        line-height: 1.5rem;
        margin-bottom: 2rem;
    }
}

.dark .error_text {
    color: rgb(156 163 175);
}

.error_home_btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background-color: #3B5BFE;
    color: white;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: background-color 0.15s ease-in-out;
    text-decoration: none;
}

@media (min-width: 640px) {
    .error_home_btn {
        padding: 0.75rem 2rem;
    }
}

.error_home_btn:hover {
    background-color: rgb(29 78 216);
}

.error_home_icon {
    width: 1rem;
    height: 1rem;
}


/* ========================================
   GLOBAL BODY & MAIN STYLES
   ======================================== */
[x-cloak] {
    display: none !important;
}

.site_body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: white;
    min-height: 100vh;
    transition: background-color 0.2s ease-in-out;
}

.dark .site_body {
    background-color: rgb(3 7 18);
}

.site_main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* App Card Hover Effect */
.app-card:hover {
    transform: translateY(-2px);
}

/* Scrollbar Hide Utility */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Backdrop Blur Support */
@supports (backdrop-filter: blur(12px)) {
    .backdrop-blur-header {
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
    }
}

/* App Description HTML Styling */
.app-description {
    white-space: pre-wrap;
}

.app-description b,
.app-description strong {
    font-weight: 600;
    color: inherit;
}

.app-description i,
.app-description em {
    font-style: italic;
}

.app-description a {
    color: #3B5BFE;
    text-decoration: underline;
}

.app-description ul,
.app-description ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.app-description li {
    margin: 0.25rem 0;
}

.app-description p {
    margin: 0.5rem 0;
}

.app-description br {
    display: block;
    content: "";
    margin: 0.25rem 0;
}

.app-description h1,
.app-description h2,
.app-description h3 {
    font-weight: 600;
    margin: 0.75rem 0 0.5rem;
}

.dark .app-description b,
.dark .app-description strong {
    color: inherit;
}


/* ========================================
   ADMIN PAGE STYLES
   ======================================== */
.admin_body {
    background-color: rgb(243 244 246);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.admin_container {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.admin_card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    padding: 2rem;
}

.admin_title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.admin_alert_success {
    background-color: rgb(220 252 231);
    border: 1px solid rgb(74 222 128);
    color: rgb(21 128 61);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

.admin_form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin_form_group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin_form_label {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: rgb(55 65 81);
}

.admin_form_select {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid rgb(209 213 219);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.admin_form_select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(59 130 246 / 0.3);
}

.admin_form_submit {
    width: 100%;
    background-color: rgb(37 99 235);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.admin_form_submit:hover {
    background-color: rgb(29 78 216);
}

.admin_warning_box {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgb(254 252 232);
    border: 1px solid rgb(253 224 71);
    border-radius: 0.5rem;
}

.admin_warning_title {
    font-weight: 600;
    color: rgb(133 77 14);
    margin-bottom: 0.5rem;
}

.admin_warning_list {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(161 98 7);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin_back_link_wrapper {
    margin-top: 1.5rem;
    text-align: center;
}

.admin_back_link {
    color: rgb(37 99 235);
    text-decoration: none;
}

.admin_back_link:hover {
    text-decoration: underline;
}


/* ========================================
   VERSION BADGES
   ======================================== */
.version_badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.version_badge_green {
    padding: 0.25rem 0.75rem;
    background-color: rgb(220 252 231);
    color: rgb(21 128 61);
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    border-radius: 9999px;
}

.version_badge_gray {
    padding: 0.25rem 0.75rem;
    background-color: rgb(243 244 246);
    color: rgb(75 85 99);
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 9999px;
}

.dark .version_badge_gray {
    background-color: rgb(31 41 55);
    color: rgb(156 163 175);
}

.version_item_text {
    color: rgb(107 114 128);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dark .version_item_text {
    color: rgb(156 163 175);
}


/* ========================================
   REVIEWS SORT FILTER
   ======================================== */
.reviews_sort_filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.reviews_sort_label {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(107 114 128);
}

.dark .reviews_sort_label {
    color: rgb(156 163 175);
}

.reviews_sort_btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 9999px;
    white-space: nowrap;
    transition: all 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.reviews_sort_btn_active {
    background-color: #3B5BFE;
    color: white;
}

.reviews_sort_btn_inactive {
    background-color: rgb(243 244 246);
    color: rgb(75 85 99);
}

.dark .reviews_sort_btn_inactive {
    background-color: rgb(31 41 55);
    color: rgb(156 163 175);
}

.reviews_sort_btn_inactive:hover {
    background-color: rgb(229 231 235);
}

.dark .reviews_sort_btn_inactive:hover {
    background-color: rgb(55 65 81);
}


/* ========================================
   REVIEWS LOAD MORE & EMPTY
   ======================================== */
.reviews_load_more_btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 0;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(75 85 99);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.dark .reviews_load_more_btn {
    border-color: rgb(55 65 81);
    background-color: rgb(17 24 39);
    color: rgb(156 163 175);
}

.reviews_load_more_btn:hover {
    background-color: rgb(249 250 251);
}

.dark .reviews_load_more_btn:hover {
    background-color: rgb(31 41 55);
}

.reviews_load_more_icon {
    width: 1rem;
    height: 1rem;
}

.reviews_empty {
    text-align: center;
    padding: 2rem 0;
    color: rgb(107 114 128);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.dark .reviews_empty {
    color: rgb(156 163 175);
}


/* ========================================
   RATINGS BAR COUNT
   ======================================== */
.ratings_bar_count {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(156 163 175);
    width: 2.5rem;
    text-align: right;
}


/* ========================================
   ROTATE UTILITY
   ======================================== */
.rotate-180 {
    transform: rotate(180deg);
}


/* ========================================
   APK ANALYZER PAGE
   ======================================== */
.apk_analyzer_page {
    min-height: 100vh;
}

.analyzer_hero {
    background: linear-gradient(to bottom, rgb(59 91 254 / 0.05), transparent);
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .analyzer_hero {
        padding: 4rem 1rem;
    }
}

.analyzer_hero_container {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.analyzer_hero_title {
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 800;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 640px) {
    .analyzer_hero_title { font-size: 2.5rem; }
}

@media (min-width: 768px) {
    .analyzer_hero_title { font-size: 2.75rem; }
}

.dark .analyzer_hero_title { 
    color: rgb(249 250 251); 
}

/* Gradient accent for title */
.analyzer_hero_title_accent {
    background: linear-gradient(135deg, #3B5BFE 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark .analyzer_hero_title_accent {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.analyzer_hero_subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgb(75 85 99);
    margin-bottom: 2rem;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.dark .analyzer_hero_subtitle { 
    color: rgb(209 213 219); 
}

.analyzer_upload_area {
    background: white;
    border: 2px dashed rgb(209 213 219);
    border-radius: 1rem;
    padding: 3rem 2rem;
    transition: all 0.2s;
    cursor: pointer;
}

.dark .analyzer_upload_area {
    background: rgb(31 41 55);
    border-color: rgb(75 85 99);
}

.analyzer_upload_area_active {
    border-color: rgb(59 91 254);
    background: rgb(59 91 254 / 0.05);
}

.analyzer_upload_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.analyzer_upload_icon {
    width: 3rem;
    height: 3rem;
    color: rgb(156 163 175);
}

.analyzer_upload_text {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgb(55 65 81);
}

.dark .analyzer_upload_text { color: rgb(209 213 219); }

.analyzer_upload_or {
    color: rgb(156 163 175);
    font-size: 0.875rem;
}

.analyzer_upload_button {
    background: rgb(59 91 254);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.analyzer_upload_button:hover { background: rgb(49 81 244); }

.analyzer_upload_hint {
    font-size: 0.75rem;
    color: rgb(156 163 175);
}

.analyzer_progress_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.analyzer_dots_animation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.analyzer_dot {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #3B5BFE;
    border-radius: 50%;
    animation: analyzerDot 1.4s infinite ease-in-out both;
}

.dark .analyzer_dot {
    background-color: rgb(96 165 250);
}

.analyzer_dot:nth-child(1) { animation-delay: -0.32s; }
.analyzer_dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes analyzerDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.analyzer_progress_text {
    color: rgb(55 65 81);
    font-weight: 500;
}

.dark .analyzer_progress_text { color: rgb(209 213 219); }

/* Queue Position Info */
.analyzer_queue_info {
    margin: 0.5rem 0 1rem;
}

.analyzer_queue_position {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgb(107 114 128);
}

.dark .analyzer_queue_position {
    color: rgb(156 163 175);
}

.analyzer_queue_number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3B5BFE;
}

.dark .analyzer_queue_number {
    color: rgb(96 165 250);
}

.analyzer_progress_bar {
    width: 100%;
    max-width: 20rem;
    height: 0.5rem;
    background: rgb(229 231 235);
    border-radius: 9999px;
    overflow: hidden;
}

.dark .analyzer_progress_bar { background: rgb(75 85 99); }

.analyzer_progress_fill {
    height: 100%;
    background: rgb(59 91 254);
    transition: width 0.3s;
}

.analyzer_error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    color: rgb(239 68 68);
    margin-top: 1rem;
    font-size: 0.875rem;
}

.analyzer_error svg { width: 1.25rem; height: 1.25rem; }

/* Results Section */
.analyzer_results {
    padding: 2rem 1rem;
}

.analyzer_results_container {
    max-width: 64rem;
    margin: 0 auto;
}

.analyzer_file_header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
    margin-bottom: 1.5rem;
}

.dark .analyzer_file_header { background: rgb(31 41 55); }

.analyzer_file_icon {
    width: 3rem;
    height: 3rem;
    background: rgb(59 91 254 / 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analyzer_file_icon svg { width: 1.5rem; height: 1.5rem; color: rgb(59 91 254); }

.analyzer_file_info { flex: 1; min-width: 200px; }

.analyzer_file_name {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(17 24 39);
    word-break: break-all;
}

.dark .analyzer_file_name { color: white; }

.analyzer_file_size {
    color: rgb(59 91 254);
    font-weight: 500;
}

.analyzer_file_date {
    font-size: 0.75rem;
    color: rgb(156 163 175);
}

.analyzer_new_button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgb(243 244 246);
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
    color: rgb(55 65 81);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.analyzer_new_button:hover { background: rgb(229 231 235); }
.dark .analyzer_new_button { background: rgb(55 65 81); border-color: rgb(75 85 99); color: rgb(209 213 219); }
.analyzer_new_button svg { width: 1rem; height: 1rem; }

/* Info Grid */
.analyzer_info_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .analyzer_info_grid { grid-template-columns: repeat(3, 1fr); }
}

.analyzer_info_card {
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.dark .analyzer_info_card { background: rgb(31 41 55); }

.analyzer_card_label {
    font-size: 0.75rem;
    color: rgb(107 114 128);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark .analyzer_card_label { color: rgb(156 163 175); }

.analyzer_card_value {
    font-weight: 600;
    color: rgb(17 24 39);
    word-break: break-all;
}

.dark .analyzer_card_value { color: white; }

.analyzer_card_mono { font-family: monospace; font-size: 0.875rem; }

.analyzer_card_empty { color: rgb(156 163 175); font-style: italic; }

.analyzer_abi_badges { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.analyzer_abi_badge {
    background: rgb(59 91 254 / 0.1);
    color: rgb(59 91 254);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Sections */
.analyzer_section {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    margin-bottom: 1rem;
}

.dark .analyzer_section { background: rgb(31 41 55); }

.analyzer_section_title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
}

.dark .analyzer_section_title { color: white; }

.analyzer_section_title svg { width: 1.25rem; height: 1.25rem; color: rgb(59 91 254); }

.analyzer_section_count {
    background: rgb(243 244 246);
    color: rgb(107 114 128);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.dark .analyzer_section_count { background: rgb(55 65 81); color: rgb(156 163 175); }

.analyzer_section_desc {
    font-size: 0.875rem;
    color: rgb(107 114 128);
    margin-bottom: 1rem;
}

.dark .analyzer_section_desc { color: rgb(156 163 175); }

.analyzer_list_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.analyzer_list_item {
    background: rgb(243 244 246);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    color: rgb(55 65 81);
}

.dark .analyzer_list_item { background: rgb(55 65 81); color: rgb(209 213 219); }

.analyzer_list_mono { font-family: monospace; }

.analyzer_permissions_list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.analyzer_permission_item {
    padding: 0.5rem 0.75rem;
    background: rgb(243 244 246);
    border-radius: 0.375rem;
    font-family: monospace;
    font-size: 0.8125rem;
}

.dark .analyzer_permission_item { background: rgb(55 65 81); }

.analyzer_permission_name { color: rgb(55 65 81); }
.dark .analyzer_permission_name { color: rgb(209 213 219); }

.analyzer_component_list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    max-height: 300px;
    overflow-y: auto;
}

.analyzer_component_item {
    padding: 0.5rem 0.75rem;
    background: rgb(243 244 246);
    border-radius: 0.375rem;
    font-family: monospace;
    font-size: 0.75rem;
    color: rgb(55 65 81);
    word-break: break-all;
}

.dark .analyzer_component_item { background: rgb(55 65 81); color: rgb(209 213 219); }

.analyzer_urls_list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    max-height: 400px;
    overflow-y: auto;
}

.analyzer_url_item {
    padding: 0.375rem 0.75rem;
    background: rgb(243 244 246);
    border-radius: 0.375rem;
    font-size: 0.75rem;
    color: rgb(59 91 254);
    word-break: break-all;
    text-decoration: none;
    transition: background 0.2s;
}

.analyzer_url_item:hover { background: rgb(229 231 235); }
.dark .analyzer_url_item { background: rgb(55 65 81); }
.dark .analyzer_url_item:hover { background: rgb(75 85 99); }

.analyzer_show_more {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgb(209 213 219);
    border-radius: 0.375rem;
    color: rgb(107 114 128);
    font-size: 0.875rem;
    cursor: pointer;
}

.dark .analyzer_show_more { border-color: rgb(75 85 99); color: rgb(156 163 175); }

/* SEO Section */
.analyzer_seo_section {
    background: rgb(249 250 251);
    padding: 3rem 1rem;
}

.dark .analyzer_seo_section { background: rgb(17 24 39); }

.analyzer_seo_container {
    max-width: 64rem;
    margin: 0 auto;
}

.analyzer_seo_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
    text-align: center;
}

.dark .analyzer_seo_title { color: white; }

.analyzer_seo_text {
    color: rgb(107 114 128);
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

.dark .analyzer_seo_text { color: rgb(156 163 175); }

.analyzer_features_grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .analyzer_features_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .analyzer_features_grid { grid-template-columns: repeat(4, 1fr); }
}

.analyzer_feature_card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

.dark .analyzer_feature_card { background: rgb(31 41 55); }

.analyzer_feature_icon {
    width: 3rem;
    height: 3rem;
    background: rgb(59 91 254 / 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.analyzer_feature_icon svg { width: 1.5rem; height: 1.5rem; color: rgb(59 91 254); }

.analyzer_feature_title {
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.5rem;
}

.dark .analyzer_feature_title { color: white; }

.analyzer_feature_desc {
    font-size: 0.875rem;
    color: rgb(107 114 128);
    line-height: 1.5;
}

.dark .analyzer_feature_desc { color: rgb(156 163 175); }

.analyzer_about_apk {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

.dark .analyzer_about_apk { background: rgb(31 41 55); }

.analyzer_about_title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.75rem;
}

.dark .analyzer_about_title { color: white; }

.analyzer_about_text {
    color: rgb(107 114 128);
    line-height: 1.75;
}

.dark .analyzer_about_text { color: rgb(156 163 175); }

/* Hash/Signature Styles */
.analyzer_hash_grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.analyzer_hash_item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgb(249 250 251);
    border-radius: 0.5rem;
}

.dark .analyzer_hash_item { background: rgb(55 65 81); }

.analyzer_hash_label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(107 114 128);
    min-width: 4rem;
    text-transform: uppercase;
}

.dark .analyzer_hash_label { color: rgb(156 163 175); }

.analyzer_hash_value {
    flex: 1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
    color: rgb(17 24 39);
    word-break: break-all;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    background: rgb(243 244 246);
    border-radius: 0.25rem;
}

.dark .analyzer_hash_value { 
    color: rgb(229 231 235); 
    background: rgb(31 41 55);
}

.analyzer_copy_btn {
    padding: 0.375rem;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    color: rgb(107 114 128);
    transition: all 0.2s;
}

.analyzer_copy_btn:hover {
    background: rgb(229 231 235);
    color: rgb(59 91 254);
}

.dark .analyzer_copy_btn:hover { background: rgb(75 85 99); }

.analyzer_copy_btn svg { width: 1rem; height: 1rem; }


/* APK Analyzer Share Dropdown */
.analyzer_share_dropdown {
    position: relative;
}

.analyzer_share_button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgb(59 91 254);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.analyzer_share_button:hover {
    background: rgb(49 76 213);
}

.analyzer_share_button svg {
    width: 1.125rem;
    height: 1.125rem;
}

.analyzer_share_chevron {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.2s;
}

.analyzer_share_menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 12rem;
    background: white;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    z-index: 50;
}

.dark .analyzer_share_menu {
    background: rgb(31 41 55);
    border-color: rgb(55 65 81);
}

.analyzer_share_item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: rgb(55 65 81);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.analyzer_share_item:hover {
    background: rgb(243 244 246);
    color: rgb(17 24 39);
}

.dark .analyzer_share_item {
    color: rgb(209 213 219);
}

.dark .analyzer_share_item:hover {
    background: rgb(55 65 81);
    color: white;
}

.analyzer_share_item svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}


/* ========================================
   APK DECOMPILER PAGE STYLES
   ======================================== */

.decompiler_page {
    min-height: calc(100vh - 4rem);
}

/* Hero Section */
.decompiler_hero {
    background: linear-gradient(to bottom, rgb(59 91 254 / 0.05), transparent);
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .decompiler_hero {
        padding: 4rem 1rem;
    }
}

.decompiler_hero_container {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.decompiler_hero_title {
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 800;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 640px) {
    .decompiler_hero_title { font-size: 2.5rem; }
}

@media (min-width: 768px) {
    .decompiler_hero_title { font-size: 2.75rem; }
}

.dark .decompiler_hero_title { color: rgb(249 250 251); }

.decompiler_hero_subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgb(75 85 99);
    margin-bottom: 2rem;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.dark .decompiler_hero_subtitle { color: rgb(209 213 219); }

/* Upload Area */
.decompiler_upload_area {
    background: white;
    border: 2px dashed rgb(209 213 219);
    border-radius: 1rem;
    padding: 3rem 2rem;
    transition: all 0.2s;
}

.dark .decompiler_upload_area {
    background: rgb(31 41 55);
    border-color: rgb(75 85 99);
}

.decompiler_upload_area_active {
    border-color: rgb(59 91 254);
    background: rgb(59 91 254 / 0.05);
}

.decompiler_upload_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.decompiler_upload_icon {
    width: 3rem;
    height: 3rem;
    color: rgb(59 91 254);
}

.decompiler_upload_text {
    font-size: 1rem;
    font-weight: 500;
    color: rgb(55 65 81);
}

.dark .decompiler_upload_text { color: rgb(209 213 219); }

.decompiler_upload_or {
    font-size: 0.875rem;
    color: rgb(156 163 175);
}

.decompiler_upload_button {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.5rem;
    background: rgb(59 91 254);
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.decompiler_upload_button:hover { background: rgb(49 76 213); }

.decompiler_upload_hint {
    font-size: 0.75rem;
    color: rgb(156 163 175);
}

/* Progress */
.decompiler_progress_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.decompiler_dots_animation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.decompiler_dot {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #3B5BFE;
    border-radius: 50%;
    animation: decompilerDot 1.4s infinite ease-in-out both;
}

.dark .decompiler_dot {
    background-color: rgb(96 165 250);
}

.decompiler_dot:nth-child(1) { animation-delay: -0.32s; }
.decompiler_dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes decompilerDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.decompiler_spinner_small {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgb(229 231 235);
    border-top-color: rgb(59 91 254);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.dark .decompiler_spinner_small { border-color: rgb(55 65 81); border-top-color: rgb(59 91 254); }

.decompiler_progress_text {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(55 65 81);
}

.dark .decompiler_progress_text { color: rgb(209 213 219); }

/* Queue Position Info */
.decompiler_queue_info {
    margin: 0.5rem 0 1rem;
}

.decompiler_queue_position {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgb(107 114 128);
}

.dark .decompiler_queue_position {
    color: rgb(156 163 175);
}

.decompiler_queue_number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3B5BFE;
}

.dark .decompiler_queue_number {
    color: rgb(96 165 250);
}

.decompiler_progress_bar {
    width: 100%;
    max-width: 20rem;
    height: 0.5rem;
    background: rgb(229 231 235);
    border-radius: 9999px;
    overflow: hidden;
}

.dark .decompiler_progress_bar { background: rgb(55 65 81); }

.decompiler_progress_fill {
    height: 100%;
    background: rgb(59 91 254);
    border-radius: 9999px;
    transition: width 0.3s;
}

.decompiler_progress_hint {
    font-size: 0.75rem;
    color: rgb(156 163 175);
}

/* Error */
.decompiler_error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgb(254 242 242);
    border: 1px solid rgb(254 202 202);
    border-radius: 0.5rem;
    color: rgb(185 28 28);
    font-size: 0.875rem;
}

.dark .decompiler_error {
    background: rgb(127 29 29 / 0.2);
    border-color: rgb(127 29 29);
    color: rgb(252 165 165);
}

.decompiler_error svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* IDE Section */
.decompiler_ide {
    height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
}

.decompiler_ide_container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.decompiler_ide_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: rgb(249 250 251);
    border-bottom: 1px solid rgb(229 231 235);
}

.dark .decompiler_ide_header {
    background: rgb(17 24 39);
    border-bottom-color: rgb(55 65 81);
}

.decompiler_ide_info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.decompiler_ide_file_icon {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(59 91 254);
}

.decompiler_ide_filename {
    font-weight: 600;
    color: rgb(17 24 39);
}

.dark .decompiler_ide_filename { color: white; }

.decompiler_ide_package {
    font-size: 0.75rem;
    color: rgb(107 114 128);
}

.decompiler_ide_actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.decompiler_ide_timer {
    font-size: 0.75rem;
    color: rgb(107 114 128);
    font-family: monospace;
}

.decompiler_ide_new_btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: rgb(59 91 254);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
}

.decompiler_ide_new_btn:hover { background: rgb(49 76 213); }

.decompiler_ide_new_btn svg { width: 0.875rem; height: 0.875rem; }

/* IDE Body */
.decompiler_ide_body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* File Tree */
.decompiler_file_tree {
    width: 280px;
    min-width: 200px;
    background: rgb(249 250 251);
    border-right: 1px solid rgb(229 231 235);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dark .decompiler_file_tree {
    background: rgb(17 24 39);
    border-right-color: rgb(55 65 81);
}

@media (max-width: 768px) {
    .decompiler_file_tree { width: 200px; min-width: 150px; }
}

.decompiler_tree_header {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(107 114 128);
    border-bottom: 1px solid rgb(229 231 235);
}

.dark .decompiler_tree_header { border-bottom-color: rgb(55 65 81); }

.decompiler_tree_content {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
    font-size: 0.8125rem;
}

.decompiler_tree_loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    color: rgb(107 114 128);
}

.decompiler_tree_folder_header {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    color: rgb(31 41 55);
    transition: background 0.1s;
}

.dark .decompiler_tree_folder_header { color: rgb(243 244 246); }

.decompiler_tree_folder_header:hover { background: rgb(229 231 235); }

.dark .decompiler_tree_folder_header:hover { background: rgb(31 41 55); }

.decompiler_tree_arrow {
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 0.15s;
    flex-shrink: 0;
}

.decompiler_tree_arrow_open { transform: rotate(90deg); }

.decompiler_tree_folder_icon {
    width: 1rem;
    height: 1rem;
    color: rgb(251 191 36);
    flex-shrink: 0;
}

.decompiler_tree_file {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    color: rgb(55 65 81);
    transition: background 0.1s;
}

.dark .decompiler_tree_file { color: rgb(209 213 219); }

.decompiler_tree_file:hover { background: rgb(229 231 235); }

.dark .decompiler_tree_file:hover { background: rgb(31 41 55); }

.decompiler_tree_file_java { color: rgb(59 91 254); }

.dark .decompiler_tree_file_java { color: rgb(129 140 248); }

.decompiler_tree_file_icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

/* Code Panel */
.decompiler_code_panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
}

.dark .decompiler_code_panel { background: rgb(17 24 39); }

/* Tabs */
.decompiler_tabs {
    display: flex;
    background: rgb(243 244 246);
    border-bottom: 1px solid rgb(229 231 235);
    overflow-x: auto;
}

.dark .decompiler_tabs {
    background: rgb(31 41 55);
    border-bottom-color: rgb(55 65 81);
}

.decompiler_tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: rgb(107 114 128);
    border-right: 1px solid rgb(229 231 235);
    cursor: pointer;
    white-space: nowrap;
}

.dark .decompiler_tab { border-right-color: rgb(55 65 81); }

.decompiler_tab_active {
    background: white;
    color: rgb(17 24 39);
}

.dark .decompiler_tab_active {
    background: rgb(17 24 39);
    color: white;
}

.decompiler_tab_close {
    display: flex;
    padding: 0.125rem;
    border-radius: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.5;
}

.decompiler_tab_close:hover { opacity: 1; background: rgb(229 231 235); }

.dark .decompiler_tab_close:hover { background: rgb(55 65 81); }

.decompiler_tab_close svg { width: 0.75rem; height: 0.75rem; }

/* Code Content */
.decompiler_code_content {
    flex: 1;
    overflow: auto;
}

.decompiler_code {
    margin: 0;
    padding: 1rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgb(55 65 81);
    white-space: pre;
    overflow-x: auto;
}

.dark .decompiler_code { color: rgb(209 213 219); }

.decompiler_code_loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    color: rgb(107 114 128);
}

.decompiler_code_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1rem;
    color: rgb(156 163 175);
}

.decompiler_code_empty svg { width: 4rem; height: 4rem; opacity: 0.5; }

.decompiler_code_empty p { font-size: 0.875rem; }

/* SEO Section */
.decompiler_seo_section {
    padding: 3rem 1rem;
    background: rgb(249 250 251);
}

.dark .decompiler_seo_section { background: rgb(10 15 30); }

.decompiler_seo_container {
    max-width: 64rem;
    margin: 0 auto;
}

.decompiler_seo_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(17 24 39);
    margin-bottom: 1rem;
    text-align: center;
}

.dark .decompiler_seo_title { color: white; }

.decompiler_seo_text {
    font-size: 1rem;
    color: rgb(107 114 128);
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.dark .decompiler_seo_text { color: rgb(156 163 175); }

.decompiler_features_grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .decompiler_features_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .decompiler_features_grid { grid-template-columns: repeat(4, 1fr); }
}

.decompiler_feature_card {
    background: white;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.dark .decompiler_feature_card {
    background: rgb(31 41 55);
    border-color: rgb(55 65 81);
}

.decompiler_feature_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgb(59 91 254 / 0.1);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.decompiler_feature_icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: rgb(59 91 254);
}

.decompiler_feature_title {
    font-size: 1rem;
    font-weight: 600;
    color: rgb(17 24 39);
    margin-bottom: 0.5rem;
}

.dark .decompiler_feature_title { color: white; }

.decompiler_feature_desc {
    font-size: 0.875rem;
    color: rgb(107 114 128);
    line-height: 1.5;
}

.dark .decompiler_feature_desc { color: rgb(156 163 175); }

/* New Decompiler Styles - Stats, Search, Lazy Loading */
.decompiler_ide_stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1rem;
}

.decompiler_stat {
    font-size: 0.75rem;
    color: rgb(107 114 128);
    background: rgb(243 244 246);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.dark .decompiler_stat {
    color: rgb(156 163 175);
    background: rgb(31 41 55);
}

.decompiler_tree_search {
    width: 100%;
    padding: 0.375rem 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.375rem;
    background: white;
    color: rgb(17 24 39);
}

.dark .decompiler_tree_search {
    background: rgb(17 24 39);
    border-color: rgb(55 65 81);
    color: white;
}

.decompiler_tree_search:focus {
    outline: none;
    border-color: rgb(59 91 254);
}

.decompiler_tree_count {
    font-size: 0.625rem;
    color: rgb(156 163 175);
    margin-left: auto;
    padding: 0.125rem 0.375rem;
    background: rgb(243 244 246);
    border-radius: 0.25rem;
}

.dark .decompiler_tree_count {
    background: rgb(31 41 55);
    color: rgb(107 114 128);
}

.decompiler_tree_size {
    font-size: 0.625rem;
    color: rgb(156 163 175);
    margin-left: auto;
}

.decompiler_tree_loading_inline {
    padding: 0.5rem 0 0.5rem 2rem;
}

.decompiler_spinner_tiny {
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid rgb(229 231 235);
    border-top-color: rgb(59 91 254);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.dark .decompiler_spinner_tiny {
    border-color: rgb(55 65 81);
    border-top-color: rgb(99 102 241);
}

/* Prism.js overrides for light mode (prism-tomorrow is dark by default) */
.decompiler_code_content pre[class*="language-"],
.decompiler_code_content code[class*="language-"] {
    background: #f8fafc !important;
    color: #1e293b !important;
    text-shadow: none !important;
}

.decompiler_code_content .token.comment,
.decompiler_code_content .token.prolog,
.decompiler_code_content .token.doctype,
.decompiler_code_content .token.cdata {
    color: #64748b !important;
}

.decompiler_code_content .token.punctuation {
    color: #475569 !important;
}

.decompiler_code_content .token.property,
.decompiler_code_content .token.tag,
.decompiler_code_content .token.boolean,
.decompiler_code_content .token.number,
.decompiler_code_content .token.constant,
.decompiler_code_content .token.symbol {
    color: #c2410c !important;
}

.decompiler_code_content .token.selector,
.decompiler_code_content .token.attr-name,
.decompiler_code_content .token.string,
.decompiler_code_content .token.char,
.decompiler_code_content .token.builtin {
    color: #166534 !important;
}

.decompiler_code_content .token.operator,
.decompiler_code_content .token.entity,
.decompiler_code_content .token.url,
.decompiler_code_content .language-css .token.string,
.decompiler_code_content .style .token.string {
    color: #a16207 !important;
    background: transparent !important;
}

.decompiler_code_content .token.atrule,
.decompiler_code_content .token.attr-value,
.decompiler_code_content .token.keyword {
    color: #7c3aed !important;
}

.decompiler_code_content .token.function,
.decompiler_code_content .token.class-name {
    color: #2563eb !important;
}

.decompiler_code_content .token.regex,
.decompiler_code_content .token.important,
.decompiler_code_content .token.variable {
    color: #ca8a04 !important;
}

/* Line numbers for light mode */
.decompiler_code_content .line-numbers-rows > span::before {
    color: #94a3b8 !important;
}

/* Prism.js overrides for dark mode */
.dark .decompiler_code_content pre[class*="language-"],
.dark .decompiler_code_content code[class*="language-"] {
    background: #111827 !important;
    color: #e5e7eb !important;
}

.dark .decompiler_code_content .token.comment,
.dark .decompiler_code_content .token.prolog,
.dark .decompiler_code_content .token.doctype,
.dark .decompiler_code_content .token.cdata {
    color: #9ca3af !important;
}

.dark .decompiler_code_content .token.punctuation {
    color: #d1d5db !important;
}

.dark .decompiler_code_content .token.property,
.dark .decompiler_code_content .token.tag,
.dark .decompiler_code_content .token.boolean,
.dark .decompiler_code_content .token.number,
.dark .decompiler_code_content .token.constant,
.dark .decompiler_code_content .token.symbol {
    color: #f97316 !important;
}

.dark .decompiler_code_content .token.selector,
.dark .decompiler_code_content .token.attr-name,
.dark .decompiler_code_content .token.string,
.dark .decompiler_code_content .token.char,
.dark .decompiler_code_content .token.builtin {
    color: #4ade80 !important;
}

.dark .decompiler_code_content .token.operator,
.dark .decompiler_code_content .token.entity,
.dark .decompiler_code_content .token.url,
.dark .decompiler_code_content .language-css .token.string,
.dark .decompiler_code_content .style .token.string {
    color: #fbbf24 !important;
    background: transparent !important;
}

.dark .decompiler_code_content .token.atrule,
.dark .decompiler_code_content .token.attr-value,
.dark .decompiler_code_content .token.keyword {
    color: #a78bfa !important;
}

.dark .decompiler_code_content .token.function,
.dark .decompiler_code_content .token.class-name {
    color: #60a5fa !important;
}

.dark .decompiler_code_content .token.regex,
.dark .decompiler_code_content .token.important,
.dark .decompiler_code_content .token.variable {
    color: #fcd34d !important;
}

.dark .decompiler_code_content .line-numbers-rows > span::before {
    color: #6b7280 !important;
}

/* Line numbers styling */
.decompiler_code.line-numbers {
    padding-left: 3.5rem;
    position: relative;
}

.decompiler_code_content pre.line-numbers {
    background: rgb(249 250 251);
    margin: 0;
    border-radius: 0;
}

.dark .decompiler_code_content pre.line-numbers {
    background: rgb(17 24 39);
}

.decompiler_code_content .line-numbers-rows {
    border-right: 1px solid rgb(229 231 235);
}

.dark .decompiler_code_content .line-numbers-rows {
    border-right-color: rgb(55 65 81);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .decompiler_ide_stats { display: none; }
    
    .decompiler_file_tree { width: 200px; min-width: 200px; }
}


/* ========================================
   RECENTLY UPDATED PAGE
   ======================================== */
.updated_page_icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.updated_page_subtitle {
    color: rgb(107 114 128);
    margin-top: 4px;
    font-size: 14px;
}

.dark .updated_page_subtitle {
    color: rgb(156 163 175);
}

.updated_list {
    display: flex;
    flex-direction: column;
}

.updated_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    border-bottom: 1px solid rgb(229 231 235);
}

.dark .updated_item {
    border-bottom-color: rgb(55 65 81);
}

.updated_item:last-child {
    border-bottom: none;
}

.updated_item:hover .updated_title {
    color: #3B5BFE;
}

.updated_icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgb(243 244 246);
}

.dark .updated_icon {
    background: rgb(55 65 81);
}

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

.updated_info {
    flex: 1;
    min-width: 0;
}

.updated_title {
    font-size: 14px;
    font-weight: 500;
    color: rgb(17 24 39);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s;
}

.dark .updated_title {
    color: rgb(243 244 246);
}

.updated_developer {
    font-size: 12px;
    color: rgb(107 114 128);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark .updated_developer {
    color: rgb(156 163 175);
}

.updated_version {
    flex-shrink: 0;
}

.updated_version_label {
    font-size: 12px;
    color: rgb(75 85 99);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background: rgb(243 244 246);
    padding: 4px 8px;
    border-radius: 4px;
}

.dark .updated_version_label {
    color: rgb(209 213 219);
    background: rgb(55 65 81);
}

.updated_date {
    font-size: 12px;
    color: rgb(107 114 128);
    flex-shrink: 0;
    min-width: 90px;
    text-align: right;
}

.dark .updated_date {
    color: rgb(156 163 175);
}

@media (max-width: 640px) {
    .updated_item {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .updated_icon {
        width: 36px;
        height: 36px;
    }
    
    .updated_info {
        flex: 1;
        min-width: calc(100% - 100px);
    }
    
    .updated_version_label,
    .updated_date {
        font-size: 11px;
    }
    
    .updated_date {
        min-width: auto;
    }
}
