.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;
    /* border: 1px solid rgba(208, 206, 206, 0.4) !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;
    margin-top: 1rem;
    line-height: 1.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.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;
}

.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;
}

