html {
    scroll-behavior: smooth;
    /* optional, for a nice scroll animation */
}

.game-devlog-wrapper {
    padding: 2rem 1rem;
    max-width: 1500px;
    margin: 0 auto;
}

.game-update-card {
    background-color: rgba(34, 20, 18, 0.6);
    border-left: 5px solid #217ea3;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    scroll-margin-top: 6rem;
}

.game-update-card h2 {
    font-size: 1.4em;
}

.game-update-card h3 {
    font-size: 1.2em;
    margin-bottom: 0;
}

.game-update-card h4 {
    font-size: 1em;
}

.game-update-card .game-update-card__date {
    font-size: 0.9em;
    color: #aaa;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.game-update-card p {
    text-align: left;
    margin-left: 6rem;
    margin-right: 6rem;
    font-size: 1.2rem; }

.value-list {
    list-style: none;
    margin-top: 20px;
    text-align: left;
    margin-left: 112px;
    margin-right: 2rem;
    max-width: 1425px;
    margin-bottom: 3rem; }

.value-list li {
    line-height: 2;
}

.value-list li::before {

    color: var(--accent); }

h3 {
    margin: 2rem 0 2rem;
}

/* Full-update version badge */
.game-update-card .game-update-card__version {
  font-size: 0.9em;                /* slightly smaller than the title */
  color: #217ea3;                /* match your accent border */
  font-style: italic;             /* differentiate from body text */
  text-align: center;             /* center under the title */
  margin: 0.5rem 0 1rem;          /* space above & below */
}

/* Give the title a bit of breathing room from the badge */
.game-update-card h2 {
  margin-bottom: 0.25rem;
}

/* Tweak spacing between badge and date */
.game-update-card .game-update-card__date {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.game-update-card pre, code {
    text-align: left;
    color: rgb(190, 190, 253);
}

.language-ts {
    margin-right: 10rem;
    margin-left: 3rem;
    display: block;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .game-update-card .update-version-full {
    font-size: 0.8em;
    margin: 0.25rem 0 0.75rem;
  }
}


@media (max-width: 1080px) {
    .value-list {
        margin-left: 80px;
        margin-right: 1rem;
    }

        .game-update-card p {
            text-align: left;
            margin-left: 3rem;
            margin-right: 3rem;  
            font-size: 1rem;   
        }
}

@media (max-width: 600px) {
    
    
    .game-update-card .game-update-card__date {
        font-size: 0.8em;
    }

    .game-update-card {
        padding: 0.2rem 0.2rem;
    }

    .game-devlog-wrapper {
        padding: 0;
        max-width: 1500px;
        margin: 0 auto;
    }

    /* Let the list fill its container (instead of capping at 800px) */
        .value-list {
            max-width: none;
            padding: 0 1rem;
            margin-right: 0rem;
            margin-left: 15rem;
            margin-bottom: 1rem;   }

    /* More vertical space and a deeper indent on each item */
    .value-list li {
        line-height: 2;
        margin-left: -13rem;
        font-size: 0.9em;
        margin-bottom: 1rem;
    }

    .value-list li p {
        font-size: 0.9em;
    }

    /* If your bullet (the ::before) feels too close to the edge, nudge it in */
    .value-list li::before {
        left: -1rem;
    }

    .game-update-card h2 {
        font-size: 1.1em;
        margin-left: 1rem;
        margin-right: 1rem;
    }

        .game-update-card h3 {
            font-size: 1rem;
            margin-left: 1rem;
            margin-right: 1rem;
            margin-top: 0;
            margin-bottom: 0;   
        }

    .game-update-card h4 {
        font-size: 0.8em;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .game-update-card p {
        text-align: left;
        margin-left: 1rem;
        margin-right: 1rem;
        font-size: 0.9em;
    }

    .language-ts {
        margin-right: 1rem;
        margin-left: 1rem;
    }
}