body {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    background-color: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

header {
    padding: 2rem 1rem;
}

.logo-icon svg {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

#searchInput {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    background-color: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
}

#genderFilter {
    width: 100%;
    max-width: 150px;
    padding: 10px;
    background-color: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
}

#searchInput::placeholder {
    color: #888;
}

#genderFilter {
    cursor: pointer;
}

main {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #222;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #444;
}

th {
    background-color: #333;
    padding: 12px;
    font-size: 0.9rem;
    text-align: center;
    vertical-align: middle;
}

th i {
    display: block;
}

th span {
    display: block;
    text-align: center;
    white-space: nowrap;
}

th:nth-child(2), td:nth-child(2) {
    width: 20%; /* Adjust as needed for larger Player Name column */
}

td img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

td a {
    color: #007bff;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

footer {
    padding: 2rem 1rem;
    border-top: 1px solid #444;
}

.socials {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.socials a {
    color: #fff;
    transition: transform 0.3s ease;
}

.socials a:hover {
    transform: scale(1.2);
}

.socials svg {
    width: 28px;
    height: 28px;
}
th:nth-child(6), td:nth-child(6) {
    width: 30%; /* or whatever works for your layout */
}

@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }
    .tagline {
        font-size: 1rem;
    }
    .filters {
        flex-direction: column;
        align-items: center;
    }
    #searchInput, #genderFilter {
        max-width: 300px;
    }
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    tr {
        margin-bottom: 1rem;
        background-color: #222;
        border: 1px solid #444;
    }
    td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        text-align: left;
    }
    td:nth-of-type(1):before { content: "Image"; }
    td:nth-of-type(2):before { content: "Player Name"; }
    td:nth-of-type(3):before { content: "Paddle Brand/Model"; }
    td:nth-of-type(4):before { content: "Shoes"; }
    td:nth-of-type(5):before { content: "Other Gear"; }
    td:nth-of-type(6):before { content: "Notes/Reasons"; }
}