/* =========================================================
   AKINDE 80TH BIRTHDAY CELEBRATION
   LIVE HOMEPAGE STATISTICS
   Isolated stylesheet — stats.css
   ========================================================= */


/* =========================================================
   STATISTICS GRID
   ========================================================= */

.stats-grid {
    width: 100%;

    display: grid;

    /* Six cards on one row */
    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 16px;

    align-items: stretch;
}


/* =========================================================
   STAT CARD
   ========================================================= */

.stat-card {
    position: relative;

    min-height: 175px;
    width: 100%;
    min-width: 0;

    padding: 24px 10px 22px;

    border: 1px solid rgba(200, 163, 77, 0.30);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.78);

    box-shadow:
        0 12px 30px rgba(38, 8, 17, 0.08);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    box-sizing: border-box;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.stat-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 38px rgba(38, 8, 17, 0.13);
}


/* =========================================================
   DECORATIVE GOLD TOP LINE
   ========================================================= */

.stat-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 18%;
    right: 18%;

    height: 3px;

    background: #c8a34d;

    border-radius:
        0 0 5px 5px;
}


/* =========================================================
   ICON
   ========================================================= */

.stat-icon {
    width: 42px;
    height: 42px;

    margin-bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid currentColor;
    border-radius: 50%;

    font-size: 1.15rem;

    box-sizing: border-box;
}


/* =========================================================
   ONLINE DOT
   ========================================================= */

.online-dot {
    width: 10px;
    height: 10px;

    display: block;

    border-radius: 50%;

    background: currentColor;
}


/* =========================================================
   NUMBER
   ========================================================= */

.stat-number {
    display: block;

    margin: 0 0 7px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 2.25rem;
    line-height: 1;

    font-weight: 700;
}


/* =========================================================
   TITLE
   ========================================================= */

.stat-title {
    display: block;

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 0.68rem;
    line-height: 1.3;

    font-weight: 700;

    letter-spacing: 0.075em;

    text-transform: uppercase;

    white-space: nowrap;
}


/* =========================================================
   INDIVIDUAL CARD COLOURS
   ========================================================= */

.stat-online {
    color: #8b1538;
}

.stat-goodwill {
    color: #ef6c00;
}

.stat-cities {
    color: #006b8f;
}

.stat-regions {
    color: #66605a;
}

.stat-countries {
    color: #4f7a2e;
}

.stat-gallery {
    color: #7040a0;
}


/* =========================================================
   SMARTLY CONTRASTING HEADLINE COLOURS
   ========================================================= */

/* =========================================================
   SMARTLY CONTRASTING HEADLINE COLOURS
   ========================================================= */

.stat-online .stat-title {
    color: #8b1538;          /* Deep Burgundy */
}

.stat-messages .stat-title {
    color: #d97706;          /* Warm Orange */
}

.stat-cities .stat-title {
    color: #0067a3;          /* Strong Blue */
}

.stat-regions .stat-title {
    color: #34302d;          /* Charcoal */
}

.stat-countries .stat-title {
    color: #3f7d20;          /* Green */
}

.stat-gallery .stat-title {
    color: #7040a0;          /* Purple */
}


/* =========================================================
   GOODWILL STATUS
   ========================================================= */

.approved-stat {
    color: #1565c0;          /* Blue */
}

.pending-stat {
    color: #c62828;          /* Red */
}

/* =========================================================
   GOODWILL STATUS — CLEAR CONTRAST
   ========================================================= */

.stat-status .approved {
    color: #1565c0;          /* Blue */
}

.stat-status .pending {
    color: #c62828;          /* Red */
}

/* =========================================================
   GOODWILL STATUS
   ========================================================= */

.stat-status {
    margin-top: 8px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 0.68rem;
    line-height: 1.4;

    white-space: nowrap;
}

.stat-status .approved {
    color: #2e7d32;
}

.stat-status .pending {
    color: #b26a00;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .stats-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 16px;
    }

    .stat-card {
        min-height: 165px;
        padding: 24px 12px;
    }

    .stat-title {
        white-space: normal;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .stat-card {
        min-height: 155px;

        padding: 22px 12px;

        border-radius: 15px;
    }

    .stat-number {
        font-size: 1.85rem;
    }

    .stat-title {
        font-size: 0.64rem;
        letter-spacing: 0.07em;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 145px;
    }

}