/* LinkPage Styles */

/* Font stack matching pauta-con-john.css */
:root {
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}

html {
  width: 100%;
  min-height: 100vh;
}

.linkpage-container {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background-image: url('images/index-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.linkpage-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 0;
}

.linkpage-content {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  box-sizing: border-box;
}

/* Profile Section */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.profile-image {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e5e5;
}

.profile-name {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.profile-bio {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

/* Links Section */
.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-button {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background-color: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.link-button:active {
  transform: translateY(0);
}

/* Social Media Section */
.social-section {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.social-icon-img {
  width: 22px;
  height: 22px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .linkpage-container {
    background-size: 270% auto;
    background-position: center center;
    background-attachment: scroll;
  }

  .linkpage-content {
    padding: 0 20px;
  }

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

  .profile-bio {
    font-size: 0.875rem;
  }

  .link-button {
    padding: 14px 20px;
    font-size: 0.9375rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon-img {
    width: 18px;
    height: 18px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .linkpage-container::before {
    background: rgba(0, 0, 0, 0.4);
  }

  .profile-name {
    color: #ffffff;
  }

  .profile-bio {
    color: #a3a3a3;
  }

  .link-button {
    background-color: #ffffff;
    color: #1a1a1a;
  }

  .social-icon {
    background-color: rgba(50, 50, 50, 0.9);
  }

  .social-icon:hover {
    background-color: rgba(70, 70, 70, 0.9);
  }

  .social-icon-img {
    filter: invert(1);
  }
}
