@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-tertiary: #141414;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-tertiary: #888888;
  --grid-line: rgba(255, 255, 255, 0.08);
  --accent-color: #ffffff;
  --link-hover-bg: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Archivo", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Page-wide Grid Lines */
.page-grid {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
  z-index: 1;
}

.page-grid-line {
  border-left: 1px solid var(--grid-line);
}

.page-grid-line:last-child {
  border-right: 1px solid var(--grid-line);
}

/* Container */
.container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Profile Section */
.profile-section {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.avatar-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  position: relative;
  border-radius: 50%;
  padding: 3px;
  background: transparent;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-tertiary);
}

.creator-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.profile-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.profile-bio {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  max-width: 90%;
  margin: 0 auto;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Links Section */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--grid-line);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeInUp 0.8s ease-out both;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }

.link-card:hover {
  background: var(--accent-color);
  color: var(--bg-primary);
  transform: translateX(8px);
  border-color: var(--accent-color);
}

.link-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.link-icon {
  width: 20px;
  height: 20px;
}

.link-text {
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.link-card:hover .arrow-icon {
  transform: translate(2px, -2px);
  opacity: 1;
}

/* Footer */
.footer {
  width: 100%;
  padding: 3rem;
  text-align: center;
  border-top: 1px solid var(--grid-line);
  position: relative;
  z-index: 10;
}

.footer p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  opacity: 0.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 4rem 1.5rem 2rem;
  }
  .profile-name {
    font-size: 2rem;
  }
}
