body {
    font-family: Arial, sans-serif;
    background: #101010;
    color: white;
    margin: 0;
    padding: 0;
}

.navbar {
    background: #181818;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #ad1515;
}

.navbar h1 {
    color: #ad1515;
    margin: 0;
}

.navbar ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.navbar a:hover {
    color: #ad1515;
}

.cta {
    background: #ad1515;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.cta:hover {
    background: #800000;
}

.hero {
    text-align: center;
    padding: 50px 20px;
}

.stats {
    text-align: center;
    padding: 50px 20px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.stat-box {
    background: #181818;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #ad1515;
    transition: 0.3s;
}

.stat-box:hover {
    transform: scale(1.05);
}

.features {
    text-align: center;
    padding: 50px 20px;
}

.feature-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.feature-card {
    background: #181818;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #ad1515;
    transition: 0.3s;
}

.feature-card:hover {
    transform: scale(1.05);
}

.faq {
    text-align: center;
    padding: 50px 20px;
}

.faq-item {
    text-align: left;
    max-width: 800px;
    margin: 10px auto;
    padding: 20px;
    background: #181818;
    border-left: 4px solid #ad1515;
    border-radius: 5px;
}

.commands {
    text-align: center; /* Centers the "Available Commands" header */
    padding: 50px 20px;
     /* Ensures it spans the full width */
}

.commands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 50px 20px;
}

.command-box {
    width: 200px;
    height: 100px;
    background: #181818;
    border: 2px solid #ad1515;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.command-box:hover {
    background: #ad1515;
    color: white;
}

.command-box .command-info {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
    font-size: 14px;
    width: 100%;
    padding: 10px;
}

.command-box:hover .command-info {
    opacity: 1;
}

.command-box:hover .command-title {
    opacity: 0;
}

footer {
    text-align: center;
    padding: 20px;
    background: #181818;
    border-top: 2px solid #ad1515;
}
.averages-table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    background: #181818;
    border: 2px solid #ad1515;
    color: white;
}
.statsx {
    text-align: center;
    padding: 20px 20px;
}
/* 🌍 Stats Grid - Ensure Wrapping */
.stats-gridx {
    display: flex;
    flex-wrap: wrap;  /* ✅ Allows boxes to wrap onto new lines */
    justify-content: center;  /* ✅ Centers content */
    gap: 15px;  /* ✅ Adds spacing between boxes */
    padding: 20px;
}

/* 🌍 Individual Stat Box */
.stat-boxx {
    background: #181818;
    color: white;
    border: 2px solid #ad1515;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    min-width: 150px;  /* ✅ Prevents boxes from being too small */
    max-width: 200px;  /* ✅ Limits size to maintain consistency */
    flex-grow: 1;  /* ✅ Allows boxes to scale evenly */
}

/* 🌍 Ensure Text is Readable */
.stat-boxx h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.stat-boxx p {
    font-size: 16px;
    font-weight: bold;
    color: #ff4444;  /* ✅ Red accent color */
}
/* 🌍 Navbar Styling */
.navbarx {
    background-color:  #181818;
    padding: 10px;
    border-bottom: 2px solid #ad1515;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbarx h1 {
    color: #ad1515;
    margin-left: 15px;
}

.navbarx nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbarx nav ul li {
    margin-right: 15px;
}

.navbarx nav ul li a {
    text-decoration: none;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.navbarx nav ul li a:hover {
    background: red;
}
