/* ===========================================
   down.url.kr — Custom Styles
   =========================================== */

/* 앱 카드 */
.app-card {
    border-color: #e5e7eb;
}
.app-card:hover {
    border-color: #0d6efd;
}

/* 로고 플레이스홀더 */
.app-logo-placeholder {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}
.app-logo-lg {
    width: 80px;
    height: 80px;
    background: #f3f4f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

/* 설치 단계 번호 */
.step-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

/* 다운로드 버튼 아이콘 정렬 */
.btn .lucide {
    vertical-align: -3px;
}

/* ============================================================
   다운로드 페이지 — Official Look
   ============================================================ */

/* 브랜드 바 */
.brand-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    height: 44px;
    display: flex;
    align-items: center;
}
.brand-bar .container {
    display: flex;
    align-items: center;
    gap: 6px;
}
.brand-bar-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
}
.brand-bar-logo:hover { color: #111827; }
.brand-bar-sep { color: #d1d5db; font-size: 0.85rem; }
.brand-bar-current {
    font-size: 0.85rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

/* 앱 히어로 */
.app-hero {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 2.5rem 0;
}
.app-hero-logo {
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.app-hero-category {
    display: inline-block;
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.app-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.2;
}
.app-hero-desc {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 8px;
    max-width: 520px;
}
.app-hero-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.83rem;
    color: #9ca3af;
}
.meta-dot { color: #d1d5db; }

/* 광고 영역 */
.ad-wrap { padding: 10px 0; text-align: center; }
.ad-wrap-top {
    background: #f9fafb;
    border-top: 1px solid #f0f1f3;
    border-bottom: 1px solid #f0f1f3;
}
.ad-wrap-inline { text-align: center; }
.ad-wrap-sidebar { text-align: center; }
.ad-label {
    font-size: 0.65rem;
    color: #c4c9d4;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

/* 콘텐츠 카드 */
.content-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}
.content-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}
.content-card-title svg { color: #6b7280; flex-shrink: 0; }

/* 다운로드 버튼 */
.dl-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dl-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: #111827;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.dl-btn:hover {
    border-color: #9ca3af;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transform: translateY(-1px);
    color: #111827;
}
.dl-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dl-btn-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.dl-btn-platform {
    font-size: 0.72rem;
    color: #9ca3af;
    font-weight: 500;
    line-height: 1.3;
}
.dl-btn-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dl-btn-arrow { color: #d1d5db; flex-shrink: 0; }

/* 설치 단계 */
.step-list { display: flex; flex-direction: column; }
.step-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f3f4f6;
}
.step-item:last-child { border-bottom: none; padding-bottom: 0; }
.step-item:first-child { padding-top: 0; }
.step-body { flex: 1; padding-top: 2px; }
.step-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #111827;
    margin-bottom: 4px;
}
.step-content {
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.75;
}
.step-screenshot {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-top: 12px;
}

/* 앱 정보 카드 */
.info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}
.info-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.info-dl { margin-bottom: 0; font-size: 0.88rem; }
.info-dl dt { color: #9ca3af; font-weight: 400; margin-bottom: 2px; }
.info-dl dd { color: #111827; font-weight: 500; margin-bottom: 14px; }
.info-dl dd:last-child { margin-bottom: 0; }

/* 관리자 사이드 네비 */
.admin-nav .nav-link {
    color: #374151;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}
.admin-nav .nav-link:hover {
    background: #f3f4f6;
    color: #111;
}
.admin-nav .nav-link.active {
    background: #e8f0fe;
    color: #1a56db;
    font-weight: 500;
}
