/* Base Styles */
:root {
  --background: #0a0a0b;
  --surface: #151517;
  --surface-hover: #1d1d20;
  --primary: #a699ff;
  --footer-hover: #c6bdfe;
  --text: #e6e6e6;
  --text-secondary: #8f9299;
  --success: #4cd964;
  --pending: #ff6b6b;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--background);
  color: var(--text);
}

h1 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.5px;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* List Styles */
.rd-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.rd-list li {
  padding: 1.25rem;
  border-radius: 12px;
  background-color: var(--surface);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rd-list li:hover {
  background-color: var(--surface-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.rd-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
}

.rd-list a:hover {
  color: var(--primary);
}

/* Status Styles */
.status {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
}

.completed {
  color: var(--success);
}

.pending {
  color: var(--pending);
}

/* Selection styling - I just realized you could change the default blue on sites recently!*/
::selection {
  background-color: var(--primary);
  color: var(--background);
}

/* Footer Styles */
footer {
  margin-top: 2rem;
  text-align: center;
}

footer p {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer a:hover {
  color: var(--footer-hover);
}

/* Media Queries */
@media (max-width: 640px) {
  body {
    padding: 1rem;
  }

  .rd-list li {
    padding: 1rem;
  }
}

@media screen and (min-width: 768px) {
  footer p {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}
