/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto Mono", monospace;
  background-color: #1d1f21;
  color: #c5c8c6;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Profile section */
.profile-section {
  text-align: center;
  margin-bottom: 1rem;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #6279bb;
  margin-bottom: 1rem;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  color: #c5c8c6;
  margin-bottom: 0.5rem;
}

.profile-description {
  font-size: 1.1rem;
  color: #bebebe;
  font-weight: 300;
}

/* Links section */
.links-section {
  margin-bottom: 2rem;
}

.section-title {
  display: none;
}

.links-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Social media icons (icon-only) */
.social-icons .link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  /* border: 1px solid #373b41; */
  border-radius: 12px;
  padding: 0.5rem;
  text-decoration: none;
  color: #c5c8c6;
  cursor: pointer;
}

/* Article links (with text) */
.link-card.article-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid #373b41;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: #c5c8c6;
  cursor: pointer;
  width: 100%;
  max-width: none;
  height: auto;
  flex-direction: row;
  height: 50px;
}

.link-card.article-link .link-content {
  margin-left: 1rem;
  text-align: left;
}

.link-card.article-link .link-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #c5c8c6;
  margin-bottom: 0.25rem;
}

.link-card.article-link .link-description {
  font-size: 0.9rem;
  color: #8be9fd;
  font-weight: 300;
}

.link-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.link-icon svg {
  width: 100%;
  height: 100%;
  color: #6279bb;
}

.link-card.article-link .link-icon {
  width: 40px;
  height: 40px;
}

/* Featured link */
.link-card.featured {
  background-color: #2d3748;
  border-color: #8be9fd;
}

/* Placeholder section */
.placeholder-section {
  margin-top: 3rem;
}

.placeholder {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mobile responsive design */
@media (max-width: 767px) {
  .link-card.article-link .link-title {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  .link-card.article-link {
    padding: 1rem 1.5rem;
  }
  
  .link-card.article-link .link-content {
    margin-left: 0.75rem;
  }
}

/* Responsive design */
@media (min-width: 768px) {
  .container {
    padding: 3rem 2rem;
  }

  .profile-name {
    font-size: 2.5rem;
  }

  .profile-description {
    font-size: 1.2rem;
  }

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

  .links-grid {
    grid-template-columns: repeat(3, 80px);
    gap: 1.5rem;
    justify-content: center;
  }

  .link-card.article-link {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .links-grid {
    grid-template-columns: repeat(3, 80px);
    justify-content: center;
  }
}

/* Focus styles for accessibility */
.link-card:focus {
  outline: 2px solid #6279bb;
  outline-offset: 2px;
}

/* Footer styles */
.footer {
  margin-top: 3rem;
  padding: 2rem 0 1rem 0;
  text-align: center;
  border-top: 1px solid #373b41;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #bebebe;
  font-weight: 300;
}

/* Footer link styles */
.footer-link {
  color: #6279bb;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-link:hover {
  color: #8be9fd;
  text-decoration: underline;
}

.footer-link:focus {
  outline: 2px solid #6279bb;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Print styles */
@media print {
  body {
    background-color: white;
    color: black;
  }

  .link-card {
    background-color: white;
    border: 1px solid #ccc;
  }
  
  .footer {
    border-top: 1px solid #ccc;
  }
}
