/* = Reset & Base = */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
}

/* full-viewport blurred pattern background */
body {
    position: relative;
    color: #eee;
    font-family: Arial, sans-serif;
    line-height: 1.4;
     background-color: #000000!important;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../images/pattern.png') center/cover no-repeat fixed;
    filter: blur(8px);
    z-index: -1;
}

/* links */
a {
    color: inherit;
    text-decoration: none;
}

/* force the scrollbar gutter so layouts never shift */
html {
    overflow-y: scroll;
}


/* = Navbar = */
.navbar {
    position: sticky;
    top: 0;
    background: #1e1e1e;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 40px;
    height: 70px;
    margin: 0 0 20px;
    z-index: 100;
}
.nav-logo img {
    height: 40px;
}
.nav-link{
    color: #eee!important;
}
.nav-link:hover{
    color: #ff4d4d!important;
}
.nav-item {
    /*margin-left: 26px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    color: #eee!important;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.nav-item:hover {
    background: rgba(255,0,0,0.2);
    color: #ff4d4d!important;
}

/* = Dropdowns = */
.nav-item {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a2a;
    border-radius: 6px;
    flex-direction: column;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    z-index: 99;
}
.nav-item:hover .dropdown-menu,
.dropdown-menu:hover {
    display: flex;
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: #ddd;
    transition: background 0.2s, color 0.2s;
}
.dropdown-menu a i {
    margin-right: 8px;
    font-size: 1rem;
}
.dropdown-menu a:hover {
    background: rgba(255,0,0,0.2)!important;
    color: #ff4d4d;
}

/* = Hero = */
.hero {
    max-width: 1000px;
    margin: 0 auto 20px;
    padding: 4rem 1.5rem;
    background: url('../images/pattern.png') center/cover no-repeat;
    background-blend-mode: multiply;
    background-color: rgba(179,0,0,0.8);
    text-align: center;
    border-radius: 8px;
}
.hero h1 {
    font-size: 2.5rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.hero p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1.25rem;
    color: #f0f0f0;
}
.hero-btn {
    display: inline-block;
    background: #fff;
    color: #b30000;
    padding: 0.6rem 1.75rem;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}
.hero-btn:hover {
    background: #ff4d4d;
    color: #fff;
}

/* = Explore = */
.explore {
    background: #1c1c1c;
    margin: 20px auto;
    max-width: 1000px;
    border-radius: 8px;
    padding: 1.25rem;
}
.explore h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.25rem;
    color: #fff;
}
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
    gap: 1.25rem;
}
.explore-card {
    background: #111;
    border: 1px solid #ff4d4d;
    border-radius: 8px;
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
}
.explore-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ff4d4d;
}
.explore-card span {
    font-size: 1rem;
}
.explore-card:hover {
    transform: scale(1.05);
    background: #2a2a2a;
    box-shadow: 0 0 15px rgba(255,0,0,0.5);
}
.explore-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4d;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

/* = Games Page Controls = */
.games-controls {
    max-width: 1000px;
    margin: 0 auto 20px;
    padding: 0 1.25rem;
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.filter-btn {
    background: #1c1c1c;
    border: 1px solid #444;
    border-radius: 6px;
    color: #eee;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
    background: #2a2a2a;
}
.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}
.search-wrapper input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border-radius: 6px;
    border: 1px solid #444;
    background: #1c1c1c;
    color: #eee;
}
.clear-search {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
}
.clear-search:hover {
    color: #eee;
}

/* = Pagination = */
.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.pagination button,
.pagination span {
    background: #1c1c1c;
    border: 1px solid #444;
    border-radius: 4px;
    color: #eee;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}
.pagination button[disabled] {
    opacity: 0.4;
    cursor: default;
}
.pagination button:hover:not([disabled]) {
    background: #2a2a2a;
}
.pagination .active {
    background: #ff4d4d;
    border-color: #ff4d4d;
    color: #fff;
}

/* = Games Grid = */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 1.25rem;
}
.game-card {
    background: #1c1c1c;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.game-card .thumb {
    background: #222;
    height: 100px;
}
.game-card h3 {
    font-size: 1rem;
    color: #fff;
    margin: 0.75rem 0;
}
.game-card .stats {
    list-style: none;
    padding: 0.5rem;
    margin: auto 0 1rem;
    color: #ccc;
    font-size: 0.85rem;
}
.game-card .stats li {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}

/* = Footer = */
.footer {
    background: #1c1c1c;
    margin: 20px auto;
    max-width: 1000px;
    border-radius: 8px;
    padding: 1.25rem;
    border-top: 2px solid #ff4d4d;
    color: #ccc;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: space-between;
}
.footer {
    flex: 1 1 200px;
}
.footer h5 {
    color: #eee;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
}
.footer ul {
    list-style: none;
}
.footer ul li {
    margin-bottom: 0.5rem;
}
.footer ul li a {
    transition: color 0.2s;
    color: #ddd!important;
}
.footer ul li a:hover {
    color: #fff!important;
}
.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: #666;
}



/* Center the page title */
.hof-page h1 {
    text-align: center;
}

/* Center the flex‐row of player cards */
.players-list {
    justify-content: center;
}

/* Ensure each player/card section is itself centered */
.player-card,
.hof-section h2,
.hof-section p,
.hof-section a {
    text-align: center;
}
.navbar .fa-flag {
    color: #eee !important;
}
.navbar .nav-link,
.navbar .nav-link i,
.navbar .nav-link svg {
    color: #eee !important;
    fill: currentColor !important; /* for SVGs */
}


@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1040px !important;
    }
}
