/* =====================================
   MODO BESTIA
   GLOBAL TOKENS + BASE
===================================== */

:root {

    --bestia-primary:#F3BA60;
    --bestia-secondary:#E0DBF3;
    --bestia-background:#F6F6F6;
    --bestia-surface:#FFFFFF;
    --bestia-text:#202022;
    --bestia-muted:#736A6A;
    --bestia-soft:#B6B1C0;
    --bestia-success:#28a745;
    --bestia-warning:#f0ad4e;
    --bestia-danger:#dc3545;
    --bestia-info:#0dcaf0;
    --bestia-coach:#2f2a3d;
    --bestia-xp:#202022;
    --bestia-level:#F3BA60;

    --bestia-red:#dc3545;
    --bestia-gold:#F3BA60;

    --space-1:8px;
    --space-2:16px;
    --space-3:24px;
    --space-4:32px;
    --space-5:40px;

}

* {

    box-sizing:border-box;

}

html {

    scroll-behavior:smooth;
    overflow-x:hidden;

}

body {

    margin:0;
    background:var(--bestia-background);
    color:var(--bestia-text);
    font-family:'Inter', 'Segoe UI', sans-serif;
    padding-bottom:0;
    -webkit-tap-highlight-color:transparent;
    width:100%;

}

h1, h2, h3, h4, h5, h6, .hero-rank, .hero-level, .stat-card h2 {

    font-family:'Onest', 'Inter', 'Segoe UI', sans-serif;
    font-weight:800;
    letter-spacing:-0.02em;

}

img, svg {

    max-width:100%;
    display:block;

}

h1, h2, h3, h4, h5, h6 {

    margin-top:0;

}

p {

    color:var(--bestia-muted);

}

.page-title {

    font-size:3rem;
    font-weight:800;

}

@media (max-width:991px) {
    .hero-header {
        flex-wrap: wrap !important;
    }
    .hero-header > div:first-child {
        margin-right: 0 !important;
        margin-bottom: 16px;
    }
}

@media (max-width:767px) {
    .hero-header > div:first-child {
        margin: 0 auto 16px;
    }
    .hero-header > div:last-child {
        text-align: center;
        width: 100%;
    }
}

@media (max-width:575px) {
    .hero-header img.rounded-circle {
        width: 80px !important;
        height: 80px !important;
    }
}

/* ─── Smooth card reveal on page load ─── */
@keyframes cardFadeIn {
    from {
        opacity:0;
        transform:translateY(20px) scale(.98);
    }
    to {
        opacity:1;
        transform:translateY(0) scale(1);
    }
}
.dashboard-fade-in > div {
    animation:cardFadeIn .45s ease both;
}
.dashboard-fade-in > div:nth-child(1) { animation-delay:0s; }
.dashboard-fade-in > div:nth-child(2) { animation-delay:.06s; }
.dashboard-fade-in > div:nth-child(3) { animation-delay:.12s; }
.dashboard-fade-in > div:nth-child(4) { animation-delay:.18s; }
.dashboard-fade-in > div:nth-child(5) { animation-delay:.24s; }
.dashboard-fade-in > div:nth-child(6) { animation-delay:.30s; }
.dashboard-fade-in > div:nth-child(7) { animation-delay:.36s; }

@media (max-width:768px) {

    .page-title {

        font-size:2rem;

    }

}


/* ── Auth Divider (Google OAuth) ── */
.mbuf-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}
.mbuf-auth-divider::before,
.mbuf-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}
.mbuf-auth-divider span {
    color: #888;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ── Google Login Button ── */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #ddd;
    background: #fff;
    color: #444;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}
.btn-google:hover {
    border-color: #4285F4;
    color: #4285F4;
    background: #f8fbff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66,133,244,0.15);
}
.btn-google i {
    font-size: 1.2rem;
}
