
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1e1e2f 0%, #2b2b40 100%);
    color: #eaeaea;
    font-family: "Segoe UI", Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    padding: 20px;
}


header {
    background-color: #2c2c3e;
    color: yellowgreen;
    text-align: center;
    padding: 25px 10px;
    border-bottom: 3px solid yellowgreen;
}

header h1 {
    font-family: "Playwrite US Modern", cursive;
    font-size: clamp(1.4rem, 4vw, 2.3rem);
    letter-spacing: 1px;
}


nav {
    background-color: #333;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 10px;
}

nav li {
    display: inline;
}

nav a {
    color: yellowgreen;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 4px;
    transition: 0.3s;
    white-space: nowrap;
}

nav a:hover {
    background-color: yellowgreen;
    color: #222;
}


main {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background-color: #2b2b40;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    text-align: center;
}

main p {
    font-size: 1.1em;
    margin-bottom: 20px;
}


.photos {
    display: grid;
    gap: 15px;
    justify-items: center;
    margin-top: 20px;
}

@media (min-width: 501px) {
    .photos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .photos {
        grid-template-columns: 1fr;
    }
}

.photos img {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1;
    object-fit: cover;
    border: 3px solid yellowgreen;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0,0,0,0.5);
    transition: transform 0.2s ease-in-out;
}

.photos img:hover {
    transform: scale(1.05);
}


footer {
    background-color: #222;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
    color: #ccc;
    border-top: 2px solid yellowgreen;
    margin-top: 40px;
}

footer em {
    color: yellowgreen;
}



@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    main {
        padding: 15px;
    }

    main p {
        font-size: 1em;
    }

    nav a {
        padding: 6px 8px;
        font-size: 0.9em;
    }
}

/* New Styles for strategy.html (CSS Grid) */

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px;
    margin-top: 30px;
    padding: 10px;
    background-color: #1e1e2f;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    width: 100%;
}

.grid-item {
    background-color: #2b2b40;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #444;
    font-size: 0.9em;
    font-weight: bold;
    color: #eaeaea;
    transition: background-color 0.2s;
}

.grid-item:hover {
    background-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.game-header {
    background-color: yellowgreen;
    color: #222;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grid-item a {
    color: yellowgreen; 
    text-decoration: none;
    font-weight: bold;
}

.grid-item a:hover {
    text-decoration: underline;
}

/* Make the grid look good on small screens */
@media (max-width: 700px) {
    .strategy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .game-header {
        grid-column: span 2; 
    }
}


/* New Styles for payouts.html (HTML Table) */

.table-container {
    overflow-x: auto;
    margin-top: 20px;
    padding-bottom: 10px; 
}

.payout-table {
    width: 100%;
    min-width: 600px; 
    border-collapse: collapse;
    margin: 0 auto;
    border: 1px solid yellowgreen;
    border-radius: 8px;
    overflow: hidden; 
}

.payout-table th, .payout-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #333; 
}

.payout-table thead th {
    background-color: yellowgreen;
    color: #222;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    border-bottom: 2px solid #222;
}

.payout-table tbody tr:nth-child(even) {
    background-color: #252538; 
}

.payout-table tbody tr:hover {
    background-color: #3b3b55; 
    color: white;
}

.payout-table th[scope="row"] {
    background-color: #2c2c3e;
    color: yellowgreen;
    font-weight: bold;
    text-align: center;
}

.payout-table td a {
    color: #4682b4; 
    text-decoration: none;
    font-weight: bold;
}

.payout-table td a:hover {
    text-decoration: underline;
}
