.tournament-deck {
    margin-bottom: 20px;
}

.deck-image {
    max-width: 600px; /* Reduced max-width for better scaling */
    height: auto;
    display: block; /* Allows margin auto to work for centering */
    margin: auto; /* Centers the image horizontally */
}

#decksTable, #tournamentsTable {
    width: 80%;
    border-collapse: collapse;
    margin: 0 auto 20px auto;
    font-size: 16px;
    background-color: #1E1E1E;
}

#decksTable th, #decksTable td,
#tournamentsTable th, #tournamentsTable td {
    border: 1px solid #444;
    padding: 12px 15px; /* More breathing room */
    text-align: left;
    color: white;
    vertical-align: middle;
}

#decksTable th, #tournamentsTable th {
    background-color: #2C2C2C;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #555;
    padding-top: 15px;
    padding-bottom: 15px;
}

#decksTable tr:nth-child(even),
#tournamentsTable tr:nth-child(even) {
    background-color: #252525; /* Subtle zebra striping */
}

#decksTable tr:hover,
#tournamentsTable tr:hover {
    background-color: #333;
    transition: background-color 0.2s ease;
}

.tournament-image {
    width: 100px;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Sets the color for unvisited links */
a:link {
  color: #1E90FF; /* A brighter blue for better visibility */
}

/* Sets the color for links the user has already visited */
a:visited {
  color: #DAA520; /* A golden color for visited links */
}

/* Sets the color for when the mouse is hovering over the link */
a:hover {
  color: #32CD32; /* A vibrant green for hover */
}

/* Sets the color for the link as it's being clicked */
a:active {
  color: #FF4500; /* An orange-red for active links */
}

.metagame-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.metagame-table th, .metagame-table td {
    border: 1px solid #444;
    padding: 8px;
    text-align: left;
    color: white;
}

.metagame-table th {
    background-color: #333;
    color: white;
}
