body {
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa; /* Soft neutral background for readability */
    color: #212529; /* Darker text for better contrast */
}

a:link, a:visited {
    text-decoration: none;
    color: #007bff; /* Consistent link color */
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #0056b3;
    text-decoration: underline; /* Clear hover effect for accessibility */
}

.page-header {
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #495057;
}

.game-name small {
    display: block;
    font-size: 0.875rem;
    color: #6c757d; /* Subtle, muted text for secondary information */
}

.user-stats hr {
    margin: 15px 0;
    border-top: 1px solid #ced4da;
}

.user-stats .well {
    padding: 10px 15px;
    background-color: #e9ecef;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.page-title {
    margin-top: 0px;
    font-weight: bold;
    color: #343a40;
}

.footer {
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #343a40;
    color: #ffffff;
    padding: 15px 0;
    text-align: center;
    font-size: 0.875rem;
}

.drop-up {
    top: auto;
    bottom: 100% !important;
}

.go-top {
    position: fixed;
    bottom: 2em;
    right: 2em;
    text-decoration: none;
    color: #ffffff;
    background-color: rgba(52, 58, 64, 0.8);
    font-size: 0.875rem;
    padding: 10px;
    display: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.go-top:hover {
    background-color: #212529;
    transform: scale(1.1);
}

label > input {
    display: none;
}

label > input:checked + img {
    background-color: #e6e6e6;
    border: 2px solid #adb5bd;
    border-radius: 5px;
}

.carousel-control.left, .carousel-control.right {
    background-image: none !important;
    filter: none !important;
}

.item-border {
    border: 2px solid #adb5bd;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.item-border:hover {
    background-color: #fafafa;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.progress span {
    position: absolute;
    display: block;
    width: 95%;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.sidebar {
    padding: 20px;
    background-color: #ffffff;
    border-left: 4px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#indbgr {
    background: url(../img/city2.jpg) no-repeat center center fixed;
    background-size: cover;
    filter: brightness(0.9); /* Slight darkening for text readability */
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.25rem;
    overflow-y: hidden;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    margin-top: -1px;
    overflow-x: auto;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #495057;
    transition: color 0.3s ease;
}

.nav-underline .nav-link:hover {
    color: #007bff;
}

.nav-underline .active {
    font-weight: bold;
    color: #343a40;
    border-bottom: 2px solid #007bff;
}
