
:root {
    --bg: #111111;
    --panel: #1b1b1b;
    --panel2: #242424;
    --line: #383838;
    --text: #eeeeee;
    --muted: #aaaaaa;
    --green: #d0d0d0;
    --gold: #d0d0d0;
    --red: #d58a79;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: auto;
}

/* HEADER */

header {
    background: #111111;
    border-bottom: 1px solid var(--line);
}

.navbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.brand-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid #555555;
    color: #dddddd;
    font-size: 20px;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
}

.navbar > a {
    color: var(--muted);
    font-size: 13px;
}

/* HERO */

.hero {
    padding: 35px 0;
}

.thumbnail {
    width: 100%;
    display: block;
    border: 1px solid var(--line);
}

.hero-content {
    padding-top: 25px;
}

.kicker {
    color: #dddddd;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(32px, 5vw, 55px);
    line-height: 1.05;
    margin: 12px 0;
    letter-spacing: -2px;
}

h1 span {
    color: #dddddd;
}

.description {
    max-width: 800px;
    color: var(--muted);
    font-size: 16px;
}

.metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.metadata span {
    border: 1px solid var(--line);
    padding: 5px 11px;
    font-size: 11px;
    color: var(--muted);
}

.metadata strong {
    color: #dddddd;
}

/* SECTIONS */

section {
    padding: 30px 0;
}

.section-header {
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 27px;
    margin-top: 5px;
}

.section-header p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

/* DOWNLOAD */

.download-box {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    background: var(--panel);
    border: 1px solid #444444;
    padding: 23px;
}

.download-box p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 7px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #dddddd;
    color: #111111;
    padding: 13px 19px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.download-button:hover {
    background: #ffffff;
}

.download-button svg {
    width: 19px;
    height: 19px;
}

/* VERSIONS */

.versions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.version {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 20px;
}

.version.recommended {
    border-color: #555555;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.version h3 {
    font-size: 18px;
}

.tag {
    color: #dddddd;
    border: 1px solid #555555;
    padding: 3px 7px;
    font-size: 9px;
    font-weight: bold;
}

.version p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 10px;
}

.version .warning {
    color: var(--gold);
}

/* CHANGELOG */

.group {
    margin-top: 32px;
}

.group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    margin-bottom: 14px;
}

.group-number {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #292929;
    border: 1px solid #444444;
    color: #dddddd;
    font-size: 12px;
    font-weight: bold;
}

.changes {
    display: grid;
    gap: 8px;
}

.change {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px 15px;
    background: var(--panel);
    border: 1px solid var(--line);
}

.change-number {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    background: #292929;
    color: #dddddd;
    font-size: 11px;
    font-weight: bold;
}

.change p {
    color: #c7d0c4;
    font-size: 14px;
}

.change strong {
    color: var(--text);
}

.sublist {
    margin: 8px 0 0 20px;
    color: #c7d0c4;
    font-size: 13px;
}

.sublist li {
    margin: 4px 0;
}

/* KNOWN ISSUES */

.known {
    background: #211d17;
    border-color: #66513b;
}

.known .change-number {
    background: #3a2c20;
    color: var(--gold);
}

.known strong {
    color: #f0d69b;
}

.known-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 12px;
}

/* COMMUNITY */

.community {
    background: #111111;
    border: 1px solid var(--line);
    padding: 25px;
    margin: 40px 0 50px;
}

.community-description {
    color: var(--muted);
    font-size: 14px;
    margin: 12px 0 20px;
    max-width: 850px;
}

.server-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.server {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #222222;
    border: 1px solid var(--line);
    padding: 13px;
    transition: border-color .2s;
}

.server:hover {
    border-color: #888888;
}

.server img {
    width: 43px;
    height: 43px;
    object-fit: cover;
    border-radius: 9px;
}

.server-name {
    display: block;
    font-size: 14px;
    font-weight: bold;
}

.server-description {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.server-arrow {
    margin-left: auto;
    color: #dddddd;
    font-size: 20px;
}

/* FOOTER */

footer {
    border-top: 1px solid var(--line);
    padding: 23px 0;
    color: #899589;
    font-size: 11px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

footer strong {
    color: #cbd6c5;
}

/* RESPONSIVE */

@media (max-width: 700px) {
    .container {
        width: calc(100% - 28px);
    }

    .versions,
    .server-list {
        grid-template-columns: 1fr;
    }

    .download-box {
        grid-template-columns: 1fr;
    }

    .download-button {
        width: 100%;
    }

    .hero {
        padding-top: 20px;
    }

    .section-header h2 {
        font-size: 23px;
    }

    .change {
        padding: 12px;
        grid-template-columns: 30px 1fr;
    }

    .navbar {
        height: 62px;
    }
}


/* ===== Tema claro e componentes do changelog dinâmico ===== */
:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --panel2: #f7f7f7;
  --line: #e5e5e5;
  --text: #171717;
  --muted: #666666;
  --green: #222222;
  --gold: #555555;
  --red: #a33b32;
}
body, header, .community { background: #ffffff; color: #171717; }
header { border-bottom-color: #e7e7e7; }
.brand-icon { border-color: #dddddd; color: #222222; }
.navbar > a, .brand small, .description, .metadata span,
.section-header p, .download-box p, .version p, .change p,
.sublist, .community-description, .server-description { color: #666666; }
.kicker, h1 span, .metadata strong, .tag, .change strong,
.server-arrow, footer strong { color: #222222; }
.metadata span, .section-header, .version, .change,
.download-box, .server { border-color: #e5e5e5; }
.download-box, .version, .change, .server { background: #ffffff; }
.download-button { background: #171717; color: #ffffff; }
.download-button:hover { background: #3a3a3a; }
.version.recommended { border-color: #bdbdbd; }
.tag { border-color: #dddddd; }
.group-number, .change-number { background: #f2f2f2; border-color: #e2e2e2; color: #222222; }
.known { background: #fffaf2; border-color: #eadfc9; }
.known .change-number { background: #f7eddd; color: #765a2c; }
.known strong { color: #6d5127; }
.community { border-color: #e5e5e5; }
.server { background: #fafafa; }
.server:hover { border-color: #aaaaaa; }
footer { color: #777777; border-top-color: #e5e5e5; }
footer strong { color: #222222; }

.changelog-tools { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; margin: 20px 0; }
.filter-list { display:flex; flex-wrap:wrap; gap:8px; }
.filter-button { appearance:none; border:1px solid #dedede; background:#fff; color:#333; border-radius:999px; padding:8px 14px; font:600 12px Arial, sans-serif; cursor:pointer; transition:background .15s,border-color .15s; }
.filter-button:hover { border-color:#999; }
.filter-button.active { background:#171717; border-color:#171717; color:#fff; }
.updates-count { color:#777; font-size:12px; }
.updates-list { display:grid; gap:18px; }
.update-post { border:1px solid #e4e4e4; border-radius:12px; background:#fff; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.035); }
.update-post-header { padding:20px 22px; }
.update-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.update-version, .update-category, .update-date { font-size:11px; font-weight:700; }
.update-version { background:#f1f1f1; color:#222; border-radius:5px; padding:5px 8px; }
.update-category { border:1px solid #e2e2e2; border-radius:5px; padding:4px 8px; color:#555; }
.update-date { color:#777; font-weight:400; }
.update-post h3 { font-size:21px; line-height:1.3; margin-bottom:7px; }
.update-intro { color:#666; font-size:14px; }
.update-post-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 22px; border-top:1px solid #eeeeee; background:#fcfcfc; }
.update-toggle { border:0; background:transparent; color:#222; font:700 12px Arial,sans-serif; cursor:pointer; padding:7px 0; }
.update-toggle:hover { text-decoration:underline; }
.update-content { border-top:1px solid #eeeeee; padding:20px 22px 22px; }
.update-section { margin-bottom:22px; }
.update-section:last-child { margin-bottom:0; }
.update-section h4 { font-size:14px; margin-bottom:10px; }
.update-items { display:grid; gap:10px; }
.update-item { border:1px solid #ededed; border-radius:8px; padding:12px 14px; background:#fff; }
.update-item strong { display:block; font-size:13px; margin-bottom:4px; color:#222; }
.update-item p { color:#666; font-size:13px; }
.update-item ul { margin:7px 0 0 18px; color:#666; font-size:12px; }
.update-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:10px; margin-top:10px; }
.update-gallery figure { margin:0; }
.update-gallery img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; border:1px solid #e5e5e5; border-radius:7px; }
.update-gallery figcaption { color:#777; font-size:11px; margin-top:5px; }
.update-download { display:inline-flex; align-items:center; margin-top:12px; padding:10px 14px; background:#171717; color:#fff; border-radius:6px; font-size:12px; font-weight:700; }
.update-download:hover { background:#444; }
.updates-status { padding:18px; color:#666; border:1px dashed #ddd; border-radius:8px; font-size:13px; }
.update-error { color:#8c2f2f; background:#fff7f7; border-color:#f0d4d4; }
@media (max-width:600px) {
  .update-post-header { padding:17px; }
  .update-post h3 { font-size:18px; }
  .update-content { padding:16px 17px; }
  .update-post-actions { padding:11px 17px; }
  .filter-button { padding:7px 11px; }
}


/* Apresentação geral do projeto e logotipo oficial do jogo */
.hero-logo-title { margin: 14px 0 18px; line-height: 1; }
.game-logo { display: block; width: min(100%, 590px); max-height: 190px; height: auto; object-fit: contain; object-position: left center; }
.hero .description { max-width: 850px; line-height: 1.8; }
.hero .description strong { color: #222; font-weight: 700; }
@media (max-width: 700px) {
  .game-logo { width: min(100%, 440px); max-height: 135px; object-position: left center; }
  .hero .description { font-size: 14px; }
}

/* Imagem de capa no início de cada publicação do changelog */
.update-cover { margin: 0; width: 100%; overflow: hidden; background: #f2f2f2; border-bottom: 1px solid #e8e8e8; }
.update-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 370px; object-fit: cover; object-position: center center; }
.update-cover figcaption { padding: 8px 18px; color: #666; font-size: 11px; }
@media (max-width: 600px) {
  .update-cover img { aspect-ratio: 16 / 9; max-height: 230px; }
  .update-cover figcaption { padding: 7px 13px; }
}


/* Direção visual refinada: interface editorial, limpa e sem gradientes */
:root {
  --bg: #f5f5f5;
  --panel: #ffffff;
  --panel2: #f0f0f0;
  --line: #dedede;
  --text: #171717;
  --muted: #666666;
  --accent: #107c10;
  --accent-dark: #0b5f0b;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1120px, calc(100% - 48px)); }
.hero {
  padding: 54px 0 48px;
  text-align: center;
}
.hero > .thumbnail {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  object-position: center 42%;
  border: 0;
  border-radius: 3px;
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 34px;
}
.hero .kicker {
  color: var(--accent-dark);
  font-size: 11px;
  letter-spacing: 2.3px;
}
.hero-logo-title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px auto 25px;
  width: 100%;
}
.game-logo {
  display: block;
  width: min(100%, 560px);
  max-height: 180px;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}
.hero .description {
  max-width: 790px;
  margin: 0 auto;
  color: #555;
  font-size: 16px;
  line-height: 1.85;
}
.hero .description strong { color: #171717; font-weight: 650; }
.metadata {
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}
.metadata span {
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 3px;
  color: #666;
  letter-spacing: .35px;
}
.metadata strong { color: #171717; }
section { padding: 38px 0; }
.section-header {
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.section-header .kicker {
  color: var(--accent-dark);
  letter-spacing: 1.8px;
}
.section-header h2 {
  color: #171717;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -.6px;
}
.section-header p { color: #666; font-size: 14px; }
.download-box {
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 3px;
  box-shadow: 0 3px 12px rgba(0,0,0,.025);
}
.download-box h3 { font-size: 19px; font-weight: 650; }
.download-box p { max-width: 650px; color: #666; line-height: 1.75; }
.download-button {
  min-height: 48px;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 2px;
  letter-spacing: .55px;
  transition: background .16s ease, border-color .16s ease;
}
.download-button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.changelog-tools { margin: 22px 0; }
.filter-button {
  border-radius: 3px;
  padding: 9px 14px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}
.filter-button.active {
  background: #171717;
  border-color: #171717;
}
.update-post {
  border: 1px solid #dedede;
  border-radius: 3px;
  box-shadow: 0 3px 14px rgba(0,0,0,.035);
}
.update-post-header { padding: 23px 25px; }
.update-post h3 { font-weight: 650; letter-spacing: -.3px; }
.update-post-actions {
  background: #f7f7f7;
  border-top: 1px solid #e7e7e7;
}
.update-content { background: #fff; }
.update-item { border-radius: 3px; border-color: #e5e5e5; }
.update-download {
  background: var(--accent);
  border-radius: 2px;
}
.update-download:hover { background: var(--accent-dark); }
.update-cover { background: #e9e9e9; border-bottom-color: #dedede; }
.update-cover img {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  object-position: center center;
}
.community {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 3px;
  padding: 30px;
}
.server { background: #fafafa; border-radius: 3px; }
.server:hover { border-color: #999; }
footer { color: #777; border-top-color: #dedede; }
footer strong { color: #222; }
@media (max-width: 700px) {
  .container { width: calc(100% - 30px); }
  .hero { padding: 24px 0 30px; }
  .hero > .thumbnail { max-height: 230px; }
  .hero-content { padding-top: 26px; }
  .game-logo { width: min(100%, 420px); max-height: 135px; }
  .hero .description { font-size: 14px; line-height: 1.75; }
  .metadata { gap: 6px; }
  .metadata span { font-size: 10px; padding: 6px 9px; }
  .download-box { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .download-button { width: 100%; }
  .community { padding: 20px; }
}


/* Layout refinement — restrained Xbox-inspired editorial styling */
:root {
  --bg: #f4f4f4;
  --panel: #fff;
  --line: #dedede;
  --text: #171717;
  --muted: #626262;
  --accent: #107c10;
}
body { background: var(--bg); font-family: "Segoe UI", Arial, sans-serif; }
.container { width: min(1160px, calc(100% - 48px)); }
.hero { position: relative; padding: 26px 0 54px; text-align: center; }
.language-switcher {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 5px; margin: 0 0 22px;
}
.language-button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 5px 10px;
  border: 1px solid #d7d7d7; border-radius: 2px;
  background: #fff; color: #333; cursor: pointer;
  font: 600 11px "Segoe UI", Arial, sans-serif;
  transition: background .15s ease, border-color .15s ease;
}
.language-button:hover { border-color: #888; }
.language-button.active { background: #202020; border-color: #202020; color: #fff; }
.language-button span { letter-spacing: .4px; }
.hero > .thumbnail {
  width: 100%; max-height: 380px; object-fit: cover;
  object-position: center 42%; border: 0; border-radius: 2px;
}
.hero-content { max-width: 920px; margin: 0 auto; padding-top: 34px; }
.hero .kicker, .section-header .kicker {
  color: #326b32; font-size: 11px; letter-spacing: 1.9px; font-weight: 700;
}
.hero-logo-title {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin: 26px auto 28px;
}
.game-logo {
  display: block; width: min(100%, 760px); max-height: 250px;
  height: auto; margin: 0 auto; object-fit: contain; object-position: center;
}
.hero .description {
  max-width: 820px; margin: 0 auto;
  text-align: justify; text-align-last: left;
  color: #555; font-size: 15px; line-height: 1.9;
}
.hero .description strong { color: #171717; font-weight: 650; }
.metadata { justify-content: center; gap: 8px; margin-top: 26px; }
.metadata span {
  background: #fff; border: 1px solid #dedede; border-radius: 2px;
  padding: 7px 12px; font-size: 10px; letter-spacing: .45px;
}
.metadata strong { color: #171717; }
section { padding: 40px 0; }
.section-header {
  padding-bottom: 17px; margin-bottom: 24px;
  border-bottom: 1px solid #d9d9d9;
}
.section-header h2 {
  font-size: clamp(25px, 3vw, 32px); font-weight: 650;
  letter-spacing: -.55px; color: #171717;
}
.section-header p { color: #666; font-size: 14px; }
.gameplay-section { padding-top: 6px; }
.gameplay-gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.gameplay-shot {
  min-width: 0; margin: 0; background: #fff;
  border: 1px solid #dedede; border-radius: 2px; overflow: hidden;
}
.gameplay-shot img {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: center;
  background: #e7e7e7; color: #555; font-size: 12px;
}
.gameplay-shot figcaption {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 13px; color: #292929; font-size: 13px; font-weight: 600;
}
.gameplay-shot small {
  color: #888; font: 11px Consolas, monospace;
}
.download-box {
  grid-template-columns: minmax(0,1fr) auto; gap: 28px;
  padding: 28px; background: #fff; border: 1px solid #dedede;
  border-radius: 2px; box-shadow: 0 2px 8px rgba(0,0,0,.025);
}
.download-box h3 { font-size: 19px; font-weight: 650; }
.download-box p { max-width: 680px; color: #666; line-height: 1.75; }
.download-button {
  background: #107c10; border: 1px solid #107c10;
  border-radius: 2px; color: #fff; min-height: 48px;
  padding: 13px 21px; letter-spacing: .45px;
}
.download-button:hover { background: #0b5f0b; border-color: #0b5f0b; }
.filter-button { border-radius: 2px; font-family: "Segoe UI",Arial,sans-serif; }
.filter-button.active { background: #202020; border-color: #202020; }
.update-post { border-radius: 2px; box-shadow: 0 2px 9px rgba(0,0,0,.03); }
.update-post-header { padding: 22px 24px; }
.update-post h3 { font-weight: 650; }
.update-post-actions { background: #f7f7f7; }
.update-content { background: #fff; }
.update-item { border-radius: 2px; }
.update-cover img { max-height: 420px; object-position: center 45%; }
.update-download { background: #107c10; border-radius: 2px; }
.update-download:hover { background: #0b5f0b; }
.community { border-radius: 2px; padding: 28px; background: #fff; }
.server { border-radius: 2px; background: #fafafa; }
footer { border-top-color: #dedede; }
@media (max-width: 760px) {
  .container { width: calc(100% - 30px); }
  .hero { padding: 18px 0 34px; }
  .language-switcher { margin-bottom: 15px; }
  .hero > .thumbnail { max-height: 235px; }
  .hero-content { padding-top: 25px; }
  .game-logo { width: min(100%, 570px); max-height: 190px; }
  .hero .description { font-size: 14px; line-height: 1.8; }
  .gameplay-gallery { grid-template-columns: 1fr; gap: 12px; }
  .gameplay-shot img { aspect-ratio: 16 / 9; }
  .download-box { grid-template-columns: 1fr; padding: 22px; }
  .download-button { width: 100%; }
  .metadata { gap: 6px; }
  .metadata span { font-size: 9px; padding: 6px 8px; }
}

.gameplay-shot.image-missing {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #e9e9e9;
}
.gameplay-shot.image-missing::before {
  content: "Adicione o arquivo " attr(data-file);
  display: block;
  padding: 22px 12px 4px;
  color: #777;
  text-align: center;
  font: 12px Consolas, monospace;
}
.gameplay-shot.image-missing figcaption { text-align: center; }
