.count-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.count-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,.12);
}

.count-number {
    font-size: 42px;
    font-weight: 800;
    color: #0d6efd;
    line-height: 1;
}

.count-label {
    margin-top: 6px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
}

/* Mobile */
@media (max-width: 576px) {
    .count-number {
        font-size: 34px;
    }
}

/* HERO */
.hero-section {
    background: url("assets/img/hero-doan.jpg") center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 80, 160, 0.75);
}

.hero-title {
    font-family: "Times New Roman", serif;
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* STORY BOX */
.story-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.story-box h4 {
    color: #0d6efd;
    font-weight: bold;
    margin-bottom: 12px;
}

/* CALLOUT */
.callout-box {
    background: #f8f9fa;
    padding: 50px 20px;
    border-radius: 20px;
}

/* FONT */
body {
    font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
}
span.d-none.d-md-inline {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}
.fade-down {
    filter: blur(4px);
}

@keyframes fadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
.fade-down-on-scroll {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.8s ease-out;
}

.fade-down-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

.rank-title-main{
    text-align:center;
    font-weight:900;
    font-size:42px;
    color:#c4161c;
    letter-spacing:4px;
    text-shadow:2px 2px 0 #f5c542;
}
.rank-sub{
    text-align:center;
    font-size:22px;
    color:#1d3faa;
    margin-bottom:30px;
}

/* ===== TOP 3 ===== */
.top-wrapper{
    display:flex;
    justify-content:center;
    gap:30px;
    margin-bottom:50px;
}

.rank-box{
    width:300px;
    background:#fff;
    border-radius:20px;
    padding:30px 20px;
    text-align:center;
    box-shadow:0 15px 30px rgba(0,0,0,.12);
    transform:scale(.8);
    opacity:0;
    animation:fadeScale .8s ease forwards;
}

.rank-box.gold{ 
    border:3px solid #f5c542;
    transform:scale(.9);
}
.rank-box.silver{ 
    border:3px solid #cfd8dc;
    animation-delay:.2s;
}
.rank-box.bronze{ 
    border:3px solid #f0a04b;
    animation-delay:.4s;
}

@keyframes fadeScale{
    to{
        opacity:1;
        transform:scale(1);
    }
}

.rank-medal{
    width:70px;
    height:70px;
    line-height:70px;
    border-radius:50%;
    margin:0 auto 10px;
    font-size:28px;
    font-weight:900;
    color:#fff;
}
.gold .rank-medal{ background:#f5c542; }
.silver .rank-medal{ background:#b0bec5; }
.bronze .rank-medal{ background:#f0a04b; }

.rank-label{
    font-weight:700;
    color:#ff9800;
}
.rank-name{
    font-size:20px;
    font-weight:700;
    color:#0d2c7d;
}
.rank-score{
    font-size:38px;
    font-weight:900;
    color:#0d2c7d;
}

/* ===== OTHERS ===== */
.other-title{
    text-align:center;
    font-weight:800;
    font-size:26px;
    color:#1d3faa;
    margin-bottom:25px;
}

.rank-item{
    background:#fff;
    border-radius:14px;
    padding:15px 18px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
    position:relative;
    height:100%;
}

.rank-index{
    position:absolute;
    top:-12px;
    left:-12px;
    background:#e6efff;
    color:#1d4ed8;
    width:36px;
    height:36px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
}

.rank-item-name{
    font-weight:700;
    color:#0d2c7d;
}
.rank-item-total{
    color:#1d4ed8;
    font-weight:600;
    font-size:14px;
}