.img_card {
    padding: 1.3rem 1.3rem 1.5rem;
    background: #fafafa;
    box-sizing: border-box;
    border-radius: 1.5rem;
    border: 1px solid rgba(208, 206, 206, 0.4) !important;
    box-shadow: 0 5px 12px #cfd4da85;
    transition: all 0.23s linear;
}

.love_img img {
    width: 20rem;
    border-radius: 1rem 1rem .6rem .6rem;
    object-fit: cover;
    box-shadow: 0 0px 30px #857d7d78;
    margin-bottom: 1rem;
    aspect-ratio: 1 / 1 !important;
}

.img_card:hover {
    cursor: pointer;
    cursor: url(../cur/hover.cur), pointer;
    background: #494949;
}

.love_img img {
    transition: all 0.23s linear;
}

.img_card:hover.love_img img {
    transform: translateY(-5px);
}

.img_card:active {
    background: #494949;
}

.img_card:hover img {
    box-shadow: 0 2px 10px #3b3b3bad;
}

.img_card:hover.img_card span {
    color: #e2e2e2;
}

.img_card span {
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    font-size: 1.05rem;
    color: #454040;
    letter-spacing: 1px;
    line-height: 1.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.img_card i {
    display: block;
    font-style: normal;
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    color: #999;
    padding-bottom: 0.6rem;
    letter-spacing: 2px;
}

.img_card .words {
    text-align: center;
    margin-top: 1rem;
    position: relative;
}

/* ========== 相册文件夹样式 ========== */

.album-card {
    padding: 1rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.album-card.show {
    opacity: 1;
    transform: translateY(0);
}

.album-card:hover {
    cursor: pointer;
    cursor: url(../cur/hover.cur), pointer;
}

.album-folder {
    background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
    border-radius: 1.2rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 182, 193, 0.3);
    box-shadow: 0 4px 15px rgba(255, 105, 135, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.album-card:hover .album-folder {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 105, 135, 0.2);
    border-color: rgba(255, 105, 135, 0.5);
}

.album-cover {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-info {
    padding: 0.5rem 0;
}



.album-title {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin: 0.5rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.album-card:hover .album-title {
    color: #ff6984;
}

.album-count {
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #999;
    margin: 0.3rem 0;
}

.album-desc {
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #b0b0b0;
    margin: 0.5rem 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 面包屑导航样式 */
.breadcrumb {
    padding: 0.8rem 1.5rem;
    background: #f8f9fa;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb span {
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: #666;
    transition: color 0.2s;
}

.breadcrumb span:first-child:hover {
    color: #ff6984;
}

.breadcrumb span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ========== 原有样式 ========== */

.spl-button,
.spl-description,
.spl-title {
    margin-bottom: 20px;
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
}

.photo-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-item.show {
    opacity: 1;
    transform: translateY(0);
}

.load-more {
    text-align: center;
    margin-top: 60px;
}

/* 加载动画 */
.loading {
    text-align: center;
    color: #7f8c8d;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Serif SC', serif;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ecf0f1;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 页面渐入效果 */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.lg-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #ffffff;
    background-color: #000000;
    border-style: solid;
    border-width: 1px;
    border-color: rgb(255 255 255);
    border-radius: 40px;
    padding: .6rem 2rem;
    transform: translate(0, 0) rotate(0deg);
    transition: 0.2s;
    cursor: pointer;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    font-family: 'Noto Serif SC', serif;
    font-weight: bold;
}

.lg-btn-alt:hover {
    color: #516d91;
    background-color: #E5EDF5;
    box-shadow: -2px -1px 8px 0px #ffffff,
                2px 1px 8px 0px rgb(95 157 231 / 48%);
}

.lg-btn-alt:active {
  box-shadow: none;
}

.lg-btn-alt:disabled,
.lg-btn-alt.disabled {
    color: #3f3f3f;
    background-color: #e0e0e0;
    border-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.8;
    pointer-events: none;
}

.lg-btn-alt .icon {
    width: 16px;
    height: 16px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .album-cover {
        height: 160px;
    }
    
    .album-title {
        font-size: 1rem;
    }
    
    .breadcrumb {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
