.blessings-section {
    position: relative;
    padding: 6rem 0;
    background-color: #fff8fa;
    color: var(--text-color);
    overflow: hidden;
    min-height: 100vh;
}

.blessings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 105, 180, 0.1), transparent 60%),
        radial-gradient(circle at bottom left, rgba(240, 98, 146, 0.1), transparent 60%);
    z-index: 1;
}

.blessings-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    height: calc(100vh - 200px);
    min-height: 600px;
    padding: 2rem;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blessings-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.blessing-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    width: calc(20% - 20px);
    height: 160px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    will-change: transform;
}

.blessing-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.blessing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: radial-gradient(circle at var(--mouse-x, center) var(--mouse-y, center),
            rgba(255, 105, 180, 0.1) 0%,
            transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.blessing-card:hover::before {
    opacity: 1;
}

.blessing-content {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-shadow: none;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blessing-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    opacity: 0.8;
    text-align: right;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .blessing-card {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .blessings-container {
        height: auto;
        min-height: 500px;
        padding: 1rem;
    }

    .blessing-card {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 160px;
        margin-bottom: 1rem;
        transform: none !important;
    }

    .blessing-content {
        font-size: 1rem;
    }
}