body {
    font-family: 'Rubik', sans-serif;
    margin: 0;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    background: #f6f8fb;
    flex: 1;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: underline;
}

/* centered content */

.container-narrow {
    max-width: 720px;
    margin: auto;
    padding: 40px 20px;
}

/* nav */

.nav-section {
    background: #f6f8fb;
    /*padding:25px 0;*/
    text-align: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
}

/* hero */

.hero-section {
    background: #f6f8fb;
    /*padding:60px 20px;*/
    text-align: center;
}

.play-btn {
    font-size: 22px;
    padding: 16px;
}

/* statistics */

.stats-section {
    background: white;
    padding: 60px 20px;
}

.stat-card {
    border-radius: 10px;
}

/* leaderboard */

.leaderboard-section {
    background: #f1f3f6;
    padding: 60px 20px;
}

.leaderboard-card {
    border-radius: 10px;
}

/* footer */

footer {
    background: #f6f8fb;
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}

#page-loader.active {
    opacity: 1;
    visibility: visible;
}

.loader-content {
    text-align: center;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 15px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav i {
    font-size: 18px;
}

/* MOBILE */

@media (max-width: 576px) {

    .main-nav {
        gap: 18px;
        font-size: 20px;
    }

    .nav-text {
        display: none;
    }

}