:root {
  --bg: #0f0f0f;
  --surface: #141414;
  --surface-hover: #1b1b1b;

  --gold: #d4af37;
  --gold-hover: #e2c04a;

  --text: #f2f2f2;
  --text-muted: #9d9d9d;

  --border: #242424;

  --radius: 16px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  line-height: 1.7;
}

svg.lucide {
  width: 18px;
  height: 18px;

  stroke-width: 2;
}

strong {
  color: var(--gold);
}

::selection, ::-moz-selection {
  background: var(--gold);
  color: var(--bg);
}

/* ========================= */
/* Main Layout               */
/* ========================= */

#content {
  width: min(1100px, 90%);
  margin: 0 auto;
  padding: 4rem 0;
}

section {
  margin-bottom: 8rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 2rem;
}

#site-header {
  position: sticky;
  top: 0;

  z-index: 100;

  backdrop-filter: blur(12px);

  background: rgba(15, 15, 15, 0.85);

  border-bottom: 1px solid var(--border);
}

#header-inner {
  width: min(1100px, 90%);

  margin: 0 auto;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 1rem 0;
}

#site-logo {
  color: var(--gold);

  text-decoration: none;

  font-size: 1.2rem;
  font-weight: 700;
}

#site-nav {
  display: flex;
  gap: 1.5rem;
}

#site-nav a {
  color: var(--text-muted);

  text-decoration: none;

  transition: var(--transition);
}

#site-nav a:hover {
  color: var(--gold);
}

#nav-toggle {
  display: none;

  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;

  color: var(--text);

  padding: 0.65rem;
  cursor: pointer;

  transition: var(--transition);
}

#nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

#nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ========================= */
/* Hero                      */
/* ========================= */

#hero-section {
  min-height: 65vh;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  max-width: 850px;
}

#project-title {
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--gold);

  margin-bottom: 1rem;
}

#project-tagline {
  font-size: 1.4rem;
  color: var(--gold);

  margin-bottom: 2rem;
}

#project-description {
  color: var(--text-muted);

  max-width: 700px;
  margin: 0 auto 3rem;
}

#github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================= */
/* Hero Buttons              */
/* ========================= */

#project-links {
  margin-top: 1.5rem;
}

#project-links a {
  color: var(--text-muted);
  text-decoration: none;

  transition: var(--transition);
}

#project-links a:hover {
  color: var(--gold);
}

/* ========================= */
/* Showcase                  */
/* ========================= */

#showcase-container {
  width: 100%;

  border-radius: 16px;
  overflow: hidden;

  border: 1px solid var(--border);

  background: var(--surface);
}

#showcase-container video {
  display: block;

  width: 75%;
  height: auto;

  margin: 0 auto;
}

.meta-badges {
  width: 75%;

  margin: 0.75rem auto 0;

  display: flex;
  gap: 0.75rem;

  justify-content: center;
}

.meta-badges span {
  display: inline-flex;

  align-items: center;
  gap: 0.4rem;

  padding: 0.4rem 0.8rem;

  border-radius: 999px;

  background: var(--surface);
  border: 1px solid var(--border);

  color: var(--text-muted);
}

.meta-badges span:hover {
  border-color: var(--gold-hover);
  color: var(--text);
}

#showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
}

.showcase-card-centered {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.75rem);
  justify-self: center;
}

.showcase-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ========================= */
/* Features                  */
/* ========================= */

#features-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius);

  padding: 1.5rem;

  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--surface-hover);
}

.feature-card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
}

#features-grid-big {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

#features-grid-big .feature-card {
  padding: 2rem;
}

/* ========================= */
/* Content Blocks            */
/* ========================= */

.content-block {
  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius);

  padding: 2rem;
}

.content-block p {
  margin-bottom: 1rem;
}

.content-block ul {
  margin-left: 1.5rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

/* ========================= */
/* Installation              */
/* ========================= */

#install-tabs {
  display: flex;
  gap: 1rem;

  margin-bottom: 2rem;
}

.install-tab {
  background: var(--surface);

  border: 1px solid var(--border);

  color: var(--text);

  padding: 0.8rem 1.4rem;
  border-radius: 10px;

  cursor: pointer;

  transition: var(--transition);
}

.install-tab:hover {
  border-color: var(--gold);
}

.install-tab.active {
  background: var(--gold);
  color: black;
}

.install-panel {
  display: none;
}

.install-panel.active {
  display: block;
}

#windows-install.active {
  display: grid;
  gap: 1rem;
}

.download-card {
  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius);

  padding: 1.5rem;
}

.download-card h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.download-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.download-btn {
  display: inline-flex;

  align-items: center;
  gap: 0.5rem;

  background: var(--gold);
  color: black;

  padding: 0.75rem 1.25rem;

  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.install-panel pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);

  padding: 1.5rem;
  margin: 0;

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.install-panel pre code {
  display: block;
  width: max-content;
  min-width: 100%;

  color: var(--gold);
  line-height: 1.7;
}

/* ========================= */
/* Platfrom Support          */
/* ========================= */

.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-list li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.platform-list li::before {
  content: ">_ ";
  color: var(--text-muted);
}

/* ========================= */
/* Code Blocks               */
/* ========================= */

pre {
  overflow-x: auto;
}

pre code,
.path-block,
code {
  font-family: inherit;

  background: #0f0f0f;

  border: 1px solid var(--border);
  border-radius: 10px;

  display: block;

  padding: 1rem;

  color: var(--gold);
}

/* ========================= */
/* Final Note                */
/* ========================= */

#final-note-quote {
  border-left: 4px solid var(--gold);

  padding-left: 1rem;

  color: var(--gold);

  font-size: 1.2rem;

  margin-bottom: 1rem;
}

#final-note-text {
  color: var(--text-muted);
}

/* ========================= */
/* Footer                    */
/* ========================= */

#site-footer {
  border-top: 1px solid var(--border);

  margin-top: 6rem;
}

#footer-inner {
  width: min(1100px, 90%);

  margin: 0 auto;

  padding: 2rem 0;

  display: flex;

  justify-content: space-between;
  align-items: center;
}

#footer-inner a {
  color: var(--text-muted);

  text-decoration: none;

  transition: var(--transition);
}

#footer-inner a:hover {
  color: var(--gold);
}

/* ========================= */
/* Mobile                    */
/* ========================= */

@media (max-width: 768px) {
  #features-grid-big {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  #project-title {
    font-size: 3rem;
  }

  #install-tabs {
    flex-wrap: wrap;
  }

  section {
    margin-bottom: 5rem;
  }

  #header-inner {
    position: relative;
    align-items: center;
  }

  #nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #site-nav {
    display: none;

    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;

    min-width: 220px;

    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    padding: 0.75rem;
    z-index: 1000;
  }

  #site-nav.open {
    display: flex;
  }

  #site-nav a {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
  }
}
