html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

/* =========================
   GLOBAL THEME & LAYOUT
========================= */

:root {
    --ufc-gold: #d4af37;
    --ufc-red: #ff0000;
    --octagon-dark: #0a0a0a;
    --card-bg: #1a1a1a;
    --card-border: #333;
}

body {
    background-color: var(--octagon-dark);
    color: #f8f9fa;
    padding-top: 55px;
    padding-bottom: 80px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

.font-doto {
    font-family: 'Doto', sans-serif;
    font-weight: 400; /* default weight */
}

/* NAVBARS */
.navbar-top {
    height: 50px;
    border-bottom: 1px solid #333;
    background: #000 !important;
    z-index: 1050;
    color: #777;
}

.navbar-bottom {
    height: 70px;
    border-top: 1px solid #333;
    background: #111 !important;
    z-index: 1050;
}

.nav-link {
    font-size: 0.7rem;
    text-align: center;
    color: #777;
    transition: 0.3s;
}

    .nav-link.active {
        color: var(--ufc-gold) !important;
    }

    .nav-link i {
        font-size: 1.4rem;
        display: block;
    }

/* HERO */
#mainHero .carousel-item {
    height: 300px;
    position: relative;
}

    #mainHero .carousel-item img {
        height: 100%;
        object-fit: cover;
        filter: brightness(50%) contrast(1.2);
    }

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px;
    background: linear-gradient(to top, rgba(10,10,10,1), rgba(10,10,10,0));
}

/* SECTION HEADERS */
.section-header {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--ufc-gold);
    text-transform: uppercase;
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
}

    .section-header::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #333;
        margin-left: 10px;
    }

/* =========================
   LEADERBOARD CARD SYSTEM
========================= */

/* ======================================
   LEADERBOARD CARD CORE
====================================== */


.user-icon-container {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 1.2rem;
}

.user-info h6 {
    margin: 0;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-info span {
    font-size: 0.75rem;
    color: #aaa;
}

.points-highlight {
    font-weight: 800;
    color: #d4af37;
}

.rank-number {
    margin-left: auto;
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    opacity: 0.25;
}

/* =========================
   OTHER COMPONENTS
========================= */
.bout-item {
    min-width: 140px;
    background: #1a1a1a;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
}


.scroll-box {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
}

/* Targeted scrollbar for the weight class navigation */
.scroll-box::-webkit-scrollbar {
    height: 4px; /* Thin and sleek */
}

.scroll-box::-webkit-scrollbar-track {
    background: #111; /* Dark background to match your theme */
    border-radius: 10px;
}

.scroll-box::-webkit-scrollbar-thumb {
    background: #d4af37; /* Your warning/yellow color */
    border-radius: 10px;
    transition: background 0.3s ease;
}

    .scroll-box::-webkit-scrollbar-thumb:hover {
        background: #f1c40f; /* Slightly brighter on hover */
    }

/* Ensure the scroll-box has enough padding-bottom so the scrollbar 
   doesn't overlap the text on some browsers */
.scroll-box {
    padding-bottom: 8px !important;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: thin; /* Firefox support */
    scrollbar-color: #d4af37 #111; /* Firefox support */
}