/* ============================================================
   Orguyapimi — 首页样式 · 「星夜灵光」主题
   ============================================================ */

/* ===== 首页推荐项 ===== */
.recommend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    margin: 15px 0px;
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.32s ease, border-color 0.32s ease;
    box-shadow: var(--shadow-sm);
}

.recommend-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 197, 49, 0.55);
}

.recommend-item a {
    align-items: center;
    justify-self: center;
    text-decoration: none;
    width: 100%;
}

.recommend-item img {
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* ===== 推荐项信息 ===== */
.recommend-item-info {
    display: flex;
    flex-direction: column;
    padding: 12px;
    flex-wrap: wrap;
    position: relative;
}

.recommend-item-info h3 {
    color: var(--brand-600);
    font-size: 0.95rem;
    margin: 0px 10px;
    font-weight: 700;
}

.recommend-item-info p {
    display: flex;
    color: var(--ink-mute);
    font-size: 0.78rem;
    margin: 8px 10px;
    line-height: 1.5;
}

/* ===== 推荐项按钮 ===== */
.recommend-item-btn a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.recommend-item-btn {
    display: flex;
    width: 100%;
    height: 32px;
    background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
    border-radius: 10px;
    right: 0px;
    box-shadow: 0 4px 14px rgba(101, 67, 216, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: all 0.3s ease;
}

.recommend-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(101, 67, 216, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.recommend-item-btn img {
    width: 28px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* ===== 推荐内容网格 ===== */
.orguy-recommend-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 14px 12px;
    padding: 4px;
}

.orguy-recommend-content img {
    width: 100%;
    border-radius: 12px;
}

/* ===== 热门推荐网格 ===== */
.orguy-recommend-content-hot {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 14px 20px 4px;
    padding: 4px;
}

.orguy-recommend-content-hot img {
    width: 100%;
    border-radius: 12px;
}
