.horoscope-grid-widget {
    background-color: var(--card-bg, #ffffff);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color, rgb(0 0 0 / .06));
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color, transparent)
}

.horoscope-grid-widget .hgw-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #eee)
}

.horoscope-grid-widget .hgw-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color, #e30613);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px
}

.horoscope-grid-widget .hgw-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color, #333);
    margin: 0
}

.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%
}

.horoscope-card {
    background: var(--bg-color, #f8fafc);
    border-radius: 12px;
    padding: 16px 8px;
    border: 1px solid #fff0;
    transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    min-height: 110px;
    position: relative;
    overflow: hidden
}

.horoscope-card:hover {
    background: var(--card-bg, #ffffff);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow-color, rgb(0 0 0 / .1));
    border-color: var(--border-color, #e2e8f0)
}

.horoscope-card::before {
    display: none
}

.horoscope-card .sign-icon {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
    filter: grayscale(100%);
    opacity: .6;
    transition: all 0.3s
}

.horoscope-card img.sign-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    font-size: 0
}

.horoscope-card:hover .sign-icon {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1
}

.horoscope-card .sign-name {
    color: var(--text-color, #333);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s
}

.horoscope-card:hover .sign-name {
    color: var(--primary-color, #e30613);
    font-weight: 600
}

@media (max-width:600px) {
    .horoscope-grid-widget {
        padding: 16px
    }

    .horoscope-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px
    }

    .horoscope-card {
        padding: 12px 4px;
        min-height: 90px
    }

    .horoscope-card .sign-name {
        font-size: 12px
    }
}