.statistics-ai-page {
    min-height: 100vh;
    color: #eaf4ff;
    background: #06111f;
}

/* Chỉ hiển thị kết quả kỳ gần nhất của Power dưới dạng bóng số. */
.power655-page.statistics-ai-page .insight-panel .number-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.power655-page.statistics-ai-page .insight-panel .number-cell.hot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    animation: powerLastBallEnter .65s cubic-bezier(.2, .8, .3, 1.15) backwards;
    animation-delay: var(--ball-delay, 0s);
}

.power655-page.statistics-ai-page .insight-panel .number-cell.hot:nth-child(2) { --ball-delay: .1s; }
.power655-page.statistics-ai-page .insight-panel .number-cell.hot:nth-child(3) { --ball-delay: .2s; }
.power655-page.statistics-ai-page .insight-panel .number-cell.hot:nth-child(4) { --ball-delay: .3s; }
.power655-page.statistics-ai-page .insight-panel .number-cell.hot:nth-child(5) { --ball-delay: .4s; }
.power655-page.statistics-ai-page .insight-panel .number-cell.hot:nth-child(6) { --ball-delay: .5s; }

.power655-page.statistics-ai-page .insight-panel .number-cell.hot strong {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #ffe394;
    border-radius: 50%;
    color: #342406;
    background: radial-gradient(circle at 30% 25%, #fff4cb, #f4c452 65%, #cc9026);
    box-shadow: inset 0 -3px 6px rgba(114, 67, 0, .2), 0 4px 12px rgba(0, 0, 0, .18);
    font-size: 1.1rem;
    font-weight: 850;
    line-height: 1;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

/* Vệt sáng lướt qua từng bóng sau hiệu ứng xuất hiện. */
.power655-page.statistics-ai-page .insight-panel .number-cell.hot strong::after {
    position: absolute;
    inset: -20%;
    content: "";
    pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .65) 50%, transparent 65%);
    transform: translateX(-140%);
    animation: powerLastBallShine 3s ease-in-out 2;
    animation-delay: calc(var(--ball-delay, 0s) + .65s);
}

@media (hover: hover) {
    .power655-page.statistics-ai-page .insight-panel .number-cell.hot:hover strong {
        transform: translateY(-5px) scale(1.08);
        filter: brightness(1.06);
        box-shadow: inset 0 -3px 6px rgba(114, 67, 0, .2), 0 8px 20px rgba(244, 196, 82, .4);
    }
}

@keyframes powerLastBallEnter {
    from { opacity: 0; transform: translateY(16px) scale(.65); }
    70% { opacity: 1; transform: translateY(-3px) scale(1.06); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes powerLastBallShine {
    0%, 35% { transform: translateX(-140%); }
    75%, 100% { transform: translateX(140%); }
}

@media (prefers-reduced-motion: reduce) {
    .power655-page.statistics-ai-page .insight-panel .number-cell.hot,
    .power655-page.statistics-ai-page .insight-panel .number-cell.hot strong::after {
        animation: none;
    }
    .power655-page.statistics-ai-page .insight-panel .number-cell.hot strong {
        transition: none;
    }
    .power655-page.statistics-ai-page .insight-panel .number-cell.hot:hover strong {
        transform: none;
    }
}

.statistics-ai-page .statistics-main {
    overflow: hidden;
    background: #06111f;
}

.statistics-ai-page .statistics-hero {
    position: relative;
    padding: 150px 0 80px;
    background: radial-gradient(circle at 82% 18%, rgba(75, 202, 226, .2), transparent 27rem), linear-gradient(135deg, #071323, #0b2942 55%, #07111e);
}

.statistics-ai-page .statistics-hero::after {
    position: absolute;
    right: -12rem;
    bottom: -15rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(105, 232, 220, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(105, 232, 220, .025), 0 0 0 70px rgba(105, 232, 220, .02);
    content: "";
}

.statistics-ai-page .statistics-hero .container,
.statistics-ai-page .statistics-workspace .container {
    position: relative;
    z-index: 1;
}

.statistics-ai-page .statistics-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
    gap: 50px;
    align-items: center;
}

.statistics-ai-page .statistics-kicker {
    color: #78e8db;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .16em;
}

.statistics-ai-page .statistics-hero h1 {
    max-width: 760px;
    margin: 16px 0;
    color: #f3f8ff;
    font-size: clamp(2.6rem, 5.8vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: .98;
}

.statistics-ai-page .statistics-hero h1 span {
    color: #7beadd;
}

.statistics-ai-page .statistics-hero-copy {
    max-width: 690px;
    color: #abc2d8;
    font-size: 1.03rem;
    line-height: 1.75;
}

.statistics-ai-page .statistics-hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.statistics-ai-page .statistics-hero-note span {
    padding: 8px 12px;
    border: 1px solid rgba(135, 213, 226, .2);
    border-radius: 999px;
    color: #bcd2e7;
    background: rgba(255, 255, 255, .045);
    font-size: .7rem;
    font-weight: 700;
}

.statistics-ai-page .statistics-hero-note i {
    margin-right: 5px;
    color: #78e8db;
}

.statistics-ai-page .signal-orb {
    position: relative;
    display: grid;
    width: min(100%, 390px);
    aspect-ratio: 1;
    place-items: center;
    margin: auto;
    border: 1px solid rgba(120, 232, 219, .25);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 166, 179, .22), rgba(12, 36, 59, .46) 42%, rgba(7, 18, 32, .2) 70%);
    box-shadow: 0 0 70px rgba(67, 209, 205, .16), inset 0 0 45px rgba(101, 224, 220, .09);
    animation: statisticsFloat 6s ease-in-out infinite;
}

.statistics-ai-page .signal-orb::before,
.statistics-ai-page .signal-orb::after {
    position: absolute;
    inset: 12%;
    border: 1px dashed rgba(126, 227, 232, .3);
    border-radius: 50%;
    content: "";
    animation: statisticsSpin 18s linear infinite;
}

.statistics-ai-page .signal-orb::after {
    inset: 25%;
    border-style: solid;
    border-color: rgba(152, 202, 255, .16) transparent;
    animation-direction: reverse;
    animation-duration: 12s;
}

.statistics-ai-page .signal-core {
    position: relative;
    z-index: 1;
    display: grid;
    width: 148px;
    height: 148px;
    place-items: center;
    border: 1px solid rgba(130, 240, 226, .5);
    border-radius: 50%;
    color: #dffff8;
    background: radial-gradient(circle at 35% 25%, #2e8292, #102d46 72%);
    box-shadow: 0 0 0 15px rgba(104, 232, 220, .06), 0 0 55px rgba(91, 225, 218, .4);
    text-align: center;
}

.statistics-ai-page .signal-core strong {
    display: block;
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .9;
}

.statistics-ai-page .signal-core small {
    color: #9cebe1;
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.statistics-ai-page .signal-chip {
    position: absolute;
    padding: 8px 11px;
    border: 1px solid rgba(165, 209, 244, .2);
    border-radius: 10px;
    color: #d5e8fb;
    background: rgba(7, 22, 39, .78);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
    font-size: .62rem;
    font-weight: 800;
}

.statistics-ai-page .signal-chip-one { top: 18%; left: 0; }
.statistics-ai-page .signal-chip-two { right: 0; bottom: 22%; }
.statistics-ai-page .signal-chip-three { right: 14%; top: 8%; color: #88f0df; }

.statistics-ai-page .statistics-workspace {
    padding: 62px 0 80px;
    background: linear-gradient(180deg, #06111f, #081827 48%, #06111f);
}

.statistics-ai-page .dashboard-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.statistics-ai-page .dashboard-heading h2,
.statistics-ai-page .section-heading h2 {
    margin: 7px 0 4px;
    color: #eff7ff;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -.05em;
}

.statistics-ai-page .dashboard-heading p,
.statistics-ai-page .section-heading p {
    margin: 0;
    color: #91a9c2;
    font-size: .86rem;
}

.statistics-ai-page .data-badge {
    padding: 9px 13px;
    border: 1px solid rgba(112, 226, 216, .2);
    border-radius: 999px;
    color: #9ef0e5;
    background: rgba(80, 190, 185, .08);
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

.statistics-ai-page .metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.statistics-ai-page .metric-card,
.statistics-ai-page .insight-panel,
.statistics-ai-page .number-panel {
    border: 1px solid rgba(157, 197, 232, .13);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(17, 38, 62, .95), rgba(8, 22, 39, .97));
    box-shadow: 0 18px 35px rgba(0, 0, 0, .16);
}

.statistics-ai-page .metric-card {
    padding: 19px;
}

.statistics-ai-page .metric-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #91a9c1;
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.statistics-ai-page .metric-label i { color: #72e7da; font-size: .95rem; }
.statistics-ai-page .metric-card strong { display: block; margin: 13px 0 4px; color: #f0f8ff; font-size: 2rem; letter-spacing: -.06em; }
.statistics-ai-page .metric-card small { color: #86a0ba; font-size: .68rem; }

.statistics-ai-page .dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 16px;
    margin-top: 16px;
}

.statistics-ai-page .insight-panel,
.statistics-ai-page .number-panel { padding: 23px; }

.statistics-ai-page .panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.statistics-ai-page .panel-heading h3 { margin: 5px 0 0; color: #edf7ff; font-size: 1.1rem; font-weight: 850; }
.statistics-ai-page .panel-heading > i { color: #79e7da; font-size: 1.1rem; }
.statistics-ai-page .ai-eyebrow { color: #73e3d6; font-size: .62rem; font-weight: 850; letter-spacing: .14em; }

.statistics-ai-page .frequency-row { margin: 17px 0; }
.statistics-ai-page .frequency-top { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 7px; color: #b8cce0; font-size: .74rem; }
.statistics-ai-page .frequency-top strong { color: #edfbff; }
.statistics-ai-page .frequency-track { height: 8px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.statistics-ai-page .frequency-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5fd8d1, #8dc7ff); box-shadow: 0 0 15px rgba(105, 232, 220, .4); }

.statistics-ai-page .parity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.statistics-ai-page .parity-item { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .045); }
.statistics-ai-page .parity-item span { display: block; color: #8fa8c1; font-size: .7rem; }
.statistics-ai-page .parity-item strong { display: block; margin-top: 6px; color: #eaf8ff; font-size: 1.4rem; }

.statistics-ai-page .number-section { margin-top: 16px; }
.statistics-ai-page .number-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 9px; }
.statistics-ai-page .number-cell { position: relative; display: grid; min-height: 75px; place-items: center; border: 1px solid rgba(148, 193, 231, .15); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.statistics-ai-page .number-cell strong { color: #effbff; font-size: 1.08rem; }
.statistics-ai-page .number-cell small { position: absolute; right: 7px; bottom: 5px; color: #7190aa; font-size: .55rem; }
.statistics-ai-page .number-cell.hot { border-color: rgba(112, 231, 215, .46); background: linear-gradient(145deg, rgba(58, 164, 155, .3), rgba(15, 54, 68, .45)); box-shadow: 0 0 20px rgba(75, 214, 202, .09); }
.statistics-ai-page .number-cell.cold { opacity: .7; }

.statistics-ai-page .pair-list { display: grid; gap: 10px; }
.statistics-ai-page .pair-item { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.statistics-ai-page .pair-balls { display: flex; gap: 5px; }
.statistics-ai-page .pair-balls b { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(111, 230, 218, .35); border-radius: 50%; color: #eaffff; background: #123c55; font-size: .67rem; }
.statistics-ai-page .pair-bar { height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.statistics-ai-page .pair-bar i { display: block; height: 100%; border-radius: inherit; background: #72e7da; }
.statistics-ai-page .pair-item strong { color: #b8f5ed; font-size: .72rem; }

.statistics-ai-page .disclaimer { margin-top: 22px; padding: 16px 18px; border: 1px solid rgba(233, 193, 103, .18); border-radius: 15px; color: #acb8c4; background: rgba(233, 193, 103, .055); font-size: .74rem; line-height: 1.7; }
.statistics-ai-page .disclaimer i { margin-right: 7px; color: #e7c36c; }


@keyframes statisticsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes statisticsSpin { to { transform: rotate(360deg); } }

@media (max-width: 991px) {
    .statistics-ai-page .statistics-hero-grid,
    .statistics-ai-page .dashboard-grid { grid-template-columns: 1fr; }
    .statistics-ai-page .signal-orb { max-width: 330px; margin-top: 20px; }
    .statistics-ai-page .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .statistics-ai-page .number-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .statistics-ai-page .statistics-hero { padding-top: 125px; }
    .statistics-ai-page .dashboard-heading { display: block; }
    .statistics-ai-page .data-badge { display: inline-block; margin-top: 15px; }
    .statistics-ai-page .metric-grid { gap: 9px; }
    .statistics-ai-page .metric-card { padding: 14px; }
    .statistics-ai-page .metric-card strong { font-size: 1.6rem; }
    .statistics-ai-page .insight-panel,
    .statistics-ai-page .number-panel { padding: 17px; }
    .statistics-ai-page .number-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
    .statistics-ai-page .number-cell { min-height: 60px; }
    .statistics-ai-page .pair-item { grid-template-columns: 70px 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
    .statistics-ai-page .signal-orb,
    .statistics-ai-page .signal-orb::before,
    .statistics-ai-page .signal-orb::after { animation: none; }
}
