
.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

/* Base Card Styles */
.card {
    border-radius: 24px;
    padding: 32px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--e-global-color-accent); /* UiCore Accent Color */
}

/* Using your glass class */
.card.glass-background {
    /* Ensure your class logic is applied here */
    backdrop-filter: blur(12px); 
}

.card.featured {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    border-color: var(--e-global-color-primary);
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card h3 {
    margin: 20px 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}

.main-stat .value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 5px;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 10px;
}

.label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.data {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.card-footer {
    margin-top: 32px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
}

/* Ensure the span inherits the gradient styling */
.main-stat .value span {
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
}

/* Optional: Prevent layout shift by giving the number a minimum width */
.count-up {
    display: inline-block;
    min-width: 1.2ch;
}