@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.connection-status {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Noto Sans Arabic', sans-serif;
}

:root {
    --bg: #f7faf9;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --green: #10b981;
    --green-dark: #059669;
    --green-light: #d1fae5;
    --green-bg: #ecfdf5;
    --border: #e9edf0;
    --shadow: 0 4px 24px rgba(16, 185, 129, 0.08);
    --shadow-hover: 0 12px 32px rgba(16, 185, 129, 0.15);
    --radius: 20px;
    --radius-sm: 14px;
    --radius-full: 9999px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 500;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hamburger {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--green-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--green-dark);
    cursor: pointer;
    transition: var(--transition);
}

.hamburger:hover {
    background: var(--green-light);
    transform: scale(1.04);
}

.header-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.header-logo span {
    color: var(--green-dark);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-bookmark {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--green-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--green-dark);
    cursor: pointer;
    transition: var(--transition);
}

.header-bookmark:hover {
    background: var(--green-light);
    transform: scale(1.04);
}

.header-bookmark .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--green-dark);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.sidenav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.sidenav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.sidenav {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    z-index: 2001;
    padding: 24px 20px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidenav.open {
    transform: translateX(0);
}

.sidenav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.sidenav-header .logo {
    font-size: 22px;
    font-weight: 800;
}

.sidenav-header .logo span {
    color: var(--green-dark);
}

.sidenav-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--green-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.sidenav-close:hover {
    background: var(--green-light);
}

.sidenav-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: var(--radius-full);
    padding: 0 16px;
    gap: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
    margin-bottom: 12px;
    position: relative;
}

.sidenav-search:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.sidenav-search input {
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 14px;
    width: 100%;
    outline: none;
    color: var(--text-primary);
    font-weight: 500;
}

.sidenav-search input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.sidenav-search i {
    color: var(--text-muted);
    font-size: 16px;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    animation: dropdownIn 0.2s ease;
}

.search-dropdown.show {
    display: block;
}

.search-dropdown::-webkit-scrollbar {
    width: 5px;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.search-dropdown-item:last-child {
    border-bottom: none;
}

.search-dropdown-item:hover,
.search-dropdown-item.highlighted {
    background: var(--green-bg);
}

.search-dropdown-item-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-dropdown-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-dropdown-item-img i {
    font-size: 18px;
    color: var(--green);
    opacity: 0.6;
}

.search-dropdown-item-info {
    flex: 1;
    min-width: 0;
}

.search-dropdown-item-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-dropdown-item-name mark {
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 3px;
    padding: 0 2px;
}

.search-dropdown-item-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.search-dropdown-item-meta .type-tag {
    font-weight: 600;
    color: var(--green-dark);
    background: var(--green-bg);
    padding: 1px 7px;
    border-radius: var(--radius-full);
    font-size: 10px;
}

.search-dropdown-empty {
    padding: 20px 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.search-dropdown-empty i {
    display: block;
    font-size: 24px;
    opacity: 0.3;
    margin-bottom: 6px;
    color: var(--green);
}

body.dark-mode .search-dropdown {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .search-dropdown-item {
    border-bottom-color: #334155;
}

body.dark-mode .search-dropdown-item:hover,
body.dark-mode .search-dropdown-item.highlighted {
    background: #064e3b;
}

body.dark-mode .search-dropdown-item-name {
    color: #f1f5f9;
}

body.dark-mode .search-dropdown-item-name mark {
    background: #065f46;
    color: #34d399;
}

.sidenav-section {
    margin-top: 8px;
}

.sidenav-section .label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 8px 4px 6px;
}

.sidenav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
}

.sidenav-link i {
    width: 22px;
    font-size: 17px;
    color: var(--text-muted);
    transition: var(--transition);
}

.sidenav-link:hover {
    background: var(--green-bg);
    color: var(--green-dark);
}

.sidenav-link:hover i {
    color: var(--green-dark);
}

.sidenav-link.active {
    background: var(--green-bg);
    color: var(--green-dark);
}

.sidenav-link.active i {
    color: var(--green-dark);
}

.hero {
    padding: 0 0 16px;
    margin-bottom: 6px;
}

.hero-banner {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.10);
    transition: var(--transition);
}

.hero-banner:hover {
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.18);
    transform: translateY(-2px);
}

.hero-banner-image {
    position: relative;
    width: 100%;
    padding-top: 28%;
    background: var(--green-dark);
    overflow: hidden;
}

.hero-banner-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) saturate(1.1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-banner:hover .hero-banner-image img {
    transform: scale(1.03);
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.80) 0%,
            rgba(16, 185, 129, 0.20) 50%,
            rgba(15, 23, 42, 0.65) 100%);
    display: flex;
    align-items: center;
    padding: 16px 28px;
}

.hero-banner-content {
    max-width: 520px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.85);
    backdrop-filter: blur(8px);
    padding: 3px 14px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.hero-banner-content h1 {
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.hero-banner-content p {
    font-size: clamp(12px, 1vw, 15px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-weight: 450;
    line-height: 1.4;
    max-width: 400px;
}

.hero-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hero-stats span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 3px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stats i {
    color: #34d399;
    font-size: 11px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.30);
    border: none;
    cursor: pointer;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.40);
    color: #fff;
}

.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--card-bg);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.category-tab:hover {
    border-color: var(--green);
    color: var(--green-dark);
}

.category-tab.active {
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 24px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(16, 185, 129, 0.2);
}

.card-img {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: var(--green-bg);
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.card-img .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16%;
}

.card-img .image-inner {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    position: relative;
    background: var(--card-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: calc(var(--radius) + 4px);
}

.card:hover .card-img img {
    transform: scale(1.04);
}

.card-img .placeholder-icon {
    font-size: 40px;
    color: var(--green);
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    z-index: 2;
}

.card-badge.free { color: var(--green-dark); background: rgba(236, 253, 245, 0.95); }
.card-badge.mod { color: #8b5cf6; background: rgba(245, 243, 255, 0.95); }
.card-badge.pro { color: #f59e0b; background: rgba(255, 251, 235, 0.95); }

.pin-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    z-index: 3;
    animation: pinPulse 2s ease-in-out infinite;
}

.pin-badge i {
    transform: rotate(-45deg);
}

@keyframes pinPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4); }
    50% { transform: scale(1.08); box-shadow: 0 6px 18px rgba(245, 158, 11, 0.6); }
}

body.dark-mode .pin-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
}

.card-bookmark {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.card-bookmark:hover {
    color: var(--green-dark);
    transform: scale(1.1);
}

.card-bookmark.saved {
    color: var(--green-dark);
    background: rgba(16, 185, 129, 0.15);
}

.card-body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    text-align: center;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.card-category {
    font-size: 10px;
    font-weight: 600;
    color: var(--green-dark);
    background: var(--green-bg);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.card-platform {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-version {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

.card-footer-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    width: 100%;
    gap: 6px;
}

.card-downloads {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-downloads i {
    color: var(--green-dark);
    font-size: 12px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    padding: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.section-title i {
    color: var(--green-dark);
}

.content-section {
    display: none;
    animation: fadeUp 0.3s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.modal.active { display: flex; }

.modal-content {
    background: #fff;
    border-radius: var(--radius);
    max-width: 380px;
    width: 100%;
    padding: 28px 24px 32px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
    animation: modalIn 0.3s ease;
    position: relative;
    text-align: center;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.94) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover { background: var(--border); }

.modal-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: calc(var(--radius) + 4px);
    background: var(--green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-image i { font-size: 40px; color: var(--green); opacity: 0.5; }

.modal-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 18px;
}

.modal-downloads {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modal-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    background: var(--green-dark);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.modal-download-btn:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.modal-download-btn.ios { background: #1e293b; }
.modal-download-btn.ios:hover { background: #0f172a; }

.dl-page-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 0 80px;
    position: relative;
}

.dl-page-wrap::before {
    content: '';
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: 380px;
    background: radial-gradient(ellipse at top, rgba(16, 185, 129, 0.13), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.dl-page-wrap > * {
    position: relative;
    z-index: 1;
}

.dl-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: var(--card-bg);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.dl-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.dl-step .num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.dl-step.active {
    color: var(--green-dark);
    background: var(--green-bg);
}

.dl-step.active .num {
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark);
}

.dl-step.done {
    color: var(--green-dark);
}

.dl-step.done .num {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.dl-step-divider {
    flex: 0 0 24px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
}

.dl-app-card {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.10);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.dl-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    opacity: 0.9;
    z-index: 0;
}

.dl-app-card > * {
    position: relative;
    z-index: 1;
}

.dl-app-img-wrap {
    padding: 28px 0 0;
    display: flex;
    justify-content: center;
}

.dl-app-img {
    width: 130px;
    height: 130px;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18), 0 0 0 5px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dl-app-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-app-img i {
    font-size: 56px;
    color: var(--green-dark);
    opacity: 0.4;
}

.dl-verified {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 36px;
    height: 36px;
    background: var(--green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    border: 3px solid var(--card-bg);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.dl-app-body {
    padding: 20px 24px 24px;
    text-align: center;
}

.dl-app-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.dl-app-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-weight: 500;
}

.dl-app-subtitle i {
    color: var(--green-dark);
    margin-left: 4px;
}

.dl-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 6px;
}

.dl-stat {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 8px;
    text-align: center;
    transition: var(--transition);
}

.dl-stat:hover {
    background: var(--green-bg);
    border-color: var(--green-light);
}

.dl-stat i {
    display: block;
    font-size: 16px;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.dl-stat .lbl {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
}

.dl-stat .val {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    margin-top: 2px;
}

.dl-info-box {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 22px 24px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.dl-info-box:hover {
    box-shadow: var(--shadow-hover);
}

.dl-info-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.dl-info-head .icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    font-size: 14px;
    flex-shrink: 0;
}

.dl-info-head h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.dl-info-box p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.85;
    white-space: pre-wrap;
    font-weight: 500;
}

.dl-action-area {
    text-align: center;
    padding: 14px 0 0;
}

.dl-inline-action {
    text-align: center;
    padding: 4px 0 16px;
    display: none;
}

.dl-inline-action.show {
    display: block;
    animation: revealBtn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dl-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 17px 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    border: none;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.dl-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.dl-main-btn:hover::before {
    left: 100%;
}

.dl-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.45);
}

.dl-main-btn:active {
    transform: translateY(-1px);
}

.dl-main-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
}

.dl-main-btn i {
    font-size: 17px;
}

.dl-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    margin-left: 4px;
}

.dl-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: pulseRing 1.5s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.7); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes revealBtn {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dl-hidden-btn {
    display: none !important;
    margin-top: 24px;
}

.dl-hidden-btn.show {
    display: inline-flex !important;
    animation: revealBtn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dl-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
    animation: bounceHint 2s infinite;
}

.dl-scroll-hint i {
    font-size: 16px;
    color: var(--green-dark);
}

@keyframes bounceHint {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.dl-loading-card {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 32px 24px;
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dl-loading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-dark), var(--green));
    background-size: 200% 100%;
    animation: loadingBar 2s linear infinite;
}

@keyframes loadingBar {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.dl-spinner-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
}

.dl-spinner-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.dl-spinner-svg circle {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
}

.dl-spinner-svg .bg-circle {
    stroke: var(--green-light);
}

.dl-spinner-svg .progress-circle {
    stroke: var(--green-dark);
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.5));
}

.dl-spinner-count {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dl-spinner-count .num {
    font-size: 26px;
    font-weight: 800;
    color: var(--green-dark);
    line-height: 1;
    letter-spacing: -1px;
}

.dl-spinner-count .unit {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.dl-loading-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dl-loading-sub {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 18px;
}

.dl-loading-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 340px;
    margin: 0 auto;
    text-align: right;
}

.dl-loading-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.dl-loading-step .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
    flex-shrink: 0;
    transition: var(--transition);
}

.dl-loading-step.active {
    background: var(--green-bg);
    color: var(--green-dark);
}

.dl-loading-step.active .dot {
    background: var(--green-dark);
}

.dl-loading-step.done {
    background: var(--green-bg);
    color: var(--green-dark);
}

.dl-loading-step.done .dot {
    background: var(--green);
}

.dl-ready-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.08));
    border: 1px solid var(--green-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 18px;
}

.dl-ready-indicator i {
    color: var(--green-dark);
}

.bookmark-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.bookmark-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--green-bg);
    color: var(--green-dark);
    border: 1px solid var(--green-light);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.bookmark-back-btn:hover {
    background: var(--green-light);
    transform: translateX(5px);
}

.bookmark-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    transition: var(--transition);
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.bookmark-item:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.bookmark-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.bookmark-item-img img { width: 100%; height: 100%; object-fit: cover; }
.bookmark-item-img i { font-size: 32px; color: var(--green); opacity: 0.6; }

.bookmark-item-info {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.bookmark-item-name {
    font-weight: 700;
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.bookmark-item-type {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.bookmark-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.bookmark-item-actions button {
    padding: 8px 18px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bookmark-item-actions .bm-remove {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.bookmark-item-actions .bm-remove:hover {
    background: #fee2e2;
    transform: scale(1.05);
}

.bookmark-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
}

.bookmark-empty i {
    font-size: 56px;
    opacity: 0.3;
    display: block;
    margin-bottom: 16px;
    color: var(--green);
}

.bookmark-empty p {
    font-size: 17px;
    font-weight: 500;
}

.bookmark-empty .sub-text {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 8px;
}

footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 40px 0 24px;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.footer-section h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.3px;
}

.footer-section h3 span {
    color: var(--green-dark);
}

.footer-section p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 450;
    text-align: center;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    justify-content: center;
}

.footer-social a {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    font-size: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--green-light);
    transform: scale(1.08) translateY(-2px);
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 20px;
    width: 100%;
}

.hidden { display: none !important; }

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-weight: 500;
}

.loading i {
    font-size: 28px;
    color: var(--green);
    animation: spin 1s linear infinite;
    display: block;
    margin-bottom: 8px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.no-items {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-weight: 500;
}

.no-items i {
    font-size: 32px;
    color: var(--text-muted);
    opacity: 0.3;
    display: block;
    margin-bottom: 8px;
}

.theme-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-hover);
}

@media (min-width: 600px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 960px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    .container { padding: 0 32px; }
    .section-title { font-size: 24px; }
}

@media (max-width: 768px) {
    .hero-banner-image { padding-top: 40%; }
    .hero-banner-overlay { padding: 14px 20px; align-items: flex-end; }
    .hero-banner-content h1 { font-size: clamp(20px, 4vw, 26px); }
    .hero-stats { gap: 8px; }
    .hero-stats span { font-size: 10px; padding: 2px 10px; }
    .hero-cta { padding: 8px 18px; font-size: 12px; }
    .hero-badge { font-size: 9px; padding: 2px 12px; }

    .bookmark-item {
        flex-wrap: wrap;
        padding: 12px 14px;
        justify-content: center;
    }
    .bookmark-item-img { width: 56px; height: 56px; }
    .bookmark-item-img i { font-size: 24px; }
    .bookmark-item-name { font-size: 15px; }
    .bookmark-item-actions { width: 100%; justify-content: center; }
    .bookmark-item-actions button { font-size: 12px; padding: 6px 14px; }

    .dl-app-img { width: 110px; height: 110px; border-radius: 24px; }
    .dl-app-title { font-size: 22px; }
    .dl-app-body { padding: 16px 18px 20px; }
    .dl-info-box { padding: 18px 18px; }
    .dl-main-btn { padding: 15px 36px; font-size: 15px; }
}

@media (max-width: 480px) {
    .header-content { height: 56px; padding: 8px 0; }
    .header-logo { font-size: 17px; }
    .hamburger, .header-bookmark { width: 36px; height: 36px; font-size: 16px; }
    .header-bookmark .badge { width: 18px; height: 18px; font-size: 9px; }

    .hero-banner-image { padding-top: 50%; }
    .hero-banner-overlay { padding: 12px 16px; }
    .hero-banner-content h1 { font-size: 18px; }
    .hero-banner-content p { font-size: 11px; margin-bottom: 8px; }
    .hero-stats span { font-size: 9px; padding: 2px 8px; }
    .hero-cta { padding: 6px 16px; font-size: 11px; }

    .card-title { font-size: 14px; }
    .card-body { padding: 10px 12px 12px; }
    .modal-content { padding: 24px 16px 28px; }
    .card-img .image-wrapper { padding: 12%; }

    .bookmark-item-img { width: 48px; height: 48px; }
    .bookmark-item-img i { font-size: 20px; }
    .bookmark-item-name { font-size: 14px; }
    .bookmark-item-actions button { font-size: 11px; padding: 5px 12px; }

    .dl-app-img { width: 90px; height: 90px; border-radius: 22px; }
    .dl-app-img i { font-size: 40px; }
    .dl-app-title { font-size: 19px; }
    .dl-app-subtitle { font-size: 11px; }
    .dl-app-body { padding: 14px 16px 18px; }
    .dl-stats { gap: 6px; }
    .dl-stat { padding: 10px 4px; }
    .dl-stat i { font-size: 14px; }
    .dl-stat .val { font-size: 12px; }
    .dl-stat .lbl { font-size: 9px; }
    .dl-info-box { padding: 16px 16px; border-radius: 16px; }
    .dl-info-head h3 { font-size: 14px; }
    .dl-info-box p { font-size: 13.5px; }
    .dl-main-btn { padding: 14px 28px; font-size: 14px; }
    .dl-spinner-wrap { width: 76px; height: 76px; }
    .dl-spinner-count .num { font-size: 22px; }
    .dl-loading-title { font-size: 15px; }
    .dl-steps { padding: 8px 12px; }
    .dl-step { font-size: 11px; padding: 3px 6px; }
    .dl-step .num { width: 20px; height: 20px; font-size: 10px; }

    footer { padding: 30px 0 20px; }
    .footer-section h3 { font-size: 19px; }
    .footer-social a { width: 42px; height: 42px; font-size: 18px; }
}

@media (max-width: 380px) {
    .grid { gap: 12px; }
    .card-body { padding: 8px 10px 10px; }
    .card-title { font-size: 13px; }
    .card-category, .card-platform, .card-version { font-size: 9px; }
    .card-img .image-wrapper { padding: 10%; }
}

body.dark-mode {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #334155;
    --green-bg: #064e3b;
    --green-light: #065f46;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.4);
}

body.dark-mode .hero-banner-overlay {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.88) 0%,
            rgba(16, 185, 129, 0.15) 50%,
            rgba(15, 23, 42, 0.75) 100%);
}

body.dark-mode .hero-banner { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); }
body.dark-mode header {
    background: rgba(15, 23, 42, 0.85);
    border-bottom-color: rgba(16, 185, 129, 0.15);
}
body.dark-mode .sidenav { background: #1e293b; }
body.dark-mode .sidenav-search { background: #0f172a; }
body.dark-mode .sidenav-search input { color: #f1f5f9; }
body.dark-mode .sidenav-link:hover { background: #334155; }
body.dark-mode .sidenav-link.active { background: #334155; }
body.dark-mode .category-tab {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}
body.dark-mode .category-tab.active {
    background: var(--green-dark);
    color: #fff;
}
body.dark-mode .modal-content { background: #1e293b; }
body.dark-mode .modal-close { background: #0f172a; color: #cbd5e1; }
body.dark-mode footer {
    background: #0f172a;
    border-top-color: #334155;
}
body.dark-mode .footer-section p { color: #94a3b8; }
body.dark-mode .footer-social a { background: #1e293b; color: #94a3b8; }
body.dark-mode .footer-social a:hover { background: #334155; color: var(--green); }
body.dark-mode .bookmark-item { border-color: #334155; }
body.dark-mode .bookmark-item:hover { background: #334155; border-color: var(--green); }
body.dark-mode .bookmark-item-actions .bm-remove { background: #450a0a; color: #f87171; border-color: #7f1d1d; }
body.dark-mode .bookmark-item-actions .bm-remove:hover { background: #7f1d1d; }
body.dark-mode .bookmark-empty { border-color: #334155; }
body.dark-mode .bookmark-back-btn { background: #064e3b; color: #34d399; border-color: #065f46; }
body.dark-mode .bookmark-back-btn:hover { background: #065f46; }

body.dark-mode .dl-app-card,
body.dark-mode .dl-info-box,
body.dark-mode .dl-loading-card,
body.dark-mode .dl-steps {
    background: #1e293b;
}
body.dark-mode .dl-app-card::before {
    background: linear-gradient(135deg, #064e3b, #059669);
}
body.dark-mode .dl-app-img {
    background: #0f172a;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(16, 185, 129, 0.15);
}
body.dark-mode .dl-verified {
    border-color: #1e293b;
}
body.dark-mode .dl-stat {
    background: #0f172a;
    border-color: #334155;
}
body.dark-mode .dl-stat:hover {
    background: #064e3b;
    border-color: #065f46;
}
body.dark-mode .dl-loading-step {
    background: #0f172a;
}
body.dark-mode .dl-loading-step.active,
body.dark-mode .dl-loading-step.done {
    background: #064e3b;
    color: #34d399;
}
body.dark-mode .dl-loading-step.active .dot,
body.dark-mode .dl-loading-step.done .dot {
    background: var(--green-dark);
}
body.dark-mode .dl-step.active {
    background: #064e3b;
    color: #34d399;
}
body.dark-mode .dl-step.active .num {
    background: var(--green-dark);
    color: #fff;
}
body.dark-mode .dl-step.done {
    color: #34d399;
}
body.dark-mode .dl-step.done .num {
    background: var(--green);
}
body.dark-mode .dl-step .num {
    background: #0f172a;
    border-color: #334155;
}
body.dark-mode .dl-spinner-svg .bg-circle {
    stroke: #064e3b;
}
body.dark-mode .dl-info-head .icon-circle {
    background: #064e3b;
    color: #34d399;
}
