:root {
  --surface: #ffffffab;
  --surface-2: #ffffff;
  --line: #30055b;
  --text: black;
  --bright-amber: #FAC810;
  --pink: #e8447a;
  --button: #92D8F3;
  --button-hover: #63C4FD;
  --emerald: #34C97A;
  --celadon: #5DD59380;
  --bg: #EEECB8;
  --dark-amethyst: #442660;
  --headings: #442660;
  --nav-headings: #DA4D40;
  --discord: #5865F2;
  --discord-hov: #3F4DE1;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}
h1,
h2,
h3,
.brand-word {
  color: var(--headings);
  font-family: "Baloo 2", sans-serif;
}

.menu, .menu:hover {
  color: var(--pink)
}

.link {
  color: var(--pink);
  text-decoration: none;
  transition: text-decoration 1s;
}

.link:hover {
  text-decoration: solid underline var(--pink) 2px;
}

code {
  color: var(--dark-amethyst);
  background: var(--surface);
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
}

/* layout */
.site {
  display: flex;
  align-items: flex-start;
}
.sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 1.75rem 1rem;
  border-right: 1px solid var(--line);
}
.sidebar .nav-link {
  color: var(--text);
  font-size: 0.96rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.4rem;
}
.sidebar .nav-link:hover {
  color: var(--text);
  background: var(--celadon)
}
.sidebar .nav-link.active {
  color: var(--text);
  background: var(--emerald);
  font-weight: 600;
}
.sidebar .nav-heading {
  text-transform: none;
  font-size: 0.9rem;
  color: var(--nav-headings);
  margin: 1.1rem 0 0.3rem;
  padding: 0 0.5rem;
}

#mobileNav {
  background: var(--surface-2);
  color: var(--text);
}

.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1030;
}
#mobileNav .nav-link {
  color: var(--text);
  font-size: 0.96rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.4rem;
}
#mobileNav .nav-link:hover {
  color: var(--text);
  background: var(--celadon)
}

#mobileNav .nav-link.active {
  color: var(--text);
  background: var(--emerald);
  font-weight: 600;
}

#mobileNav .nav-heading {
  text-transform: none;
  font-size: 0.9rem;
  color: var(--nav-headings);
  margin: 1.1rem 0 0.3rem;
  padding: 0 0.5rem;
}

#mobileNav .brand-word {
  margin-bottom: 0px;
  font-size: 1.65rem;
}
@media (max-width: 991.98px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }
}

.content {
  flex: 1;
  min-width: 0;
}
section {
  padding: 2.5rem 1.8rem;
  border-bottom: 1px solid var(--line);
}
section:last-of-type {
  border-bottom: none;
}
@media (max-width: 991.98px) {
  .sidebar {
    display: none;
  }
  .site {
    display: block;
  }
  .content {
    width: 100%;
  }
  section {
    padding: 3rem 1.25rem;
  }
}

/* hero */
.hero {
  text-align: center;
  padding-top: 3.5rem;
}
.hero img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 0 1px var(--line);
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.hero p.lead {
  color: var(--text);
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}
.btn-discord {
  background: var(--discord);
  color: white;
  font-weight: 600;
  border: none;
}

.btn-discord:hover {
  background: var(--discord-hov);
  color: white;
  font-weight: 600;
  border: none;
}

.btn-outline-light-custom {
  background: var(--button);
  color: var(--text);
}
.btn-outline-light-custom:hover {
  background: var(--button-hover);
  color: var(--text);
  
}

/* feature grid */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.5rem;
  height: 100%;
}
.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.feature p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* steps */
.steps {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1.5rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bright-amber);
  border: 1px solid black;
  color: black;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* commands table */
table.commands {
  color: var(--text);
}
table.commands th {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
table.commands td {
  border-color: var(--line);
  vertical-align: top;
}
table.commands td:first-child {
  white-space: nowrap;
}

.section-heading {
  margin-bottom: 2rem;
}
.section-heading h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}
.section-heading p {
  color: var(--text);
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 2rem;
  text-align: center;
}

footer {
  padding: 2.5rem 3rem;
  text-align: center;
  color: var(--text);
  font-size: 0.9rem;
}
footer a {
  color: var(--text);
  margin: 0 0.5rem;
}
footer a:hover {
  color: var(--gold);
}


.source-icon {
  background: url(github.svg) no-repeat right;
  position: fixed;
  top: 0;
  right: 0;
  margin: 4px 8px;
  z-index: 1020;
  opacity: 15%;
  min-width: 2.6rem;
  min-height: 3rem;
  background-size: contain;
  transition: opacity 1s;
}

.source-icon:hover {
  opacity: 100%;
}

.reminder {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-muted);
}
