/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.linkinbio-container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px;
}

.profile-section {
  text-align: center;
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease-out;
}

.avatar {
  margin-bottom: 16px;
}

.avatar img {
  width: 100%;
  height: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
  object-fit: cover;
}

.divider-line {
  border: none;
  border-left: 1px solid #d0d0d0;
  margin: 16px auto;
  width: 1px;
  height: 88px;
}

.intro-text {
  text-align: center;
  margin-bottom: 24px;
}

.intro-text p {
  margin: 4px 0;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  word-break: keep-all;
}

.video-container {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.horizontal-divider {
  border: none;
  border-top: 1px dashed #d0d0d0;
  margin: 24px 0;
  width: 100%;
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-bio {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.links-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.link-card {
  background: white;
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.link-card-blue {
  background: #105083 !important;
  color: white !important;
}

.link-card-blue:hover {
  background: #0d3f68 !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(16, 80, 131, 0.3);
}

.link-card-blue .link-title {
  color: white !important;
}

.fixed-button {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 440px;
  width: calc(100% - 40px);
  z-index: 1000;
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.fixed-button-2 {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 440px;
  width: calc(100% - 40px);
  z-index: 1000;
  animation: floating 3s ease-in-out infinite;
}

.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:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: #f8f9fa;
}

.link-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.link-title {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  word-break: keep-all;
  white-space: nowrap;
  text-align: center;
}

.footer-section {
  text-align: center;
  margin-top: 32px;
  animation: fadeIn 0.8s ease-out 0.7s;
  animation-fill-mode: both;
}

.footer-section p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

