/* Base styles */
body {
    font-family: Arial, sans-serif;
    background-color: #1c1c1c;
    color: #fff;
    margin: 0;
    padding: 0;
}

header {
    background-color: #000;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.auth-buttons button {
    background-color: #ffb400;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
}

.auth-buttons .login {
    background-color: #fff;
}

.banner {
    background-image: url('banner.jpg'); /* Replace with your banner image */
    background-size: cover;
    background-position: center;
    height: 200px; /* Adjust height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    text-align: center;
    padding: 0 20px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.games {
    padding: 0;
    background-color: #2c2c2c;
}

.games h2 {
    text-align: center;
}

.games-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.game-card {
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    width: calc(20% - 20px);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.game-card img {
    width: 100%;
    height: auto;
}

.game-card h3 {
    margin: 10px 0;
}

.about {
    padding: 20px;
    background-color: #1c1c1c;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, max-content); /* Adjust to fit content */
    gap: 5px 10px; /* Reduce gap between items */
}

.table-of-contents ul li {
    margin-bottom: 5px; /* Reduce space between rows */
}

.table-of-contents ul li a {
    color: #ffb400;
    text-decoration: none;
    display: inline-block; /* Ensure each link takes the necessary width */
}

.text-block {
    margin-top: 20px;
}

.faq {
    padding: 20px;
    background-color: #2c2c2c;
}

.faq-item h3 {
    color: #ffb400;
}

.reviews {
    padding: 20px;
    background-color: #1c1c1c;
}

.review {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.review p {
    margin: 10px 0 0;
}

footer {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

/* Mirror Section Styles */
.mirror-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #2c2c2c;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mirror-table-container {
    width: 100%;
    margin-top: 10px;
}

.mirror-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.mirror-table th, .mirror-table td {
    padding: 10px;
    border: 1px solid #444;
    color: #fff;
    text-align: center;
}

.mirror-table th {
    background-color: #333;
}

.mirror-table td a {
    color: #ffb400;
    text-decoration: none;
}

.mirror-table td a:hover {
    text-decoration: underline;
}

.mirror-button {
    background-color: #ffb400;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
}

.mirror-button:hover {
    background-color: #e6a600;
}

.container-mirrors {
    margin-top: 100px;
    margin-bottom: 100px;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .container-mirrors {
        margin-top: 0;
        margin-bottom: 0;
    }

    .auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .games-container {
        flex-direction: column;
        align-items: center;
    }

    .game-card {
        width: 90%;
    }

    .table-of-contents ul {
        grid-template-columns: 1fr;
    }

    .review {
        width: 90%;
        margin: 0 auto 20px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .mirror-section {
        padding: 10px;
        margin: 10px 0;
    }

    .mirror-table-container {
        width: 100%;
    }

    .mirror-table th, .mirror-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 8px;
        text-align: left;
    }

    .mirror-table th {
        background-color: transparent;
        color: #ffb400;
        border: none;
    }

    .mirror-table td {
        border: none;
        border-bottom: 1px solid #444;
        padding: 8px 0;
    }

    .mirror-table td a {
        display: block;
        padding: 8px 0;
    }

    .mirror-button {
        width: 100%;
        padding: 15px;
        margin-top: 10px;
    }

    .banner {
        height: auto; /* Adjust height for better mobile view */
        padding: 20px;
    }

    .auth-buttons button {
        width: 200%; /* Ensure buttons take full width */
        padding: 15px;
        margin-left: 0; /* Remove left margin for mobile */
    }
    nav {
        margin-top: 20px;
    }
}
main img {
    display: block;
    max-width: 100%;
    border-radius: 14px;
    margin: 30px auto;
}
td, th {
    word-break: break-all;
    text-align: center;
    padding: 5px;
    border: 1px solid #ffb400;
}
