        /* Main content grid */
        .main-grid {
            flex-grow: 1;
            /* flex-grow */
            padding: 1rem;
            /* p-4 */
            display: grid;
            /* grid */
            grid-template-columns: 1fr;
            /* grid-cols-1 for mobile */
            gap: 1rem;
            /* gap-4 */
            padding-bottom: 80px;
        }

        /* Card base styles */
        .card {
            padding: 1rem;
            /* p-4 */
            border-radius: 0.75rem;
            /* rounded-xl */
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            /* shadow-md */
            display: flex;
            /* flex */
            height: 9rem;
            justify-content: space-between;
            /* justify-between */
            position: relative;
            /* relative */
            overflow: hidden;
            /* overflow-hidden */
            cursor: pointer;
        }

        /* Custom colors for cards based on the image */
        .card-personal-risk {
            background-color: #e0f2f7;
            border-radius: 35px .5rem .5rem 35px;
            background: url(/assets/img/banner/1.png) center center / cover no-repeat;
        }

        /* Light blue */
        .card-marriage-risk {
            background-color: #fce4ec;
            border-radius: .5rem 35px 35px .5rem;
            background: url(/assets/img/banner/5.png) center center / cover no-repeat;
        }

        /* Light pink */
        .card-preloan-check {
            background-color: #e6f7e8;
            border-radius: 35px .5rem .5rem 35px;
            background: url(/assets/img/banner/3.png) center center / cover no-repeat;
        }

        /* Light green */
        .card-rental-risk {
            background-color: #d9edf7;
            border-radius: .5rem 35px 35px .5rem;
            background: url(/assets/img/banner/4.png) center center / cover no-repeat;
        }

        /* Slightly darker blue */
        .card-domestic-services {
            background-color: #e6f7e8;
            border-radius: 35px .5rem .5rem 35px;
            background: url(/assets/img/banner/2.png) center center / cover no-repeat;
        }

        /* Same as pre-loan for consistency */

        /* Card title styles */
        .card h2 {
            font-size: 1.25rem;
            /* text-xl */
            font-weight: 600;
            /* font-semibold */
            margin-bottom: 0.25rem;
            /* mb-1 */
            color: #2d3748;
            /* text-gray-800 */
        }

        /* Custom button styling for 'GO >' */
        .go-button {
            background-color: rgba(255, 255, 255, 0.5);
            /* Semi-transparent white */
            color: #333;
            padding: 4px 10px;
            /* py-1 px-2.5 */
            border-radius: 9999px;
            /* Fully rounded pill shape */
            font-size: 0.875rem;
            /* text-sm */
            font-weight: 600;
            /* font-semibold */
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            transition: background-color 0.2s ease-in-out;
            border: none;
            /* Remove default button border */
            cursor: pointer;
            /* Add pointer cursor */
        }

        .go-button:hover {
            background-color: rgba(255, 255, 255, 0.7);
        }

        /* Specific style for the pink GO button on Marriage & Love Risk card */
        .go-button-pink {
            background-color: #ec4899;
            /* Tailwind pink-500 equivalent */
            color: white;
            padding: 4px 10px;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            transition: background-color 0.2s ease-in-out;
            border: none;
            /* Remove default button border */
            cursor: pointer;
            /* Add pointer cursor */
        }

        .go-button-pink:hover {
            background-color: #db2777;
            /* Darker pink on hover */
        }

        /* Ensure SVG icons scale correctly within their containers */
        .card-icon {
            max-width: 100px;
            /* Adjust as needed */
            height: auto;
            position: absolute;
            /* absolute */
            bottom: -0.5rem;
            /* -bottom-2 */
            right: -0.5rem;
            /* -right-2 */
            /* Removed opacity as per previous instruction to use color for visual intensity */
        }