* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('img/fundo.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

.main-container {
  width: 100%;
  max-width: 420px; /* Largura padrão de telemóvel */
  min-height: 100vh;
  background: url('img/fundo.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.main-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: -1;
}

.profile-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 4px; /* Espessura da borda colorida */
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.profile-wrapper:hover {
  transform: scale(1.03);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: none; /* Remove o anel branco interno para ficar igualzinho ao print */
}

.welcome-title {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  text-align: center;
  line-height: 1.3;
  padding: 0 10px;
}

.links-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 22px;
  text-decoration: none;
  position: relative;
  
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);

  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.link-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.link-card:active {
  transform: translateY(-1px);
}

.link-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.link-label {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  width: 100%;
  text-align: center;
  padding-right: 50px;
}

.footer-text {
  margin-top: 32px;
  font-size: 0.8rem;
  color: #ffffff !important;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  font-weight: 500;
  width: 100%;
  position: relative;
  z-index: 2;
}

@media (max-width: 480px) {
  .main-container {
    padding: 30px 16px;
    box-shadow: none;
  }
  
  .profile-wrapper {
    width: 120px;
    height: 120px;
  }
  
  .welcome-title {
    font-size: 1.45rem;
  }

  .link-card {
    padding: 10px 14px;
  }

  .link-icon {
    width: 46px;
    height: 46px;
  }

  .link-label {
    font-size: 1.15rem;
    padding-right: 46px;
  }
}