.nfc-grid {
    display: grid;
    /* Columns defined by responsive control in PHP */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}

.nfc-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border-top-style: solid;
    border-top-color: var(--card-accent, #2563eb);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

.nfc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.nfc-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    color: #f1f5f9;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.nfc-content {
    position: relative;
    z-index: 1;
}

.nfc-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--card-accent, #2563eb);
}

.nfc-progress-container {
    position: relative;
    width: 100%;
    height: 8px;
    margin: 24px 0;
    display: flex;
    align-items: center;
}

.nfc-progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e2e8f0;
    transform: translateY(-50%);
}

.nfc-progress-dot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--card-accent, #2563eb);
    box-sizing: content-box;
}

.nfc-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}