:root {
    --wagerGreen: #1cad75;
    --backColour: #191919;
    --tabColour: #262626;
    --textColour: #e5e5e5;
    --highlight: #1cad75;
    --borderColour: #333333;
    --boxShadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    --gold: rgb(180, 140, 58);
}

.baseholder {
    background-color: var(--backColour);
    color: var(--textColour);
    font-family: 'Poppins', sans-serif;
}

.main-container {
    margin: 60px auto;

    padding: 0 20px;
    font-size: 1.15em;
    line-height: 1.8;
}

.toc-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.matched-betting-top-image {
    max-width: 600px;
}

.header-container {
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-zone-picture {
    width: 100%;
    max-width: 650px;
    border-radius: 12px;
    box-shadow: var(--boxShadow);
}

h1,
h2,
h3 {
    color: #f0f0f0;
    font-weight: 600;
}

h1 {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 25px;
}

h2 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--wagerGreen);
    padding-bottom: 8px;
}

h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #dcdcdc;
}

p {
    margin-bottom: 20px;
    color: var(--textColour);
}

ul,
ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

.table-of-contents {
    border: 1px solid var(--borderColour);
    border-radius: 8px;
    padding: 20px;
    max-width: 350px;
    font-size: 0.95em;
    box-shadow: var(--boxShadow);
}

.table-of-contents strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.05em;
    color: var(--wagerGreen);
}

.table-content a {
    color: #f1f1f1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.table-content a:hover {
    color: var(--wagerGreen);
    text-decoration: underline;
}

.highlight {
    background: #202020;
    padding: 20px;
    border-left: 4px solid var(--wagerGreen);
    margin: 30px 0;
    border-radius: 6px;
    font-family: monospace;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0 45px;
    border: 1px solid var(--borderColour);
    border-radius: 6px;
    overflow: hidden;
    font-size: 0.95em;
}

th,
td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid var(--borderColour);
}

th {
    background-color: var(--wagerGreen);
    color: #fff;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #202020;
}

/* Links */
.wagerwise-link {
    color: var(--wagerGreen);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wagerwise-link:hover {
    text-decoration: underline;
}

/* Banner & promo containers */
.banner-image-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.banner-image {
    max-width: 900px;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--boxShadow);
}

.promo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 30px 0;
}

.promo-text {
    flex: 1 1 400px;
    min-width: 300px;
}

.promo-image {
    flex: 1 1 300px;
    min-width: 250px;
}

.promo-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--boxShadow);
}

@media(max-width: 1300px) {
    .matched-betting-top-image {
        max-width: 500px;
    }

}

/* Responsive */
@media (max-width: 1000px) {
    .table-of-contents {
        font-size: 0.9em;
    }
    .matched-betting-top-image {
        max-width: 300px;
    }
    .header-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-zone-picture {
        max-width: 500px;
    }

    .table-of-contents {
        max-width: 325px;
        padding: 5px;
    }
}

@media (max-width: 768px) {
    .main-container {
        font-size: 1.05em;
    }

    .table-of-contents {
        max-width: 100%;
    }

    table,
    th,
    td {
        font-size: 13px;
    }

    .banner-image {
        max-width: 500px;
    }
}

@media (max-width: 540px) {
    h1 {
        font-size: 2rem;
    }

    .hero-zone-picture {
        max-width: 100%;
    }

    table,
    th,
    td {
        font-size: 11px;
        padding: 8px;
    }
}

@media (max-width: 400px) {
    h2 {
        font-size: 1.3rem;
    }

    table,
    th,
    td {
        font-size: 10px;
        padding: 6px;
    }
}