@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600&display=swap");

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

body {
  background-color: #0a0a0a;
  color: #e8e8e8;
  font-family: "Source Code Pro", monospace;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 650px;
  margin: 60px auto;
  padding: 0 30px;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  gap: 20px;
}

.left h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.left p {
  color: #888;
  font-size: 0.9rem;
  font-weight: 400;
}

.links-right {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.links-right a {
  text-decoration: none;
  color: #888;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.links-right a:hover {
  color: #e8e8e8;
  border-bottom-color: #e8e8e8;
}

.projects-body {
  font-size: 0.9rem;
}

.projects-body h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.25px;
}

.projects-body ul {
  list-style: none;
}

.projects-body li {
  margin-bottom: 12px;
  color: #999;
  font-size: 0.9rem;
  line-height: 1.5;
}

.projects-body li a {
  color: #e8e8e8;
  text-decoration: none;
  border-bottom: 1px solid #555;
  transition: border-color 0.2s ease;
}

.projects-body li a:hover {
  border-bottom-color: #e8e8e8;
}

.footer {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #888;
}

.footer a {
  color: #e8e8e8;
  text-decoration: none;
  border-bottom: 1px solid #555;
  transition: border-color 0.2s ease;
}

.footer a:hover {
  border-bottom-color: #e8e8e8;
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }

  .header {
    flex-direction: column;
    gap: 20px;
  }

  .links-right {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 40px auto;
  }

  .left h1 {
    font-size: 1.3rem;
  }

  .links-right {
    gap: 8px;
  }

  .links-right a {
    font-size: 0.8rem;
  }
}

/* Spotify Widget */
.spotify-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.spotify-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: rgba(29, 185, 84, 0.1);
  border: 1px solid rgba(29, 185, 84, 0.3);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 220px;
}

.spotify-link:hover {
  background-color: rgba(29, 185, 84, 0.2);
  border-color: rgba(29, 185, 84, 0.5);
  transform: translateY(-2px);
}

.spotify-icon {
  width: 18px;
  height: 18px;
  fill: #1db954;
  flex-shrink: 0;
}

.spotify-status {
  font-size: 0.75rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Source Code Pro", monospace;
}

.spotify-link:hover .spotify-status {
  color: #1db954;
}

.spotify-link.playing .spotify-status {
  color: #1db954;
}

@media (max-width: 640px) {
  .spotify-widget {
    bottom: 15px;
    right: 15px;
  }

  .spotify-link {
    padding: 8px 12px;
  }

  .spotify-icon {
    width: 14px;
    height: 14px;
  }

  .spotify-status {
    font-size: 0.7rem;
  }
}
