body {
    display: block;
    min-height: 100vh;
    padding: 0 0 48px;
    background: #0a0f1a;
}

.dl-page .reg-bg {
    z-index: -1;
}

.dl-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
    animation: fadeIn 0.5s ease-out;
}

.dl-header {
    text-align: center;
    margin-bottom: 36px;
    padding-top: 72px;
}

.dl-logo {
    margin-bottom: 24px;
}

.dl-logo img {
    height: clamp(200px, 32vw, 340px);
    width: auto;
    max-width: min(720px, 94vw);
    object-fit: contain;
    filter: drop-shadow(0 0 32px rgba(59, 130, 246, 0.5)) drop-shadow(0 0 80px rgba(59, 130, 246, 0.2));
    animation: dl-logo-float 4.5s ease-in-out infinite;
}

@keyframes dl-logo-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.dl-title {
    font-size: 32px;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 6px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
    letter-spacing: 0.5px;
}

.dl-subtitle {
    color: #94a3b8;
    font-size: 15px;
}

.dl-section {
    margin-bottom: 36px;
}

.dl-section-title {
    color: #e2e8f0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-left: 4px;
}

/* ── Client Cards ── */
.dl-client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dl-client-card {
    background: linear-gradient(160deg, #0f172a 0%, #111f38 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.dl-client-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(37, 99, 235, 0.12);
}

.dl-client-thumb {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.dl-client-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

.dl-client-thumb i {
    font-size: 48px;
    color: rgba(96, 165, 250, 0.35);
    position: relative;
    z-index: 1;
}

.dl-client-thumb-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    z-index: 1;
    white-space: nowrap;
}

.dl-client-body {
    padding: 18px 18px 0;
    flex: 1;
}

.dl-client-name {
    color: #f1f5f9;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.dl-client-meta {
    color: #64748b;
    font-size: 12px;
    margin-bottom: 8px;
}

.dl-client-meta span {
    color: #94a3b8;
}

.dl-client-desc {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
    min-height: 40px;
}

.dl-client-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 18px 18px;
    padding: 12px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.dl-client-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
}

/* ── Tool Cards (Optional Tools) ── */
.dl-tools-section {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 18px;
    padding: 24px 22px 26px;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.04);
}

.dl-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.dl-tool-card {
    background: linear-gradient(160deg, #111827 0%, #0f172a 100%);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 148px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.dl-tool-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.dl-tool-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex: 1;
}

.dl-tool-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: linear-gradient(145deg, #1e293b, #334155);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    text-align: center;
    line-height: 1.15;
    font-size: 10px;
    font-weight: 700;
    color: #cbd5e1;
    word-break: break-word;
    overflow: hidden;
}

.dl-tool-info {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.dl-tool-name {
    color: #f1f5f9;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.dl-tool-desc {
    color: #94a3b8;
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0;
}

.dl-tool-size {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.dl-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #34d399;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
    margin-top: auto;
}

.dl-tool-link:hover {
    color: #6ee7b7;
    gap: 9px;
}

.dl-tool-link i {
    font-size: 12px;
    transition: transform 0.2s;
}

.dl-tool-link:hover i {
    transform: translateX(3px);
}

/* ── Notice ── */
.dl-notice {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    margin-bottom: 28px;
}

.dl-notice-icon {
    color: #fbbf24;
    font-size: 22px;
    flex-shrink: 0;
    padding-top: 2px;
}

.dl-notice-body strong {
    display: block;
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 4px;
}

.dl-notice-body p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.dl-notice-body b {
    color: #fcd34d;
}

/* ── Empty / Loading ── */
.dl-loading,
.dl-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
    font-size: 14px;
}

.dl-empty-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* ── Footer ── */
.dl-footer {
    text-align: center;
    padding-top: 8px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .dl-client-grid,
    .dl-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .dl-header {
        padding-top: 48px;
    }

    .dl-logo img {
        height: clamp(160px, 42vw, 240px);
    }

    .dl-client-grid,
    .dl-tools-grid {
        grid-template-columns: 1fr;
    }

    .dl-title {
        font-size: 26px;
    }
}
