/* Widget Types Section */
.gr-widget-types {
    padding: var(--gr-section-py) 0;
}

.gr-widget-types__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gr-gap);
}

/* Widget Card */
.gr-widget-card {
    background: var(--gr-surface);
    border: 1px solid var(--gr-glass-border);
    border-radius: var(--gr-radius);
    overflow: hidden;
    transition: var(--gr-transition);
    display: flex;
    flex-direction: column;
}

.gr-widget-card:hover {
    background: var(--gr-surface-hover);
    transform: translateY(-4px);
}

.gr-widget-card__preview {
    height: 220px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gr-widget-card__preview img {
    max-height: 160px;
    width: auto;
    transition: var(--gr-transition);
}

.gr-widget-card:hover .gr-widget-card__preview img {
    transform: scale(1.05);
}

.gr-widget-card__body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gr-widget-card__badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    border-radius: var(--gr-radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.gr-widget-card__badge--bubble {
    background: rgba(252, 202, 151, 0.15);
    color: #fcca97;
}

.gr-widget-card__badge--carousel {
    background: rgba(89, 173, 255, 0.12);
    color: #59adff;
}

.gr-widget-card__badge--inline {
    background: rgba(255, 89, 117, 0.1);
    color: #ff5975;
}

.gr-widget-card__badge--stories {
    background: rgba(130, 100, 255, 0.1);
    color: #8264ff;
}

.gr-widget-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--gr-white);
}

.gr-widget-card__text {
    color: var(--gr-text-muted);
    font-size: var(--gr-fs-small);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.gr-widget-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gr-widget-card__feature {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--gr-radius-full);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
