@font-face { font-family: "Bree Serif"; src: url("fonts/bree-serif-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("fonts/kalam-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root { color-scheme: light; --forest: #234328; --cream: #f7f6f1; --ink: #242823; --muted: #777b73; --yellow: #fff083; }
* { box-sizing: border-box; }
html { font-size: 85%; scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 max(14px, 1.35rem)/1.55 "Roboto", Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid #bd7736; outline-offset: 6px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
h1, h2 { font-family: "Bree Serif", Georgia, serif; font-weight: 400; }
h2 { overflow-wrap: anywhere; color: var(--forest); font-size: clamp(1.7rem, 3.3vw, 2.9rem); line-height: 1.13; letter-spacing: -.045em; }
h3 { color: var(--forest); font-size: 1.6rem; font-weight: 600; line-height: 1.35; }
.page-width { width: min(89.2%, 1224px); margin-inline: auto; }
.icon { width: 1.6em; height: 1.6em; flex: 0 0 auto; }
.chevron { width: 1.35rem; height: 1.35rem; margin-left: auto; flex: 0 0 auto; }
.skip-link { position: absolute; z-index: 4; top: 1rem; left: 1rem; padding: .7rem 1rem; transform: translateY(-180%); background: var(--cream); color: var(--forest); }
.skip-link:focus { transform: none; }
[aria-disabled="true"], button:disabled { cursor: not-allowed; }
.hero { position: relative; isolation: isolate; color: white; min-height: min(57.885vw, 935px); padding-bottom: 2rem; background: #1f3824 url("lion-in-savannah.jpg") center center / cover no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 52% 0 0; background: rgb(48 48 48 / .82); mask-image: linear-gradient(to right, #000 85%, transparent); }
.site-header { display: flex; align-items: flex-start; justify-content: flex-end; gap: 3rem; padding-top: 2rem; padding-bottom: 1rem; }
.site-header nav { display: flex; gap: clamp(1rem, 2.975vw, 3.75rem); padding-top: 1rem; font-size: 1.4rem; font-weight: 500; white-space: nowrap; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--yellow); }
.site-header [aria-disabled="true"] { color: #b2b6b0; }
.hero-content { padding-left: 1rem; }
.hero-logo { width: min(46vw, 560px); line-height: 0; }
.hero-description { margin-top: 1.55rem; font-size: clamp(1.3rem, 2.3vw, 2.05rem); line-height: 1.5; font-weight: 500; color: #ffe182; }
.hero-downloads { display: flex; gap: 1.6rem; margin-top: 2.5rem; }
.button { display: inline-flex; justify-content: flex-start; align-items: center; gap: 1rem; min-height: 5.4rem; padding: 1rem 1.8rem; border: 1px solid transparent; border-radius: 7px; font-weight: 500; font-size: 1.7rem; line-height: 1.2; text-decoration: none; }
.button:disabled { color: #eeeeea; background: #999b98; border: 2px solid #e9e8de; box-shadow: inset 0 0 12px rgb(255 255 255 / .08); }
.hero-downloads .button:disabled { color: #c4c5bf; border-color: #9a9b8e; background: rgb(128 129 124 / .66); min-width: 22rem; }
.hero-downloads .button-outline:disabled { background: rgb(127 127 119 / .40); min-width: 18rem; }
.release-announcement { display: flex; flex-wrap: wrap; align-items: center; gap: 2.6rem; margin-top: 1.8rem; }
.release-scribble { position: relative; padding-left: 3rem; color: var(--yellow); font-family: "Kalam", cursive; font-size: clamp(1.7rem, 2.72vw, 3rem); line-height: 1.12; transform: rotate(-4deg); text-shadow: 0 2px 3px #132008; }
.scribble-arrow { position: absolute; width: 2.5rem; height: 4.4rem; left: -.15rem; top: -.6rem; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.discord-invitation { padding-top: 1.5rem; text-align: center; }
.button-discord { color: #fff; border: 2px solid #20c567; background: linear-gradient(#008835, #006c27); box-shadow: 0 3px 8px rgb(0 0 0 / .3), inset 0 0 0 3px rgb(1 51 15 / .5); }
.button-discord:hover { background: #119346; text-decoration: none; }
.button-discord img { width: 2rem; height: 2rem; }
.discord-address { display: block; margin-top: .7rem; font-size: 1.25rem; text-decoration: none; text-shadow: 0 2px 3px #000; }
.features-and-setup { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; padding-block: 3rem; }
.features h2, .getting-started h2, .creators h2, .community-card h2 { display: flex; align-items: center; gap: 1.5rem; }
.heading-icon { display: flex; align-items: center; justify-content: center; width: 5.75rem; height: 5.75rem; border-radius: 50%; background: linear-gradient(120deg, #638845, #274629); color: #fffce5; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.heading-icon .icon { width: 3.35rem; height: 3.35rem; }
.feature-list { display: grid; gap: 2.9rem; margin: 3.2rem 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 5.75rem 1fr; gap: 1.5rem; align-items: start; }
.feature-list li > .icon { color: var(--forest); width: 3.4rem; height: 3.4rem; justify-self: center; }
.feature-list p { margin-top: .3rem; line-height: 1.48; }
.getting-started { align-self: start; background: linear-gradient(110deg, #e9eadc, #efeee4); padding: 2.1rem 2.2rem 1.8rem; border-radius: 12px; color: var(--muted); }
.getting-started h2, .getting-started h3 { color: #797f73; }
.getting-started .heading-icon { width: 4.85rem; height: 4.85rem; }
.getting-started .heading-icon .icon { width: 2.7rem; height: 2.7rem; }
.setup-steps { list-style: none; padding: 0 0 0 .8rem; counter-reset: setup; margin: 2rem 0 1.8rem; }
.setup-steps li { position: relative; padding: 0 0 2.4rem 4.6rem; counter-increment: setup; }
.setup-steps li:last-child { padding-bottom: 0; }
.setup-steps li::before { content: counter(setup); position: absolute; left: 0; top: -.2rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 2px solid #f9f9ef; border-radius: 50%; color: white; background: #a8ada0; font-weight: 500; font-size: 1.5rem; }
.setup-steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.4rem; top: 2.7rem; bottom: .2rem; width: 1px; background: #a8ada0; }
.setup-steps p { margin-top: .4rem; }
.setup-links { display: grid; gap: 1.1rem; }
.text-link { display: flex; align-items: center; gap: 1rem; font-size: 1.3rem; line-height: 1.35; }
.text-link > span { min-width: 0; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: .14em; }
.text-link .icon { width: 1.75rem; height: 1.75rem; }
.creators { display: grid; grid-template-columns: 42% 58%; background: linear-gradient(100deg, #efe9db, #faf9f5 45%); }
.creators-content { padding: 2.5rem 4.5rem 2.7rem max(5.4vw, calc((100vw - 1224px) / 2)); }
.creators h2 { align-items: flex-start; }
.creators .heading-icon { width: 5.65rem; height: 5.65rem; }
.creators p { margin-top: 2rem; max-width: 30rem; }
.creator-links { display: grid; gap: .8rem; margin-top: 1.65rem; max-width: 30rem; }
.creator-links .button { font-size: 1.4rem; min-height: 4.15rem; padding: .85rem 1.3rem; }
.creator-links .button:disabled { background: transparent; color: #7c8176; border: 1px solid #969d8d; }
.giant-panda-habitat { width: 100%; height: 100%; min-height: 30rem; object-fit: cover; border-radius: 14px 0 0 14px; }
.release-and-community { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 2rem; padding-block: 2rem; }
.release-card, .community-card { border-radius: 12px; padding: 2rem; }
.release-card { background: linear-gradient(110deg, #eee3ce, #ebe6db); }
.card-heading > div { min-width: 0; }
.card-heading { display: flex; gap: 1.5rem; align-items: center; }
.release-icon { width: 5.5rem; height: 5.5rem; color: #8a602c; flex-shrink: 0; }
.release-card h2 { font-size: clamp(1.75rem, 3.35vw, 3rem); color: #322f23; }
.release-card p { margin-top: .8rem; }
.release-links { display: grid; gap: .7rem; margin-top: 3rem; max-width: 24rem; }
.release-links .button { font-size: 1.4rem; min-height: 3.9rem; padding: .85rem 1.4rem; }
.community-card { background: linear-gradient(90deg, #e4e9d6 45%, rgb(228 233 214 / .82)), url("antelopes-in-savannah.jpg") right center / cover no-repeat; }
.community-content { margin-left: 7.25rem; }
.community-content p { margin-top: -.3rem; max-width: 29rem; }
.community-links { display: grid; gap: .65rem; max-width: 24rem; width: 80%; margin-top: 1.65rem; margin-left: -3.3rem; }
.community-links .text-link { color: var(--forest); text-decoration: none; }
.community-links .text-link[aria-disabled="true"] { color: var(--muted); }
.community-links .text-link > span { flex: 1; border-bottom: 1px solid #a7b097; padding-bottom: .3rem; }
.site-footer { padding-block: 1.25rem; background: linear-gradient(90deg, #24251c 40%, rgb(36 37 28 / .88) 75%, rgb(36 37 28 / .7)), url("elephant-at-sunset.jpg") right center / auto 100% no-repeat, #24251c; color: #fbfbf1; }
.footer-content { display: grid; grid-template-columns: 1.35fr .7fr .82fr 1.9fr; gap: 3rem; align-items: start; font-size: 1rem; line-height: 1.5; }
.footer-brand img { width: 17rem; height: 7.2rem; object-fit: contain; object-position: left center; margin-bottom: .3rem; }
.footer-brand p { font-size: .85rem; line-height: 1.3; }
.footer-brand p + p { margin-top: .3rem; }
.site-footer nav { display: flex; flex-direction: column; padding-top: .6rem; }
.site-footer h3 { color: inherit; font-size: 1rem; font-weight: 500; margin-bottom: .5rem; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer [aria-disabled="true"] { color: #b0b0a6; }
.developer-credit { padding-top: 1rem; }
.developer-credit p { margin-bottom: .7rem; }
.developer-credit a { color: var(--yellow); }

@media (min-width: 801px) { html { font-size: clamp(8.5px, .944444vw, 15.3px); } }
@media (min-width: 1700px) { .hero-content { padding-top: 1rem; } }
@media (max-width: 800px) {
  .hero-content { padding-left: 0; }
  .hero-logo { width: min(76vw, 420px); }
  .site-footer { padding-bottom: 2rem; }
  .community-links { width: 72%; }
  .creator-links .button { font-size: 1.1rem; }
  body { font-size: max(14px, 1rem); }
  h3 { font-size: 1.125rem; }
  .button { font-size: 1.1rem; min-height: 3.65rem; padding: .7rem 1.2rem; gap: .7rem; }
  .text-link { font-size: 1rem; }
  .heading-icon { width: 4.4rem; height: 4.4rem; }
  .heading-icon .icon { width: 2.8rem; height: 2.8rem; }
  .feature-list li { grid-template-columns: 4.4rem 1fr; gap: 1.2rem; }
  .feature-list li > .icon { width: 2.65rem; height: 2.65rem; }
  .getting-started .heading-icon { width: 3.8rem; height: 3.8rem; }
  .creators .heading-icon { width: 4.4rem; height: 4.4rem; }
  .page-width { width: 89%; }
  .site-header { align-items: center; gap: 1rem; padding-top: 1.1rem; }
  .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.2rem; font-size: .875rem; padding-top: 0; }
  .hero { min-height: 561px; padding-bottom: 2rem; background-position: 58% center; }
  .hero-content { padding-top: 1.4rem; }
  .hero-description { font-size: 1.2rem; }
  .hero-downloads { gap: .8rem; }
  .hero-downloads .button:disabled, .hero-downloads .button-outline:disabled { min-width: 0; }
  .release-scribble { font-size: 1.9rem; padding-left: 2rem; }
  .release-announcement { gap: 1.5rem; }
  .scribble-arrow { width: 1.6rem; }
  .features-and-setup { grid-template-columns: 1fr; gap: 2.5rem; }
  h2 { font-size: 2.15rem; }
  .feature-list { gap: 1.8rem; }
  .getting-started { padding: 1.8rem; }
  .creators { grid-template-columns: 1fr; }
  .creators-content { padding: 2rem 5.5vw; }
  .creators p, .creator-links { max-width: none; }
  .giant-panda-habitat { min-height: 0; height: auto; border-radius: 0; }
  .release-and-community { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .release-card h2 { font-size: 2.1rem; }
  .release-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); max-width: none; }
  .release-links .button { font-size: 1rem; padding: .7rem; }
  .community-content { margin-left: 5.6rem; }
  .community-content p { margin-top: .6rem; }
  .community-links { margin-left: 0; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; font-size: .95rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 13rem; }
  .footer-brand p { font-size: .8rem; }
  .developer-credit { grid-column: 1 / -1; padding-top: 0; }
}
@media (max-width: 480px) {
  .hero { min-height: 671.5px; background-position: 63% center; }
  .site-header { align-items: flex-start; }
  .site-header nav { max-width: 100%; gap: .4rem .75rem; }
  .hero-content { padding-top: 1.8rem; }
  .desktop-break { display: none; }
  .hero-description { max-width: 20rem; }
  .hero-downloads { flex-wrap: wrap; margin-top: 1.6rem; }
  .hero-downloads .button { min-height: 3.25rem; font-size: 1rem; padding: .8rem; }
  .release-announcement { align-items: flex-start; flex-direction: column; gap: 1rem; margin-top: 1.7rem; }
  .release-scribble { font-size: 1.9rem; }
  .discord-invitation { padding-top: 0; padding-left: 2rem; }
  .features h2 { font-size: 1.8rem; }
  .features h2, .getting-started h2, .creators h2, .community-card h2 { gap: .9rem; }
  .heading-icon, .creators .heading-icon { width: 3.7rem; height: 3.7rem; }
  .heading-icon .icon { width: 2.3rem; height: 2.3rem; }
  .feature-list li { grid-template-columns: 3.7rem 1fr; gap: .9rem; }
  .feature-list li > .icon { width: 2.3rem; height: 2.3rem; }
  .getting-started { padding: 1.3rem; }
  .getting-started h2 { font-size: 1.8rem; }
  .setup-steps { padding-left: 0; }
  .setup-steps li { padding-left: 3.2rem; }
  .text-link { font-size: .9rem; gap: .7rem; }
  .release-card, .community-card { padding: 1.4rem; }
  .release-card h2, .community-card h2 { font-size: 1.85rem; }
  .release-links { grid-template-columns: 1fr; }
  .community-content { margin-left: 0; }
  .community-content p { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


.game-screenshot { position: relative; min-width: 0; }
.site-header nav { flex-wrap: wrap; justify-content: flex-end; padding: .8rem 1rem; border-radius: 6px; background: rgb(22 39 23 / .88); }
.roadmap { padding-block: 3rem; }
.roadmap-intro { max-width: 52rem; margin-top: 1rem; }
.roadmap-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.roadmap-phase { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border: 1px solid #b6c2aa; border-radius: 10px; text-decoration: none; background: #edf0e6; font-size: max(14px, 1rem); }
.roadmap-phase:hover { border-color: var(--forest); background: #e3e9d9; }
.phase-number { color: #4c613d; font-size: 14px; }
.roadmap-phase h3 { font-family: "Bree Serif", Georgia, serif; font-size: max(20px, 1.55rem); font-weight: 400; }
.phase-progress { display: grid; gap: .5rem; margin-top: auto; }
.phase-progress strong { font-size: max(14px, 1rem); }
.phase-progress small { font-size: 14px; }
.phase-progress progress { display: block; width: 100%; height: 12px; border: 0; border-radius: 6px; overflow: hidden; background: #d3dac9; color: #52783c; accent-color: #52783c; }
.phase-progress progress::-webkit-progress-bar { background: #d3dac9; }
.phase-progress progress::-webkit-progress-value { background: #52783c; }
.phase-progress progress::-moz-progress-bar { background: #52783c; }
.phase-link { color: var(--forest); text-decoration: underline; text-underline-offset: .2em; font-weight: 500; }
.screenshot-credits { margin-top: 1.5rem; font-size: 14px; }
@media (max-width: 1050px) { .roadmap-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .roadmap-phases { grid-template-columns: 1fr; } }


.community-card, .site-footer { position: relative; padding-bottom: 4.5rem; }
.hero { padding-bottom: 4.5rem; }
.screenshot-origin { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: inline-flex; }
.screenshot-origin button { width: 44px; height: 44px; padding: 0; border: 2px solid #fff5d7; border-radius: 50%; background: #46351d; color: #fff5d7; font: 700 20px/1 "Roboto", Arial, sans-serif; cursor: help; box-shadow: 0 2px 6px rgb(0 0 0 / .35); }
.screenshot-origin[data-origin="new"] button { background: #154b38; color: #ddffe9; border-color: #ddffe9; }
.screenshot-origin-tooltip { position: fixed; z-index: 100; width: min(320px, calc(100vw - 24px)); padding: 12px 16px; border: 1px solid #8c947f; border-radius: 6px; background: #fffdf4; color: #242823; box-shadow: 0 4px 16px rgb(0 0 0 / .3); font: 400 16px/1.5 "Roboto", Arial, sans-serif; text-align: left; visibility: hidden; }
.screenshot-origin:is(:hover, :focus-within):not([data-dismissed]) .screenshot-origin-tooltip { visibility: visible; }
.screenshot-origin-inline { position: relative; right: auto; bottom: auto; vertical-align: middle; margin-right: .4rem; }

.shader-gallery { padding-block: 3rem; }
.shader-gallery > p { margin-top: 1rem; max-width: 70rem; }
.comparison-guide { font-size: max(14px, 1.1rem); color: #4c5545; }
.shader-cutsheets { display: grid; gap: 2rem; margin-top: 2rem; }
.shader-cutsheets figure { margin: 0; min-width: 0; }
.shader-cutsheets figure > a { display: block; border-radius: 8px; overflow: hidden; background: #181818; }
.shader-cutsheets img { width: 100%; height: auto; }
.shader-cutsheets figcaption { padding-block: 1rem; font-size: max(14px, 1.1rem); }
.shader-cutsheets figcaption p { margin-block: .5rem; max-width: 65rem; }
.shader-cutsheets figcaption a { color: var(--forest); }
.comparison-before { border-block: 1px solid #b6c2aa; padding-block: 1rem; }
.comparison-before summary { cursor: pointer; color: var(--forest); font-weight: 500; }
.comparison-before[open] summary { margin-bottom: 1rem; }

.screenshot-author-credit { position: absolute; right: 64px; bottom: 12px; z-index: 4; max-width: calc(100% - 88px); padding: 6px 10px; border-radius: 4px; background: rgb(65 65 65 / .72); color: #fff; font: 400 14px/1.4 "Roboto", Arial, sans-serif; }

@media (min-width: 801px) {
  .hero-content { width: min(43%, 600px); margin-left: 4%; margin-right: auto; padding-left: 0; }
  .hero-logo { width: 100%; }
  .hero-downloads { flex-wrap: wrap; gap: 1rem; }
  .hero-downloads .button:disabled, .hero-downloads .button-outline:disabled { min-width: 0; font-size: 1.35rem; padding: 1rem 1.2rem; }
  .release-announcement { gap: 1.5rem; }
  .release-scribble { font-size: clamp(1.7rem, 2.2vw, 2.6rem); }
}
@media (max-width: 800px) {
  .hero { min-height: 560px; padding-top: 0; padding-bottom: 76px; background-size: cover; background-position: 40% center; }
  .hero::before { display: block; inset: 0 44% 0 0; background: rgb(48 48 48 / .86); mask-image: linear-gradient(to right, #000 78%, transparent); }
  .hero-content { width: 48%; margin-left: 4%; margin-right: auto; padding: 1rem 0 0; }
  .hero-logo { width: 100%; max-width: 230px; }
  .hero-description { margin-top: 1rem; font-size: 14px; line-height: 1.5; }
  .hero-downloads { flex-direction: column; align-items: flex-start; gap: .6rem; margin-top: 1.2rem; }
  .hero-downloads .button { min-width: 0; min-height: 44px; font-size: 14px; padding: .6rem .7rem; gap: .5rem; }
  .release-announcement { flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 1.2rem; }
  .release-scribble { font-size: 1.5rem; padding-left: 1.5rem; }
  .discord-invitation { padding: 0; }
  .button-discord { font-size: 14px; min-height: 44px; padding: .6rem .7rem; gap: .5rem; }
  .discord-address { font-size: 12px; overflow-wrap: anywhere; }
  .screenshot-author-credit { max-width: calc(100% - 88px); overflow-wrap: anywhere; }
  .game-screenshot { width: 100%; }
}
@media (max-width: 480px) {
  .hero-content { width: 56%; }
  .hero::before { right: 36%; }
  .hero-logo { max-width: 200px; }
  .site-header { width: 92%; }
  .site-header nav { font-size: 12px; padding: .7rem; gap: .4rem .65rem; }
}

.contribute-screenshot { margin-top: 1.5rem; }
.contribute-screenshot > img { width: 100%; height: auto; border-radius: 8px; }
