/* About Page Styles */

.wrapper {
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
}

main {
  margin-top: 6rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 0 4rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 0 2rem 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  font-family: 'Georgia', serif;
}

.intro {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

/* About Section */
.about-section {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  height: fit-content;
}

.about-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
  font-family: 'Georgia', serif;
}

.about-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Interests */
.interests {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.interests h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1rem 0;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.interest-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.interest-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.interest-icon {
  font-size: 1rem;
}

.interest-name {
  font-weight: 500;
}

/* Links Section */
.links-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem 0;
  letter-spacing: -0.01em;
  font-family: 'Georgia', serif;
}

.links-category {
  margin-bottom: 2.5rem;
}

.links-category h3 {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

/* Link Cards */
.links-grid {
  display: grid;
  gap: 0.75rem;
}

.links-grid.primary {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.links-grid:not(.primary):not(.compact) {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.links-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
}

.link-card {
  display: block;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.link-card.primary {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
  padding: 1.25rem;
  min-height: 90px;
}

.link-card.compact {
  padding: 0.875rem;
  min-height: 70px;
}

.link-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.link-card.primary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.link-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.link-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: white;
}

.link-icon svg {
  color: white !important;
  fill: white !important;
}

.link-card.primary .link-icon {
  width: 2rem;
  height: 2rem;
}

.link-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.01em;
}

.link-card.primary .link-name {
  font-size: 1.1rem;
}

.link-card.compact .link-name {
  font-size: 0.85rem;
}

.link-description {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.link-card.primary .link-description {
  font-size: 0.85rem;
}

.link-card.compact .link-description {
  font-size: 0.75rem;
}

/* Expandable Other Links */
.other-links {
  margin-top: 2rem;
}

.other-links summary {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin: 0 -0.8rem;
  padding-left: 0.8rem;
}

.other-links summary:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.other-links summary::-webkit-details-marker {
  display: none;
}

.other-links summary::after {
  content: '+';
  position: absolute;
  right: 0;
  margin-right: 0.8rem;;
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.2s ease;
}

.other-links[open] summary::after {
  transform: rotate(45deg);
}

.other-links .links-grid {
  margin-top: 1rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.page-footer {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wrapper {
    padding: 0 1.5rem;
  }

  main {
    margin-top: 5rem;
    padding: 1.5rem 0 3rem;
  }

  .hero-section {
    margin-bottom: 3rem;
    padding: 1rem 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-section {
    padding: 1.5rem;
    order: 2;
  }

  .links-section {
    order: 1;
  }

  .links-grid.primary {
    grid-template-columns: 1fr;
  }

  .links-grid:not(.compact) {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .interests-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 480px) {
  .wrapper {
    padding: 0 1rem;
  }

  main {
    margin-top: 4rem;
    padding: 1rem 0 2rem;
  }

  .hero-section {
    margin-bottom: 2rem;
  }

  .content-grid {
    gap: 2rem;
  }

  .about-section, .link-card {
    padding: 1rem;
    min-height: 70px;
  }

  .link-card.primary {
    padding: 1rem;
    min-height: 80px;
  }

  .links-grid:not(.compact) {
    grid-template-columns: 1fr;
  }

  .links-grid.compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }
}
