:root {
  --bg: #121212;
  --surface: #1e1e1e;
  --surface-soft: #1a1a1a;
  --surface-hover: #252525;
  --text: #e0e0e0;
  --muted: #b0b0b0;
  --faint: #858585;
  --accent: #81d4fa;
  --accent-strong: #29b6f6;
  --border: #333;
  --success: #75c98c;
  --warning: #f9ab00;
  --danger: #ef7770;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.28);
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.6}
a{color:var(--accent)}
img{max-width:100%;display:block}
.container{width:min(1120px,calc(100% - 2rem));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(30,30,30,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);box-shadow:0 4px 12px rgba(0,0,0,.25)}
.nav{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.brand{display:inline-flex;align-items:center;gap:.7rem;color:#fff;text-decoration:none;font-weight:800;font-size:1.15rem;letter-spacing:.01em}
.brand-name{display:inline;white-space:nowrap;color:#fff}
.brand-name span{color:var(--accent)}
.brand-mark{width:34px;height:34px;border-radius:10px;display:block;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.support-box{background:linear-gradient(180deg,#202020,#1a1a1a);border:1px solid #38444a;border-radius:18px;padding:clamp(1.4rem,3vw,2rem);box-shadow:0 8px 24px rgba(0,0,0,.22)}
.support-box h2{margin-top:0;border-bottom:2px solid var(--accent);padding-bottom:.55rem}
.support-box p{margin:0 0 1rem;color:var(--muted);max-width:720px}
.kofi-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.72rem 1rem;border-radius:9px;text-decoration:none;font-weight:800;background:#29b6f6;color:#062131;border:1px solid transparent;transition:transform .18s ease,filter .18s ease}
.kofi-button:hover,.kofi-button:focus-visible{transform:translateY(-2px);filter:brightness(1.06)}
.nav-links{display:flex;gap:1rem;flex-wrap:wrap}
.nav-links a{color:var(--muted);text-decoration:none;font-weight:650}
.nav-links a:hover,.nav-links a:focus-visible{color:#fff}
.hero{padding:5.25rem 0 3.5rem;text-align:center;background:linear-gradient(180deg,var(--surface),var(--bg))}
.eyebrow{margin:0 0 .65rem;color:var(--accent);font-size:.84rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
h1,h2,h3{color:#fff;line-height:1.18}
h1{font-size:clamp(2.4rem,7vw,4.5rem);margin:.15rem 0 1rem}
.hero-copy{max-width:720px;margin:0 auto;color:var(--muted);font-size:clamp(1rem,2vw,1.18rem)}
.section{padding:4rem 0}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.section-heading h2{margin:0;font-size:clamp(1.65rem,3vw,2.25rem)}
.section-heading p{margin:0;color:var(--muted);max-width:620px}
.major-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);background:var(--surface);border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
.major-media{min-height:330px;background:var(--surface-soft)}
.major-media img{width:100%;height:100%;object-fit:cover}
.major-content{padding:clamp(1.5rem,4vw,2.5rem);display:flex;flex-direction:column;justify-content:center}
.major-content h2{font-size:clamp(2rem,4vw,3rem);margin:.5rem 0 .75rem}
.major-content p{color:var(--muted);margin:0 0 1rem}
.meta{display:flex;gap:.55rem;flex-wrap:wrap;margin:.35rem 0 1.25rem}
.badge{display:inline-flex;align-items:center;border:1px solid #3d3d3d;background:#181818;color:#d8d8d8;border-radius:999px;padding:.28rem .65rem;font-size:.78rem;font-weight:750}
.badge-major{border-color:#256f8f;color:var(--accent);background:#12242c}
.badge-stable{border-color:#2f6240;color:var(--success);background:#142219}
.badge-wip,.badge-early{border-color:#735a18;color:#ffd36a;background:#2a230f}
.badge-active{border-color:#256f8f;color:var(--accent);background:#12242c}
.actions{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.72rem 1rem;border-radius:9px;text-decoration:none;font-weight:800;border:1px solid transparent;transition:transform .18s ease,filter .18s ease,border-color .18s ease}
.button:hover,.button:focus-visible{transform:translateY(-2px);filter:brightness(1.08)}
.button-primary{background:#0060df;color:#fff}
.button-secondary{background:#292929;color:#fff;border-color:#444}
.play-badge{width:205px}
.category{margin-top:2.75rem}
.category:first-child{margin-top:0}
.category-title{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1rem}
.category-title h3{margin:0;font-size:1.35rem}
.category-title span{color:var(--faint);font-size:.9rem}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.project-card{display:flex;flex-direction:column;min-height:100%;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.35rem;box-shadow:0 4px 14px rgba(0,0,0,.18);transition:transform .18s ease,border-color .18s ease,background .18s ease}
.project-card:hover{transform:translateY(-3px);background:var(--surface-hover);border-color:#474747}
.project-head{display:flex;gap:1rem;align-items:center;margin-bottom:1rem}
.project-icon{width:58px;height:58px;border-radius:13px;object-fit:cover;background:#111;border:1px solid #3a3a3a;flex:0 0 auto}
.project-card h4{margin:0 0 .2rem;color:#fff;font-size:1.08rem;line-height:1.25}
.project-type{color:var(--faint);font-size:.84rem}
.project-card p{color:var(--muted);margin:.2rem 0 1.1rem;flex:1}
.project-card .actions{margin-top:auto}
.text-link{font-weight:750;text-decoration:none}
.text-link:hover{text-decoration:underline}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:clamp(1.35rem,3vw,2rem);box-shadow:0 4px 14px rgba(0,0,0,.18)}
.panel h2{margin-top:0;border-bottom:2px solid var(--accent);padding-bottom:.55rem}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem}
.feature{background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;padding:1.2rem}
.feature h3{font-size:1rem;margin:0 0 .45rem}.feature p{margin:0;color:var(--muted)}
.project-hero{padding:3.5rem 0 2.5rem;background:linear-gradient(180deg,var(--surface),var(--bg))}
.project-hero-inner{display:grid;grid-template-columns:140px 1fr;gap:1.7rem;align-items:center}
.project-hero-icon{width:140px;height:140px;border-radius:28px;object-fit:cover;box-shadow:var(--shadow)}
.project-hero h1{font-size:clamp(2.1rem,5vw,3.6rem);text-align:left;margin:.25rem 0 .65rem}
.project-hero p{color:var(--muted);max-width:760px;margin:0}
.back-link{display:inline-flex;margin-bottom:1.5rem;text-decoration:none;font-weight:750}
.legal details{margin-bottom:1rem;background:var(--surface-soft);border:1px solid var(--border);padding:.5rem 1rem;border-radius:9px}
.legal summary{cursor:pointer;color:var(--accent);font-weight:800;padding:.5rem 0}
.legal-content{border-top:1px solid var(--border);padding-top:1rem;color:var(--muted);font-size:.93rem}
.site-footer{margin-top:3rem;background:var(--surface);border-top:1px solid var(--border);padding:2rem 0;color:var(--faint)}
.footer-inner{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.footer-links{display:flex;gap:1rem;flex-wrap:wrap}.footer-links a{color:var(--muted)}
.empty-state{padding:1.25rem;background:var(--surface);border:1px dashed #444;border-radius:var(--radius);color:var(--muted)}
@media(max-width:900px){.major-card{grid-template-columns:1fr}.major-media{min-height:240px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.nav{align-items:flex-start;padding:.9rem 0;flex-direction:column;gap:.55rem}.site-header{position:static}.hero{padding:3.5rem 0 2.75rem}.section{padding:3rem 0}.section-heading{align-items:flex-start;flex-direction:column}.project-grid{grid-template-columns:1fr}.project-hero-inner{grid-template-columns:1fr;text-align:center}.project-hero-icon{margin:auto}.project-hero h1{text-align:center}.actions{align-items:stretch}.button{width:100%}.play-badge{margin:auto}.footer-inner{flex-direction:column}}


.project-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin-top:auto}
.project-action{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:42px;padding:.62rem .72rem;border-radius:9px;text-decoration:none;font-size:.9rem;font-weight:800;line-height:1.15;text-align:center;border:1px solid #454545;transition:transform .18s ease,filter .18s ease,border-color .18s ease,background .18s ease}
.project-action:hover,.project-action:focus-visible{transform:translateY(-2px);filter:brightness(1.08)}
.project-action-download{grid-column:1/-1;background:#0060df;color:#fff;border-color:#1976e8}
.project-action-secondary{background:#292929;color:#e8e8e8}
.project-action-secondary:hover,.project-action-secondary:focus-visible{border-color:#686868;background:#303030}
.project-action img,.button-with-icon img{width:18px;height:18px;flex:0 0 auto;object-fit:contain}
.button-with-icon{gap:.55rem}
@media(max-width:420px){.project-actions{grid-template-columns:1fr}.project-action-download{grid-column:auto}}
